[arch-commits] Commit in python-asteval/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 15 10:15:47 UTC 2020
Date: Sunday, November 15, 2020 @ 10:15:46
Author: felixonmars
Revision: 754344
archrelease: copy trunk to community-staging-any
Added:
python-asteval/repos/community-staging-any/PKGBUILD
(from rev 754343, python-asteval/trunk/PKGBUILD)
Deleted:
python-asteval/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 10:15:30 UTC (rev 754343)
+++ PKGBUILD 2020-11-15 10:15:46 UTC (rev 754344)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-asteval
-pkgver=0.9.19
-pkgrel=3
-pkgdesc="Minimalistic evaluator of python expression using ast module"
-url="https://github.com/newville/asteval"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-numpy')
-source=("https://github.com/newville/asteval/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('5d5bd7cca7503f48c433b46996c5d23a7d13164bab8e26d3eb4bd721e7720fd43905dbe9a5eb19cb38fc8296aacf3fc7fa508ff80977ace2ed2eef16e5bbb977')
-
-build() {
- cd asteval-$pkgver
- python setup.py build
-}
-
-check() {
- cd asteval-$pkgver
- # https://github.com/newville/asteval/issues/78
- python -m pytest --deselect tests/test_asteval.py::TestEval::test_ndarrayslice
-}
-
-package() {
- cd asteval-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-asteval/repos/community-staging-any/PKGBUILD (from rev 754343, python-asteval/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-15 10:15:46 UTC (rev 754344)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-asteval
+pkgver=0.9.20
+pkgrel=1
+pkgdesc="Minimalistic evaluator of python expression using ast module"
+url="https://github.com/newville/asteval"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-numpy')
+source=("https://github.com/newville/asteval/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('a37d6eb5e1a952b11118fafea9c7f8bbf659a71bff2dfe6126ccc79116039e6ede94ed2b1e46ee152a3e3975c98e144960c5daedc59d82cef5dec56c51c4e258')
+
+build() {
+ cd asteval-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd asteval-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd asteval-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list