[med-svn] [python-pbcore] 02/07: Prepare python-pbcore-data package
Afif Elghraoui
afif-guest at moszumanska.debian.org
Sun Jun 28 19:12:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository python-pbcore.
commit dc6864e797351613a9ec4541bbfb8b7e5d828332
Author: عفيف الغراوي <afif at ghraoui.name>
Date: Sun Jun 28 11:24:18 2015 -0700
Prepare python-pbcore-data package
---
debian/python-pbcore-data.install | 1 +
debian/python-pbcore.links | 1 +
debian/python-pbcore.pyremove | 1 +
debian/python3-pbcore.links | 1 +
debian/python3-pbcore.pyremove | 1 +
debian/rules | 9 ---------
6 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/debian/python-pbcore-data.install b/debian/python-pbcore-data.install
new file mode 100644
index 0000000..62d1de1
--- /dev/null
+++ b/debian/python-pbcore-data.install
@@ -0,0 +1 @@
+pbcore/data usr/share/doc/python-pbcore
diff --git a/debian/python-pbcore.links b/debian/python-pbcore.links
new file mode 100644
index 0000000..fb69ca0
--- /dev/null
+++ b/debian/python-pbcore.links
@@ -0,0 +1 @@
+/usr/share/doc/python-pbcore/data /usr/lib/python2.7/dist-packages/pbcore/data
diff --git a/debian/python-pbcore.pyremove b/debian/python-pbcore.pyremove
new file mode 100644
index 0000000..f9d2565
--- /dev/null
+++ b/debian/python-pbcore.pyremove
@@ -0,0 +1 @@
+pbcore/data
diff --git a/debian/python3-pbcore.links b/debian/python3-pbcore.links
new file mode 100644
index 0000000..f355287
--- /dev/null
+++ b/debian/python3-pbcore.links
@@ -0,0 +1 @@
+/usr/share/doc/python-pbcore/data /usr/lib/python3/dist-packages/pbcore/data
diff --git a/debian/python3-pbcore.pyremove b/debian/python3-pbcore.pyremove
new file mode 100644
index 0000000..f9d2565
--- /dev/null
+++ b/debian/python3-pbcore.pyremove
@@ -0,0 +1 @@
+pbcore/data
diff --git a/debian/rules b/debian/rules
index 7f125e4..fc1db3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,6 @@
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
-# debhelper doesn't appear to define DESTDIR for debian/rules
-# call it "ROOT" here so it doesn't conflict with DESTDIR (it shouldn't anyway)
-ROOT=`pwd`/debian/$(DEB_SOURCE)
export PYBUILD_NAME = pbcore
%:
@@ -15,12 +12,6 @@ override_dh_auto_build:
dh_auto_build
$(MAKE) doc
-override_dh_fixperms:
- dh_fixperms
- # TODO: Not hardcoding this would be nice
-# chmod -x $(ROOT)/usr/lib/python2.7/dist-packages/pbcore/data/*.h5
-# chmod -x $(ROOT)/usr/lib/python3/dist-packages/pbcore/data/*.h5
-
override_dh_installdocs:
dh_installdocs -X _source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbcore.git
More information about the debian-med-commit
mailing list