Hi,
Here's an update for the yle-dl port, quickly tested on amd64 and seems
to function correctly.
The setuptools based build does not seem to work so port is switched to
use flit.
Timo
diff /usr/ports
commit - 61e21a29c20cbe9a6ae694d55ca70a8ddf826e4a
path + /usr/ports
blob - 6885991441d99f057140de1e93b2c3975b7023d4
file + multimedia/yle-dl/Makefile
--- multimedia/yle-dl/Makefile
+++ multimedia/yle-dl/Makefile
@@ -2,8 +2,7 @@
GH_ACCOUNT = aajanki
GH_PROJECT = yle-dl
-GH_TAGNAME = 20210212
-MODPY_EGG_VERSION = ${GH_TAGNAME}
+GH_TAGNAME = 20240927
COMMENT = download videos from YLE Areena
@@ -17,17 +16,19 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
-MODPY_SETUPTOOLS = Yes
+MODPY_PYBUILD = flit
+
MODPY_PYTEST = Yes
-RUN_DEPENDS = devel/py-attrs${MODPY_FLAVOR} \
- devel/py-configargparse${MODPY_FLAVOR} \
+RUN_DEPENDS = devel/py-attrs \
+ devel/py-configargparse \
graphics/ffmpeg \
- www/py-requests${MODPY_FLAVOR} \
+ www/py-requests \
net/wget \
- textproc/py-lxml${MODPY_FLAVOR} \
+ sysutils/py-psutil \
+ textproc/py-lxml
-TEST_DEPENDS = devel/py-test-runner${MODPY_FLAVOR}
+TEST_DEPENDS = devel/py-test-runner
TEST_IS_INTERACTIVE = needs network access to download streams
TEST_ENV = HOME=/tmp
blob - 3a727db31b67c86846dc83309d1678eb71f674e2
file + multimedia/yle-dl/distinfo
--- multimedia/yle-dl/distinfo
+++ multimedia/yle-dl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yle-dl-20220704.tar.gz) = XpJm1IDVcYHDIPMOBOw3m6jZje2+aln2JCEFLLdSwjM=
-SIZE (yle-dl-20220704.tar.gz) = 69784
+SHA256 (yle-dl-20240927.tar.gz) = 4SPCrQqEktfV/GTNELTe+8GuMSBJQVM5MIkphj6fs6Y=
+SIZE (yle-dl-20240927.tar.gz) = 80008
blob - e615da9ff960c354b76899a1e45e3b7b1cd1ca6b
file + multimedia/yle-dl/pkg/PLIST
--- multimedia/yle-dl/pkg/PLIST
+++ multimedia/yle-dl/pkg/PLIST
@@ -1,11 +1,10 @@
bin/yle-dl
-lib/python${MODPY_VERSION}/site-packages/yle_dl-${MODPY_EGG_VERSION}.dist-info/
-lib/python${MODPY_VERSION}/site-packages/yle_dl-${MODPY_EGG_VERSION}.dist-info/COPYING
-lib/python${MODPY_VERSION}/site-packages/yle_dl-${MODPY_EGG_VERSION}.dist-info/METADATA
-lib/python${MODPY_VERSION}/site-packages/yle_dl-${MODPY_EGG_VERSION}.dist-info/RECORD
-lib/python${MODPY_VERSION}/site-packages/yle_dl-${MODPY_EGG_VERSION}.dist-info/WHEEL
-lib/python${MODPY_VERSION}/site-packages/yle_dl-${MODPY_EGG_VERSION}.dist-info/entry_points.txt
-lib/python${MODPY_VERSION}/site-packages/yle_dl-${MODPY_EGG_VERSION}.dist-info/top_level.txt
+lib/python${MODPY_VERSION}/site-packages/yle_dl-20240927.dist-info/
+lib/python${MODPY_VERSION}/site-packages/yle_dl-20240927.dist-info/COPYING
+lib/python${MODPY_VERSION}/site-packages/yle_dl-20240927.dist-info/METADATA
+lib/python${MODPY_VERSION}/site-packages/yle_dl-20240927.dist-info/RECORD
+lib/python${MODPY_VERSION}/site-packages/yle_dl-20240927.dist-info/WHEEL
+lib/python${MODPY_VERSION}/site-packages/yle_dl-20240927.dist-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/yledl/
lib/python${MODPY_VERSION}/site-packages/yledl/__init__.py
lib/python${MODPY_VERSION}/site-packages/yledl/__main__.py
No comments:
Post a Comment