Date: Monday, July 11, 2022 @ 11:14:21 Author: eworm Revision: 1249559
archrelease: copy trunk to community-any Added: python-prompt_toolkit/repos/community-any/PKGBUILD (from rev 1249558, python-prompt_toolkit/trunk/PKGBUILD) Deleted: python-prompt_toolkit/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-11 11:14:19 UTC (rev 1249558) +++ PKGBUILD 2022-07-11 11:14:21 UTC (rev 1249559) @@ -1,35 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Andy Weidenbaum <archb...@gmail.com> - -pkgname=python-prompt_toolkit -_name=prompt_toolkit -pkgver=3.0.30 -pkgrel=1 -pkgdesc="Library for building powerful interactive command lines in Python" -arch=('any') -depends=('python-pygments' - 'python-wcwidth') -makedepends=('python-setuptools') -checkdepends=('python-pytest') -url="https://github.com/jonathanslenders/python-prompt-toolkit" -license=('BSD') -options=(!emptydirs) -source=("https://files.pythonhosted.org/packages/source/p/$_name/$_name-$pkgver.tar.gz") -sha256sums=('859b283c50bde45f5f97829f77a4674d1c1fcd88539364f1b28a37805cfd89c0') - -build() { - cd "$_name-$pkgver" - python setup.py build -} - -check() { - cd "$_name-$pkgver" - PYTHONPATH=src PYTHONDONTWRITEBYTECODE=1 python -m pytest -} - -package() { - cd "$_name-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-prompt_toolkit/repos/community-any/PKGBUILD (from rev 1249558, python-prompt_toolkit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-11 11:14:21 UTC (rev 1249559) @@ -0,0 +1,35 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Andy Weidenbaum <archb...@gmail.com> + +pkgname=python-prompt_toolkit +_name=prompt_toolkit +pkgver=3.0.30 +pkgrel=2 +pkgdesc="Library for building powerful interactive command lines in Python" +arch=('any') +depends=('python-pygments' + 'python-wcwidth') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +url="https://github.com/jonathanslenders/python-prompt-toolkit" +license=('BSD') +options=(!emptydirs) +source=("https://files.pythonhosted.org/packages/source/p/$_name/$_name-$pkgver.tar.gz") +sha256sums=('859b283c50bde45f5f97829f77a4674d1c1fcd88539364f1b28a37805cfd89c0') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +check() { + cd "$_name-$pkgver" + PYTHONPATH=src PYTHONDONTWRITEBYTECODE=1 python -m pytest +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}