pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-aafigure py-aafigure: mark as Python 3+; u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bcbc79826d5
branches:  trunk
changeset: 451539:6bcbc79826d5
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 28 08:24:01 2021 +0000

description:
py-aafigure: mark as Python 3+; use dash in binary name

diffstat:

 graphics/py-aafigure/ALTERNATIVES |   2 +-
 graphics/py-aafigure/Makefile     |  12 +++++++-----
 graphics/py-aafigure/PLIST        |   4 ++--
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (50 lines):

diff -r 847b416f9f61 -r 6bcbc79826d5 graphics/py-aafigure/ALTERNATIVES
--- a/graphics/py-aafigure/ALTERNATIVES Wed Apr 28 07:36:48 2021 +0000
+++ b/graphics/py-aafigure/ALTERNATIVES Wed Apr 28 08:24:01 2021 +0000
@@ -1,1 +1,1 @@
-bin/aafigure @PREFIX@/bin/aafigure@PYVERSSUFFIX@
+bin/aafigure @PREFIX@/bin/aafigure-@PYVERSSUFFIX@
diff -r 847b416f9f61 -r 6bcbc79826d5 graphics/py-aafigure/Makefile
--- a/graphics/py-aafigure/Makefile     Wed Apr 28 07:36:48 2021 +0000
+++ b/graphics/py-aafigure/Makefile     Wed Apr 28 08:24:01 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2021/03/10 18:49:07 adam Exp $
+# $NetBSD: Makefile,v 1.17 2021/04/28 08:24:01 adam Exp $
 
 DISTNAME=      aafigure-0.6
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics converters python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aafigure/}
@@ -10,15 +11,16 @@
 COMMENT=       ASCII art to image converter
 LICENSE=       modified-bsd
 
+DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
 
-PYTHON_VERSIONED_DEPENDENCIES= Pillow
-
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27      # py-pyphen
+
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} aafigure aafigure${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} aafigure aafigure-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 847b416f9f61 -r 6bcbc79826d5 graphics/py-aafigure/PLIST
--- a/graphics/py-aafigure/PLIST        Wed Apr 28 07:36:48 2021 +0000
+++ b/graphics/py-aafigure/PLIST        Wed Apr 28 08:24:01 2021 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/04 21:07:12 adam Exp $
-bin/aafigure${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.4 2021/04/28 08:24:01 adam Exp $
+bin/aafigure-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index