71cce5e81d
setuptools has this as default when --root is used (since version 0.6a11).
28 lines
768 B
Makefile
28 lines
768 B
Makefile
# $NetBSD: Makefile,v 1.9 2022/01/09 11:58:14 wiz Exp $
|
|
|
|
DISTNAME= entrypoints-0.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=e/entrypoints/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/takluyver/entrypoints
|
|
COMMENT= Discover and load entry points from installed packages
|
|
LICENSE= mit
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} == 27
|
|
DEPENDS+= ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser
|
|
.endif
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|