Date: Thursday, January 7, 2021 @ 12:38:35
  Author: dvzrv
Revision: 811595

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-01-07 12:38:29 UTC (rev 811594)
+++ PKGBUILD    2021-01-07 12:38:35 UTC (rev 811595)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dv...@archlinux.org>
-
-_name=importlib_resources
-pkgname=python-importlib_resources
-pkgver=4.1.1
-pkgrel=1
-pkgdesc="Design and implementation for a planned importlib.resources"
-arch=('any')
-url="https://github.com/python/importlib_resources";
-license=('Apache')
-depends=('python')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest' 'python-tests')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha512sums=('e277d375f800e8d1be317f90344c10b2848a0f7e0b3b6f28014b71d4b92b496137aa84b8ad865a3b93c983d20d827f18c6baf0d6c540882622b0903bebaae303')
-b2sums=('440adde5ce8604c3dddc6c59f730890b4832076f3f7d5c1f9b46ed4d4fe1d80d714a2f393ae1a1b386ef20812090c7370858ca9d3920bc115a6cedb0d2000c8f')
-
-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 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-importlib_resources/repos/community-any/PKGBUILD (from rev 
811594, python-importlib_resources/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-01-07 12:38:35 UTC (rev 811595)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+
+_name=importlib_resources
+pkgname=python-importlib_resources
+pkgver=4.1.1
+pkgrel=2
+pkgdesc="Design and implementation for a planned importlib.resources"
+arch=('any')
+url="https://github.com/python/importlib_resources";
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-tests')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha512sums=('e277d375f800e8d1be317f90344c10b2848a0f7e0b3b6f28014b71d4b92b496137aa84b8ad865a3b93c983d20d827f18c6baf0d6c540882622b0903bebaae303')
+b2sums=('440adde5ce8604c3dddc6c59f730890b4832076f3f7d5c1f9b46ed4d4fe1d80d714a2f393ae1a1b386ef20812090c7370858ca9d3920bc115a6cedb0d2000c8f')
+
+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}"
+}

Reply via email to