Skip to content

Commit

Permalink
upgpkg: python-musicpd 0.9.0-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantmonkey committed Aug 2, 2024
2 parents 16869cb + e35d013 commit 7d765ad
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
13 changes: 8 additions & 5 deletions python-musicpd/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
pkgbase = python-musicpd
pkgdesc = An MPD (Music Player Daemon) client library written in pure Python.
pkgver = 0.8.0
pkgrel = 3
pkgver = 0.9.0
pkgrel = 1
url = https://pypi.python.org/pypi/python-musicpd
arch = any
license = GPL
makedepends = python-setuptools
makedepends = make
makedepends = python-build
makedepends = python-installer
depends = python
source = https://files.pythonhosted.org/packages/6e/63/167108391d14517be2735c72cb85fa429528801e73a44e7d3ce8f435b4bd/python-musicpd-0.8.0.tar.gz
md5sums = 5346174c287fac8c089630ab0cf9de29
source = https://gitlab.com/kaliko/python-musicpd/-/archive/v0.9.0/python-musicpd-v0.9.0.tar.gz
md5sums = e90f0f0d9caf5b60ca9ec219c35eec94
sha256sums = ab7f4874806310d935188c5dbad5a5bb160cc5bdbf87bc2bf456e39925f4a807

pkgname = python-musicpd
24 changes: 14 additions & 10 deletions python-musicpd/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# Maintainer: Rasmus Steinke <rasi at xssn dot at>

pkgname=python-musicpd
pkgver=0.8.0
pkgrel=3
pkgver=0.9.0
pkgrel=1
pkgdesc="An MPD (Music Player Daemon) client library written in pure Python."
arch=('any')
url="https://pypi.python.org/pypi/python-musicpd"
license=('GPL')
depends=('python')
makedepends=('make')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/6e/63/167108391d14517be2735c72cb85fa429528801e73a44e7d3ce8f435b4bd/python-musicpd-0.8.0.tar.gz")
md5sums=('5346174c287fac8c089630ab0cf9de29')
makedepends=('make' 'python-build' 'python-installer')
source=("https://gitlab.com/kaliko/python-musicpd/-/archive/v0.9.0/python-musicpd-v0.9.0.tar.gz")
md5sums=('e90f0f0d9caf5b60ca9ec219c35eec94')
sha256sums=('ab7f4874806310d935188c5dbad5a5bb160cc5bdbf87bc2bf456e39925f4a807')

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
build() {
cd $pkgname-v${pkgver}
python -m build --wheel --no-isolation
}

package() {
cd $pkgname-v${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
}

0 comments on commit 7d765ad

Please sign in to comment.