Date: Friday, December 27, 2019 @ 16:48:07 Author: jelle Revision: 543152
archrelease: copy trunk to community-any Added: python-dephell_argarse/repos/community-any/PKGBUILD (from rev 543151, python-dephell_argarse/trunk/PKGBUILD) Deleted: python-dephell_argarse/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-27 16:41:20 UTC (rev 543151) +++ PKGBUILD 2019-12-27 16:48:07 UTC (rev 543152) @@ -1,37 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> - -_pkgname=dephell_argparse -pkgname=python-dephell_argparse -pkgver=0.1.2 -pkgrel=1 -pkgdesc='Argparse with groups, commands, colors, and fuzzy matching' -arch=(any) -license=('MIT') -url='https://github.com/dephell/dephell_argparse' -depends=(python) -makedepends=(python-dephell) -checkdepends=(python-pytest) -source=($pkgname-$pkgver.tar.gz::https://github.com/dephell/dephell_argparse/archive/v.$pkgver.tar.gz) -sha512sums=('8750cfcc484956a16209b1fc539a031a43fb308fa06a90442b54f486fee69ef09da0f5262072260a9b8de2654d45c14aa971a1aaa59093759bf06dd9b65f65a4') - -prepare() { - cd ${_pkgname}-v.${pkgver} - dephell deps convert --from pyproject.toml --to setup.py -} - -build() { - cd ${_pkgname}-v.${pkgver} - python3 setup.py build -} - -check() { - cd ${_pkgname}-v.${pkgver} - python -m pytest tests -} - -package() { - cd ${_pkgname}-v.${pkgver} - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-dephell_argarse/repos/community-any/PKGBUILD (from rev 543151, python-dephell_argarse/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-27 16:48:07 UTC (rev 543152) @@ -0,0 +1,37 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> + +_pkgname=dephell_argparse +pkgname=python-dephell_argparse +pkgver=0.1.2 +pkgrel=1 +pkgdesc='Argparse with groups, commands, colors, and fuzzy matching' +arch=(any) +license=('MIT') +url='https://github.com/dephell/dephell_argparse' +depends=(python) +makedepends=(python-dephell) +checkdepends=(python-pytest) +source=($pkgname-$pkgver.tar.gz::https://github.com/dephell/dephell_argparse/archive/v.$pkgver.tar.gz) +sha512sums=('8750cfcc484956a16209b1fc539a031a43fb308fa06a90442b54f486fee69ef09da0f5262072260a9b8de2654d45c14aa971a1aaa59093759bf06dd9b65f65a4') + +prepare() { + cd ${_pkgname}-v.${pkgver} + dephell deps convert --from pyproject.toml --to setup.py +} + +build() { + cd ${_pkgname}-v.${pkgver} + python3 setup.py build +} + +check() { + cd ${_pkgname}-v.${pkgver} + python -m pytest tests +} + +package() { + cd ${_pkgname}-v.${pkgver} + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}