pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-codecov: Added ALTERNATIVES.
Module Name: pkgsrc-wip
Committed By: Aleksej Lebedev <root%zta.lk@localhost>
Pushed By: zhtw
Date: Tue Apr 30 13:49:36 2019 +0000
Changeset: 25dc9e7b38dd46b6181d5257126663e7bef1b81f
Modified Files:
py-codecov/Makefile
py-codecov/PLIST
Added Files:
py-codecov/ALTERNATIVES
Log Message:
py-codecov: Added ALTERNATIVES.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=25dc9e7b38dd46b6181d5257126663e7bef1b81f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-codecov/ALTERNATIVES | 1 +
py-codecov/Makefile | 3 +++
py-codecov/PLIST | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
diffs:
diff --git a/py-codecov/ALTERNATIVES b/py-codecov/ALTERNATIVES
new file mode 100644
index 0000000000..3094e9eca8
--- /dev/null
+++ b/py-codecov/ALTERNATIVES
@@ -0,0 +1 @@
+bin/codecov @PREFIX@/bin/codecov-@PYVERSSUFFIX@
diff --git a/py-codecov/Makefile b/py-codecov/Makefile
index 58526edf77..bfab6431f5 100644
--- a/py-codecov/Makefile
+++ b/py-codecov/Makefile
@@ -10,5 +10,8 @@ HOMEPAGE= https://github.com/codecov/codecov-python
COMMENT= Python report uploader for Codecov
LICENSE= apache-2.0
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} codecov codecov-${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-codecov/PLIST b/py-codecov/PLIST
index 83f3e3bd6f..4022214722 100644
--- a/py-codecov/PLIST
+++ b/py-codecov/PLIST
@@ -1,5 +1,5 @@
@comment $NetBSD$
-bin/codecov
+bin/codecov-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index