[python-shapely] 88/148: Remove .c file only before build (to make gbp happy)

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Aug 20 17:42:06 UTC 2015


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

sebastic pushed a commit to branch master
in repository python-shapely.

commit 5ad767315b21f3cc8515cebfdf8e80f21dce1071
Author: Pietro Battiston <me at pietrobattiston.it>
Date:   Sun Mar 11 00:02:14 2012 +0100

    Remove .c file only before build (to make gbp happy)
---
 debian/clean | 1 -
 debian/rules | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 29b2e18..0000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-shapely/speedups/_speedups.c
diff --git a/debian/rules b/debian/rules
index ab79f55..726dc7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	    python$$ver setup.py test; \
 	done
 endif
+
+override_dh_auto_build:
+	rm shapely/speedups/_speedups.c
+	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git



More information about the Pkg-grass-devel mailing list