pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-commisery: Added missing dependencies and ALTERNATIVES
Module Name: pkgsrc-wip
Committed By: Aleksej Lebedev <root%zta.lk@localhost>
Pushed By: zhtw
Date: Wed Nov 4 15:41:17 2020 +0100
Changeset: 63c61cb39e9f7496642d048d2720849221b20f88
Modified Files:
py-commisery/Makefile
py-commisery/PLIST
Log Message:
py-commisery: Added missing dependencies and ALTERNATIVES
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=63c61cb39e9f7496642d048d2720849221b20f88
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-commisery/Makefile | 8 ++++++++
py-commisery/PLIST | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diffs:
diff --git a/py-commisery/Makefile b/py-commisery/Makefile
index 722b56ac8f..0e4ac75b4b 100644
--- a/py-commisery/Makefile
+++ b/py-commisery/Makefile
@@ -10,5 +10,13 @@ HOMEPAGE= https://github.com/tomtom-international/commisery/
COMMENT= Check whether given commit messages adhere to Conventional Commits.
LICENSE= apache-2.0
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && for b in commisery-verify-github-pullrequest commisery-verify-msg; \
+ do ${MV} $$b $$b-${PYVERSSUFFIX}; \
+ done
+
+DEPENDS+= ${PYPKGPREFIX}-stemming>=1<2:../../wip/py-stemming
+DEPENDS+= ${PYPKGPREFIX}-regex:../../textproc/py-regex
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-commisery/PLIST b/py-commisery/PLIST
index f9f6a679d1..58bbbe9014 100644
--- a/py-commisery/PLIST
+++ b/py-commisery/PLIST
@@ -1,6 +1,6 @@
@comment $NetBSD$
-bin/commisery-verify-github-pullrequest
-bin/commisery-verify-msg
+bin/commisery-verify-github-pullrequest-${PYVERSSUFFIX}
+bin/commisery-verify-msg-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index