[Python-modules-commits] [django-reversion] 07/13: Adapt d/rules to new upstream source layout.

Michael Fladischer fladi at moszumanska.debian.org
Wed Nov 30 11:35:21 UTC 2016


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

fladi pushed a commit to branch master
in repository django-reversion.

commit 433ac408ea8d497c4010540f21742b32bd8b973d
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue Nov 29 13:22:31 2016 +0100

    Adapt d/rules to new upstream source layout.
---
 debian/changelog |  1 +
 debian/clean     | 14 +++++++-------
 debian/rules     |  6 +++---
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b5f72c7..f2e7a99 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ django-reversion (2.0.8-1) UNRELEASED; urgency=low
   * Drop intersphinx patch as upstream no longer uses it in their
     documentation.
   * New upstream release.
+  * Adapt d/rules to new upstream source layout.
 
  -- Michael Fladischer <fladi at debian.org>  Tue, 29 Nov 2016 10:40:55 +0100
 
diff --git a/debian/clean b/debian/clean
index bec93ca..f8c0794 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,7 +1,7 @@
-src/reversion/locale/*/LC_MESSAGES/django.mo
-src/django_reversion.egg-info/PKG-INFO
-src/django_reversion.egg-info/SOURCES.txt
-src/django_reversion.egg-info/dependency_links.txt
-src/django_reversion.egg-info/not-zip-safe
-src/django_reversion.egg-info/requires.txt
-src/django_reversion.egg-info/top_level.txt
+reversion/locale/*/LC_MESSAGES/django.mo
+django_reversion.egg-info/PKG-INFO
+django_reversion.egg-info/SOURCES.txt
+django_reversion.egg-info/dependency_links.txt
+django_reversion.egg-info/not-zip-safe
+django_reversion.egg-info/requires.txt
+django_reversion.egg-info/top_level.txt
diff --git a/debian/rules b/debian/rules
index e2999e3..b760580 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,12 +9,12 @@ export PYBUILD_NAME=django-reversion
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_test:
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python{version} src/tests/manage.py test src/tests/test_reversion/" dh_auto_test
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python{version} tests/manage.py test tests" dh_auto_test
 
 override_dh_auto_build:
 	set -e; \
-	for loc in src/reversion/locale/*; do \
-		python setup.py compile_catalog --directory src/reversion/locale/ --locale $$(basename $$loc) --domain django; \
+	for loc in reversion/locale/*; do \
+		python setup.py compile_catalog --directory reversion/locale/ --locale $$(basename $$loc) --domain django; \
 	done
 	dh_auto_build
 	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html

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



More information about the Python-modules-commits mailing list