Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-pytube


Commits:
f2614c6b by Felix Yan at 2026-01-31T01:45:25+08:00
upgpkg: 15.0.0-6

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,19 +1,20 @@
 pkgbase = python-pytube
        pkgdesc = A lightweight, dependency-free Python library (and 
command-line utility) for downloading YouTube Videos
        pkgver = 15.0.0
-       pkgrel = 5
+       pkgrel = 6
        url = https://github.com/pytube/pytube
        arch = any
        license = Unlicense
        checkdepends = python-pytest
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-wheel
        depends = python
-       source = 
https://github.com/pytube/pytube/archive/v15.0.0/python-pytube-15.0.0.tar.gz
+       source = git+https://github.com/pytube/pytube.git#tag=v15.0.0
        source = get_throttling_function_name.patch
-       sha256sums = 
b685e884c2064032bffb76fe4d0be789125be813695bacc55ab4009ffd5c3664
+       sha256sums = 
ef6e1b6c0413cfeceb85aff8dff8fe8a1d06b790e7741a9d6b0b8a1212e664d1
        sha256sums = 
3b3d42817b4e654a97a8f749c96fb3e9263cb4aa3a53f544877362ad26dc1676
 
 pkgname = python-pytube


=====================================
PKGBUILD
=====================================
@@ -5,36 +5,36 @@
 
 pkgname=python-pytube
 pkgver=15.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc="A lightweight, dependency-free Python library (and command-line 
utility) for downloading YouTube Videos"
 arch=(any)
 url="https://github.com/pytube/pytube";
 license=(Unlicense)
 depends=(python)
-makedepends=(python-build python-installer python-setuptools python-wheel)
+makedepends=(git python-build python-installer python-setuptools python-wheel)
 checkdepends=(python-pytest)
-source=("https://github.com/pytube/pytube/archive/v$pkgver/$pkgname-$pkgver.tar.gz";
-               get_throttling_function_name.patch)
-sha256sums=('b685e884c2064032bffb76fe4d0be789125be813695bacc55ab4009ffd5c3664'
+source=("git+https://github.com/pytube/pytube.git#tag=v$pkgver";
+        get_throttling_function_name.patch)
+sha256sums=('ef6e1b6c0413cfeceb85aff8dff8fe8a1d06b790e7741a9d6b0b8a1212e664d1'
             '3b3d42817b4e654a97a8f749c96fb3e9263cb4aa3a53f544877362ad26dc1676')
 
 prepare() {
-       cd pytube-$pkgver
+       cd pytube
        patch -p1 -i ../get_throttling_function_name.patch
 }
 
 build() {
-       cd pytube-$pkgver
+       cd pytube
        python -m build --wheel --no-isolation
 }
 
 check() {
-       cd pytube-$pkgver
+       cd pytube
        # TODO
        pytest || echo "Tests failed"
 }
 
 package() {
-       cd pytube-$pkgver
+       cd pytube
        python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytube/-/commit/f2614c6b7fa8be0d8ad044cd2f1ec78e575d8183

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytube/-/commit/f2614c6b7fa8be0d8ad044cd2f1ec78e575d8183
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to