Date: Thursday, August 20, 2020 @ 15:16:16 Author: eschwartz Revision: 685531
archrelease: copy trunk to community-any Added: python-dephell-argparse/repos/community-any/PKGBUILD (from rev 685530, python-dephell-argparse/trunk/PKGBUILD) Deleted: python-dephell-argparse/repos/community-any/PKGBUILD ----------+ PKGBUILD | 73 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-20 15:16:02 UTC (rev 685530) +++ PKGBUILD 2020-08-20 15:16:16 UTC (rev 685531) @@ -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-argparse/repos/community-any/PKGBUILD (from rev 685530, python-dephell-argparse/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-20 15:16:16 UTC (rev 685531) @@ -0,0 +1,36 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Maintainer: Jelle van der Waa <je...@archlinux.org> + +_pkgname=dephell_argparse +pkgname=python-dephell-argparse +pkgver=0.1.3 +pkgrel=1 +pkgdesc='Argparse with groups, commands, colors, and fuzzy matching' +arch=('any') +url="https://github.com/dephell/${_pkgname}" +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha512sums=('76aa2ec3f15ef2235023b6863a4faf7d53cf8d20794ea6882af4d95cd4799b9f78e7c8f75b6885b9b61a7edfff6aae982684dcd142c7241e922eefdf5757618c') +b2sums=('9c0f365ea9200b1ceba8111b86f5f35cc9791819267bd661551ba646e1c2135a4718adb77303e3c5bdd9cdfbff08cae2fe0d1c43355187f97e97c08779c2f1f8') + +build() { + cd "${srcdir}"/${_pkgname}-${pkgver} + + python setup.py build +} + +check() { + cd "${srcdir}"/${_pkgname}-${pkgver} + + python -m pytest +} + +package() { + cd "${srcdir}"/${_pkgname}-${pkgver} + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}