py-pycha: Convert to wheel.mk

Not for Python 2.

Bump PKGREVISION.
This commit is contained in:
wiz 2023-11-05 13:27:29 +00:00
parent c422fc388b
commit 5d3f38b771
2 changed files with 15 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.22 2022/01/05 15:41:11 wiz Exp $
# $NetBSD: Makefile,v 1.23 2023/11/05 13:27:29 wiz Exp $
DISTNAME= pycha-0.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycha/}
@ -11,15 +11,17 @@ HOMEPAGE= https://bitbucket.org/lgs/pycha/
COMMENT= Library for making charts with Python
LICENSE= gnu-lgpl-v3
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-cairocffi-[0-9]*:../../graphics/py-cairocffi
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= #none
USE_PKG_RESOURCES= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/chavier ${DESTDIR}${PREFIX}/bin/chavier-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,12 +1,5 @@
@comment $NetBSD: PLIST,v 1.3 2020/03/11 20:17:12 wiz Exp $
@comment $NetBSD: PLIST,v 1.4 2023/11/05 13:27:29 wiz Exp $
bin/chavier-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${EGG_INFODIR}/zip-safe
${PYSITELIB}/chavier/__init__.py
${PYSITELIB}/chavier/__init__.pyc
${PYSITELIB}/chavier/__init__.pyo
@ -19,6 +12,14 @@ ${PYSITELIB}/chavier/dialogs.pyo
${PYSITELIB}/chavier/gui.py
${PYSITELIB}/chavier/gui.pyc
${PYSITELIB}/chavier/gui.pyo
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/COPYING
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
${PYSITELIB}/pycha/__init__.py
${PYSITELIB}/pycha/__init__.pyc
${PYSITELIB}/pycha/__init__.pyo