Your message dated Mon, 23 Jun 2008 14:36:11 +0100
with message-id <[EMAIL PROTECTED]>
and subject line python-crack has been removed from Debian, closing #487562
has caused the Debian Bug report #487562,
regarding python-crack: please package for python 2.5
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
487562: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487562
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-crack
Version: 0.5.1-2
Severity: wishlist
Tags: patch
Hi,
I wanted to get python-crack working with python 2.5. While I was at it,
I updated the source to use pysupport, clean up debian/rules a bit.
The addition of name/version to distutil.py prevents the creation of the
UNKNOWN egg file that was conflicting with another package (bug #476606).
Cheers,
Chris
diff -u python-crack-0.5.1/debian/rules python-crack-0.5.1/debian/rules
--- python-crack-0.5.1/debian/rules
+++ python-crack-0.5.1/debian/rules
@@ -3,65 +3,38 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=5
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
PYVERS := $(shell pyversions -vs)
-configure-stamp: configure
+configure-stamp:
dh_testdir
- for i in $(PYVERS); do \
- mkdir -p debian/build$$i; \
- cd debian/build$$i; \
- ../../configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr PYTHON=/usr/bin/python$$i; \
- cd ../..; \
- done
- touch configure-stamp
+ dh_auto_configure
+ touch $@
-build: build-stamp
+build: build-stamp configure-stamp
-build-stamp: configure-stamp
- dh_testdir
- for i in $(PYVERS); do \
- ${MAKE} -C debian/build$$i; \
- done
- touch build-stamp
+build-stamp: $(PYVERS:%=build-python%)
+ touch $@
+
+build-python%: configure-stamp
+ python$* distutil.py build
+ touch $@
-clean:
+clean: $(PYVERS:%=clean-python%)
dh_testdir
dh_testroot
- rm -rf build-stamp configure-stamp debian/build*
- for i in $(PYVERS); do \
- rm -rf debian/build$$i; \
- done
+ dh_auto_clean
dh_clean
+ rm -rf build build-stamp configure-stamp config.log config.status
build-python* _crack.c
-install: DH_OPTIONS=
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- for i in $(PYVERS); do \
- ${MAKE} -C debian/build$$i install
DESTDIR=`pwd`/debian/python-crack; \
- rm -rf debian/python-crack/usr/lib/python$$i/*.pyc; \
- rm -rf debian/python-crack/usr/lib/python$$i/*.pyo; \
- done
+clean-python%:
+ python$* distutil.py clean
-# Build architecture-independent files here.
-binary-indep: DH_OPTIONS=-i
-binary-indep: build install
+install: build $(PYVERS:%=install-python%)
+ $(MAKE) -C doc install DESTDIR=$(CURDIR)/debian/python-crack
+
+install-python%:
+ python$* distutil.py install --root $(CURDIR)/debian/python-crack
-# Build architecture-dependent files here.
-binary-arch: DH_OPTIONS=-a
binary-arch: build install
dh_testdir
dh_testroot
@@ -76,10 +49,10 @@
- dh_pycentral
- dh_python
+ dh_pysupport
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
+binary-indep: build install
+
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
diff -u python-crack-0.5.1/debian/changelog python-crack-0.5.1/debian/changelog
--- python-crack-0.5.1/debian/changelog
+++ python-crack-0.5.1/debian/changelog
@@ -1,3 +1,11 @@
+python-crack (0.5.1-2.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Updated to use pysupport
+ * Build for python2.5
+
+ -- Chris AtLee <[EMAIL PROTECTED]> Fri, 20 Jun 2008 17:24:45 -0400
+
python-crack (0.5.1-2) unstable; urgency=low
* Adopted the new Debian Python Policy.
diff -u python-crack-0.5.1/debian/control python-crack-0.5.1/debian/control
--- python-crack-0.5.1/debian/control
+++ python-crack-0.5.1/debian/control
@@ -2,9 +2,8 @@
Section: python
Priority: extra
Maintainer: Domenico Andreoli <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.37.2), cracklib2-dev, python, python-all-dev
(>= 2.3.5-11), python-central (>= 0.4.17)
-Standards-Version: 3.7.2
-XS-Python-Version: all
+Build-Depends: debhelper (>= 5.0.37.2), cracklib2-dev, python, python-all-dev
(>= 2.3.5-11), python-support (>= 0.6)
+Standards-Version: 3.8.0
Package: python-crack
Architecture: any
@@ -15,5 +14,4 @@
-XB-Python-Version: ${python:Versions}
+Homepage: http://www.nongnu.org/python-crack/
Description: Python bindings for cracklib
This module allows the use of cracklib services from within a Python script.
.
- Homepage: http://www.nongnu.org/python-crack/
only in patch2:
unchanged:
--- python-crack-0.5.1.orig/distutil.py
+++ python-crack-0.5.1/distutil.py
@@ -1,6 +1,8 @@
from distutils.core import setup, Extension
setup(
+ name="crack",
+ version="0.5.1",
ext_modules = [
Extension("_crack", sources = [ "_crack.c" ], libraries = [ "crack" ])
]
only in patch2:
unchanged:
--- python-crack-0.5.1.orig/debian/compat
+++ python-crack-0.5.1/debian/compat
@@ -0,0 +1 @@
+7
--- End Message ---
--- Begin Message ---
Version: 0.5.1-2+rm
The python-crack package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/483703 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
http://Marco.Tondela.org
--- End Message ---