Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:25:30 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d41ae8ac9417 - main - www/py-ticketutil: Convert to USE_PYTHON=pep517
Message-ID:  <202405131425.44DEPURp018866@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d41ae8ac9417a883a8151aa43a133c0964a7b03a

commit d41ae8ac9417a883a8151aa43a133c0964a7b03a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:14:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:14:01 +0000

    www/py-ticketutil: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 www/py-ticketutil/Makefile             | 5 ++++-
 www/py-ticketutil/files/patch-setup.py | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/www/py-ticketutil/Makefile b/www/py-ticketutil/Makefile
index c2c2f95d8a6b..a0e5dc5fbafe 100644
--- a/www/py-ticketutil/Makefile
+++ b/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}
@@ -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
 
diff --git a/www/py-ticketutil/files/patch-setup.py b/www/py-ticketutil/files/patch-setup.py
index 68d43e12c257..8443c367fc1e 100644
--- a/www/py-ticketutil/files/patch-setup.py
+++ b/www/py-ticketutil/files/patch-setup.py
@@ -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']}
  )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131425.44DEPURp018866>