summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Dewender2015-06-19 16:36:59 +0200
committerJohannes Dewender2015-06-19 16:36:59 +0200
commit9a3440e7fa74dbde5a5c1fc7fe239d5c596c62c3 (patch)
tree810213d9bad2dd361041233a458442869e4c6875 /PKGBUILD
parent9a00b5fd630f01eff71faa3378ae0334738f70e4 (diff)
downloadaur-9a3440e7fa74dbde5a5c1fc7fe239d5c596c62c3.tar.gz
use python3, prepare for split package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 9 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51154d049ae..5f547a97ff7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,15 @@
# Contributor: Johannes Dewender arch at JonnyJD dot net
# Contributor: Adrian Sampson <adrian@radbox.org>
-_python=python2
+pkgname=python-musicbrainzngs-git
_name=musicbrainzngs
-
-pkgname=$_python-$_name-git
-pkgver=0.5_1.g55977ae
+pkgver=0.5_86.g98b6885
pkgrel=1
-pkgdesc="bindings for the MusicBrainz NGS service"
+pkgdesc="bindings for the MusicBrainz NGS web service (WS/2)"
url="http://python-musicbrainzngs.readthedocs.org/"
license="BSD"
arch=('any')
-depends=("$_python")
-makedepends=('git')
-provides=("$_python-musicbrainzngs=$pkgver")
-conflicts=("$_python-musicbrainzngs")
+makedepends=('git' 'python')
source=('git+https://github.com/alastair/python-musicbrainzngs.git')
md5sums=('SKIP')
@@ -23,19 +18,17 @@ pkgver() {
git describe --tags | sed -e 's/^v//' -e 's/-/_/' -e 's/-/\./g'
}
-build() {
- cd "$srcdir/python-musicbrainzngs"
- $_python setup.py build
-}
-
check() {
cd "$srcdir/python-musicbrainzngs"
- $_python setup.py test
+ python setup.py test
}
package() {
+ depends=("python")
+ provides=("python-musicbrainzngs=$pkgver")
+ conflicts=("python-musicbrainzngs")
cd "$srcdir/python-musicbrainzngs"
- $_python setup.py install --root=$pkgdir
+ python setup.py install --root=$pkgdir
}
# vim:set ts=2 sw=2 et: