pkgsrc/devel/py-pip-api/Makefile
wiz a4ed4add9f py-pip-api: update to 0.0.30.
What's Changed

    Test against pip==22.1b1 by @di in #141
    Test against pip==22.1 by @di in #143
    Test against pip==22.1.1 by @di in #145
    Test against pip==22.1.2 by @di in #147
    Editable project location by @weetster in #148
    Add a release workflow by @woodruffw in #150
2022-07-24 10:53:29 +00:00

29 lines
876 B
Makefile

# $NetBSD: Makefile,v 1.7 2022/07/24 10:53:29 wiz Exp $
DISTNAME= pip-api-0.0.30
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip-api/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/di/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.30:
# 15 failed, 43 passed, 2 warnings
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"