[Python-modules-commits] [datanommer.models] 01/02: copy egg-info dir to build directory to make pkg_resources happy

Piotr Ożarowski piotr at moszumanska.debian.org
Thu Jan 12 22:09:28 UTC 2017


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

piotr pushed a commit to branch master
in repository datanommer.models.

commit dfb9cf815faa34a92a5b11a03f144900a85affcb
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Thu Jan 12 22:48:53 2017 +0100

    copy egg-info dir to build directory to make pkg_resources happy
---
 debian/changelog | 4 ++++
 debian/rules     | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c851a2b..3839b56 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
 datanommer.models (0.6.4-3) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
+  [ Piotr Ożarowski ]
+  * copy egg-info dir to build directory to make pkg_resources happy
+
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:25:23 +0200
 
 datanommer.models (0.6.4-2) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 8f86be7..629cd62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,7 @@
 #!/usr/bin/make -f
+
+export PYBUILD_BEFORE_TEST=cp -r {dir}/datanommer.models.egg-info {build_dir}
+export PYBUILD_AFTER_TEST=rm -r {build_dir}/datanommer.models.egg-info
+
 %:
 	dh $@ --with python2 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list