Date: Monday, April 17, 2023 @ 14:13:56
  Author: dvzrv
Revision: 1446888

archrelease: copy trunk to community-staging-any

Added:
  python-inflect/repos/community-staging-any/PKGBUILD
    (from rev 1446887, python-inflect/trunk/PKGBUILD)
Deleted:
  python-inflect/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 47 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-17 14:13:45 UTC (rev 1446887)
+++ PKGBUILD    2023-04-17 14:13:56 UTC (rev 1446888)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=inflect
-pkgname=python-inflect
-pkgver=6.0.2
-pkgrel=4
-pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite 
articles"
-arch=(any)
-url="https://github.com/jazzband/inflect";
-license=(MIT)
-depends=(python python-pydantic)
-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=('ddb0439eeffbd21b3293208eb7e89f97fe556a3ba1e88de7e15d1c6bc5a59cdb25a224d7cfec5a010dd384728b15317c1dc752e3a8d4d95dd6eea8224a4f2877')
-b2sums=('8faa09c53f836429b6e1a2965da3c4315260e1cb3ae7dc40fe226d7f4595e9bd54498167c044f67fed5f79e2997af5425cc13680b9c2b722ffd702095f60b038')
-
-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-staging-any/PKGBUILD (from rev 1446887, 
python-inflect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-17 14:13:56 UTC (rev 1446888)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=inflect
+pkgname=python-inflect
+pkgver=6.0.4
+pkgrel=2
+pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite 
articles"
+arch=(any)
+url="https://github.com/jazzband/inflect";
+license=(MIT)
+depends=(
+  python
+  python-pydantic
+)
+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=('96aaa74b3e8c5dcc91d81af336af73535826f3cedaa556d6baf540ca54db1a7c1f17a372c240446c0d81697520eab154bad4f0aad6195c6ab8e131ae443d3811')
+b2sums=('24ec6f25462594fde4558f7a4269c68d31989ead54c982f3a4382b5f0c192fd5fcac7544413fecef0abaf7c3fe2f9b4a8049fc7dc7d324e4397fb6a81763ef8e')
+
+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
+}
+
+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/"
+}

Reply via email to