Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:20:08 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: 97f66da40045 - main - devel/py-xstatic-spin: Convert to USE_PYTHON=pep517
Message-ID:  <202405131420.44DEK8Bi095106@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=97f66da40045f9dfc6fc42c62d76cea09df3cd6e

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

    devel/py-xstatic-spin: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-xstatic-spin/Makefile             |  7 +++++--
 devel/py-xstatic-spin/files/patch-setup.py | 11 +++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/devel/py-xstatic-spin/Makefile b/devel/py-xstatic-spin/Makefile
index c1ecd8df8638..a0e71451ecf0 100644
--- a/devel/py-xstatic-spin/Makefile
+++ b/devel/py-xstatic-spin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xstatic-spin
 PORTVERSION=	1.2.5.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +14,11 @@ WWW=		https://spin.js.org/ \
 
 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-spin/files/patch-setup.py b/devel/py-xstatic-spin/files/patch-setup.py
new file mode 100644
index 000000000000..7fbab6e6efdf
--- /dev/null
+++ b/devel/py-xstatic-spin/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-04-09 21:05:22 UTC
++++ setup.py
+@@ -7,7 +7,7 @@ setup(
+ from setuptools import setup, find_packages
+ 
+ setup(
+-    name=xs.PACKAGE_NAME,
++    name='xstatic-spin',
+     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?202405131420.44DEK8Bi095106>