py-pip2pi: convert to wheel.mk Bump PKGREVISION.diff -r1.1 -r1.2 pkgsrc/devel/py-pip2pi/Makefile
(wiz)
@@ -1,22 +1,26 @@ | @@ -1,22 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2023/02/27 18:54:51 nikita Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2024/04/30 11:24:26 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= pip2pi-0.8.2 | 3 | DISTNAME= pip2pi-0.8.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 1 | |||
5 | CATEGORIES= devel python | 6 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip2pi/} | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip2pi/} | |
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/wolever/pip2pi/ | 10 | HOMEPAGE= https://github.com/wolever/pip2pi/ | |
10 | COMMENT= Build a PyPI-compatible package repository from pip | 11 | COMMENT= Build a PyPI-compatible package repository from pip | |
11 | LICENSE= 2-clause-bsd | 12 | LICENSE= 2-clause-bsd | |
12 | 13 | |||
13 | PYTHON_VERSIONED_DEPENDENCIES+= pip | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |||
16 | DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip | |||
17 | ||||
18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
14 | 19 | |||
15 | post-install: | 20 | post-install: | |
16 | .for bins in dir2pi pip2pi pip2tgz | 21 | .for bins in dir2pi pip2pi pip2tgz | |
17 | ${MV} ${DESTDIR}${PREFIX}/bin/${bins} ${DESTDIR}${PREFIX}/bin/${bins}-${PYVERSSUFFIX} | 22 | ${MV} ${DESTDIR}${PREFIX}/bin/${bins} ${DESTDIR}${PREFIX}/bin/${bins}-${PYVERSSUFFIX} | |
18 | .endfor | 23 | .endfor | |
19 | 24 | |||
20 | .include "../../lang/python/egg.mk" | 25 | .include "../../lang/python/wheel.mk" | |
21 | .include "../../lang/python/versioned_dependencies.mk" | |||
22 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2023/02/27 18:54:51 nikita Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2024/04/30 11:24:26 wiz Exp $ | |
2 | bin/dir2pi-${PYVERSSUFFIX} | 2 | bin/dir2pi-${PYVERSSUFFIX} | |
3 | bin/pip2pi-${PYVERSSUFFIX} | 3 | bin/pip2pi-${PYVERSSUFFIX} | |
4 | bin/pip2tgz-${PYVERSSUFFIX} | 4 | bin/pip2tgz-${PYVERSSUFFIX} | |
5 | ${PYSITELIB}/libpip2pi/__init__.py | 5 | ${PYSITELIB}/libpip2pi/__init__.py | |
6 | ${PYSITELIB}/libpip2pi/__init__.pyo | |||
7 | ${PYSITELIB}/libpip2pi/__init__.pyc | 6 | ${PYSITELIB}/libpip2pi/__init__.pyc | |
8 | ${PYSITELIB}/libpip2pi/commands.pyo | 7 | ${PYSITELIB}/libpip2pi/__init__.pyo | |
9 | ${PYSITELIB}/libpip2pi/commands.pyc | |||
10 | ${PYSITELIB}/libpip2pi/commands.py | 8 | ${PYSITELIB}/libpip2pi/commands.py | |
11 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 9 | ${PYSITELIB}/libpip2pi/commands.pyc | |
12 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 10 | ${PYSITELIB}/libpip2pi/commands.pyo | |
13 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 11 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt | |
14 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 12 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
15 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 13 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
16 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 14 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
15 | ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt | |||
16 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt |