[arch-commits] Commit in python-importlib_resources/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 11:02:45 UTC 2020
Date: Wednesday, November 11, 2020 @ 11:02:45
Author: foutrelis
Revision: 750730
archrelease: copy trunk to community-staging-any
Added:
python-importlib_resources/repos/community-staging-any/PKGBUILD
(from rev 750729, python-importlib_resources/trunk/PKGBUILD)
Deleted:
python-importlib_resources/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 11:02:43 UTC (rev 750729)
+++ PKGBUILD 2020-11-11 11:02:45 UTC (rev 750730)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=importlib_resources
-pkgname=python-importlib_resources
-pkgver=3.3.0
-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=('1fc03c9d141a094ca6ae0acb9ff0668a3f3aa76b47ce2149691b1d85d37a3ba9d329dbafd8b94961c537a4982cea1bd3ee34bac069819c51d725208f45b24172')
-b2sums=('5fb87c6e15f01733567fef060607da0625d32e415e294cfd5db94fb26e13d257763f2d3795c19ee7d10fc1fdc579fc0c34a484d28aff32c20553d18fafc7b850')
-
-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-staging-any/PKGBUILD (from rev 750729, python-importlib_resources/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 11:02:45 UTC (rev 750730)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=importlib_resources
+pkgname=python-importlib_resources
+pkgver=3.3.0
+pkgrel=3
+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=('1fc03c9d141a094ca6ae0acb9ff0668a3f3aa76b47ce2149691b1d85d37a3ba9d329dbafd8b94961c537a4982cea1bd3ee34bac069819c51d725208f45b24172')
+b2sums=('5fb87c6e15f01733567fef060607da0625d32e415e294cfd5db94fb26e13d257763f2d3795c19ee7d10fc1fdc579fc0c34a484d28aff32c20553d18fafc7b850')
+
+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