[Python-modules-commits] [python-fs] 12/17: remove debian/python-fs.install and use PYBUILD_BEFORE_INSTALL instead
Jan Dittberner
jandd at moszumanska.debian.org
Sun Jan 3 19:30:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
jandd pushed a commit to branch master
in repository python-fs.
commit cd5d5e756364b7eec019d81e252fc635d694e871
Author: Jan Dittberner <jandd at debian.org>
Date: Sun Jan 3 19:29:18 2016 +0100
remove debian/python-fs.install and use PYBUILD_BEFORE_INSTALL instead
---
debian/changelog | 2 ++
debian/python-fs.install | 2 --
debian/rules | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6d1d0cf..23280aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ python-fs (0.5.4-1) UNRELEASED; urgency=medium
* Add Build-Depends for python-setuptools and python-six
* Disable tests because of required network access or required
privileges
+ * remove debian/python-fs.install and use PYBUILD_BEFORE_INSTALL
+ instead
-- Jan Dittberner <jandd at debian.org> Sun, 03 Jan 2016 18:21:51 +0100
diff --git a/debian/python-fs.install b/debian/python-fs.install
deleted file mode 100644
index cbe0121..0000000
--- a/debian/python-fs.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin/*
-usr/lib/python*
diff --git a/debian/rules b/debian/rules
index 252ba39..fc15212 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ export PYBUILD_NAME=fs
# disable tests because most require network access or root privileges which is
# not ok for package building
export PYBUILD_DISABLE=test
+export PYBUILD_BEFORE_INSTALL=if [ "{package}" != "python-fs" ]; then rm -r {build_dir}/usr/bin; fi
%:
dh $@ --with python2 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-fs.git
More information about the Python-modules-commits
mailing list