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

Daniel M. Capella polyzen at gemini.archlinux.org
Wed Jun 15 17:11:10 UTC 2022


    Date: Wednesday, June 15, 2022 @ 17:11:09
  Author: polyzen
Revision: 1238039

archrelease: copy trunk to community-any

Added:
  python-stack-data/repos/community-any/PKGBUILD
    (from rev 1238038, python-stack-data/trunk/PKGBUILD)
Deleted:
  python-stack-data/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-15 17:10:44 UTC (rev 1238038)
+++ PKGBUILD	2022-06-15 17:11:09 UTC (rev 1238039)
@@ -1,43 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=stack_data
-pkgname=python-stack-data
-pkgver=0.2.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-install' '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=('45692d41bd633a9503a5195552df22b583caf16f0b27c4e58c98d88c8b648e12')
-b2sums=('af79e5c46d03967a8ea6a992a0672a5bd3676a8b088be412782b8c6be6f58a14de1c6e6ff0cd4ae764a65c539a83aa4d7491bb7fe81761452d430d30f70d20fb')
-
-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-stack-data/repos/community-any/PKGBUILD (from rev 1238038, python-stack-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-15 17:11:09 UTC (rev 1238039)
@@ -0,0 +1,43 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=stack_data
+pkgname=python-stack-data
+pkgver=0.3.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=('77bec1402dcd0987e9022326473fdbcc767304892a533ed8c29888dacb7dddbc')
+b2sums=('9202ddb2e6e8c8c9e050e085cfe6e1bdbf26124eb85c19516558336d46876aba5ede1b6a87cf17e09c2b44629063a8f5e1f558fdaf64db2db029978a5860cd99')
+
+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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list