Date: Saturday, April 8, 2023 @ 22:35:35
Author: arojas
Revision: 473449
archrelease: copy trunk to staging-any
Added:
python-ytmusicapi/repos/staging-any/PKGBUILD
(from rev 473448, python-ytmusicapi/trunk/PKGBUILD)
Deleted:
python-ytmusicapi/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 31 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-08 22:35:25 UTC (rev 473448)
+++ PKGBUILD 2023-04-08 22:35:35 UTC (rev 473449)
@@ -1,30 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Pekka Ristola <pekkarr [at] protonmail [dot] com>
-# Contributor: Tim Schumacher <[email protected]>
-
-_pyname=ytmusicapi
-pkgname=python-$_pyname
-pkgver=0.25.1
-pkgrel=2
-pkgdesc='Unofficial API for YouTube Music'
-arch=(any)
-url='https://github.com/sigma67/ytmusicapi'
-license=(MIT)
-depends=(python-requests)
-makedepends=(python-build python-installer python-setuptools-scm python-wheel
python-sphinx)
-source=(https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
-sha256sums=('b9cfdf8037ad4986824737dfd12cdf6d186cdd368aadf13687aae85a4923f324')
-
-build() {
- cd $_pyname-$pkgver
- python -m build --wheel --no-isolation
- make -C docs text
-}
-
-package() {
- cd $_pyname-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- install -Dm644 docs/build/text/* -t "$pkgdir"/usr/share/doc/$pkgname
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: python-ytmusicapi/repos/staging-any/PKGBUILD (from rev 473448,
python-ytmusicapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-08 22:35:35 UTC (rev 473449)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Pekka Ristola <pekkarr [at] protonmail [dot] com>
+# Contributor: Tim Schumacher <[email protected]>
+
+_pyname=ytmusicapi
+pkgname=python-$_pyname
+pkgver=1.0.0
+pkgrel=2
+pkgdesc='Unofficial API for YouTube Music'
+arch=(any)
+url='https://github.com/sigma67/ytmusicapi'
+license=(MIT)
+depends=(python-requests)
+makedepends=(python-build python-installer python-setuptools-scm python-wheel
python-sphinx)
+source=(https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
+sha256sums=('3b174cec83e23bef3c9d15df5b9d9bc7c80a51377cdc50682da03b9d2c8a2589')
+
+build() {
+ cd $_pyname-$pkgver
+ python -m build --wheel --no-isolation
+ make -C docs text
+}
+
+package() {
+ cd $_pyname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname
+ cp -r docs/build/text/* "$pkgdir"/usr/share/doc/$pkgname
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}