git: 058570a567ad - main - textproc/py-pyrss2gen: Move textproc/py-rss2gen to textproc/py-pyrss2gen

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:16:57 UTC
The branch main has been updated by sunpoet:

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

commit 058570a567ad84c9ce0a9646a82f2261a1c750ae
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 13:59:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 13:59:05 +0000

    textproc/py-pyrss2gen: Move textproc/py-rss2gen to textproc/py-pyrss2gen
    
    - Convert to USE_PYTHON=pep517
    - Bump PORTREVISION of dependent ports for dependency change
---
 MOVED                                           |  1 +
 textproc/Makefile                               |  2 +-
 textproc/{py-rss2gen => py-pyrss2gen}/Makefile  | 10 +++++++---
 textproc/{py-rss2gen => py-pyrss2gen}/distinfo  |  0
 textproc/py-pyrss2gen/files/patch-setup.py      | 11 +++++++++++
 textproc/{py-rss2gen => py-pyrss2gen}/pkg-descr |  0
 www/flexget/Makefile                            |  4 ++--
 7 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/MOVED b/MOVED
index 9e8c95ac4a3b..dbe954e18052 100644
--- a/MOVED
+++ b/MOVED
@@ -3241,3 +3241,4 @@ www/py-dj42-django-compression-middleware|www/py-django-compression-middleware|2
 www/py-dj42-django-multiselectfield|www/py-django-multiselectfield|2024-05-12|Renamed after all Django consumers were switched from Django 3.2 to Django 4.2 to have a consistent naming scheme
 www/py-dj42-djangorestframework-guardian|www/py-djangorestframework-guardian|2024-05-12|Renamed after all Django consumers were switched from Django 3.2 to Django 4.2 to have a consistent naming scheme
 www/py-dj42-drf-writable-nested|www/py-drf-writable-nested|2024-05-12|Renamed after all Django consumers were switched from Django 3.2 to Django 4.2 to have a consistent naming scheme
+textproc/py-rss2gen|textproc/py-pyrss2gen|2024-05-13|Move textproc/py-rss2gen to textproc/py-pyrss2gen
diff --git a/textproc/Makefile b/textproc/Makefile
index 906d9f65630f..fc1d4d6774f7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1514,6 +1514,7 @@
     SUBDIR += py-pypa-docs-theme
     SUBDIR += py-pypandoc
     SUBDIR += py-pyphen
+    SUBDIR += py-pyrss2gen
     SUBDIR += py-pyscss
     SUBDIR += py-pysrt
     SUBDIR += py-pystache
@@ -1552,7 +1553,6 @@
     SUBDIR += py-rich-rst
     SUBDIR += py-rich12
     SUBDIR += py-rnc2rng
-    SUBDIR += py-rss2gen
     SUBDIR += py-rst2ansi
     SUBDIR += py-rst2html5
     SUBDIR += py-scour
diff --git a/textproc/py-rss2gen/Makefile b/textproc/py-pyrss2gen/Makefile
similarity index 62%
rename from textproc/py-rss2gen/Makefile
rename to textproc/py-pyrss2gen/Makefile
index 43b50e4a4d1f..cc2697307cde 100644
--- a/textproc/py-rss2gen/Makefile
+++ b/textproc/py-pyrss2gen/Makefile
@@ -1,4 +1,4 @@
-PORTNAME=	rss2gen
+PORTNAME=	pyrss2gen
 PORTVERSION=	1.1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
@@ -11,8 +11,12 @@ WWW=		http://www.dalkescientific.com/Python/PyRSS2Gen.html
 
 LICENSE=	BSD3CLAUSE
 
-NO_ARCH=	yes
+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
 
 .include <bsd.port.mk>
diff --git a/textproc/py-rss2gen/distinfo b/textproc/py-pyrss2gen/distinfo
similarity index 100%
rename from textproc/py-rss2gen/distinfo
rename to textproc/py-pyrss2gen/distinfo
diff --git a/textproc/py-pyrss2gen/files/patch-setup.py b/textproc/py-pyrss2gen/files/patch-setup.py
new file mode 100644
index 000000000000..0c90203bebce
--- /dev/null
+++ b/textproc/py-pyrss2gen/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2013-02-21 03:22:02 UTC
++++ setup.py
+@@ -2,7 +2,7 @@ from distutils.core import setup
+ 
+ from distutils.core import setup
+ 
+-setup(name = "PyRSS2Gen",
++setup(name = "pyrss2gen",
+       version = "1.1",
+       description = "Generate RSS2 using a Python data structure",
+       author = "Andrew Dalke",
diff --git a/textproc/py-rss2gen/pkg-descr b/textproc/py-pyrss2gen/pkg-descr
similarity index 100%
rename from textproc/py-rss2gen/pkg-descr
rename to textproc/py-pyrss2gen/pkg-descr
diff --git a/www/flexget/Makefile b/www/flexget/Makefile
index c619ee94e061..32dcad4de840 100644
--- a/www/flexget/Makefile
+++ b/www/flexget/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	FlexGet
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.9.10
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -32,7 +32,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy20>0:databases/py-sqlalchemy20@${P
 		${PYTHON_PKGNAMEPREFIX}psutil>=5.8.0:sysutils/py-psutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.2:textproc/py-feedparser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=9.0.0:textproc/py-rich@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rss2gen>0:textproc/py-rss2gen@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyrss2gen>0:textproc/py-pyrss2gen@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5:www/py-beautifulsoup@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cherrypy>=3.7.0:www/py-cherrypy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flask>=0.7:www/py-flask@${PY_FLAVOR} \