Date: Friday, April 7, 2023 @ 05:27:18
Author: felixonmars
Revision: 1440626
archrelease: copy trunk to community-staging-any
Added:
python-mutagen/repos/community-staging-any/
python-mutagen/repos/community-staging-any/PKGBUILD
(from rev 1440625, python-mutagen/trunk/PKGBUILD)
python-mutagen/repos/community-staging-any/keys/
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-mutagen/repos/community-staging-any/PKGBUILD (from rev 1440625,
python-mutagen/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 05:27:18 UTC (rev 1440626)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Eric Bélanger <[email protected]>
+
+_name=mutagen
+pkgname=python-mutagen
+pkgver=1.46.0
+pkgrel=2
+arch=(any)
+pkgdesc="An audio metadata tag reader and writer (python library)"
+url="https://github.com/quodlibet/mutagen"
+license=(GPL2)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest python-hypothesis python-pyflakes
+python-pycodestyle)
+source=(https://github.com/quodlibet/$_name/releases/download/release-$pkgver/$_name-$pkgver.tar.gz{,.sig})
+sha512sums=('52ab7408af46e54e79f1d157a3f6114e2606c6a55eb46fdd314dff82d6d586c2c22294b181a432581230dee566c79554456a9435a8e1188a91f4ae000644ae71'
+ 'SKIP')
+b2sums=('44e0dbbc1c102521569a91386a9d807f3ad82ffb96a5e3f76958551d173d00c7095fa6a2668a0a418bfdda31be5c3bb175856b2278719007bf7af866c732dc40'
+ 'SKIP')
+validpgpkeys=('0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC') # Christoph Reiter
<[email protected]>
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest -v --ignore tests/quality/test_flake8.py
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {NEWS,README.rst} -t "$pkgdir/usr/share/doc/$pkgname/"
+}