Skip to content

Commit

Permalink
www/py-ticketutil: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed May 13, 2024
1 parent 73f42ac commit d41ae8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion www/py-ticketutil/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ticketutil
PORTVERSION= 1.8.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -10,12 +11,14 @@ WWW= https://github.com/dmranck/ticketutil

LICENSE= GPLv3

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.2.0:security/py-gssapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.6.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests-kerberos>=0.8.0:security/py-requests-kerberos@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

Expand Down
2 changes: 1 addition & 1 deletion www/py-ticketutil/files/patch-setup.py
Expand Up @@ -5,5 +5,5 @@
keywords=['jira', 'bugzilla', 'rt', 'redmine', 'servicenow', 'ticket', 'rest'],
install_requires=['gssapi>=1.2.0', 'requests>=2.6.0', 'requests-kerberos>=0.8.0'],
- data_files=[('.', ['HISTORY.rst'])]
+ data_files=[('', ['HISTORY.rst'])]
+ package_data={'': ['HISTORY.rst']}
)

0 comments on commit d41ae8a

Please sign in to comment.