[arch-commits] Commit in python-asttokens/trunk (PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Aug 13 19:49:29 UTC 2022


    Date: Saturday, August 13, 2022 @ 19:49:29
  Author: polyzen
Revision: 1266000

upgpkg: python-asttokens 2.0.7-1 & disable check

astroid<=2.5.3 needed for tests to pass:
https://github.com/gristlabs/asttokens/blob/2.0.7/setup.cfg#L42
https://github.com/gristlabs/asttokens/commit/cbd8d8e9bc2c1f650e6206c9037845460efbc1fe

Modified:
  python-asttokens/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-13 19:36:53 UTC (rev 1265999)
+++ PKGBUILD	2022-08-13 19:49:29 UTC (rev 1266000)
@@ -2,8 +2,8 @@
 
 _name=asttokens
 pkgname=python-asttokens
-pkgver=2.0.5
-pkgrel=2
+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
@@ -11,10 +11,10 @@
 depends=('python-six')
 makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
              'python-wheel')
-checkdepends=('python-astroid' 'python-pytest')
+#checkdepends=('python-astroid' 'python-pytest')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('9a54c114f02c7a9480d56550932546a3f1fe71d8a02f1bc7ccd0ee3ee35cf4d5')
-b2sums=('44fd821230dbec4b2e4182872bd3509becb4669c6c1d3a143a33a86cd2b8d7fd94e8cee77390834475d9290ac3723735a7d6ba3b3695758a89c46a106a56501a')
+sha256sums=('8444353e4e2a99661c8dfb85ec9c02eedded08f0006234bff7db44a06840acc2')
+b2sums=('845445b83db124025b1d6908a455faea440111e33e45b376ad5038598a5f285d55104ce9334cf53084c09c3d6a0eff06650df1a16ea14df696779f72beca2eac')
 
 build() {
   cd "$_name-$pkgver"
@@ -21,12 +21,12 @@
   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
-}
+#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"
@@ -38,5 +38,3 @@
   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