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

David Runge dvzrv at archlinux.org
Tue Apr 28 10:28:48 UTC 2020


    Date: Tuesday, April 28, 2020 @ 10:28:48
  Author: dvzrv
Revision: 621993

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-28 10:28:24 UTC (rev 621992)
+++ PKGBUILD	2020-04-28 10:28:48 UTC (rev 621993)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=importlib_resources
-pkgname=python-importlib_resources
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="Design and implementation for a planned importlib.resources"
-arch=('any')
-url="https://gitlab.com/python-devs/importlib_resources"
-license=('Apache')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('e482f109f387de79d66e69084fab70750ce472f7d665c3a617819ab604e376860c2832a0cab27867165b7ac60947db554ec686d73f182dcaa6935dc14ca3d935')
-
-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 621992, python-importlib_resources/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-28 10:28:48 UTC (rev 621993)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=importlib_resources
+pkgname=python-importlib_resources
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Design and implementation for a planned importlib.resources"
+arch=('any')
+url="https://gitlab.com/python-devs/importlib_resources"
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed')
+
+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}"
+}


More information about the arch-commits mailing list