[arch-commits] Commit in python-asttokens/repos/community-any (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2022-08-15 21:34:29 UTC (rev 1266410) +++ PKGBUILD2022-08-15 21:34:36 UTC (rev 1266411) @@ -1,40 +0,0 @@ -# Maintainer: Daniel M. Capella - -_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) +++ PKGBUILD2022-08-15 21:34:36 UTC (rev 1266411) @@ -0,0 +1,40 @@ +# Maintainer: Daniel M. Capella + +_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 +}
[arch-commits] Commit in python-asttokens/repos/community-any (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2022-08-13 19:49:29 UTC (rev 1266000) +++ PKGBUILD2022-08-13 19:49:52 UTC (rev 1266001) @@ -1,42 +0,0 @@ -# Maintainer: Daniel M. Capella - -_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) +++ PKGBUILD2022-08-13 19:49:52 UTC (rev 1266001) @@ -0,0 +1,40 @@ +# Maintainer: Daniel M. Capella + +_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 +}