diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-10-05 14:44:36 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-10-05 14:44:36 -0500 |
commit | 37e594b6d87602df989a38f79476b9f8d83dd4e3 (patch) | |
tree | a56bd32b2386bf3f692e4cc6637e749516ffe496 /pcr/python-simpleeval/PKGBUILD | |
parent | a85de9d0455c32d810922cb52d10b2bf78dc9cc9 (diff) | |
download | abslibre-37e594b6d87602df989a38f79476b9f8d83dd4e3.tar.gz abslibre-37e594b6d87602df989a38f79476b9f8d83dd4e3.tar.bz2 abslibre-37e594b6d87602df989a38f79476b9f8d83dd4e3.zip |
Removing python-simpleeval
Diffstat (limited to 'pcr/python-simpleeval/PKGBUILD')
-rw-r--r-- | pcr/python-simpleeval/PKGBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/pcr/python-simpleeval/PKGBUILD b/pcr/python-simpleeval/PKGBUILD deleted file mode 100644 index 623dc8e1a..000000000 --- a/pcr/python-simpleeval/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgbase=python-simpleeval -pkgname=('python-simpleeval' 'python2-simpleeval') -pkgver=0.9.2 -pkgrel=1 -pkgdesc='Simple Safe Extensible Expression Evaluator for Python' -arch=(any) -url="https://pypi.python.org/pypi/simpleeval" -license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools') -source=("https://github.com/danthedeckie/simpleeval/archive/$pkgver.tar.gz") -md5sums=('cdd1693ae2350e428cc7788139e31a61') - -prepare() { - cp -a simpleeval-$pkgver{,-py2} -} - -build() { - cd "$srcdir/simpleeval-$pkgver" - python setup.py build - - cd "$srcdir/simpleeval-$pkgver-py2" - python2 setup.py build -} - -package_python-simpleeval() { - depends=('python') - - cd "$srcdir/simpleeval-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 "LICENCE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-simpleeval() { - depends=('python2') - - cd "$srcdir/simpleeval-$pkgver-py2" - python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 "LICENCE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} |