[arch-commits] Commit in python-asteval/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jun 23 05:18:23 UTC 2021


    Date: Wednesday, June 23, 2021 @ 05:18:23
  Author: felixonmars
Revision: 966998

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 33 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-23 05:18:05 UTC (rev 966997)
+++ PKGBUILD	2021-06-23 05:18:23 UTC (rev 966998)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-asteval
-pkgver=0.9.23
-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=('972ae475b7c2225953efef7dcacc441a887d5311d8482ee43b49aa7906a241f3f186f4f49a272623e04c42b6a5adfc6335036f4157a1947510973912cd255ee4')
-
-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-any/PKGBUILD (from rev 966997, python-asteval/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-23 05:18:23 UTC (rev 966998)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-asteval
+pkgver=0.9.24
+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-scm')
+checkdepends=('python-pytest' 'python-numpy')
+source=("https://github.com/newville/asteval/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('35150a0869b99e8b607297884841578bd326386b289b6c46b8d2a3df68f7b416446bda1edde9c245058c8ce8b60b4960a16dec57dcf5a9d59803d8af3869997c')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+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