Date: Wednesday, April 5, 2023 @ 16:50:58
  Author: felixonmars
Revision: 1437781

archrelease: copy trunk to community-staging-any

Added:
  python-jaraco.text/repos/community-staging-any/
  python-jaraco.text/repos/community-staging-any/PKGBUILD
    (from rev 1437780, python-jaraco.text/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-jaraco.text/repos/community-staging-any/PKGBUILD (from rev 
1437780, python-jaraco.text/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 16:50:58 UTC (rev 1437781)
@@ -0,0 +1,36 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+pkgname=python-jaraco.text
+# https://github.com/jaraco/jaraco.text/blob/main/CHANGES.rst
+pkgver=3.11.1
+pkgrel=2
+pkgdesc='Module for text manipulation'
+arch=('any')
+url='https://github.com/jaraco/jaraco.text'
+license=('MIT')
+depends=('python' 'python-jaraco.functools' 'python-jaraco.context' 
'python-autocommand' 'python-inflect' 'python-more-itertools')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
+checkdepends=('python-pytest')
+conflicts=('python-jaraco')
+replaces=('python-jaraco')
+source=("https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-$pkgver.tar.gz";)
+sha512sums=('b4066589e9d4c9a2a82ae2b0825d34b22b93ee179d29c3666e9b978390121520afcb8fc5ffa6457022d2e8477f4cf2b76485d9896438ee46275326577609f201')
+
+build() {
+  cd "$srcdir/jaraco.text-$pkgver"
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$srcdir/jaraco.text-$pkgver"
+  PYTHONPATH="$PWD" pytest
+}
+
+package() {
+  cd "$srcdir/jaraco.text-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to