Date: Monday, November 4, 2019 @ 03:13:42
  Author: felixonmars
Revision: 523046

archrelease: copy trunk to community-staging-any

Added:
  python-discid/repos/community-staging-any/
  python-discid/repos/community-staging-any/PKGBUILD
    (from rev 523045, python-discid/trunk/PKGBUILD)

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Copied: python-discid/repos/community-staging-any/PKGBUILD (from rev 523045, 
python-discid/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-11-04 03:13:42 UTC (rev 523046)
@@ -0,0 +1,24 @@
+# Contributor: Johannes Dewender        arch at JonnyJD dot net
+# Maintainer: Gaetan Bisson <[email protected]>
+
+pkgname=python-discid
+pkgver=1.2.0
+pkgrel=2
+pkgdesc='Python binding of MusicBrainz libdiscid'
+url='https://python-discid.readthedocs.org/'
+license=('LGPL3')
+arch=('any')
+depends=('libdiscid' 'python')
+#validpgpkeys=('8BB230F6C5C308B31FE7C82568304838CC686607')
+source=("https://github.com/JonnyJD/python-discid/archive/v${pkgver}.tar.gz";)
+sha256sums=('4eec56f054d960b66c4e42c711c317e987dd50c9e7267a29f7adadd9ceee664f')
+
+check() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       python setup.py test
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       python setup.py install --root="${pkgdir}" --optimize=1
+}

Reply via email to