diff options
author | adam <adam@pkgsrc.org> | 2021-04-28 08:24:01 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-04-28 08:24:01 +0000 |
commit | 3d7c8aed8f77096e81f5d07c28e06f74fb458612 (patch) | |
tree | 3a9798ab3bfbae2e16893425ad4feb5388e8c43a | |
parent | 990d922cee73da2ad922caf3d4840cd01f311e48 (diff) | |
download | pkgsrc-3d7c8aed8f77096e81f5d07c28e06f74fb458612.tar.gz |
py-aafigure: mark as Python 3+; use dash in binary name
-rw-r--r-- | graphics/py-aafigure/ALTERNATIVES | 2 | ||||
-rw-r--r-- | graphics/py-aafigure/Makefile | 12 | ||||
-rw-r--r-- | graphics/py-aafigure/PLIST | 4 |
3 files changed, 10 insertions, 8 deletions
diff --git a/graphics/py-aafigure/ALTERNATIVES b/graphics/py-aafigure/ALTERNATIVES index 51c7b243c9c..4177494ac72 100644 --- a/graphics/py-aafigure/ALTERNATIVES +++ b/graphics/py-aafigure/ALTERNATIVES @@ -1 +1 @@ -bin/aafigure @PREFIX@/bin/aafigure@PYVERSSUFFIX@ +bin/aafigure @PREFIX@/bin/aafigure-@PYVERSSUFFIX@ diff --git a/graphics/py-aafigure/Makefile b/graphics/py-aafigure/Makefile index a5ea68dfb40..f08f7163a42 100644 --- a/graphics/py-aafigure/Makefile +++ b/graphics/py-aafigure/Makefile @@ -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 @@ HOMEPAGE= https://launchpad.net/aafigure 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 --git a/graphics/py-aafigure/PLIST b/graphics/py-aafigure/PLIST index 1a7b1ca8eeb..8faa2d23213 100644 --- a/graphics/py-aafigure/PLIST +++ b/graphics/py-aafigure/PLIST @@ -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 |