summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorG. Schlisio2017-07-07 22:22:53 +0200
committerG. Schlisio2017-07-07 22:22:53 +0200
commitd013002b8046f9529494cdb0b966db63c4274f3c (patch)
treef9d132dd015435280a15ca766df8514eac942098
parent3f8e9b86c466d8d10952d5dd3db3fe1f7d181ddc (diff)
downloadaur-d013002b8046f9529494cdb0b966db63c4274f3c.tar.gz
0.2.7
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ec277a5ee64..b5bd2cb7acf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
-# Generated by mksrcinfo v8
-# Mon Jul 3 07:26:23 UTC 2017
pkgbase = python-dill
pkgdesc = Serialize all of python (almost)
- pkgver = 0.2.6
- pkgrel = 4
+ pkgver = 0.2.7
+ pkgrel = 1
url = http://pypi.python.org/pypi/dill/
arch = any
license = BSD
makedepends = python-setuptools
makedepends = python2-setuptools
- source = https://github.com/uqfoundation/dill/releases/download/0.2.6/dill-0.2.6.tgz
+ source = https://github.com/uqfoundation/dill/archive/dill-0.2.7.tar.gz
source = python2-dill.install
- md5sums = eff3385ff87c3de142ce502b38fb928a
+ md5sums = d235331ad9c5d2d480f32b0bd3cba994
md5sums = 2ac075f39bab33c203e7b25adb3e07b3
pkgname = python-dill
diff --git a/PKGBUILD b/PKGBUILD
index 4c2e5cba047..edefe152317 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,25 @@
pkgname=("python-dill" "python2-dill")
pkgbase=python-dill
-pkgver=0.2.6
-pkgrel=4
+pkgver=0.2.7
+pkgrel=1
pkgdesc='Serialize all of python (almost)'
arch=('any')
url='http://pypi.python.org/pypi/dill/'
makedepends=('python-setuptools' 'python2-setuptools')
license=('BSD')
-source=("https://github.com/uqfoundation/dill/releases/download/$pkgver/dill-$pkgver.tgz" "python2-dill.install")
-md5sums=('eff3385ff87c3de142ce502b38fb928a'
+source=("https://github.com/uqfoundation/dill/archive/dill-$pkgver.tar.gz" "python2-dill.install")
+md5sums=('d235331ad9c5d2d480f32b0bd3cba994'
'2ac075f39bab33c203e7b25adb3e07b3')
build() {
- cd "$srcdir/dill-$pkgver"
+ cd "$srcdir/dill-dill-$pkgver"
python setup.py build
}
package_python-dill() {
depends=('python')
- cd "$srcdir/dill-$pkgver"
+ cd "$srcdir/dill-dill-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
@@ -29,7 +29,7 @@ package_python-dill() {
package_python2-dill() {
depends=('python2')
install=python2-dill.install
- cd "$srcdir/dill-$pkgver"
+ cd "$srcdir/dill-dill-$pkgver"
find . -name "*.py" -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} \;
python2 setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"