Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
python-ytmusicapi
Commits:
b332c39f by Antonio Rojas at 2024-05-04T15:16:09+02:00
upgpkg: 1.7.0-1: Update to 1.7.0
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
pkgbase = python-ytmusicapi
pkgdesc = Unofficial API for YouTube Music
- pkgver = 1.6.0
- pkgrel = 2
+ pkgver = 1.7.0
+ pkgrel = 1
url = https://github.com/sigma67/ytmusicapi
arch = any
license = MIT
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools-scm
@@ -12,7 +13,7 @@ pkgbase = python-ytmusicapi
makedepends = python-wheel
depends = python
depends = python-requests
- source =
https://files.pythonhosted.org/packages/source/y/ytmusicapi/ytmusicapi-1.6.0.tar.gz
- sha256sums =
0e515f941682c0b15259be7154200d9930678c353c8cd192007c496f1a4ba7db
+ source = git+https://github.com/sigma67/ytmusicapi#tag=1.7.0
+ sha256sums =
7f3cbc42464f26f9d4cdb13d5b0c2ffbde3b9cff7bc1e3b1bc2fd9de10c2bc77
pkgname = python-ytmusicapi
=====================================
PKGBUILD
=====================================
@@ -4,30 +4,31 @@
_pyname=ytmusicapi
pkgname=python-$_pyname
-pkgver=1.6.0
-pkgrel=2
+pkgver=1.7.0
+pkgrel=1
pkgdesc='Unofficial API for YouTube Music'
arch=(any)
url='https://github.com/sigma67/ytmusicapi'
license=(MIT)
depends=(python
python-requests)
-makedepends=(python-build
+makedepends=(git
+ python-build
python-installer
python-setuptools-scm
python-sphinx
python-wheel)
-source=(https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
-sha256sums=('0e515f941682c0b15259be7154200d9930678c353c8cd192007c496f1a4ba7db')
+source=(git+https://github.com/sigma67/ytmusicapi#tag=$pkgver)
+sha256sums=('7f3cbc42464f26f9d4cdb13d5b0c2ffbde3b9cff7bc1e3b1bc2fd9de10c2bc77')
build() {
- cd $_pyname-$pkgver
+ cd $_pyname
python -m build --wheel --no-isolation
make -C docs text
}
package() {
- cd $_pyname-$pkgver
+ cd $_pyname
python -m installer --destdir="$pkgdir" dist/*.whl
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ytmusicapi/-/commit/b332c39f80aef436c90150cd8596fdaee01f5d0e
--
This project does not include diff previews in email notifications.
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ytmusicapi/-/commit/b332c39f80aef436c90150cd8596fdaee01f5d0e
You're receiving this email because of your account on gitlab.archlinux.org.