[arch-commits] Commit in python-executing/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Jul 26 18:05:34 UTC 2022
Date: Tuesday, July 26, 2022 @ 18:05:33
Author: polyzen
Revision: 1258811
archrelease: copy trunk to community-any
Added:
python-executing/repos/community-any/PKGBUILD
(from rev 1258810, python-executing/trunk/PKGBUILD)
Deleted:
python-executing/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-26 18:05:15 UTC (rev 1258810)
+++ PKGBUILD 2022-07-26 18:05:33 UTC (rev 1258811)
@@ -1,41 +0,0 @@
-# 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
-}
Copied: python-executing/repos/community-any/PKGBUILD (from rev 1258810, python-executing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-26 18:05:33 UTC (rev 1258811)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=executing
+pkgname=python-executing
+pkgver=0.9.1
+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=('ea278e2cf90cbbacd24f1080dd1f0ac25b71b2e21f50ab439b7ba45dd3195587')
+b2sums=('2fe01efab3d6ed268651c5b4b5765bb928d8af7c3674993e321306853cf66c6dbb25c77a167f6236578a0a628dbf4126834bffeb2370f529396759e81a1b51cc')
+
+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