[arch-commits] Commit in (4 files)

Gaetan Bisson bisson at archlinux.org
Mon Mar 7 03:53:12 UTC 2016


    Date: Monday, March 7, 2016 @ 04:53:12
  Author: bisson
Revision: 165423

initial commit of python-discid, optdepends of picard

Added:
  python-discid/
  python-discid/repos/
  python-discid/trunk/
  python-discid/trunk/PKGBUILD

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

Added: python-discid/trunk/PKGBUILD
===================================================================
--- python-discid/trunk/PKGBUILD	                        (rev 0)
+++ python-discid/trunk/PKGBUILD	2016-03-07 03:53:12 UTC (rev 165423)
@@ -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')
+options=('!emptydirs')
+source=("http://pypi.python.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha1sums=('2ad2141452dd10b03ad96ccdad075235')
+
+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
+}


Property changes on: python-discid/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list