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.
26 lines
768 B
Makefile
26 lines
768 B
Makefile
# $NetBSD: Makefile,v 1.3 2023/10/28 19:57:08 wiz Exp $
|
|
|
|
DISTNAME= whatthepatch-1.0.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=w/whatthepatch/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/cscorley/whatthepatch
|
|
COMMENT= Patch parsing and application library
|
|
LICENSE= mit
|
|
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=65.0.0:../../devel/py-setuptools
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
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"
|