Date: Saturday, October 29, 2022 @ 16:21:33
Author: polyzen
Revision: 1339190
archrelease: copy trunk to community-any
Added:
python-stack-data/repos/community-any/PKGBUILD
(from rev 1339189, python-stack-data/trunk/PKGBUILD)
Deleted:
python-stack-data/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-29 16:21:16 UTC (rev 1339189)
+++ PKGBUILD 2022-10-29 16:21:33 UTC (rev 1339190)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-_name=stack_data
-pkgname=python-stack-data
-pkgver=0.5.1
-pkgrel=1
-pkgdesc='Extract data from python stack frames and tracebacks for informative
displays'
-arch=('any')
-url=https://github.com/alexmojaki/stack_data
-license=('MIT')
-depends=('python-asttokens' 'python-executing' 'python-pure-eval')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
- 'python-wheel')
-checkdepends=('cython' 'python-littleutils' 'python-pygments' 'python-pytest'
- 'python-typeguard')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('95eb784942e861a3d80efd549ff9af6cf847d88343a12eb681d7157cfcb6e32b')
-b2sums=('eeebca4d2d8e3c8795e05d4a058c4a7421a2669e28b476400d541c79d5d7ebb66dde16cd39e2586eafa2f653341c041351c2684440d879ed71b2adf83ea1b4d9')
-
-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.txt \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: python-stack-data/repos/community-any/PKGBUILD (from rev 1339189,
python-stack-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-29 16:21:33 UTC (rev 1339190)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+_name=stack_data
+pkgname=python-stack-data
+pkgver=0.6.0
+pkgrel=1
+pkgdesc='Extract data from python stack frames and tracebacks for informative
displays'
+arch=('any')
+url=https://github.com/alexmojaki/stack_data
+license=('MIT')
+depends=('python-asttokens' 'python-executing' 'python-pure-eval')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
+ 'python-wheel')
+checkdepends=('cython' 'python-littleutils' 'python-pygments' 'python-pytest'
+ 'python-typeguard')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('8e515439f818efaa251036af72d89e4026e2b03993f3453c000b200fb4f2d6aa')
+b2sums=('5485fbf5b332a52567d8f42dddb4ea5c01bdcab8c6f3a2ce451ac06ea165bb55fa730b0ad546b6ee04f0791c044ac240e8b840fa74644f2e90916e8b806ce31d')
+
+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.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}