pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-humanfriendly
Module Name: pkgsrc
Committed By: adam
Date: Tue Aug 1 20:39:22 UTC 2023
Modified Files:
pkgsrc/textproc/py-humanfriendly: Makefile PLIST
Added Files:
pkgsrc/textproc/py-humanfriendly: ALTERNATIVES
Log Message:
py-humanfriendly: make a proper python package
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-humanfriendly/ALTERNATIVES
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-humanfriendly/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-humanfriendly/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-humanfriendly/Makefile
diff -u pkgsrc/textproc/py-humanfriendly/Makefile:1.4 pkgsrc/textproc/py-humanfriendly/Makefile:1.5
--- pkgsrc/textproc/py-humanfriendly/Makefile:1.4 Sun Jul 23 02:03:08 2023
+++ pkgsrc/textproc/py-humanfriendly/Makefile Tue Aug 1 20:39:22 2023
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2023/07/23 02:03:08 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2023/08/01 20:39:22 adam Exp $
DISTNAME= humanfriendly-10.0
+PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= textproc
+CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/humanfriendly/}
MAINTAINER= bacon%NetBSD.org@localhost
-HOMEPAGE= https://pypi.org/project/humanfriendly/
+HOMEPAGE= https://humanfriendly.readthedocs.io/
COMMENT= Human friendly output for text interfaces using Python
LICENSE= mit
@@ -18,7 +19,15 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.7:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.4.0:../../devel/py-test-cov
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES= yes
+
PYTHON_VERSIONS_INCOMPATIBLE= 27
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} humanfriendly humanfriendly-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-humanfriendly/PLIST
diff -u pkgsrc/textproc/py-humanfriendly/PLIST:1.1 pkgsrc/textproc/py-humanfriendly/PLIST:1.2
--- pkgsrc/textproc/py-humanfriendly/PLIST:1.1 Sat Jul 22 12:08:30 2023
+++ pkgsrc/textproc/py-humanfriendly/PLIST Tue Aug 1 20:39:22 2023
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2023/07/22 12:08:30 bacon Exp $
-bin/humanfriendly
+@comment $NetBSD: PLIST,v 1.2 2023/08/01 20:39:22 adam Exp $
+bin/humanfriendly-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Added files:
Index: pkgsrc/textproc/py-humanfriendly/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-humanfriendly/ALTERNATIVES:1.1
--- /dev/null Tue Aug 1 20:39:22 2023
+++ pkgsrc/textproc/py-humanfriendly/ALTERNATIVES Tue Aug 1 20:39:22 2023
@@ -0,0 +1 @@
+bin/humanfriendly @PREFIX@/bin/humanfriendly-@PYVERSSUFFIX@
Home |
Main Index |
Thread Index |
Old Index