| @@ -1,27 +1,29 @@ | | | @@ -1,27 +1,29 @@ |
1 | # $NetBSD: Makefile,v 1.2 2020/07/08 14:58:01 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2021/10/15 11:54:44 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= python-slugify-4.0.1 | | 3 | DISTNAME= python-slugify-5.0.2 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//} |
5 | CATEGORIES= devel www python | | 5 | CATEGORIES= devel www python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-slugify/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-slugify/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/un33k/python-slugify | | 9 | HOMEPAGE= https://github.com/un33k/python-slugify |
10 | COMMENT= Slugify (non-ASCII to ASCII) application that handles Unicode | | 10 | COMMENT= Slugify (non-ASCII to ASCII) application that handles Unicode |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | PREV_PKGPATH= devel/py-python-slugify | | 13 | PREV_PKGPATH= devel/py-python-slugify |
14 | | | 14 | |
15 | DEPENDS+= ${PYPKGPREFIX}-text-unidecode>=1.3:../../textproc/py-text-unidecode | | 15 | DEPENDS+= ${PYPKGPREFIX}-text-unidecode>=1.3:../../textproc/py-text-unidecode |
16 | | | 16 | |
17 | USE_LANGUAGES= # none | | 17 | USE_LANGUAGES= # none |
18 | | | 18 | |
| | | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
| | | 20 | |
19 | post-install: | | 21 | post-install: |
20 | cd ${DESTDIR}${PREFIX}/bin && \ | | 22 | cd ${DESTDIR}${PREFIX}/bin && \ |
21 | ${MV} slugify slugify-${PYVERSSUFFIX} || ${TRUE} | | 23 | ${MV} slugify slugify-${PYVERSSUFFIX} || ${TRUE} |
22 | | | 24 | |
23 | do-test: | | 25 | do-test: |
24 | cd ${WRKSRC} && ${PYTHONBIN} test.py | | 26 | cd ${WRKSRC} && ${PYTHONBIN} test.py |
25 | | | 27 | |
26 | .include "../../lang/python/egg.mk" | | 28 | .include "../../lang/python/egg.mk" |
27 | .include "../../mk/bsd.pkg.mk" | | 29 | .include "../../mk/bsd.pkg.mk" |