[arch-commits] Commit in python-inflect/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Jul 10 16:52:32 UTC 2022
Date: Sunday, July 10, 2022 @ 16:52:32
Author: dvzrv
Revision: 1249323
archrelease: copy trunk to community-any
Added:
python-inflect/repos/community-any/PKGBUILD
(from rev 1249322, python-inflect/trunk/PKGBUILD)
Deleted:
python-inflect/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-10 16:52:24 UTC (rev 1249322)
+++ PKGBUILD 2022-07-10 16:52:32 UTC (rev 1249323)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=inflect
-pkgname=python-inflect
-pkgver=5.6.0
-pkgrel=1
-pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite articles"
-arch=(any)
-url="https://github.com/jazzband/inflect"
-license=(MIT)
-depends=(python)
-makedepends=(python-build python-installer python-setuptools-scm python-toml python-wheel)
-checkdepends=(python-pytest)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('c7cdd57d84b40c2479637eaf37089b2c5c16d738feb28c71f4fbd3fa4e08f0683c8e1a1e47904fb89afb90404ec8652e48941cbd2f1643dfdfebeaaf307e56ac')
-b2sums=('49ebba7149fb550a75818a18a47c6524a046855c330d924bbcad7751b09538902cd1f9075a77922defdda1b8d29dd4966569c7f8c1a2364518cef96799ed21cf')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- # install to temporary location, as importlib is used
- python -m installer --destdir=test_dir dist/*.whl
- export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
- pytest -vv -c /dev/null
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 {CHANGES,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-}
Copied: python-inflect/repos/community-any/PKGBUILD (from rev 1249322, python-inflect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-10 16:52:32 UTC (rev 1249323)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=inflect
+pkgname=python-inflect
+pkgver=5.6.1
+pkgrel=1
+pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite articles"
+arch=(any)
+url="https://github.com/jazzband/inflect"
+license=(MIT)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools-scm python-toml python-wheel)
+checkdepends=(python-pytest)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('d908786d82e56871344aee716a2b8dd8da51b0f47af363916b47bceb04468ce6f3c321f5f429e12b10f06c100b0a2ebc249b94110518f33ed0844694cf0f108f')
+b2sums=('c465a962abbdda852fd778d09e3966bdb06dd34f56ef624a3f7d63e277b6e178d891aa23709d6591fe31a07acb3c25a7640aabb790ddf4493df82ab735963f98')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ # install to temporary location, as importlib is used
+ python -m installer --destdir=test_dir dist/*.whl
+ export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+ pytest -vv -c /dev/null
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {CHANGES,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list