pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-anytree



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug 16 07:40:30 UTC 2023

Modified Files:
        pkgsrc/devel/py-anytree: Makefile PLIST
Added Files:
        pkgsrc/devel/py-anytree: ALTERNATIVES

Log Message:
py-anytree: Avoid self-conflict by renaming installed binary.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-anytree/ALTERNATIVES
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-anytree/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-anytree/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-anytree/Makefile
diff -u pkgsrc/devel/py-anytree/Makefile:1.10 pkgsrc/devel/py-anytree/Makefile:1.11
--- pkgsrc/devel/py-anytree/Makefile:1.10       Tue Aug 15 16:21:57 2023
+++ pkgsrc/devel/py-anytree/Makefile    Wed Aug 16 07:40:30 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2023/08/15 16:21:57 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2023/08/16 07:40:30 nia Exp $
 
 DISTNAME=      anytree-2.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/anytree/}
 
@@ -16,7 +17,11 @@ DEPENDS+=    ${PYPKGPREFIX}-six>=1.9.0:../.
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
-PYTHON_SELF_CONFLICT=          yes
+
+.include "../../lang/python/pyversion.mk"
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/ebt ${DESTDIR}${PREFIX}/bin/ebt-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-anytree/PLIST
diff -u pkgsrc/devel/py-anytree/PLIST:1.5 pkgsrc/devel/py-anytree/PLIST:1.6
--- pkgsrc/devel/py-anytree/PLIST:1.5   Wed Jul  5 20:28:07 2023
+++ pkgsrc/devel/py-anytree/PLIST       Wed Aug 16 07:40:30 2023
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2023/07/05 20:28:07 wiz Exp $
-bin/ebt
+@comment $NetBSD: PLIST,v 1.6 2023/08/16 07:40:30 nia Exp $
+bin/ebt-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA

Added files:

Index: pkgsrc/devel/py-anytree/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-anytree/ALTERNATIVES:1.1
--- /dev/null   Wed Aug 16 07:40:30 2023
+++ pkgsrc/devel/py-anytree/ALTERNATIVES        Wed Aug 16 07:40:30 2023
@@ -0,0 +1 @@
+bin/ebt @PREFIX@/bin/ebt-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index