[python-sfml] 07/07: Remove get-orig-source target and moved repack options to d/watch
James Cowgill
jcowgill at moszumanska.debian.org
Thu Jun 30 18:03:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
jcowgill pushed a commit to branch master
in repository python-sfml.
commit 574c549edc313a06c7bfdad54c80692a7d025f1b
Author: James Cowgill <james410 at cowgill.org.uk>
Date: Thu Jun 30 16:56:48 2016 +0100
Remove get-orig-source target and moved repack options to d/watch
---
debian/rules | 6 ------
debian/watch | 2 +-
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/debian/rules b/debian/rules
index fc5ea03..9390d9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,6 @@ export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie
export PYBUILD_NAME=sfml
export PYBUILD_INSTALL_ARGS=--skip-build
-PKD = $(abspath $(dir $(MAKEFILE_LIST)))
-
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
@@ -22,7 +20,3 @@ override_dh_installchangelogs:
override_dh_auto_clean:
dh_auto_clean
rm -rf doc/build
-
-.PHONY: get-orig-source
-get-orig-source:
- uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --repack --compression=xz --download-current-version $(PKD)
diff --git a/debian/watch b/debian/watch
index f38175b..2c43a42 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,5 +2,5 @@
version=3
# From GitHub
-opts=dversionmangle=s/([^+~]*).*dfsg/$1/ \
+opts=repack,compression=xz,filenamemangle=s/.+\/v?(\d[\d.]*)\.tar\.gz/python-sfml-$1\.tar\.gz/,dversionmangle=s/\+dfsg\d?$//,repacksuffix=+dfsg \
https://github.com/Sonkun/python-sfml/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/python-sfml.git
More information about the Pkg-games-commits
mailing list