summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2018-03-17 01:01:38 -0400
committerJames An2018-03-17 01:01:38 -0400
commit920a09115e8a81bb6c890fa5af88e7eb22bb3d6a (patch)
treee3fbfadec0036217ccd4ba62487498250e1417e9
parent71880fddd2c5fd173abbb921e2c51f81ceb39140 (diff)
downloadaur-920a09115e8a81bb6c890fa5af88e7eb22bb3d6a.tar.gz
Updated to latest upstream commit.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
2 files changed, 14 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ac0450a170..34ddc5d0a21 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = python-bencodepy
pkgdesc = A small Python 3 library for encoding and decoding Bencode data
- pkgver = 0.9.4
+ pkgver = 0.9.5.r5.ga9c145b
pkgrel = 1
- url = https://pypi.python.org/pypi/bencodepy/
+ url = https://github.com/eweast/BencodePy
arch = any
license = GPL
+ makedepends = python-setuptools
depends = python
- options = !emptydirs
- source = https://pypi.python.org/packages/source/b/bencodepy/bencodepy-0.9.4.zip
- md5sums = 9f769b69deb7ae1b38e448e52b9598f6
+ source = https://github.com/eweast/BencodePy/archive/master.zip
+ md5sums = d04fb70c690bd5025e1c6444f37797b8
pkgname = python-bencodepy
diff --git a/PKGBUILD b/PKGBUILD
index 3027c06cd06..bffe185f2d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: James An <james@jamesan.ca>
-_pkgname=bencodepy
-pkgname=python-${_pkgname}
-pkgver=0.9.4
+pkgname=python-bencodepy
+_pkgname=BencodePy
+pkgver=0.9.5.r5.ga9c145b
pkgrel=1
pkgdesc='A small Python 3 library for encoding and decoding Bencode data'
arch=('any')
-url="https://pypi.python.org/pypi/${_pkgname}/${_pkgver}"
+url="https://github.com/eweast/$_pkgname"
license=('GPL')
depends=('python')
-options=(!emptydirs)
-source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.zip")
-md5sums=('9f769b69deb7ae1b38e448e52b9598f6')
+makedepends=('python-setuptools')
+source=("https://github.com/eweast/$_pkgname/archive/master.zip")
+md5sums=('d04fb70c690bd5025e1c6444f37797b8')
package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}/" --optimize=1
+ cd "$_pkgname-master"
+ python setup.py install --root="$pkgdir" --optimize=1
}