From e5e1e61d641cc0527857ee959cff9bbfd7b8adec Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Sat, 1 Jul 2006 10:36:56 +0200 Subject: * debian/python-libxml2.examples.in: Renamed to debian/python-libxml2.examples * debian/python-libxml2.install.in: Renamed to debian/python-libxml2.install, and replaced PYVERS by a wildcard. * debian/control: + Adapted dependencies to fit all changes. + Added fields required by new Python policy. + Added fields necessary for flawless transition. + Replaced dummy python-libxml2 package by a full real package which itself replaces python2.x-libxml2 packages. * debian/rules: + Changed rules to get the python versions we want to build for and adapted some rules to fit with the new setting. + Changed shell loops to make loops. + In case python binary modules are identical (and they are, but they may not be with future versions of the python headers), replace some of them with symbolic links. + Adapted rules to the fact we're installing in only one python package instead of several. * debian/pycompat: Set to 2, for new Python policy. Closes: #373456. * debian/libxml2-doc.install: Added the /usr/share/gtk-doc directory. Closes: #375113. * debian/control: Made libxml2-doc suggest devhelper. * libxml-2.0.pc.in, libxml-2.0-uninstalled.pc.in: Split Libs in Libs and Libs.private. * xml2-config.in, xml2-config.1: Added a --static option to add to --libs so that we can split what is needed when building statically and what is needed when building dynamically. Closes: #374017. * libxml-2.0.pc.in, libxml-2.0-uninstalled.pc.in, xml2-config.in: Added BASE_THREADS_LIBS to the static link information so that -lpthread would appear. Closes: #372945. * debian/rules: Add the NEWS file to dh_install calls. Closes: #365596. * debian/watch: Updated. --- debian/python-libxml2.install | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 debian/python-libxml2.install (limited to 'debian/python-libxml2.install') diff --git a/debian/python-libxml2.install b/debian/python-libxml2.install new file mode 100644 index 0000000..eacf3b1 --- /dev/null +++ b/debian/python-libxml2.install @@ -0,0 +1,2 @@ +usr/lib/python*/site-packages/*.py* +usr/lib/python*/site-packages/*.so -- cgit v1.2.3 From 6fbcf0ee9acd970cce4cb6e4c872857f726c84ff Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 18 Mar 2010 09:02:35 +0100 Subject: Install python files from /usr/lib/python*/dist-packages --- debian/python-libxml2.install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/python-libxml2.install') diff --git a/debian/python-libxml2.install b/debian/python-libxml2.install index eacf3b1..f4e68c3 100644 --- a/debian/python-libxml2.install +++ b/debian/python-libxml2.install @@ -1,2 +1,4 @@ usr/lib/python*/site-packages/*.py* usr/lib/python*/site-packages/*.so +usr/lib/python*/dist-packages/*.py* +usr/lib/python*/dist-packages/*.so -- cgit v1.2.3 From 2f8a91fab2f9c50e8fb710ff228ca9a8409d0dda Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Sun, 30 May 2010 16:11:25 +0200 Subject: Don't hardcode site-/dist-packages in .install Cope with builds which don't have any dist-packages (or site-packages) based python versions. --- debian/python-libxml2.install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'debian/python-libxml2.install') diff --git a/debian/python-libxml2.install b/debian/python-libxml2.install index f4e68c3..66c4906 100644 --- a/debian/python-libxml2.install +++ b/debian/python-libxml2.install @@ -1,4 +1,2 @@ -usr/lib/python*/site-packages/*.py* -usr/lib/python*/site-packages/*.so -usr/lib/python*/dist-packages/*.py* -usr/lib/python*/dist-packages/*.so +usr/lib/python*/*-packages/*.py* +usr/lib/python*/*-packages/*.so -- cgit v1.2.3