mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
27 lines
670 B
Makefile
27 lines
670 B
Makefile
PORTNAME= python-bugzilla
|
|
DISTVERSION= 3.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= python_bugzilla-${DISTVERSION}
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= Bugzilla XMLRPC access module
|
|
WWW= https://github.com/python-bugzilla/python-bugzilla
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
|
|
|
|
.include <bsd.port.mk>
|