blob: e8732ebc0c1db868f15e336885fc0f733e47c045 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.1 2022/04/26 21:36:21 wiz Exp $
DISTNAME= gidgethub-5.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gidgethub/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.org/project/gidgethub/
COMMENT= Async GitHub API library
LICENSE= apache-2.0
BUILD_DEPENDS+= ${PYPKGPREFIX}-flit-[0-9]*:../../devel/py-flit
DEPENDS+= ${PYPKGPREFIX}-uritemplate>=3.0.1:../../textproc/py-uritemplate
DEPENDS+= ${PYPKGPREFIX}-JWT>=2.0.0:../../textproc/py-JWT
TEST_DEPENDS+= ${PYPKGPREFIX}-aiohttp-[0-9]*:../../www/py-aiohttp
TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-httpx>=0.16.1:../../www/py-httpx
TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
# not packaged yet
#TEST_DEPENDS+= ${PYPKGPREFIX}-test-tornasync-[0-9]*:../../devel/py-test-tornasync
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
TEST_DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
|