diff options
author | fordprefect | 2020-06-16 09:58:16 +0200 |
---|---|---|
committer | fordprefect | 2020-06-16 09:59:48 +0200 |
commit | 51d2c0cd6bf73435500a8be9c82c39495ebc668d (patch) | |
tree | 3e57a61698cbaa03be4f18f5927202a660119b13 | |
parent | cdc5e23ec843b5e71b8b258129f3905191cdb58d (diff) | |
download | aur-51d2c0cd6bf73435500a8be9c82c39495ebc668d.tar.gz |
0.3.2, drop Py2 library version
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | python2-dill.install | 10 |
3 files changed, 8 insertions, 46 deletions
@@ -1,27 +1,17 @@ -# Generated by mksrcinfo v8 -# Sat Sep 28 19:44:11 UTC 2019 pkgbase = python-dill pkgdesc = Serialize all of python (almost) - pkgver = 0.3.1.1 + pkgver = 0.3.2 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/archive/dill-0.3.1.1.tar.gz - source = python2-dill.install - md5sums = 99d6853c8bfaa2f16165f200eb59ed70 - md5sums = 2ac075f39bab33c203e7b25adb3e07b3 + source = https://github.com/uqfoundation/dill/archive/dill-0.3.2.tar.gz + md5sums = 2675e1a4a00df7886f1e15d5f2125a19 pkgname = python-dill depends = python optdepends = python-pyreadline optdepends = python-objgraph -pkgname = python2-dill - install = python2-dill.install - depends = python2 - optdepends = python2-pyreadline - optdepends = python2-objgraph - @@ -1,41 +1,23 @@ -# former Maintainer python-dill: Antony Lee -# former Maintainer python2-dill: bchretien - -pkgname=("python-dill" "python2-dill") -pkgbase=python-dill -pkgver=0.3.1.1 +pkgname=python-dill +pkgver=0.3.2 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/archive/dill-$pkgver.tar.gz" "python2-dill.install") -md5sums=('99d6853c8bfaa2f16165f200eb59ed70' - '2ac075f39bab33c203e7b25adb3e07b3') +source=("https://github.com/uqfoundation/dill/archive/dill-$pkgver.tar.gz") +md5sums=('2675e1a4a00df7886f1e15d5f2125a19') build() { cd "$srcdir/dill-dill-$pkgver" python setup.py build } -package_python-dill() { +package() { depends=('python') optdepends=('python-pyreadline' 'python-objgraph') cd "$srcdir/dill-dill-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } - -package_python2-dill() { - depends=('python2') - optdepends=('python2-pyreadline' 'python2-objgraph') - install=python2-dill.install - 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" - - mv "$pkgdir/usr/bin/get_objgraph" "$pkgdir/usr/bin/get_objgraph2" - mv "$pkgdir/usr/bin/undill" "$pkgdir/usr/bin/undill2" -} diff --git a/python2-dill.install b/python2-dill.install deleted file mode 100644 index f576fb01a432..000000000000 --- a/python2-dill.install +++ /dev/null @@ -1,10 +0,0 @@ -post_install(){ - cat << \here -Accompanying programs dill_unpickle.py and get_objgraph.py are available as dill_unpickle2.py and get_objgraph2.py. -Attention: dill_unpickle.py was known as unpickle.py before. -here -} - -post_upgrade(){ - post_install -} |