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

Daniel M. Capella polyzen at gemini.archlinux.org
Tue Aug 30 17:11:52 UTC 2022


    Date: Tuesday, August 30, 2022 @ 17:11:52
  Author: polyzen
Revision: 1288825

archrelease: copy trunk to community-any

Added:
  python-stack-data/repos/community-any/PKGBUILD
    (from rev 1288823, 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-08-30 17:11:46 UTC (rev 1288824)
+++ PKGBUILD	2022-08-30 17:11:52 UTC (rev 1288825)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=stack_data
-pkgname=python-stack-data
-pkgver=0.4.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=('a90ae7e260f7d15aefeceb46f0a028d4ccb9eb8856475c53e341945342d41ea7')
-b2sums=('1395ce2ba5ce12af2ab4e9c3d4b42c2b5c14fe09013469fb8c659899b0d9a78ce9d12b4a37223d651d4e8bafeb5c1d97437690084dc4592cf8c04fb7236f5b0d')
-
-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 1288823, python-stack-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 17:11:52 UTC (rev 1288825)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=stack_data
+pkgname=python-stack-data
+pkgver=0.5.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=('715c8855fbf5c43587b141e46cc9d9339cc0d1f8d6e0f98ed0d01c6cb974e29f')
+b2sums=('b9583717633902b4618981ceeb53eca7b817b7985fd5401cc79fe35b194e77fdb57e1c5c51adde0b4e604f6df5424d27056b2528c356a808a4b4c9e1dee1c56a')
+
+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
+}



More information about the arch-commits mailing list