Skip to content

Commit

Permalink
www/py-pysmartdl: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed May 13, 2024
1 parent 36362a8 commit 4b592bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 5 additions & 2 deletions 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}
Expand All @@ -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

Expand Down
9 changes: 8 additions & 1 deletion 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',
Expand Down

0 comments on commit 4b592bc

Please sign in to comment.