[med-svn] [Git][med-team/python-treetime][master] 2 commits: Fix installation

Andreas Tille gitlab at salsa.debian.org
Thu Sep 27 12:07:46 BST 2018


Andreas Tille pushed to branch master at Debian Med / python-treetime


Commits:
aabb841c by Andreas Tille at 2018-09-27T09:57:02Z
Fix installation

- - - - -
e198c62e by Andreas Tille at 2018-09-27T10:36:01Z
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-python-treetime (0.5.0-1) UNRELEASED; urgency=medium
+python-treetime (0.5.0-1) unstable; urgency=medium
 
   * New upstream version
   * Drop ancient X-Python-Version field
@@ -7,7 +7,7 @@ python-treetime (0.5.0-1) UNRELEASED; urgency=medium
   * Build-Depends: python*-biopython, python*-numpy, python*-pandas,
     python*-scipy
 
- -- Andreas Tille <tille at debian.org>  Thu, 27 Sep 2018 11:11:48 +0200
+ -- Andreas Tille <tille at debian.org>  Thu, 27 Sep 2018 11:57:12 +0200
 
 python-treetime (0.2.4-1) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
@@ -14,11 +14,7 @@ override_dh_install:
 	find debian/*/usr/share/treetime -name __init__.py -delete
 	find debian/*/usr/share/treetime -name setup.py -delete
 	## enable dh_python finding dependency
-	##find debian/*/usr/share/treetime -name "*.py" -exec sed -i 's:#!/usr/bin/env python:#!/usr/bin/python:' \{\} \;
 	find debian/*/usr/lib/*/dist-packages/treetime -name "*.py" -exec sed -i 's:/usr/local/bin/python:/usr/bin/python:' \{\} \;
 	mkdir -p $(EXECDIR)
 	mv debian/python-$(PYBUILD_NAME)/usr/bin/* $(EXECDIR)
-	for py in `find debian/python3-treetime -name "*.py"` ; do \
-	    dh_link -p python3-$(PYBUILD_NAME)	usr/share/treetime/`basename $${py}`	usr/bin/`basename $${py} .py` ; \
-	    sed -i '1s+#!/usr/bin/python+&3+' $${py} ; \
-	done
+	dh_link -p python3-$(PYBUILD_NAME)	usr/share/$(PYBUILD_NAME)/$(PYBUILD_NAME)	usr/bin/$(PYBUILD_NAME)



View it on GitLab: https://salsa.debian.org/med-team/python-treetime/compare/78b692952a6b9379ff3f6cc916c03129e227dc6d...e198c62e2b7687305ea6b90885d0276765f04811

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-treetime/compare/78b692952a6b9379ff3f6cc916c03129e227dc6d...e198c62e2b7687305ea6b90885d0276765f04811
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/20180927/ac7a525c/attachment.html>


More information about the debian-med-commit mailing list