[arch-commits] Commit in python-discid/repos (3 files)

Gaetan Bisson bisson at archlinux.org
Mon Mar 14 09:22:32 UTC 2016


    Date: Monday, March 14, 2016 @ 10:22:32
  Author: bisson
Revision: 166656

db-move: moved python-discid from [community-testing] to [community] (any)

Added:
  python-discid/repos/community-any/
  python-discid/repos/community-any/PKGBUILD
    (from rev 166655, python-discid/repos/community-testing-any/PKGBUILD)
Deleted:
  python-discid/repos/community-testing-any/

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

Copied: python-discid/repos/community-any/PKGBUILD (from rev 166655, python-discid/repos/community-testing-any/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-03-14 09:22:32 UTC (rev 166656)
@@ -0,0 +1,34 @@
+# $Id$
+# Contributor: Johannes Dewender	 arch at JonnyJD dot net
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgbase=python-discid
+pkgver=1.1.0
+pkgrel=3
+_pkgname=discid
+pkgname=('python-discid' 'python2-discid')
+pkgdesc='Python binding of MusicBrainz libdiscid'
+url='https://python-discid.readthedocs.org/'
+license=('LGPL3')
+arch=('any')
+depends=('libdiscid')
+makedepends=('python' 'python2')
+source=("http://pypi.python.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha1sums=('de2d657e42d281dad593e0673af6ba6039ef58bc')
+
+check() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	python setup.py test
+}
+
+package_python-discid() {
+	depends+=('python')
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-discid() {
+	depends+=('python2')
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	python2 setup.py install --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list