Saturday, December 29, 2018

[maintainer update] yle-dl-20181221

Hi,

Here's update to latest version of yle-dl. This requires the py-attrs update
I've already sent. Also drops patch in favor of using sed to modify setup.py.

Timo

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/yle-dl/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile 17 Oct 2018 14:15:55 -0000 1.19
+++ Makefile 30 Dec 2018 07:08:30 -0000
@@ -2,9 +2,8 @@

GH_ACCOUNT = aajanki
GH_PROJECT = yle-dl
-GH_TAGNAME = 2.34
+GH_TAGNAME = 20181221
MODPY_EGG_VERSION = ${GH_TAGNAME}
-REVISION = 0

COMMENT = download videos from YLE Areena

@@ -22,6 +21,7 @@ MODULES = lang/python \
TEST_DEPENDS = ${RUN_DEPENDS}

RUN_DEPENDS = devel/py-attrs \
+ devel/py-configargparse \
devel/py-future \
devel/py-progress \
net/rtmpdump \
@@ -38,5 +38,6 @@ MODPHP_BUILDDEP = No

pre-configure:
@sed -i -e "s,'php','${MODPHP_BIN}',g" ${WRKSRC}/yledl/io.py
+ @sed -i -e "s,'pycryptodomex','pycryptodome',g" ${WRKSRC}/setup.py

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/yle-dl/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo 9 Aug 2018 19:57:55 -0000 1.11
+++ distinfo 30 Dec 2018 07:08:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (yle-dl-2.34.tar.gz) = ngNLq0ED+/c+3ppJQGpuoedmKgOj5VxdK7Wf2XwzNO0=
-SIZE (yle-dl-2.34.tar.gz) = 76310
+SHA256 (yle-dl-20181221.tar.gz) = b54oE8OvMGHLu3AU6bvb3TmU0HzBeydmH1+XLSIKQfw=
+SIZE (yle-dl-20181221.tar.gz) = 82624
Index: patches/patch-setup_py
===================================================================
RCS file: patches/patch-setup_py
diff -N patches/patch-setup_py
--- patches/patch-setup_py 9 Aug 2018 19:57:55 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-setup_py,v 1.1 2018/08/09 19:57:55 sthen Exp $
-
-Ports uses cryptodome (with Crypto prefix) rather than cryptodomex
-(with Cryptodome prefix). This is referenced in yledl/extractors.py which
-tries with both prefixes.
-
-Index: setup.py
---- setup.py.orig
-+++ setup.py
-@@ -38,7 +38,7 @@ setup(
- packages=['yledl'],
- include_package_data=True,
- install_requires=[
-- 'pycryptodomex', 'requests', 'lxml', 'future', 'PySocks', 'mini-amf',
-+ 'pycryptodome', 'requests', 'lxml', 'future', 'PySocks', 'mini-amf',
- 'attrs >= 17.4.0'
- ] + ssl_sni_requires,
- extras_require = {
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/multimedia/yle-dl/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST 9 Aug 2018 19:57:55 -0000 1.6
+++ pkg/PLIST 30 Dec 2018 07:08:30 -0000
@@ -25,10 +25,20 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/yledl/http.pyc
lib/python${MODPY_VERSION}/site-packages/yledl/io.py
lib/python${MODPY_VERSION}/site-packages/yledl/io.pyc
+lib/python${MODPY_VERSION}/site-packages/yledl/kaltura.py
+lib/python${MODPY_VERSION}/site-packages/yledl/kaltura.pyc
+lib/python${MODPY_VERSION}/site-packages/yledl/localization.py
+lib/python${MODPY_VERSION}/site-packages/yledl/localization.pyc
+lib/python${MODPY_VERSION}/site-packages/yledl/rtmp.py
+lib/python${MODPY_VERSION}/site-packages/yledl/rtmp.pyc
lib/python${MODPY_VERSION}/site-packages/yledl/streamfilters.py
lib/python${MODPY_VERSION}/site-packages/yledl/streamfilters.pyc
-lib/python${MODPY_VERSION}/site-packages/yledl/streams.py
-lib/python${MODPY_VERSION}/site-packages/yledl/streams.pyc
+lib/python${MODPY_VERSION}/site-packages/yledl/streamflavor.py
+lib/python${MODPY_VERSION}/site-packages/yledl/streamflavor.pyc
+lib/python${MODPY_VERSION}/site-packages/yledl/timestamp.py
+lib/python${MODPY_VERSION}/site-packages/yledl/timestamp.pyc
+lib/python${MODPY_VERSION}/site-packages/yledl/titleformatter.py
+lib/python${MODPY_VERSION}/site-packages/yledl/titleformatter.pyc
lib/python${MODPY_VERSION}/site-packages/yledl/utils.py
lib/python${MODPY_VERSION}/site-packages/yledl/utils.pyc
lib/python${MODPY_VERSION}/site-packages/yledl/version.py

No comments:

Post a Comment