Date: Saturday, August 13, 2022 @ 19:19:42 Author: polyzen Revision: 1265994
archrelease: copy trunk to community-any Added: python-executing/repos/community-any/PKGBUILD (from rev 1265993, python-executing/trunk/PKGBUILD) Deleted: python-executing/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-13 19:19:23 UTC (rev 1265993) +++ PKGBUILD 2022-08-13 19:19:42 UTC (rev 1265994) @@ -1,41 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@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 -} Copied: python-executing/repos/community-any/PKGBUILD (from rev 1265993, python-executing/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-13 19:19:42 UTC (rev 1265994) @@ -0,0 +1,41 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +_name=executing +pkgname=python-executing +pkgver=0.10.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=('d1cd87c2e371e9966261410c5b3769d6df2f9e4a79a83eebd2662dd3388f9833') +b2sums=('99842e3d096fe5d89ff517d13491c7f9be1646e4c7f4d3bb7994fade59d498b0a62efaac44546d0ba27e36b293bf2e2bbba019b0229d8857b6867c1cffa541ec') + +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 +}