Date: Friday, December 30, 2022 @ 10:52:58
Author: dvzrv
Revision: 1372396
archrelease: copy trunk to community-any
Added:
python-importlib_resources/repos/community-any/PKGBUILD
(from rev 1372395, python-importlib_resources/trunk/PKGBUILD)
Deleted:
python-importlib_resources/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-30 10:52:43 UTC (rev 1372395)
+++ PKGBUILD 2022-12-30 10:52:58 UTC (rev 1372396)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=importlib_resources
-pkgname=python-importlib_resources
-pkgver=5.10.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-zipp)
-makedepends=(python-build python-installer python-setuptools-scm python-toml
python-wheel)
-checkdepends=(python-pytest python-tests)
-provides=(python-importlib-resources)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('29d402121117a4eaf2746b78bcf4b1cf386f315902380de59c105cc5d03ab7e00f6f86ac17339a50de199abb59c14ab1ca078e1518e1f0de0592c4cc744cf5d7')
-b2sums=('0d9066e95f603fe32c6726a21359d0fcbc47d0b7880193b2cd7426c88d9313efacf1d43c3ce6a5482795b6ccf6f441ebfcde9d95f125158c6b9b797b072d7ce6')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- pytest -v
-}
-
-package() {
- local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
- # remove tests
- rm -frv "$pkgdir/$_site_packages/$_name/tests/"
-}
Copied: python-importlib_resources/repos/community-any/PKGBUILD (from rev
1372395, python-importlib_resources/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-30 10:52:58 UTC (rev 1372396)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=importlib_resources
+pkgname=python-importlib_resources
+pkgver=5.10.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-build python-installer python-setuptools-scm python-toml
python-wheel)
+checkdepends=(python-pytest python-tests)
+provides=(python-importlib-resources)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('c4906719ac0e16a9e2d0c65bb0ff2e9344c3ddedb59d36f7455fa417bdd590967afd53006a3d1237ed9a9cc24d7601619b222de2fcabc66225cf47e43ad8757b')
+b2sums=('41395d35a2413db141cee7b83e1ab7f7a492deea644c58aab1abdc6e4f6ca39b329bc9e902089b1b16a90e3654313e7a7b1e36e7487d2e9c6e2785b029df128f')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest -v
+}
+
+package() {
+ local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+ # remove tests
+ rm -frv "$pkgdir/$_site_packages/$_name/tests/"
+}