[med-svn] [Git][med-team/python-pangolearn][master] 2 commits: Fix watch file
Andreas Tille (@tille)
gitlab at salsa.debian.org
Fri Oct 28 22:38:37 BST 2022
Andreas Tille pushed to branch master at Debian Med / python-pangolearn
Commits:
c0cd10a8 by Andreas Tille at 2022-10-28T23:23:25+02:00
Fix watch file
- - - - -
f3ec8af6 by Andreas Tille at 2022-10-28T23:38:03+02:00
Follow FHS advise of ftpmaster
- - - - -
2 changed files:
- debian/rules
- debian/watch
Changes:
=====================================
debian/rules
=====================================
@@ -10,3 +10,10 @@ export PYBUILD_NAME = pangolearn
override_dh_install:
dh_install
rm -rf debian/python3-$(PYBUILD_NAME)/usr/bin
+
+override_dh_python3:
+ dh_python3
+ # Follow request of ftpmaster https://alioth-lists.debian.net/pipermail/debian-med-packaging/2022-October/104236.html
+ mkdir -p debian/python3-$(PYBUILD_NAME)/usr/share/python3-$(PYBUILD_NAME)
+ mv debian/python3-$(PYBUILD_NAME)/usr/lib/python3/dist-packages/pangoLEARN/data debian/python3-$(PYBUILD_NAME)/usr/share/python3-$(PYBUILD_NAME)
+ dh_link /usr/share/python3-$(PYBUILD_NAME)/data /usr/lib/python3/dist-packages/pangoLEARN/data
=====================================
debian/watch
=====================================
@@ -1,4 +1,4 @@
version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%,repacksuffix=+dfsg,dversionmangle=auto,repack,compression=xz" \
-https://github.com/cov-lineages/pangoLEARN/releases .*/archive.*/v?@ANY_VERSION@\.tar\.gz
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%,repacksuffix=+dfsg,dversionmangle=auto" \
+ https://github.com/cov-lineages/pangoLEARN/tags .*/v?@ANY_VERSION@\.tar\.gz
View it on GitLab: https://salsa.debian.org/med-team/python-pangolearn/-/compare/f569da682f7aec976522e88106435482db8eca29...f3ec8af6c101cfbe44c8645a56833d84b0cbc143
--
View it on GitLab: https://salsa.debian.org/med-team/python-pangolearn/-/compare/f569da682f7aec976522e88106435482db8eca29...f3ec8af6c101cfbe44c8645a56833d84b0cbc143
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/20221028/d13c277f/attachment-0001.htm>
More information about the debian-med-commit
mailing list