Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:25:17 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: 4b592bcd0c11 - main - www/py-pysmartdl: Convert to USE_PYTHON=pep517
Message-ID:  <202405131425.44DEPH8K018425@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=4b592bcd0c11c6eebaa8f4c727cc9f59abf567c3

commit 4b592bcd0c11c6eebaa8f4c727cc9f59abf567c3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:13:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:13:31 +0000

    www/py-pysmartdl: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 www/py-pysmartdl/Makefile             | 7 +++++--
 www/py-pysmartdl/files/patch-setup.py | 9 ++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/www/py-pysmartdl/Makefile b/www/py-pysmartdl/Makefile
index 3cd6a6d33ac1..92fde3f822cb 100644
--- a/www/py-pysmartdl/Makefile
+++ b/www/py-pysmartdl/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pysmartdl
 PORTVERSION=	1.3.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,11 @@ WWW=		https://github.com/iTaybb/pySmartDL
 LICENSE=	UNLICENSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+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/www/py-pysmartdl/files/patch-setup.py b/www/py-pysmartdl/files/patch-setup.py
index b91914dc6703..907459b84fb8 100644
--- a/www/py-pysmartdl/files/patch-setup.py
+++ b/www/py-pysmartdl/files/patch-setup.py
@@ -1,6 +1,13 @@
 --- setup.py.orig	2020-09-19 15:39:42 UTC
 +++ setup.py
-@@ -11,7 +11,7 @@ setup(
+@@ -5,13 +5,13 @@ setup(
+ release_posttag = ""
+ 
+ setup(
+-    name='pySmartDL',
++    name='pysmartdl',
+     version=pySmartDL.__version__ + release_posttag,
+     url='http://pypi.python.org/pypi/pySmartDL/',
      author='Itay Brandes',
      author_email='brandes.itay+pysmartdl@gmail.com',
      license='Public Domain',



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