tags 380861 + patch
thank
Hi,
attached is a patch that updates the package to the last Python Policy.
Ana
diff -Nrua m2crypto-0.16.orig/debian/changelog m2crypto-0.16/debian/changelog
--- m2crypto-0.16.orig/debian/changelog 2006-08-12 16:37:38.000000000 +0200
+++ m2crypto-0.16/debian/changelog 2006-08-12 16:51:10.000000000 +0200
@@ -1,3 +1,12 @@
+m2crypto (0.16-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update package to the last python policy (Closes: #380861),
+ this includes renaming from m2crypto to python-m2crypto.
+ * Bumped compat to 5.
+
+ -- Ana Beatriz Guerrero Lopez <[EMAIL PROTECTED]> Sat, 12 Aug 2006 16:07:49
+0200
+
m2crypto (0.16-1) unstable; urgency=low
* New upstream release
diff -Nrua m2crypto-0.16.orig/debian/compat m2crypto-0.16/debian/compat
--- m2crypto-0.16.orig/debian/compat 2006-08-12 16:37:38.000000000 +0200
+++ m2crypto-0.16/debian/compat 2006-08-12 16:39:23.000000000 +0200
@@ -1 +1 @@
-4
+5
diff -Nrua m2crypto-0.16.orig/debian/control m2crypto-0.16/debian/control
--- m2crypto-0.16.orig/debian/control 2006-08-12 16:37:38.000000000 +0200
+++ m2crypto-0.16/debian/control 2006-08-12 17:18:03.000000000 +0200
@@ -2,12 +2,15 @@
Section: libs
Priority: optional
Maintainer: Dima Barsky <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.65), libssl-dev (>= 0.9.7), python,
python2.3-dev, python2.4-dev, swig (>= 1.3.24)
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
python-support (>= 0.4), libssl-dev (>= 0.9.7), swig (>= 1.3.24)
Standards-Version: 3.7.2
-Package: m2crypto
+Package: python-m2crypto
Architecture: any
-Depends: ${shlibs:Depends}, python2.3
+Depends: ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}, m2crypto
+Conflicts: m2crypto (<< 0.16-1.1)
+Replaces: m2crypto (<< 0.16-1.1)
Description: a crypto and SSL toolkit for Python
m2crypto features the following:
* RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including AES).
diff -Nrua m2crypto-0.16.orig/debian/rules m2crypto-0.16/debian/rules
--- m2crypto-0.16.orig/debian/rules 2006-08-12 16:37:38.000000000 +0200
+++ m2crypto-0.16/debian/rules 2006-08-12 17:06:29.000000000 +0200
@@ -6,10 +6,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-versions=$(subst -dev,,\
- $(subst python,,\
- $(filter python%-dev,\
- $(shell sed -n '/^Build-Depends/s/,//gp' debian/control))))
+versions := $(shell pyversions -vs)
CFLAGS = -Wall -g
@@ -55,7 +52,7 @@
dh_installdirs
for version in $(versions); \
- do python$$version setup.py install
--prefix=debian/m2crypto/usr; \
+ do python$$version setup.py install
--root=debian/python-m2crypto --no-compile; \
done
# Build architecture-independent files here.
@@ -71,7 +68,7 @@
dh_strip
dh_compress
dh_fixperms
- dh_python
+ dh_pysupport
dh_installdeb
dh_shlibdeps
dh_gencontrol