46974a4bd3
This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
30 lines
958 B
Makefile
30 lines
958 B
Makefile
# $NetBSD: Makefile,v 1.29 2023/10/28 19:57:09 wiz Exp $
|
|
|
|
DISTNAME= xopen-1.8.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xopen/}
|
|
|
|
MAINTAINER= bacon@NetBSD.org
|
|
HOMEPAGE= https://github.com/pycompression/xopen
|
|
COMMENT= Open compressed files transparently
|
|
LICENSE= mit
|
|
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
|
DEPENDS+= pbzip2-[0-9]*:../../archivers/pbzip2
|
|
DEPENDS+= pigz-[0-9]*:../../archivers/pigz
|
|
DEPENDS+= xz-[0-9]*:../../archivers/xz
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
|
|
|
|
.include "../../lang/python/wheel.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|