Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-pytube
Commits: 89960973 by loqs at 2026-01-29T19:35:23+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -6,7 +6,10 @@ pkgbase = python-pytube arch = any license = Unlicense checkdepends = python-pytest + 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 = get_throttling_function_name.patch ===================================== PKGBUILD ===================================== @@ -11,7 +11,7 @@ arch=(any) url="https://github.com/pytube/pytube" license=(Unlicense) depends=(python) -makedepends=(python-setuptools) +makedepends=(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) @@ -25,7 +25,7 @@ prepare() { build() { cd pytube-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -36,5 +36,5 @@ check() { package() { cd pytube-$pkgver - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytube/-/commit/8996097304aa9c48e2422e5ec0770e30c5022b18 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytube/-/commit/8996097304aa9c48e2422e5ec0770e30c5022b18 You're receiving this email because of your account on gitlab.archlinux.org.
