[Python-modules-commits] [sip4] 05/06: Adjust debian/rules to copy typehints file (sip.pyi) into the build directories

Scott Kitterman kitterman at moszumanska.debian.org
Fri Apr 15 23:52:57 UTC 2016


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

kitterman pushed a commit to branch master
in repository sip4.

commit 4f423aaa4707f4463b30137dbb08067ed1cb043f
Author: Scott Kitterman <scott at kitterman.com>
Date:   Fri Apr 15 19:28:40 2016 -0400

    Adjust debian/rules to copy typehints file (sip.pyi) into the build directories
---
 debian/changelog | 4 +++-
 debian/rules     | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index aee6276..174b711 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,11 +5,13 @@ sip4 (4.18+dfsg-1) unstable; urgency=medium
   * Update sip provides for new sip API version 11.3
   * Bump standards version to 3.9.8 without further change
   * Update debian/copyright for 2016
+  * Adjust debian/rules to copy typehints file (sip.pyi) into the build
+    directories
 
   [ Ondřej Novy ]
   * Fixed VCS URL (https)
 
- -- Scott Kitterman <scott at kitterman.com>  Fri, 15 Apr 2016 18:57:36 -0400
+ -- Scott Kitterman <scott at kitterman.com>  Fri, 15 Apr 2016 19:28:19 -0400
 
 sip4 (4.17+dfsg-2) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 94c8bf4..d88998c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,7 @@ configure: $(PYTHONS:%=build-%/configure-stamp) $(PYTHONS:%=dbg-build-%/configur
 build-%/configure-stamp: $(PYTHON3S:%=sipconfig-%)
 	dh_testdir
 	mkdir -p build-$*
+	cp $(CURDIR)/sip.pyi $(CURDIR)/build-$*
 	cd build-$* \
 		&& python$* ../configure.py \
 			-d /usr/lib/python$*/dist-packages \
@@ -41,6 +42,7 @@ build-%/configure-stamp: $(PYTHON3S:%=sipconfig-%)
 dbg-build-%/configure-stamp:
 	dh_testdir
 	mkdir -p dbg-build-$*
+	cp $(CURDIR)/sip.pyi $(CURDIR)/dbg-build-$*
 	cd dbg-build-$* \
 		&& python$*-dbg ../configure.py \
 			-d /usr/lib/python$*/dist-packages \

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



More information about the Python-modules-commits mailing list