summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAaron DeVore2018-01-21 13:27:21 -0800
committerAaron DeVore2018-01-21 13:27:21 -0800
commitc23993d02c6a7a46ae3e9f456b0721b14dfc1308 (patch)
tree3b90a9745f3271ade861fcc025f1aee5062ca007 /PKGBUILD
parentdb3140370839e6f55373abcfc5658df631ba0121 (diff)
downloadaur-c23993d02c6a7a46ae3e9f456b0721b14dfc1308.tar.gz
Version bump to 1.1.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ce0525db49a..887a620b93f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: Aaron DeVore <aaron.devore@gmail.com>
# Contributor: tocer <tocer.deng@gmail.com>
-pkgname=(python-fudge python2-fudge)
-pkgver=1.1.0
+_name=fudge
+pkgname=(python-$_name python2-$_name)
+pkgver=1.1.1
pkgrel=1
pkgdesc="Use fake objects (mocks, stubs, etc) to test real ones"
arch=(any)
@@ -10,8 +11,8 @@ url="http://farmdev.com/projects/fudge/"
license=(MIT)
makedepends=('python-setuptools' python2-setuptools)
optdepends=('python-fudge-docs: documentation for Fudge')
-source=("http://pypi.python.org/packages/source/f/fudge/fudge-$pkgver.tar.gz")
-md5sums=('2e10ff35c998bf4bce8c5a986c5181bd')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+md5sums=('3aefdd12c3e0518665fe6735b24a0f9b')
package_python-fudge() {
cd "$srcdir/fudge-$pkgver"
@@ -19,11 +20,10 @@ package_python-fudge() {
python setup.py install --root=$pkgdir/ --optimize=1
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
-
+
package_python2-fudge() {
cd "$srcdir/fudge-$pkgver"
depends=('python2')
python2 setup.py install --root=$pkgdir/ --optimize=1
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
- \ No newline at end of file