From 507d25595a7e989139b9c425b39f02ee48fa033e Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Wed, 24 Nov 2004 10:00:17 +0000 Subject: Initial revision Author: jgg Date: 2001-02-20 06:32:01 GMT Initial revision --- debian/control | 9 +++++++++ debian/python-apt.dirs | 1 + debian/rules | 23 +++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 debian/control create mode 100644 debian/python-apt.dirs create mode 100755 debian/rules (limited to 'debian') diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..7463bc9c --- /dev/null +++ b/debian/control @@ -0,0 +1,9 @@ +Package: python-apt +Architecture: any +Depends: ${shlibs:Depends} +Priority: optional +Description: Python interface to libapt-pkg + The apt-pkg Python interface will provide full access to the internal + libapt-pkg structures allowing Python programs to easially perform a + variety of functions. + diff --git a/debian/python-apt.dirs b/debian/python-apt.dirs new file mode 100644 index 00000000..621814df --- /dev/null +++ b/debian/python-apt.dirs @@ -0,0 +1 @@ +usr/lib/python1.5/site-packages diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..a6919824 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ + +python-apt: build debian/shlibs.local + dh_testdir -p$@ + dh_testroot -p$@ + dh_clean -p$@ -k + dh_installdirs -p$@ + + # install the modules + cp $(BLD)/bin/apt_pkgmodule.so $(BLD)/bin/apt_instmodule.so debian/$@/usr/lib/python$(PYTHONVER)/site-packages/ + + dh_installdocs -p$@ + dh_installexamples -p$@ $(BLD)/docs/examples/python/* + + dh_installchangelogs -p$@ + dh_strip -p$@ + dh_compress -p$@ + dh_fixperms -p$@ + dh_installdeb -p$@ + LD_LIBRARY_PATH=`pwd`/debian/tmp/usr/lib:`pwd`/debian/apt-utils/usr/lib dh_shlibdeps -p$@ + dh_gencontrol -p$@ + dh_md5sums -p$@ + dh_builddeb -p$@ + -- cgit v1.2.3