| @@ -1,25 +1,24 @@ | | | @@ -1,25 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.20 2017/06/08 19:06:51 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.21 2017/06/08 22:19:14 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= chardet-3.0.4 | | 3 | DISTNAME= chardet-3.0.4 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= converters python | | 5 | CATEGORIES= converters python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/} |
7 | | | 7 | |
8 | MAINTAINER= bartosz.kuzma@gmail.com | | 8 | MAINTAINER= bartosz.kuzma@gmail.com |
9 | HOMEPAGE= http://pypi.python.org/pypi/chardet | | 9 | HOMEPAGE= http://pypi.python.org/pypi/chardet |
10 | COMMENT= Character encoding auto-detection in Python | | 10 | COMMENT= Character encoding auto-detection in Python |
11 | LICENSE= gnu-lgpl-v2.1 | | 11 | LICENSE= gnu-lgpl-v2.1 |
12 | | | 12 | |
13 | # TEST_DEPENDS; however, no tests found | | 13 | # TEST_DEPENDS |
14 | # https://github.com/chardet/chardet/issues/120 | | | |
15 | BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | | 14 | BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test |
16 | BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | | 15 | BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner |
17 | BUILD_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis | | 16 | BUILD_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis |
18 | BUILD_DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py | | 17 | BUILD_DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py |
19 | | | 18 | |
20 | post-install: | | 19 | post-install: |
21 | ${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX} || ${TRUE} | | 20 | ${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX} || ${TRUE} |
22 | | | 21 | |
23 | .include "../../lang/python/application.mk" | | 22 | .include "../../lang/python/application.mk" |
24 | .include "../../lang/python/egg.mk" | | 23 | .include "../../lang/python/egg.mk" |
25 | .include "../../mk/bsd.pkg.mk" | | 24 | .include "../../mk/bsd.pkg.mk" |