67e1f1a6bf
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
28 lines
716 B
Makefile
28 lines
716 B
Makefile
# $NetBSD: Makefile,v 1.26 2022/01/05 15:41:09 wiz Exp $
|
|
|
|
DISTNAME= wheel-0.37.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=w/wheel/}
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= https://github.com/pypa/wheel
|
|
COMMENT= Built-package format for Python
|
|
LICENSE= mit
|
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} wheel wheel-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|