Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2023 13:09:52 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0fb1fcda3b2d - main - www/flexget: convert to USE_PYTHON=pep517
Message-ID:  <202302261309.31QD9q5w061344@gitrepo.freebsd.org>

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

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

commit 0fb1fcda3b2d5e14d5e12bf234f2f0b298694458
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-26 12:38:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-26 13:09:38 +0000

    www/flexget: convert to USE_PYTHON=pep517
---
 www/flexget/Makefile                     |  9 +++-----
 www/flexget/distinfo                     |  4 ++--
 www/flexget/files/patch-requirements.txt | 37 --------------------------------
 3 files changed, 5 insertions(+), 45 deletions(-)

diff --git a/www/flexget/Makefile b/www/flexget/Makefile
index 18ff8a632b50..2dad2a14147a 100644
--- a/www/flexget/Makefile
+++ b/www/flexget/Makefile
@@ -1,4 +1,4 @@
-PORTNAME=	flexget
+PORTNAME=	FlexGet
 DISTVERSIONPREFIX=	v
 PORTVERSION=	3.4.2
 PORTREVISION=	1
@@ -11,6 +11,7 @@ WWW=		https://flexget.com/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy13>=1.3.10:databases/py-sqlalchemy13@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rebulk>=2.0.0:devel/py-rebulk@${PY_FLAVOR} \
@@ -47,12 +48,8 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} \
 
 USES=		python:3.6+
 USE_GITHUB=	yes
-USE_PYTHON=	autoplist distutils pytest
+USE_PYTHON=	autoplist pep517 pytest
 GH_PROJECT=	Flexget
 NO_ARCH=	yes
 
-post-extract:
-# Unlock dependencies' versions
-	@${MV} ${WRKSRC}/requirements.in ${WRKSRC}/requirements.txt
-
 .include <bsd.port.mk>
diff --git a/www/flexget/distinfo b/www/flexget/distinfo
index ab4456ec03ac..13a1b1116690 100644
--- a/www/flexget/distinfo
+++ b/www/flexget/distinfo
@@ -1,3 +1,3 @@
 TIMESTAMP = 1666883924
-SHA256 (flexget-Flexget-v3.4.2_GH0.tar.gz) = d62d5c8a9c3b8fd47ba38056440637f1841d40c92e0f08fd7eb88f0e4892b5db
-SIZE (flexget-Flexget-v3.4.2_GH0.tar.gz) = 12090397
+SHA256 (FlexGet-Flexget-v3.4.2_GH0.tar.gz) = d62d5c8a9c3b8fd47ba38056440637f1841d40c92e0f08fd7eb88f0e4892b5db
+SIZE (FlexGet-Flexget-v3.4.2_GH0.tar.gz) = 12090397
diff --git a/www/flexget/files/patch-requirements.txt b/www/flexget/files/patch-requirements.txt
deleted file mode 100644
index cfcc20afa4f8..000000000000
--- a/www/flexget/files/patch-requirements.txt
+++ /dev/null
@@ -1,37 +0,0 @@
---- requirements.txt.orig	2022-08-08 15:19:44 UTC
-+++ requirements.txt
-@@ -1,12 +1,11 @@ beautifulsoup4>=4.5  # Beautifulsoup 4.5+ is required 
- apscheduler>=3.2.0
- beautifulsoup4>=4.5  # Beautifulsoup 4.5+ is required to support different versions of html5lib
--click<=8.0.4  # Restriction can be dropped when we drop python 3.6
- colorama>=0.4.4
- feedparser>=6.0.2
--guessit~=3.4
-+guessit>=3.2.0
- html5lib>=0.11
- jinja2~=3.0
--jsonschema>=2.0, <4.0  # jsonschema 4.0 requires python 3.7+ We can switch to that when we drop 3.6 support
-+jsonschema>=2.0
- loguru>=0.4.1
- more-itertools
- psutil>=5.8.0
-@@ -20,14 +19,13 @@ sqlalchemy >=1.3.10, <1.999
- rpyc~=5.0
- sqlalchemy >=1.3.10, <1.999
- # WebUI Requirements
--cherrypy>=18.0.0
-+cherrypy>=3.7.0
- flask-compress>=1.2.1
- flask-cors>=2.1.2
- flask-login>=0.4.0
- flask-restful>=0.3.3
--flask-restx==0.5.1
-+flask-restx>=0.5.1
- flask>=0.7
--packaging~=21.3
--pyparsing==2.4.7
--werkzeug<2.1.0  # Flask-login incompatibility https://github.com/maxcountryman/flask-login/issues/636
--zxcvbn-python
-+packaging>=21.3
-+pyparsing>=2.4.7
-+zxcvbn



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