pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-rich-click



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul 24 04:45:33 UTC 2023

Modified Files:
        pkgsrc/devel/py-rich-click: Makefile PLIST

Log Message:
py-rich-click: package properly


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-rich-click/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-rich-click/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-rich-click/Makefile
diff -u pkgsrc/devel/py-rich-click/Makefile:1.3 pkgsrc/devel/py-rich-click/Makefile:1.4
--- pkgsrc/devel/py-rich-click/Makefile:1.3     Sun Jul 23 02:09:54 2023
+++ pkgsrc/devel/py-rich-click/Makefile Mon Jul 24 04:45:33 2023
@@ -1,19 +1,27 @@
-# $NetBSD: Makefile,v 1.3 2023/07/23 02:09:54 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2023/07/24 04:45:33 adam Exp $
 
 DISTNAME=      rich-click-1.6.1
 PKGNAME=       ${PYPKGPREFIX}-rich-click-1.6.1
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rich-click/}
 
 OWNER=         bacon%NetBSD.org@localhost
-HOMEPAGE=      https://pypi.python.org/project/rich-click/
+HOMEPAGE=      https://github.com/ewels/rich-click
 COMMENT=       Format click help output nicely with rich
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-click>0:../../devel/py-click
-DEPENDS+=      ${PYPKGPREFIX}-rich>0:../../comms/py-rich
+DEPENDS+=      ${PYPKGPREFIX}-click>=7:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-rich>=10.7.0:../../comms/py-rich
+
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES=     yes
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} rich-click rich-click-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-rich-click/PLIST
diff -u pkgsrc/devel/py-rich-click/PLIST:1.1 pkgsrc/devel/py-rich-click/PLIST:1.2
--- pkgsrc/devel/py-rich-click/PLIST:1.1        Thu Jul 20 14:23:56 2023
+++ pkgsrc/devel/py-rich-click/PLIST    Mon Jul 24 04:45:33 2023
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2023/07/20 14:23:56 bacon Exp $
-bin/rich-click
+@comment $NetBSD: PLIST,v 1.2 2023/07/24 04:45:33 adam Exp $
+bin/rich-click-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index