[Python-modules-commits] [python-distro] 01/01: Clean up packaging after testing.
Barry Warsaw
barry at moszumanska.debian.org
Mon Nov 28 20:41:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-distro.
commit 4e91ab01d6c12cbf12f2663096fd5dde1643b0e0
Author: Barry Warsaw <barry at python.org>
Date: Mon Nov 28 15:40:48 2016 -0500
Clean up packaging after testing.
---
debian/control | 3 +--
debian/rules | 10 ++++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index e193341..c65b3e2 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: python-distro
Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Barry Warsaw <barry at debian.org,
+Uploaders: Barry Warsaw <barry at debian.org>,
Build-Depends: debhelper (>= 9),
dh-python,
python-all (>= 2.6.6-3~),
@@ -34,7 +34,6 @@ Package: python3-distro
Architecture: all
Depends: ${misc:Depends},
${python3:Depends},
- ${shlibs:Depends},
Description: Linux OS platform information API
distro (for: Linux Distribution) provides information about the Linux
distribution it runs on, such as a reliable machine-readable ID, or version
diff --git a/debian/rules b/debian/rules
old mode 100644
new mode 100755
index ece7b69..b37c49b
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,13 @@ export PYBUILD_NAME=distro
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+
+# For now, I do not want to distribute /usr/bin/distro
+
+override_dh_python3:
+ dh_python3
+ rm -rf debian/python3-distro/usr/bin
+
+override_dh_python2:
+ dh_python2
+ rm -rf debian/python-distro/usr/bin
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-distro.git
More information about the Python-modules-commits
mailing list