[Python-modules-commits] [humanfriendly] 07/17: Install egg-info files

Gaurav Juvekar gauravjuvekar-guest at moszumanska.debian.org
Sun Mar 12 19:58:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

gauravjuvekar-guest pushed a commit to branch master
in repository humanfriendly.

commit d2d91a0743e997b63e42c618b8d86cf3d0780b91
Author: Gaurav Juvekar <gauravjuvekar at gmail.com>
Date:   Sun Jan 22 14:33:05 2017 +0530

    Install egg-info files
    
    Apparently these are needed for pkg_resources to find the libraries when
    the 'humanfriendly' command is executed
---
 debian/control                       | 2 +-
 debian/python-humanfriendly.install  | 1 +
 debian/python3-humanfriendly.install | 1 +
 debian/rules                         | 9 ++++++---
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 7c9f57a..cb40188 100644
--- a/debian/control
+++ b/debian/control
@@ -47,7 +47,7 @@ Description: Python3 library to make user friendly text interfaces
 
 Package: humanfriendly
 Architecture: all
-Depends: python-humanfriendly, ${misc:Depends}, ${python3:Depends},
+Depends: python3-humanfriendly, ${misc:Depends}, ${python3:Depends},
 Recommends: ${python3:Recommends}
 Suggests: ${python3:Suggests}
 Description: Python library to make user friendly text interfaces
diff --git a/debian/python-humanfriendly.install b/debian/python-humanfriendly.install
index 04e8e83..beec0c3 100644
--- a/debian/python-humanfriendly.install
+++ b/debian/python-humanfriendly.install
@@ -1 +1,2 @@
 usr/lib/python2*/dist-packages/humanfriendly/*.py*
+usr/lib/python2*/dist-packages/*.egg-info
diff --git a/debian/python3-humanfriendly.install b/debian/python3-humanfriendly.install
index eb83097..d3e1f2c 100644
--- a/debian/python3-humanfriendly.install
+++ b/debian/python3-humanfriendly.install
@@ -1 +1,2 @@
 usr/lib/python3*/dist-packages/humanfriendly/*.py*
+usr/lib/python3*/dist-packages/*.egg-info
diff --git a/debian/rules b/debian/rules
index e82ec95..3bd17c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,14 @@
 #! /usr/bin/make -f
 
 # Used as per the example from www.v13.gr/blog/?p=412
-DPKG_EXPORT_BUILDFLAGS = 1
+#DPKG_EXPORT_BUILDFLAGS = 1
 
-# export PYBUILD_NAME=humanfriendly
-# export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin/
+#export DH_VERBOSE = 1
+#export PYBUILD_NAME=humanfriendly
+#export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin/
+#export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin/
 export PYBUILD_INSTALL_ARGS_python2 = --install-scripts=/dev/null
+#export PYBUILD_INSTALL_ARGS_python3 = --install-scripts=/dev/null
 
 %:
 	dh $@ --with python3,python2 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/humanfriendly.git



More information about the Python-modules-commits mailing list