[arch-commits] Commit in python-importlib_resources/repos/community-any (2 files)
David Runge
dvzrv at archlinux.org
Wed Jul 1 07:20:17 UTC 2020
Date: Wednesday, July 1, 2020 @ 07:20:17
Author: dvzrv
Revision: 657254
archrelease: copy trunk to community-any
Added:
python-importlib_resources/repos/community-any/PKGBUILD
(from rev 657253, 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-07-01 07:20:12 UTC (rev 657253)
+++ PKGBUILD 2020-07-01 07:20:17 UTC (rev 657254)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=importlib_resources
-pkgname=python-importlib_resources
-pkgver=2.0.1
-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=('7f62c5bb5650dd2689a41ddef2e9131f01d5edc99b284a7a4257fce18190f2e78c38a2c260d6fe5e6db122666435e079c417bd9011e68e35724932854c90a1bd')
-
-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 657253, python-importlib_resources/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-01 07:20:17 UTC (rev 657254)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=importlib_resources
+pkgname=python-importlib_resources
+pkgver=3.0.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=('cd29e268cacef3729024af6cae8394ce5aa8c1d8a28397fd8f009c7eaa908ed3775508bde86c26b0d233c25261b8509abb1e16c378c7c8a9bb0906224f3fdd54')
+
+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