Date: Saturday, July 16, 2022 @ 05:21:43 Author: yan12125 Revision: 1253792
archrelease: copy trunk to community-testing-any Added: python-jaraco.text/repos/community-testing-any/ python-jaraco.text/repos/community-testing-any/PKGBUILD (from rev 1253791, python-jaraco.text/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python-jaraco.text/repos/community-testing-any/PKGBUILD (from rev 1253791, python-jaraco.text/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2022-07-16 05:21:43 UTC (rev 1253792) @@ -0,0 +1,29 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> +# Contributor: Kyle Keen <keen...@gmail.com> + +pkgname=python-jaraco.text +pkgver=3.8.1 +pkgrel=1 +pkgdesc='Module for text manipulation' +arch=('any') +url='https://github.com/jaraco/jaraco.text' +license=('MIT') +depends=('python-jaraco.functools' 'python-jaraco.context') +makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') +conflicts=('python-jaraco') +replaces=('python-jaraco') +source=("https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-$pkgver.tar.gz") +sha512sums=('2dfdd2b3bfef7c0a38a633b810a63a4337ce79b0c871f08beb369bea04585ef1b9e53afa7cef0b54c172ca25eed068af92215526d2f5cee232ccf7e72c914cfa') + +build() { + cd "$srcdir/jaraco.text-$pkgver" + python -m build --wheel --no-isolation +} + +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: