Date: Saturday, July 16, 2022 @ 05:20:05 Author: yan12125 Revision: 1253790
archrelease: copy trunk to community-testing-any Added: python-jaraco.functools/repos/community-testing-any/ python-jaraco.functools/repos/community-testing-any/PKGBUILD (from rev 1253789, python-jaraco.functools/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python-jaraco.functools/repos/community-testing-any/PKGBUILD (from rev 1253789, python-jaraco.functools/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2022-07-16 05:20:05 UTC (rev 1253790) @@ -0,0 +1,29 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> +# Contributor: Kyle Keen <keen...@gmail.com> + +pkgname=python-jaraco.functools +pkgver=3.5.1 +pkgrel=1 +pkgdesc='Functools like those found in stdlib' +arch=('any') +url='https://github.com/jaraco/jaraco.functools' +license=('MIT') +depends=('python-more-itertools') +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.functools/jaraco.functools-$pkgver.tar.gz") +sha512sums=('4496c80eae72834e5bc214f40de91a6aa603ce296b3866e0b363014c2919843f515efe9b314f18667e6b09d183a0985760e47f3340aed42dfbdba01884896df5') + +build() { + cd "$srcdir/jaraco.functools-$pkgver" + python -m build --wheel --no-isolation +} + +package() { + cd "$srcdir/jaraco.functools-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: