summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2015-06-19 16:36:59 +0200
committerJohannes Dewender2015-06-19 16:36:59 +0200
commit9a3440e7fa74dbde5a5c1fc7fe239d5c596c62c3 (patch)
tree810213d9bad2dd361041233a458442869e4c6875
parent9a00b5fd630f01eff71faa3378ae0334738f70e4 (diff)
downloadaur-9a3440e7fa74dbde5a5c1fc7fe239d5c596c62c3.tar.gz
use python3, prepare for split package
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 17 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b4ae0196019..41c431e5295 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
-pkgbase = python2-musicbrainzngs-git
- pkgdesc = bindings for the MusicBrainz NGS service
- pkgver = 0.5_1.g55977ae
+pkgbase = python-musicbrainzngs-git
+ pkgdesc = bindings for the MusicBrainz NGS web service (WS/2)
+ pkgver = 0.5_86.g98b6885
pkgrel = 1
url = http://python-musicbrainzngs.readthedocs.org/
arch = any
license = BSD
makedepends = git
- depends = python2
- provides = python2-musicbrainzngs=0.5_1.g55977ae
- conflicts = python2-musicbrainzngs
+ makedepends = python
source = git+https://github.com/alastair/python-musicbrainzngs.git
md5sums = SKIP
-pkgname = python2-musicbrainzngs-git
+pkgname = python-musicbrainzngs-git
+ depends = python
+ provides = python-musicbrainzngs=0.5_86.g98b6885
+ conflicts = python-musicbrainzngs
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: