[med-svn] [Git][med-team/pycorrfit][master] Install all to /usr/lib/pycorrfit, move and simlink pycorrfit script
Alexandre Mestiashvili
gitlab at salsa.debian.org
Wed Sep 26 12:13:52 BST 2018
Alexandre Mestiashvili pushed to branch master at Debian Med / pycorrfit
Commits:
b95471b3 by Alexandre Mestiashvili at 2018-09-26T11:10:55Z
Install all to /usr/lib/pycorrfit, move and simlink pycorrfit script
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -3,7 +3,7 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+BINDNOW
export PYBUILD_NAME=pycorrfit
export PYBUILD_TEST_PYTEST=0
-export PYBUILD_INSTALL_ARGS_python3=--install-lib=/usr/lib
+export PYBUILD_INSTALL_ARGS_python3=--install-lib=/usr/lib/${PYBUILD_NAME}
# see https://wiki.debian.org/ReproducibleBuilds/TimestampsInPDFGeneratedByLaTeX
DEB_DATE_RFC_2822 := $(shell dpkg-parsechangelog -S date)
DEB_DATE_RFC_3339 := $(shell date -u "--rfc-3339=seconds" -d "$(DEB_DATE_RFC_2822)")
@@ -37,11 +37,12 @@ override_dh_auto_build:
dh_auto_build
override_dh_install:
- dh_install
- find debian/pycorrfit -name '*.py[co]' | xargs -r rm -f
- find debian/pycorrfit -name '__pycache__' | xargs -r rm -rf
- rm -f debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/readfiles/read_pt3_scripts/README
- find $(CURDIR)/debian/$() -name LICENSE -delete
+ dh_install -X__pycache__ -X.*pyc
+ mv $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin/pycorrfit \
+ $(CURDIR)/debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)/pycorrfit_run
+ find $(CURDIR) -print
+ cd $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin/; \
+ ln -s ../lib/$(DEB_SOURCE)/pycorrfit_run pycorrfit; cd -
mv debian/pycorrfit.xpm \
debian/$(DEB_SOURCE)/usr/share/pixmaps
chmod -R 644 debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/external_model_functions/
View it on GitLab: https://salsa.debian.org/med-team/pycorrfit/commit/b95471b38668e88ef07b87d12346504b0ae6e05c
--
View it on GitLab: https://salsa.debian.org/med-team/pycorrfit/commit/b95471b38668e88ef07b87d12346504b0ae6e05c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180926/328ddf8f/attachment.html>
More information about the debian-med-commit
mailing list