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

David Runge dvzrv at gemini.archlinux.org
Tue Aug 30 08:52:31 UTC 2022


    Date: Tuesday, August 30, 2022 @ 08:52:30
  Author: dvzrv
Revision: 1288492

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 08:52:19 UTC (rev 1288491)
+++ PKGBUILD	2022-08-30 08:52:30 UTC (rev 1288492)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=atpublic
-pkgname=python-atpublic
-pkgver=3.0.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=('02c4af8aa02040bba2f09b852e17a0a90c0a6dce8fdabc8362a67c2f326b68369bf5f12f91291f9ff3395685530592561b132f09f9869867516592bd092e0e38')
-b2sums=('3912c23c5ee575d7bdec1b598f1f360c54296211600115a413d97c73751b5301b2f3d22152aa62d4d7ac6da9a6cf4202a2deba1de374407ede4358620ee97391')
-
-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 1288491, python-atpublic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 08:52:30 UTC (rev 1288492)
@@ -0,0 +1,37 @@
+# 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/"
+}



More information about the arch-commits mailing list