Source: katie
Section: misc
Priority: extra
-Build-Depends: postgresql-dev, libapt-pkg-dev, sp, docbook, docbook-utils
+Build-Depends: postgresql-dev, libapt-pkg-dev, sp, docbook, docbook-utils, python
Maintainer: James Troup <james@nocrew.org>
Standards-Version: 3.5.6.0
Package: katie
Architecture: any
-Depends: python, python-pygresql, python-zlib, python-apt, apt-utils, gnupg (>= 1.0.6-1), postgresql (>= 7.1.0), ${shlibs:Depends}
+Depends: ${python:Depends}, python-pygresql, python-zlib, python-apt, apt-utils, gnupg (>= 1.0.6-1), postgresql (>= 7.1.0), ${shlibs:Depends}
Suggests: lintian, binutils-multiarch, symlinks
Description: Debian's archive maintenance scripts
This is a collection of archive maintenance scripts used by the
# paternity under the Copyright, Designs and Patents Act 1988.)
# This file may have to be extensively modified
+PYTHONVER := `/usr/bin/python -c 'import sys;print sys.version[:3]'`
+
build: build-stamp
build-stamp:
$(MAKE)
ln -s melanie debian/tmp/usr/bin/da_remove
ln -s ziyi debian/tmp/usr/bin/da_mkrelease
- install -d -m 755 debian/tmp/usr/lib/python1.5/site-packages/
- install -m 644 db_access.py utils.py claire.py logging.py debian/tmp/usr/lib/python1.5/site-packages/
+ install -d -m 755 debian/tmp/usr/lib/python$(PYTHONVER)/site-packages/
+ install -m 644 db_access.py utils.py claire.py logging.py debian/tmp/usr/lib/python$(PYTHONVER)/site-packages/
install -d -m 755 debian/tmp/usr/share/man/man1/
install -m 644 docs/*.1 debian/tmp/usr/share/man/man1/
gzip -9v debian/tmp/usr/share/man/man1/*
gzip -9v debian/tmp/usr/share/doc/katie/examples/*
dpkg-shlibdeps sql-aptvc.so
+ /usr/bin/python debian/python-dep >> debian/substvars
dpkg-gencontrol -isp
chown -R root.root debian/tmp
chmod -R go=rX debian/tmp