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

David Runge dvzrv at gemini.archlinux.org
Sun Sep 4 18:03:59 UTC 2022


    Date: Sunday, September 4, 2022 @ 18:03:58
  Author: dvzrv
Revision: 1292864

archrelease: copy trunk to community-any

Added:
  python-atpublic/repos/community-any/PKGBUILD
    (from rev 1292863, python-atpublic/trunk/PKGBUILD)
Deleted:
  python-atpublic/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-04 18:03:43 UTC (rev 1292863)
+++ PKGBUILD	2022-09-04 18:03:58 UTC (rev 1292864)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=atpublic
-pkgname=python-atpublic
-pkgver=3.1
-pkgrel=1
-pkgdesc="@public decorator for Python"
-arch=(any)
-url="https://gitlab.com/warsaw/public"
-license=(Apache)
-depends=(python)
-makedepends=(python-build python-installer python-pdm-pep517)
-checkdepends=(python-pytest python-sybil)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('93778e4ab7e109b2692a385bab180bfb709a01f0bbab5c24308635408d4bc6ea37144375b31f81a36288ec7993971e40b67cfd0f545f72b011b86ceb6d108ffe')
-b2sums=('f163eff6e955412586517617fb28cd090fb37fdce013973ccbc539b1ae4c4a3c8511f08b026678a9e0310c8d245cb52c932422de65c2a70293d070387a413cac')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-
-  cd $_name-$pkgver
-  # install to temporary location, as importlib is used
-  python -m installer --destdir=test_dir dist/*.whl
-  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
-  pytest -vv -c /dev/null
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
-}

Copied: python-atpublic/repos/community-any/PKGBUILD (from rev 1292863, python-atpublic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-04 18:03:58 UTC (rev 1292864)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=atpublic
+pkgname=python-atpublic
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="@public decorator for Python"
+arch=(any)
+url="https://gitlab.com/warsaw/public"
+license=(Apache)
+depends=(python)
+makedepends=(python-build python-installer python-pdm-pep517)
+checkdepends=(python-pytest python-sybil)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('b34dbb236717b2017de95aa79226f0138e77814a4041e26e98f50db8f8521d81b60f9998aed719e1e1f2ee29a7c590170725e12a54260900ce9819ea3a623dac')
+b2sums=('a83bfed40b5073c9aba92e367b9627a86eecb297332631222f86f0cea0f10d6fde8ffd5cbef1e3bd1f9005c1cae614268867e652e33d1bee4556e2084fb8952c')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  # install to temporary location, as importlib is used
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  pytest -vv -c /dev/null
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+}



More information about the arch-commits mailing list