aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFollieHiyuki <folliekazetani@protonmail.com>2022-07-09 21:14:12 +0700
committeralice <alice@ayaya.dev>2022-07-09 16:06:46 +0000
commit596eab24106a5f3a203fa39feda8c155581303ff (patch)
tree65eb3777d46b106f34994f9220a8e8573bcaaa38
parent797417994051caf1a4f96fe92d61cae24a57ab60 (diff)
downloadaports-596eab24106a5f3a203fa39feda8c155581303ff.tar.gz
aports-596eab24106a5f3a203fa39feda8c155581303ff.tar.bz2
aports-596eab24106a5f3a203fa39feda8c155581303ff.tar.xz
testing/streamlink: upgrade to 4.2.0
-rw-r--r--testing/streamlink/APKBUILD12
-rw-r--r--testing/streamlink/update-versioningit.patch51
2 files changed, 4 insertions, 59 deletions
diff --git a/testing/streamlink/APKBUILD b/testing/streamlink/APKBUILD
index 95f27c2ea7..62ae807c58 100644
--- a/testing/streamlink/APKBUILD
+++ b/testing/streamlink/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Robert Sacks <robert@sacks.email>
# Maintainer: Robert Sacks <robert@sacks.email>
pkgname=streamlink
-pkgver=4.1.0
+pkgver=4.2.0
pkgrel=0
pkgdesc="CLI for extracting streams from various websites to a video player of your choosing"
url="https://streamlink.github.io/"
@@ -36,10 +36,7 @@ subpackages="
$pkgname-bash-completion
$pkgname-zsh-completion
"
-source="
- $pkgname-$pkgver.tar.gz::https://github.com/streamlink/streamlink/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
- update-versioningit.patch
- "
+source="$pkgname-$pkgver.tar.gz::https://github.com/streamlink/streamlink/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
build() {
# Bypass versioningit by setting the default to what we want
@@ -49,7 +46,7 @@ build() {
}
check() {
- TZ=UTC PYTHONPATH="$builddir/build/lib" python3 -m pytest
+ TZ=UTC PYTHONPATH="$builddir/src" python3 -m pytest
}
package() {
@@ -66,6 +63,5 @@ package() {
}
sha512sums="
-f163766bffe079c10cb9f33792ca1e8fa806f46fac64716bada5221f97b6b7b6786f1a218a9ba0ba6ae4eb1b9e5bfc8bf2de1a6b2e5bf9d4c9ba8b11a6a99b9e streamlink-4.1.0.tar.gz
-396718e6e9fd8533db3e3c1c6eeecdd49d5a7f18f277e266390dd9a082b9558da2ff71439c88dd2017c971cafb17641ff7f1b15671ca8e31b5c77340d6b580be update-versioningit.patch
+fccdf623d7b98f80342115d490b3033a3611b25dd79e8f2b46f6e0469e1d8a6370111d2fc6379425e4fd173babceba6f259aa8025d3007d318b618d34131589c streamlink-4.2.0.tar.gz
"
diff --git a/testing/streamlink/update-versioningit.patch b/testing/streamlink/update-versioningit.patch
deleted file mode 100644
index a9bc72ff57..0000000000
--- a/testing/streamlink/update-versioningit.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Patch-Source: https://github.com/streamlink/streamlink/commit/cfb482cac7aa056f3cc922a85b55367858451db5
-
-diff --git a/dev-requirements.txt b/dev-requirements.txt
-index 6b1c7d53..81e8e82f 100644
---- a/dev-requirements.txt
-+++ b/dev-requirements.txt
-@@ -7,7 +7,7 @@ freezegun>=1.0.0
- flake8
- flake8-import-order
- shtab
--versioningit >=1.1.1, <2
-+versioningit >=2.0.0, <3
-
- mypy
- lxml-stubs
-diff --git a/docs-requirements.txt b/docs-requirements.txt
-index b5c2bdcd..ad2059d5 100644
---- a/docs-requirements.txt
-+++ b/docs-requirements.txt
-@@ -1,4 +1,4 @@
- sphinx>=3.0
- furo==2021.09.08
- recommonmark>=0.5.0
--versioningit >=1.1.1, <2
-+versioningit >=2.0.0, <3
-diff --git a/pyproject.toml b/pyproject.toml
-index 9901699c..af631f93 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
- requires = [
- "setuptools >=45",
- "wheel",
-- "versioningit >=1.1.1, <2",
-+ "versioningit >=2.0.0, <3",
- ]
-
-
-@@ -15,9 +15,9 @@ default-version = "0.0.0+unknown"
- method = "git"
-
- [tool.versioningit.format]
--distance = "{version}+{distance}.{vcs}{rev}"
--dirty = "{version}+{distance}.{vcs}{rev}.dirty"
--distance-dirty = "{version}+{distance}.{vcs}{rev}.dirty"
-+distance = "{base_version}+{distance}.{vcs}{rev}"
-+dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
-+distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
-
- [tool.versioningit.next-version]
- method = "null"