git: 564ae334bc21 - main - devel/py-xstatic-angular-fileupload: Update to 12.2.13.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 03 Jul 2024 15:38:48 UTC
The branch main has been updated by sunpoet:

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

commit 564ae334bc21cc07a3c8a28f7306ad8f9025f7f0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-03 15:34:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-03 15:34:32 +0000

    devel/py-xstatic-angular-fileupload: Update to 12.2.13.0
    
    - Convert to USE_PYTHON=pep517
    - Remove blank line
    
    Changes:        https://github.com/danialfarid/ng-file-upload/releases
---
 devel/py-xstatic-angular-fileupload/Makefile             |  7 ++++---
 devel/py-xstatic-angular-fileupload/distinfo             |  6 +++---
 devel/py-xstatic-angular-fileupload/files/patch-setup.py | 11 +++++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/devel/py-xstatic-angular-fileupload/Makefile b/devel/py-xstatic-angular-fileupload/Makefile
index 306042887574..1a6877c36ff1 100644
--- a/devel/py-xstatic-angular-fileupload/Makefile
+++ b/devel/py-xstatic-angular-fileupload/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	xstatic-angular-fileupload
-PORTVERSION=	12.0.4.0
-PORTREVISION=	3
+PORTVERSION=	12.2.13.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +12,11 @@ WWW=		https://opendev.org/openstack/xstatic-angular-fileupload \
 
 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-fileupload/distinfo b/devel/py-xstatic-angular-fileupload/distinfo
index 14a9a0fd00ee..c21093a644fe 100644
--- a/devel/py-xstatic-angular-fileupload/distinfo
+++ b/devel/py-xstatic-angular-fileupload/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1481111873
-SHA256 (XStatic-Angular-FileUpload-12.0.4.0.tar.gz) = 68e66efc4f2ed81438553a54646d5cc67487b05764c0003ff25ae5beb8dae21f
-SIZE (XStatic-Angular-FileUpload-12.0.4.0.tar.gz) = 188575
+TIMESTAMP = 1710712498
+SHA256 (XStatic-Angular-FileUpload-12.2.13.0.tar.gz) = f8f431ac7fb37b01a010811fb8ae97f0e0cb11cbbd04e49c5867ea7f74fada56
+SIZE (XStatic-Angular-FileUpload-12.2.13.0.tar.gz) = 191394
diff --git a/devel/py-xstatic-angular-fileupload/files/patch-setup.py b/devel/py-xstatic-angular-fileupload/files/patch-setup.py
new file mode 100644
index 000000000000..dcdf19e8a733
--- /dev/null
+++ b/devel/py-xstatic-angular-fileupload/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-08-03 12:49:37 UTC
++++ setup.py
+@@ -6,7 +6,7 @@ setup(
+ long_description = open('README.txt').read()
+ 
+ setup(
+-    name=xs.PACKAGE_NAME,
++    name='xstatic-angular-fileupload',
+     version=xs.PACKAGE_VERSION,
+     description=xs.DESCRIPTION,
+     long_description=long_description,