py-confusable_homoglyphs: convert to wheel.mk Fix build with Python 3.12. Bump PKGREVISIONdiff -r1.7 -r1.8 pkgsrc/converters/py-confusable_homoglyphs/Makefile
(wiz)
@@ -1,26 +1,27 @@ | @@ -1,26 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2022/01/31 09:48:35 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2023/11/05 23:44:05 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= confusable_homoglyphs-3.2.0 | 3 | DISTNAME= confusable_homoglyphs-3.2.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 2 | 5 | PKGREVISION= 3 | |
6 | CATEGORIES= converters python | 6 | CATEGORIES= converters python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/confusable_homoglyphs/} | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/confusable_homoglyphs/} | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/vhf/confusable_homoglyphs | 10 | HOMEPAGE= https://github.com/vhf/confusable_homoglyphs | |
11 | COMMENT= Detect confusable usage of unicode homoglyphs | 11 | COMMENT= Detect confusable usage of unicode homoglyphs | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | PYTHON_VERSIONED_DEPENDENCIES+= click | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |||
16 | DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click | |||
15 | 17 | |||
16 | USE_LANGUAGES= # none | 18 | USE_LANGUAGES= # none | |
17 | 19 | |||
18 | USE_PKG_RESOURCES= yes | 20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
19 | 21 | |||
20 | post-install: | 22 | post-install: | |
21 | cd ${DESTDIR}${PREFIX}/bin \ | 23 | cd ${DESTDIR}${PREFIX}/bin \ | |
22 | && ${MV} confusable_homoglyphs confusable_homoglyphs-${PYVERSSUFFIX} || ${TRUE} | 24 | && ${MV} confusable_homoglyphs confusable_homoglyphs-${PYVERSSUFFIX} || ${TRUE} | |
23 | 25 | |||
24 | .include "../../lang/python/egg.mk" | 26 | .include "../../lang/python/wheel.mk" | |
25 | .include "../../lang/python/versioned_dependencies.mk" | |||
26 | .include "../../mk/bsd.pkg.mk" | 27 | .include "../../mk/bsd.pkg.mk" |
@@ -1,21 +1,22 @@ | @@ -1,21 +1,22 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2018/12/04 13:29:13 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2023/11/05 23:44:05 wiz Exp $ | |
2 | bin/confusable_homoglyphs-${PYVERSSUFFIX} | 2 | bin/confusable_homoglyphs-${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 7 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt | |
9 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |||
9 | ${PYSITELIB}/confusable_homoglyphs/__init__.py | 10 | ${PYSITELIB}/confusable_homoglyphs/__init__.py | |
10 | ${PYSITELIB}/confusable_homoglyphs/__init__.pyc | 11 | ${PYSITELIB}/confusable_homoglyphs/__init__.pyc | |
11 | ${PYSITELIB}/confusable_homoglyphs/__init__.pyo | 12 | ${PYSITELIB}/confusable_homoglyphs/__init__.pyo | |
12 | ${PYSITELIB}/confusable_homoglyphs/_version.py | 13 | ${PYSITELIB}/confusable_homoglyphs/_version.py | |
13 | ${PYSITELIB}/confusable_homoglyphs/_version.pyc | 14 | ${PYSITELIB}/confusable_homoglyphs/_version.pyc | |
14 | ${PYSITELIB}/confusable_homoglyphs/_version.pyo | 15 | ${PYSITELIB}/confusable_homoglyphs/_version.pyo | |
15 | ${PYSITELIB}/confusable_homoglyphs/categories.json | 16 | ${PYSITELIB}/confusable_homoglyphs/categories.json | |
16 | ${PYSITELIB}/confusable_homoglyphs/categories.py | 17 | ${PYSITELIB}/confusable_homoglyphs/categories.py | |
17 | ${PYSITELIB}/confusable_homoglyphs/categories.pyc | 18 | ${PYSITELIB}/confusable_homoglyphs/categories.pyc | |
18 | ${PYSITELIB}/confusable_homoglyphs/categories.pyo | 19 | ${PYSITELIB}/confusable_homoglyphs/categories.pyo | |
19 | ${PYSITELIB}/confusable_homoglyphs/cli.py | 20 | ${PYSITELIB}/confusable_homoglyphs/cli.py | |
20 | ${PYSITELIB}/confusable_homoglyphs/cli.pyc | 21 | ${PYSITELIB}/confusable_homoglyphs/cli.pyc | |
21 | ${PYSITELIB}/confusable_homoglyphs/cli.pyo | 22 | ${PYSITELIB}/confusable_homoglyphs/cli.pyo |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2021/10/26 10:06:50 nia Exp $ | 1 | $NetBSD: distinfo,v 1.6 2023/11/05 23:44:05 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (confusable_homoglyphs-3.2.0.tar.gz) = 0f025fef9340a154bc75e351f53fffbe9ddb5f37af0ceccaaa375acbe1cf0276 | 3 | BLAKE2s (confusable_homoglyphs-3.2.0.tar.gz) = 0f025fef9340a154bc75e351f53fffbe9ddb5f37af0ceccaaa375acbe1cf0276 | |
4 | SHA512 (confusable_homoglyphs-3.2.0.tar.gz) = 0a46a5bc94393592f6fa088bbe2f95cc301972c55de08231f3607828fcd3c5cb462514b80013283ef8cd8d76eaa3e14258ac8f3433c9c2cd1a89bcebca8fa7f6 | 4 | SHA512 (confusable_homoglyphs-3.2.0.tar.gz) = 0a46a5bc94393592f6fa088bbe2f95cc301972c55de08231f3607828fcd3c5cb462514b80013283ef8cd8d76eaa3e14258ac8f3433c9c2cd1a89bcebca8fa7f6 | |
5 | Size (confusable_homoglyphs-3.2.0.tar.gz) = 161937 bytes | 5 | Size (confusable_homoglyphs-3.2.0.tar.gz) = 161937 bytes | |
6 | SHA1 (patch-versioneer.py) = 3a8b5a2b650f935cd5173081b0f3d35375831f38 |