pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/streamlink
Module Name: pkgsrc
Committed By: wiz
Date: Thu May 12 09:30:55 UTC 2022
Modified Files:
pkgsrc/multimedia/streamlink: Makefile
Log Message:
streamlink: fix depends, add test target
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/multimedia/streamlink/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/streamlink/Makefile
diff -u pkgsrc/multimedia/streamlink/Makefile:1.32 pkgsrc/multimedia/streamlink/Makefile:1.33
--- pkgsrc/multimedia/streamlink/Makefile:1.32 Wed May 11 22:30:17 2022
+++ pkgsrc/multimedia/streamlink/Makefile Thu May 12 09:30:54 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2022/05/11 22:30:17 bouyer Exp $
+# $NetBSD: Makefile,v 1.33 2022/05/12 09:30:54 wiz Exp $
DISTNAME= streamlink-4.0.1
CATEGORIES= multimedia
@@ -10,27 +10,26 @@ HOMEPAGE= https://streamlink.github.io/
COMMENT= Tool that pipes video streams into a video player
LICENSE= 2-clause-bsd
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-iso3166
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
-.include "../../lang/python/egg.mk"
-
+DEPENDS+= ${PYPKGPREFIX}-country-[0-9]*:../../geography/py-country
DEPENDS+= ${PYPKGPREFIX}-cryptodome>=3.4.3:../../security/py-cryptodome
-DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=4.0.0:../../devel/py-importlib-metadata
-DEPENDS+= ${PYPKGPREFIX}-requests>=2.25.0:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
-DEPENDS+= ${PYPKGPREFIX}-versioningit>=1.1.1:../../devel/py-versioningit
DEPENDS+= ${PYPKGPREFIX}-isodate-[0-9]*:../../time/py-isodate
-DEPENDS+= ${PYPKGPREFIX}-iso-639-[0-9]*:../../devel/py-iso-639
-DEPENDS+= ${PYPKGPREFIX}-iso3166-[0-9]*:../../devel/py-iso3166
-DEPENDS+= ${PYPKGPREFIX}-country-[0-9]*:../../geography/py-country
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
-DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
-DEPENDS+= ${PYPKGPREFIX}-websocket-client>=1.2.1*:../../www/py-websocket-client
-DEPENDS+= ${PYPKGPREFIX}-Socks-[0-9]*:../../net/py-Socks
-TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
+DEPENDS+= ${PYPKGPREFIX}-Socks>=1.5.6:../../net/py-Socks
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.26.0:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-websocket-client>=1.2.1:../../www/py-websocket-client
+BUILD_DEPENDS+= ${PYPKGPREFIX}-versioningit>=1.1.1:../../devel/py-versioningit
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools>=45:../../devel/py-setuptools
+BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-import-order-[0-9]*:../../devel/py-flake8-import-order
+TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=1.0.0:../../devel/py-freezegun
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
EGG_NAME= streamlink-0.0.0+unknown
@@ -44,5 +43,12 @@ REPLACE_PYTHON+= src/streamlink/packages
REPLACE_PYTHON+= src/streamlink/plugins/tv3cat.py
REPLACE_PYTHON+= src/streamlink/plugins/tvplayer.py
+# as of 4.0.1
+# 1 failed, 4591 passed, 31 skipped
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index