summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-19 04:07:06 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-19 04:07:06 +0000
commit6249a27ea72b83726975bfa6771b226f325c1a95 (patch)
tree5c8111b1bccd25848d425aa6e6d05265ca2ff24a /debian
parente620d0a9d88875c425741ad2d40579e61cdd15b0 (diff)
downloadpython-dmidecode-6249a27ea72b83726975bfa6771b226f325c1a95.tar.gz
python-dmidecode-6249a27ea72b83726975bfa6771b226f325c1a95.tar.xz
python-dmidecode-6249a27ea72b83726975bfa6771b226f325c1a95.zip
Further work in enforcing the Debian policy in package based on advice from
`POX' and the documentation. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@119 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/control12
-rw-r--r--debian/dirs0
-rw-r--r--debian/install0
-rw-r--r--debian/python-dmidecode.substvars3
-rwxr-xr-xdebian/rules8
6 files changed, 14 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index e8b3ad2..d75e6f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-dmidecode (0.1-1) unstable; urgency=low
+python-dmidecode (2.10-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
diff --git a/debian/control b/debian/control
index e443346..f0fcb19 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,14 @@
-Source: dmidecode
+Source: python-dmidecode
+XS-Python-Version: (>= 2.3)
Section: utils
Priority: optional
-Maintainer: Nima Talebi <nima@autonomy.net.au>
+Maintainer: Nima Talebi <nima@it.net.au>
Build-Depends: debhelper (>= 5), python-all-dev (>= 2.3.5-11), python-central (>= 0.6)
-Standards-Version: 3.7.2
-XB-Python-Version: ${python:Versions}
-XS-Python-Version: current
+Standards-Version: 3.8.0
Package: python-dmidecode
-Architecture: i386
+XB-Python-Version: ${python:Versions}
+Architecture: any
Provides: ${python:Provides}
Depends: ${python:Depends}, ${shlibs:Depends}
Description: Python extension module for dmidecode.
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index e69de29..0000000
--- a/debian/dirs
+++ /dev/null
diff --git a/debian/install b/debian/install
deleted file mode 100644
index e69de29..0000000
--- a/debian/install
+++ /dev/null
diff --git a/debian/python-dmidecode.substvars b/debian/python-dmidecode.substvars
index 36e5a58..e3510f6 100644
--- a/debian/python-dmidecode.substvars
+++ b/debian/python-dmidecode.substvars
@@ -1 +1,4 @@
+python:Versions=2.4, 2.5
+python:Provides=python2.4-dmidecode, python2.5-dmidecode
+python:Depends=python-central (>= 0.6.7), python (<< 2.6), python (>= 2.4)
shlibs:Depends=libc6 (>= 2.7-1)
diff --git a/debian/rules b/debian/rules
index 98488c4..40f5a22 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,8 @@ PYVERS = python2.4 python2.5
build: build-stamp
build-stamp: $(PYVERS:%=build-ext-%)
dh_testdir
- #docbook-to-man debian/dmidecode.sgml > dmidecode.1
- #$(MAKE) -f dmidecode.makefile
+ #docbook-to-man debian/python-dmidecode.sgml > python-dmidecode.1
+ #$(MAKE) -f Makefile
touch $@
build-ext-%:
$(subst $(PYDEF),python,$*) src/setup.py build
@@ -24,7 +24,7 @@ install: install-stamp
dh_testdir
dh_testroot
dh_installdirs
- #$(MAKE) DESTDIR=$(CURDIR)/debian/dmidecode install
+ #$(MAKE) DESTDIR=$(CURDIR)/debian/python-dmidecode install
install-stamp: build-stamp $(PYVERS:%=install-ext-%)
install-ext-%:
$(subst $(PYDEF),python,$*) src/setup.py install --root $(CURDIR)/debian/python-dmidecode
@@ -37,7 +37,7 @@ clean:
dh_testroot
-rm -f build-stamp configure-stamp
-rm -rf $(CURDIR)/debian/python-dmidecode
- -$(MAKE) -f dmidecode.makefile clean
+ -$(MAKE) -f Makefile clean
dh_clean