Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:19:45 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: 3f309d743897 - main - devel/py-xstatic-angular-lrdragndrop: Convert to USE_PYTHON=pep517
Message-ID:  <202405131419.44DEJj8k090935@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=3f309d74389716fc1463f00f231758f4c479e980

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

    devel/py-xstatic-angular-lrdragndrop: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-xstatic-angular-lrdragndrop/Makefile             |  6 +++++-
 devel/py-xstatic-angular-lrdragndrop/files/patch-setup.py | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/devel/py-xstatic-angular-lrdragndrop/Makefile b/devel/py-xstatic-angular-lrdragndrop/Makefile
index 66382e07f4c3..9419f1eb76fe 100644
--- a/devel/py-xstatic-angular-lrdragndrop/Makefile
+++ b/devel/py-xstatic-angular-lrdragndrop/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xstatic-angular-lrdragndrop
 PORTVERSION=	1.0.2.6
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/openstack/xstatic-angular-lrdragndrop
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-xstatic-angular-lrdragndrop/files/patch-setup.py b/devel/py-xstatic-angular-lrdragndrop/files/patch-setup.py
new file mode 100644
index 000000000000..c780d337da55
--- /dev/null
+++ b/devel/py-xstatic-angular-lrdragndrop/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-07-19 11:51:03 UTC
++++ setup.py
+@@ -8,7 +8,7 @@ setup(
+ from setuptools import setup, find_packages
+ 
+ setup(
+-    name=xs.PACKAGE_NAME,
++    name='xstatic-angular-lrdragndrop',
+     version=xs.PACKAGE_VERSION,
+     description=xs.DESCRIPTION,
+     long_description=long_description,



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