summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfordprefect2019-01-21 18:29:33 +0100
committerfordprefect2019-01-21 18:29:33 +0100
commit58860dcc674f72bd39f23f2200020c6eb63ed6e1 (patch)
treed8cc90799f3b98bd681ddee7e93496d0d1542530
parent236c273e6ab52dd308602c143476126db4474a03 (diff)
downloadaur-58860dcc674f72bd39f23f2200020c6eb63ed6e1.tar.gz
optdepends added
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD2
2 files changed, 7 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 688120f9f0a..143f7a53a18 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Jan 21 17:26:46 UTC 2019
+# Mon Jan 21 17:29:04 UTC 2019
pkgbase = python-dill
pkgdesc = Serialize all of python (almost)
pkgver = 0.2.9
@@ -16,8 +16,12 @@ pkgbase = python-dill
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
diff --git a/PKGBUILD b/PKGBUILD
index 6953cb88ecc..76423f0bd8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,6 +21,7 @@ build() {
package_python-dill() {
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"
@@ -28,6 +29,7 @@ package_python-dill() {
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#' {} \;