[arch-commits] Commit in python-asteval/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 13 20:48:40 UTC 2020


    Date: Friday, November 13, 2020 @ 20:48:39
  Author: felixonmars
Revision: 753999

archrelease: copy trunk to community-staging-any

Added:
  python-asteval/repos/community-staging-any/PKGBUILD
    (from rev 753998, python-asteval/trunk/PKGBUILD)
Deleted:
  python-asteval/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 20:48:30 UTC (rev 753998)
+++ PKGBUILD	2020-11-13 20:48:39 UTC (rev 753999)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-asteval
-pkgver=0.9.19
-pkgrel=2
-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
-  python -m pytest
-}
-
-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 753998, python-asteval/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-13 20:48:39 UTC (rev 753999)
@@ -0,0 +1,32 @@
+# 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/
+}



More information about the arch-commits mailing list