summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorskydrome2015-06-20 09:58:13 -0400
committerskydrome2015-06-20 09:58:13 -0400
commit9be46ffe35e06763bf068df5bd8572ced92ab265 (patch)
tree998de78d45dd99e6b7f10d00fded7d42d55b34dd
parente4ce43d239cf053b356c35e8a0926438498bb07b (diff)
downloadaur-9be46ffe35e06763bf068df5bd8572ced92ab265.tar.gz
minor cleanup
-rw-r--r--.SRCINFO8
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD16
3 files changed, 18 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 577512ef67f..450b73aa7a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,15 +2,15 @@ pkgbase = pyutil
pkgdesc = general-purpose python library (used by tahoe-lafs)
pkgver = 2.0.0
pkgrel = 1
- url = http://pypi.python.org/pypi/pyutil
+ url = https://pypi.python.org/pypi/pyutil
arch = any
license = GPL2
makedepends = python2-setuptools
depends = python2
- depends = python2-simplejson
- depends = zbase32
+ depends = python2-simplejson>=2.1.0
+ depends = zbase32>=1.1.0
depends = twisted
- source = http://pypi.python.org/packages/source/p/pyutil/pyutil-2.0.0.tar.gz
+ source = https://pypi.python.org/packages/source/p/pyutil/pyutil-2.0.0.tar.gz
md5sums = 025a06985691133479500139a3729909
pkgname = pyutil
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..3ffbbace5f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.pkg.tar
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index e5622ba7464..74ce9806a1f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,21 +6,25 @@ pkgver=2.0.0
pkgrel=1
pkgdesc="general-purpose python library (used by tahoe-lafs)"
arch=('any')
-url='http://pypi.python.org/pypi/pyutil'
+url='https://pypi.python.org/pypi/pyutil'
license=('GPL2')
-depends=('python2' 'python2-simplejson' 'zbase32' 'twisted')
+depends=('python2' 'python2-simplejson>=2.1.0' 'zbase32>=1.1.0' 'twisted')
makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/pyutil/pyutil-$pkgver.tar.gz")
+source=("https://pypi.python.org/packages/source/p/pyutil/pyutil-${pkgver}.tar.gz")
md5sums=('025a06985691133479500139a3729909')
build(){
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/pyutil-$pkgver"
python2 setup.py build
- #python2 setup.py trial
+}
+
+check() {
+ cd "$srcdir/pyutil-$pkgver"
+ python2 setup.py test
}
package(){
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/pyutil-$pkgver"
python2 setup.py install --root="$pkgdir" --prefix='/usr' --optimize=1
rm -r "$pkgdir/usr/pyutil"
}