Date: Saturday, April 8, 2023 @ 06:12:42
Author: felixonmars
Revision: 1441938
archrelease: copy trunk to community-staging-x86_64
Added:
picard/repos/community-staging-x86_64/
picard/repos/community-staging-x86_64/PKGBUILD
(from rev 1441937, picard/trunk/PKGBUILD)
picard/repos/community-staging-x86_64/keys/
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: picard/repos/community-staging-x86_64/PKGBUILD (from rev 1441937,
picard/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-08 06:12:42 UTC (rev 1441938)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
+# Contributor: Mateusz Herych <[email protected]>
+# Contributor: sysrq
+
+pkgname=picard
+pkgver=2.8.5
+pkgrel=2
+pkgdesc="Official MusicBrainz tagger"
+arch=(x86_64)
+url="https://github.com/metabrainz/picard"
+license=(GPL2)
+depends=(glibc hicolor-icon-theme python-dateutil python-discid
+python-fasteners python-markdown python-mutagen python-pyjwt python-pyqt5
+python-yaml)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+optdepends=(
+ 'chromaprint: fingerprinting'
+ 'qt5-multimedia: media player toolbar'
+ 'qt5-translations: full UI translation'
+)
+source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz{,.asc})
+sha512sums=('8f2502c517b2cbc776a0990453a459e0ee85af085c534f679d60db2dcaf2c81bc544e1ac6a87f574db58c62552c0602e7e2ec62ea622f357a09a3728173add85'
+ 'SKIP')
+b2sums=('a639ec64a03f0283c8c48ae29cccb851c0baca72de2f706c570b1fff373a23bafb5353229c8aa3193a40f45418cc79ac9f3d50bc237be2cfc2a0fed917c4e94a'
+ 'SKIP')
+# NOTE: GPG signed tags and artifacts are being evaluated:
https://tickets.metabrainz.org/browse/PICARD-1934
+validpgpkeys=('68990DD0B1EDC129B856958167997E14D563DA7C') # MusicBrainz Picard
Developers <[email protected]>
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $pkgname-$pkgver
+ pytest -vv
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {AUTHORS.txt,{CONTRIBUTING,NEWS,README}.md} -t
"$pkgdir/usr/share/doc/$pkgname/"
+}