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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Feb 28 02:59:07 UTC 2022


    Date: Monday, February 28, 2022 @ 02:59:07
  Author: polyzen
Revision: 1138076

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-28 02:58:43 UTC (rev 1138075)
+++ PKGBUILD	2022-02-28 02:59:07 UTC (rev 1138076)
@@ -1,43 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=executing
-pkgname=python-executing
-pkgver=0.8.2
-pkgrel=2
-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-install' 'python-setuptools-scm'
-             'python-wheel')
-checkdepends=('python-asttokens' 'python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('c23bf42e9a7b9b212f185b1b2c3c91feb895963378887bb10e64a2e612ec0023')
-b2sums=('2e966b8f2248af7be2f4c329cf2a04a9ca49fef785c0fb3c5c3280586dee28f737b78902cdd5a2ef3de61a7864df8760cd78386004f602d439035437a9237870')
-
-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 install --optimize=1 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 install --optimize=1 --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 1138075, python-executing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-28 02:59:07 UTC (rev 1138076)
@@ -0,0 +1,43 @@
+# 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:



More information about the arch-commits mailing list