[arch-commits] Commit in python-importlib_resources/repos/community-any (2 files)

David Runge dvzrv at gemini.archlinux.org
Tue Oct 19 10:23:45 UTC 2021


    Date: Tuesday, October 19, 2021 @ 10:23:45
  Author: dvzrv
Revision: 1030954

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-19 10:23:37 UTC (rev 1030953)
+++ PKGBUILD	2021-10-19 10:23:45 UTC (rev 1030954)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=importlib_resources
-pkgname=python-importlib_resources
-pkgver=5.2.2
-pkgrel=1
-pkgdesc="Design and implementation for a planned importlib.resources"
-arch=('any')
-url="https://github.com/python/importlib_resources"
-license=('Apache')
-depends=('python-zipp')
-makedepends=('python-setuptools-scm' 'python-toml')
-checkdepends=('python-pytest' 'python-tests')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('7af9aceece4dd25ad827310fde100a4b0b5e0aee03dfeba8789db060e4decafc543784046c2e9eee95d8cab61845c50e4bb0543bb20ae7e1e480aaa80c88fa27')
-b2sums=('dde545a3f104c799432d7a2b6dbea6f071b82d0b6e3660384e2e0ab3c36eee8942b9f248a6139c708020c617bf0e0dce7fbbd5e06cb0bd192a0296fac6350b51')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-importlib_resources/repos/community-any/PKGBUILD (from rev 1030953, python-importlib_resources/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-19 10:23:45 UTC (rev 1030954)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=importlib_resources
+pkgname=python-importlib_resources
+pkgver=5.3.0
+pkgrel=1
+pkgdesc="Design and implementation for a planned importlib.resources"
+arch=('any')
+url="https://github.com/python/importlib_resources"
+license=('Apache')
+depends=('python-zipp')
+makedepends=('python-setuptools-scm' 'python-toml')
+checkdepends=('python-pytest' 'python-tests')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('ad5a0d5b72e8e49a158254d7146411a86bacda3d9019867bad92e8209dd924ae0928dfe46b574967975622d0809d4e1693dab4b6bf8d78867b09cac8c424072c')
+b2sums=('876d9bdc1360eecc973f53d6d3397db5708dda1b0f30e5a10d372535f0831cc0fcdcc0b361412df8a1f4453f27315e6547096e14ec7bdbcd1d1af41778d5dd39')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list