| @@ -1,28 +1,28 @@ | | | @@ -1,28 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.2 2021/10/01 12:48:28 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2021/12/31 12:16:51 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= filetype-1.0.8 | | 3 | DISTNAME= filetype-1.0.9 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= sysutils python | | 5 | CATEGORIES= sysutils python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=f/filetype/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=f/filetype/} |
7 | | | 7 | |
8 | MAINTAINER= khorben@defora.org | | 8 | MAINTAINER= khorben@defora.org |
9 | HOMEPAGE= https://github.com/h2non/filetype.py | | 9 | HOMEPAGE= https://github.com/h2non/filetype.py |
10 | COMMENT= Infer binary file types checking the magic numbers signature | | 10 | COMMENT= Infer binary file types checking the magic numbers signature |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
| | | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test |
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark | | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark |
14 | | | 15 | |
15 | PYTHON_VERSIONED_DEPENDENCIES+= test:test | | | |
16 | | | | |
17 | USE_LANGUAGES= # none | | 16 | USE_LANGUAGES= # none |
18 | | | 17 | |
| | | 18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
| | | 19 | |
19 | post-install: | | 20 | post-install: |
20 | cd ${DESTDIR}${PREFIX}/bin && \ | | 21 | cd ${DESTDIR}${PREFIX}/bin && \ |
21 | ${MV} filetype filetype-${PYVERSSUFFIX} || ${TRUE} | | 22 | ${MV} filetype filetype-${PYVERSSUFFIX} || ${TRUE} |
22 | | | 23 | |
23 | do-test: | | 24 | do-test: |
24 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} | | 25 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} |
25 | | | 26 | |
26 | .include "../../lang/python/versioned_dependencies.mk" | | | |
27 | .include "../../lang/python/egg.mk" | | 27 | .include "../../lang/python/egg.mk" |
28 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |