[arch-commits] Commit in python-asttokens/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sat Aug 13 19:49:52 UTC 2022
Date: Saturday, August 13, 2022 @ 19:49:52
Author: polyzen
Revision: 1266001
archrelease: copy trunk to community-any
Added:
python-asttokens/repos/community-any/PKGBUILD
(from rev 1266000, python-asttokens/trunk/PKGBUILD)
Deleted:
python-asttokens/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 40 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-13 19:49:29 UTC (rev 1266000)
+++ PKGBUILD 2022-08-13 19:49:52 UTC (rev 1266001)
@@ -1,42 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=asttokens
-pkgname=python-asttokens
-pkgver=2.0.5
-pkgrel=2
-pkgdesc='Get the currently executing AST node of a frame, and other information'
-arch=('any')
-url=https://github.com/alexmojaki/executing
-license=('Apache')
-depends=('python-six')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
- 'python-wheel')
-checkdepends=('python-astroid' 'python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('9a54c114f02c7a9480d56550932546a3f1fe71d8a02f1bc7ccd0ee3ee35cf4d5')
-b2sums=('44fd821230dbec4b2e4182872bd3509becb4669c6c1d3a143a33a86cd2b8d7fd94e8cee77390834475d9290ac3723735a7d6ba3b3695758a89c46a106a56501a')
-
-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 -m pytest
-}
-
-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-asttokens/repos/community-any/PKGBUILD (from rev 1266000, python-asttokens/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-13 19:49:52 UTC (rev 1266001)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=asttokens
+pkgname=python-asttokens
+pkgver=2.0.7
+pkgrel=1
+pkgdesc='Get the currently executing AST node of a frame, and other information'
+arch=('any')
+url=https://github.com/gristlabs/asttokens
+license=('Apache')
+depends=('python-six')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
+ 'python-wheel')
+#checkdepends=('python-astroid' 'python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('8444353e4e2a99661c8dfb85ec9c02eedded08f0006234bff7db44a06840acc2')
+b2sums=('845445b83db124025b1d6908a455faea440111e33e45b376ad5038598a5f285d55104ce9334cf53084c09c3d6a0eff06650df1a16ea14df696779f72beca2eac')
+
+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 -m pytest
+#}
+
+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
+}
More information about the arch-commits
mailing list