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,21 +1,24 @@ PORTNAME= pysmartdl PORTVERSION= 1.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pySmartDL-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Smart download manager for Python 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 .include 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,11 +1,18 @@ --- 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', - packages=find_packages(), + packages=find_packages(exclude=['test*']), description='A Smart Download Manager for Python', long_description=open('README.md').read(), test_suite = "test.test_pySmartDL.test_suite",