[arch-commits] Commit in python2-musicbrainzngs (3 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Mon Jul 29 21:13:51 UTC 2013
Date: Monday, July 29, 2013 @ 23:13:51
Author: alucryd
Revision: 94742
archrelease: copy trunk to community-any
Added:
python2-musicbrainzngs/repos/
python2-musicbrainzngs/repos/community-any/
python2-musicbrainzngs/repos/community-any/PKGBUILD
(from rev 94741, python2-musicbrainzngs/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python2-musicbrainzngs/repos/community-any/PKGBUILD (from rev 94741, python2-musicbrainzngs/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2013-07-29 21:13:51 UTC (rev 94742)
@@ -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=3
+pkgdesc='Bindings for the MusicBrainz NGS service'
+arch=('any')
+url='https://github.com/alastair/python-musicbrainz-ngs'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-distribute')
+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