dff0cb5f81
v1.0.13 / 2022-04-21 ==================== * chore(version): bump patch * chore(version): bump patch * refactor(apng) * refactor(apng) * Merge pull request 120 * fix typo * add APNG support (part 3) * add APNG support (part 2) * add APNG support (part 1) v1.0.12 / 2022-04-19 ==================== * Merge branch 'master' of https://github.com/h2non/filetype.py * feat: version bump * Merge pull request 118 * fix(font): minimum length check (woff) * Add support for more WOFF/WOFF2 flavors
30 lines
823 B
Makefile
30 lines
823 B
Makefile
# $NetBSD: Makefile,v 1.7 2022/05/02 08:46:18 adam Exp $
|
|
|
|
DISTNAME= filetype-1.0.13
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=f/filetype/}
|
|
|
|
MAINTAINER= khorben@defora.org
|
|
HOMEPAGE= https://github.com/h2non/filetype.py
|
|
COMMENT= Infer binary file types checking the magic numbers signature
|
|
LICENSE= mit
|
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} filetype filetype-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|