chiark / gitweb /
debian: Just build for the default version. master
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Nov 2006 18:00:50 +0000 (18:00 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Nov 2006 18:00:50 +0000 (18:00 +0000)
Debian's Pyrex doesn't work for 2.5 so we can't build for the others
 anyway.

debian/control
debian/rules

index 6a326d0d85fa1181b94c101ce9a4d56a8fa7c580..2705d949df416c3e47975943071fdac31c95f939 100644 (file)
@@ -1,25 +1,11 @@
 Source: python-checkpath
 Section: python
 Priority: extra
-Build-Depends: python, python2.3, python2.3-pyrex, 
-  python2.4, python2.4-pyrex, libcheckpath-dev, mlib-dev
+Build-Depends: python, python-pyrex, libcheckpath-dev, mlib-dev
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
 Standards-Version: 3.1.1
 
 Package: python-checkpath
-Architecture: all
-Depends: ${python:Depends}
-Description: Checks paths for security
- Walks a pathname, checking every symlink and directory on the way,
- and issuing alerts if any element is writable by someone other than
- the calling uid or root.  Useful if you're paranoid.  This package
- just contains the shared library.  If you want to write programs which
- use this library, you need libcheckpath-dev.
- .
- This is a dummy package to install the correct bindings for the default
- Debian verison of Python.
-
-Package: python2.3-checkpath
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}
 Description: Checks paths for security
@@ -28,19 +14,4 @@ Description: Checks paths for security
  the calling uid or root.  Useful if you're paranoid.  This package
  just contains the shared library.  If you want to write programs which
  use this library, you need libcheckpath-dev.
- .
- This package contains a Python binding for the library for Python version
- 2.3.
 
-Package: python2.4-checkpath
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}
-Description: Checks paths for security
- Walks a pathname, checking every symlink and directory on the way,
- and issuing alerts if any element is writable by someone other than
- the calling uid or root.  Useful if you're paranoid.  This package
- just contains the shared library.  If you want to write programs which
- use this library, you need libcheckpath-dev.
- .
- This package contains a Python binding for the library for Python version
- 2.4.
index 4eda6a052e6a0e493ff730fc657d9e06adbbb51a..b1b71264758e992133cfbee43c0f48e1e46fa4c5 100755 (executable)
@@ -2,13 +2,10 @@
 
 export DH_COMPAT = 4
 
-DEFVERSION = 2.3
-VERSIONS = $(DEFVERSION) 2.4
-
 build: build-stamp
 
 build-stamp:
-       for v in $(VERSIONS); do python$$v setup.py build; done
+       python setup.py build
        touch build-stamp
 
 clean:
@@ -18,23 +15,8 @@ clean:
 
 install: build
        dh_clean
-       for v in $(VERSIONS); do \
-         python$$v setup.py build; \
-         python$$v setup.py install --root=debian/python$$v-checkpath; \
-       done
-       mkdir -p debian/python-checkpath
-
-binary-indep: install
-       dh_testdir -i
-       dh_testroot -i
-       dh_compress -i
-       dh_installdocs -i
-       dh_python -i
-       dh_gencontrol -i
-       dh_fixperms -i
-       dh_installdeb -i
-       dh_md5sums -i
-       dh_builddeb -i
+       python setup.py build
+       python setup.py install --root=debian/python-checkpath
 
 binary-arch: install
        dh_testdir -a
@@ -50,7 +32,7 @@ binary-arch: install
        dh_md5sums -a
        dh_builddeb -a
 
-binary: binary-indep binary-arch
+binary: binary-arch
 
 source:
        rm -rf dist/*.tar.gz dist/=deb=