[Python-modules-commits] [django-nose] 01/01: Add patch to prevent installation of testapp package.
Michael Fladischer
fladi at moszumanska.debian.org
Tue Oct 17 18:21:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch debian/master
in repository django-nose.
commit d8697af3901d7bb4e6b169e458f04f19294915d0
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Tue Oct 17 20:11:58 2017 +0200
Add patch to prevent installation of testapp package.
---
debian/changelog | 1 +
...04-Prevent-installation-of-testapp-package.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4eac8de..814fc18 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ django-nose (1.4.5-1) UNRELEASED; urgency=low
* Bump Standards-Version to 4.1.1.
* Add python(3)-django to Depends.
* Use https:// for copyright-format 1.0 URL.
+ * Add patch to prevent installation of testapp package.
-- Michael Fladischer <fladi at debian.org> Tue, 17 Oct 2017 18:13:46 +0200
diff --git a/debian/patches/0004-Prevent-installation-of-testapp-package.patch b/debian/patches/0004-Prevent-installation-of-testapp-package.patch
new file mode 100644
index 0000000..642b3bb
--- /dev/null
+++ b/debian/patches/0004-Prevent-installation-of-testapp-package.patch
@@ -0,0 +1,21 @@
+From: Michael Fladischer <FladischerMichael at fladi.at>
+Date: Tue, 17 Oct 2017 20:10:41 +0200
+Subject: Prevent installation of testapp package.
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index d02e383..2d84ffd 100644
+--- a/setup.py
++++ b/setup.py
+@@ -46,7 +46,7 @@ setup(
+ maintainer_email='erikrose at grinchcentral.com',
+ url='http://github.com/django-nose/django-nose',
+ license='BSD',
+- packages=find_packages(exclude=['testapp', 'testapp/*']),
++ packages=find_packages(exclude=['testapp', 'testapp.*']),
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=['nose>=1.2.1'],
diff --git a/debian/patches/series b/debian/patches/series
index 33bfcfb..093867c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
runtests.patch
0002-Remove-unnecessary-dependency-on-dj_database_url.patch
0003-Disable-tests-that-use-REUSE_DB-as-they-are-currentl.patch
+0004-Prevent-installation-of-testapp-package.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-nose.git
More information about the Python-modules-commits
mailing list