diff options
Diffstat (limited to 'deskutils/py-bugwarrior/Makefile')
| -rw-r--r-- | deskutils/py-bugwarrior/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/deskutils/py-bugwarrior/Makefile b/deskutils/py-bugwarrior/Makefile index 1c17b4709faa..fab85bf40c07 100644 --- a/deskutils/py-bugwarrior/Makefile +++ b/deskutils/py-bugwarrior/Makefile @@ -1,22 +1,21 @@ PORTNAME= bugwarrior -PORTVERSION= 1.8.0 -PORTREVISION= 2 +DISTVERSION= 2.0.0 CATEGORIES= deskutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Sync issue & bug tracking systems with taskwarrior -WWW= https://github.com/ralphbean/bugwarrior +WWW= https://github.com/GothenburgBitFactory/bugwarrior LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN= python-3.9 or later is not supported - +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dogpile.cache>=0.5.3:devel/py-dogpile.cache@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lockfile>=0.9.1:devel/py-lockfile@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>0:devel/py-pydantic@${PY_FLAVOR} \ @@ -29,8 +28,9 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 +OPTIONS_DEFINE= BUGZILLA GENERAL JIRA KEYRING PHABRICATOR SERVICES TRAC OPTIONS_DEFAULT= BUGZILLA JIRA KEYRING PHABRICATOR TRAC OPTIONS_GROUP= GENERAL SERVICES OPTIONS_GROUP_GENERAL= KEYRING @@ -50,6 +50,11 @@ KEYRING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyring>0:security/py-keyring@${PY_ PHABRICATOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phabricator>0:devel/py-phabricator@${PY_FLAVOR} TRAC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}offtrac>0:devel/py-offtrac@${PY_FLAVOR} +post-patch: + @${REINPLACE_CMD} -e 's|^license = .*|license = { text = "GPL-3.0-or-later" }|; \ + /^license-files/d' \ + ${WRKSRC}/pyproject.toml + do-test: ${RM} ${WRKSRC}/tests/test_activecollab.py # Needs pandoc @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
