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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Jul 25 22:40:13 UTC 2022


    Date: Monday, July 25, 2022 @ 22:40:12
  Author: polyzen
Revision: 1258623

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 41 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-25 22:39:53 UTC (rev 1258622)
+++ PKGBUILD	2022-07-25 22:40:12 UTC (rev 1258623)
@@ -1,43 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=executing
-pkgname=python-executing
-pkgver=0.8.3
-pkgrel=1
-pkgdesc='Get the currently executing AST node of a frame, and other information'
-arch=('any')
-url=https://github.com/alexmojaki/executing
-license=('MIT')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
-             'python-wheel')
-checkdepends=('python-asttokens' 'python-littleutils' 'python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('c6554e21c6b060590a6d3be4b82fb78f8f0194d809de5ea7df1c093763311501')
-b2sums=('dd877f0b61d40d6b80a055a0ff2c3f08f397b232b178086233c4a3cf9a90800e846240497a1b784211d9f90da3c98f2d189aaa2e7c8aa0acb0ed9a1c97202a56')
-
-build() {
-  cd "$_name-$pkgver"
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd "$_name-$pkgver"
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  test-env/bin/python tests/test_main.py
-  test-env/bin/python -m pytest tests/test_pytest.py
-}
-
-package() {
-  cd "$_name-$pkgver"
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-executing/repos/community-any/PKGBUILD (from rev 1258622, python-executing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-25 22:40:12 UTC (rev 1258623)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=executing
+pkgname=python-executing
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='Get the currently executing AST node of a frame, and other information'
+arch=('any')
+url=https://github.com/alexmojaki/executing
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
+             'python-wheel')
+checkdepends=('python-asttokens' 'python-littleutils' 'python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('ade7276b4b108df69b8480064264db856335585efe170833601f30bcaaed7bc7')
+b2sums=('c0fc2202b65e3c9de274ff0aa8e89fac8c95b40ff3075916f29e5c562ac2fe3e60d135581cb9b09b6281f5772f24eafb52b8bccf7c7b08115922809cc4616721')
+
+build() {
+  cd "$_name-$pkgver"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "$_name-$pkgver"
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python tests/test_main.py
+  test-env/bin/python -m pytest tests/test_pytest.py
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list