Skip to content
Commits on Source (2)
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@debian.org> Thu, 27 Sep 2018 11:11:48 +0200
-- Andreas Tille <tille@debian.org> Thu, 27 Sep 2018 11:57:12 +0200
python-treetime (0.2.4-1) unstable; urgency=medium
......
......@@ -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)