e14896b844
They now have a tool dependency on py-setuptools instead of a DEPENDS
30 lines
895 B
Makefile
30 lines
895 B
Makefile
# $NetBSD: Makefile,v 1.4 2022/01/04 20:53:21 wiz Exp $
|
|
|
|
DISTNAME= pip-api-0.0.26
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip-api/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.org/project/pip-api/
|
|
COMMENT= Unofficial, importable pip API
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
# As of 0.0.26:
|
|
# 33 passed, 8 warnings, 17 errors
|
|
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|