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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Aug 15 21:34:36 UTC 2022


    Date: Monday, August 15, 2022 @ 21:34:36
  Author: polyzen
Revision: 1266411

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-15 21:34:29 UTC (rev 1266410)
+++ PKGBUILD	2022-08-15 21:34:36 UTC (rev 1266411)
@@ -1,40 +0,0 @@
-# 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
-}

Copied: python-asttokens/repos/community-any/PKGBUILD (from rev 1266410, python-asttokens/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-15 21:34:36 UTC (rev 1266411)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=asttokens
+pkgname=python-asttokens
+pkgver=2.0.8
+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=('c61e16246ecfb2cde2958406b4c8ebc043c9e6d73aaa83c941673b35e5d3a76b')
+b2sums=('ca0d3086ef5c2bdf6cacb1edc2f8849c01fcfacb39e1f1b88e6c29dd65c15debe35ffa05cfce99fc914cf67909ddcf5340ccb70e7d7e194a8b4abd531b7f725b')
+
+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