[arch-commits] Commit in python2-musicbrainzngs/repos (2 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Mon Aug 19 00:29:27 UTC 2013


    Date: Monday, August 19, 2013 @ 02:29:27
  Author: alucryd
Revision: 95934

archrelease: copy trunk to community-testing-any

Added:
  python2-musicbrainzngs/repos/community-testing-any/
  python2-musicbrainzngs/repos/community-testing-any/PKGBUILD
    (from rev 95933, python2-musicbrainzngs/trunk/PKGBUILD)

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

Copied: python2-musicbrainzngs/repos/community-testing-any/PKGBUILD (from rev 95933, python2-musicbrainzngs/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2013-08-19 00:29:27 UTC (rev 95934)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Adrian Sampson <adrian at radbox.org>
+
+pkgname=python2-musicbrainzngs
+pkgver=0.4
+pkgrel=4
+pkgdesc='Bindings for the MusicBrainz NGS service'
+arch=('any')
+url='https://github.com/alastair/python-musicbrainz-ngs'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("http://pypi.python.org/packages/source/m/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz")
+sha256sums=('1a1b7c3cce851c491d5ad71b501bbed2bd653098e33565a0534050d4b922265a')
+
+build() {
+  cd ${pkgname#*-}-${pkgver}
+
+  python2 setup.py build
+}
+
+package() {
+  cd ${pkgname#*-}-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  rm -rf "${pkgdir}"/usr/lib/python2.7/site-packages/{docs,examples,test}
+
+# License
+  install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}COPYING
+}
+
+# vim: ts=2 sw=2 et:




More information about the arch-commits mailing list