Date: Monday, September 5, 2022 @ 18:23:06 Author: alerque Revision: 1293076
archrelease: copy trunk to community-any Added: python-astroid/repos/community-any/PKGBUILD (from rev 1293075, python-astroid/trunk/PKGBUILD) Deleted: python-astroid/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-05 18:22:57 UTC (rev 1293075) +++ PKGBUILD 2022-09-05 18:23:06 UTC (rev 1293076) @@ -1,46 +0,0 @@ -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Angel Velasquez <an...@archlinux.org> -# Contributor: Felix Yan <felixonm...@archlinux.org> - -_pyname=astroid -pkgname=python-$_pyname -pkgver=2.12.5 -pkgrel=1 -pkgdesc='A common base representation of python source code' -arch=(any) -url="https://github.com/PyCQA/$_pyname" -license=(LGPL) -_pydeps=(lazy-object-proxy - typing-extensions - wrapt) -depends=(python - "${_pydeps[@]/#/python-}") -makedepends=(python-{build,installer,wheel} - python-setuptools) -checkdepends=(python-pytest) -replaces=(python-logilab-astng) -conflicts=(python-logilab-astng) -_archive="$_pyname-$pkgver" -source=("$url/archive/v$pkgver/$_archive.tar.gz") -sha256sums=('3f2eb8f6ef55734c15e6a0caf705e96734ec7559a22dc6a7995bf8fff3b47c65') - -prepare() { - cd "$_archive" - sed -i -e '/^requires =/s/~=[0-9.]\+//g' pyproject.toml -} - -build() { - cd "$_archive" - python -m build -wn -} - -check() { - cd "$_archive" - pytest -} - -package() { - cd "$_archive" - python -m installer -d "$pkgdir" dist/*.whl -} Copied: python-astroid/repos/community-any/PKGBUILD (from rev 1293075, python-astroid/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-05 18:23:06 UTC (rev 1293076) @@ -0,0 +1,46 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Felix Yan <felixonm...@archlinux.org> + +_pyname=astroid +pkgname=python-$_pyname +pkgver=2.12.6 +pkgrel=1 +pkgdesc='A common base representation of python source code' +arch=(any) +url="https://github.com/PyCQA/$_pyname" +license=(LGPL) +_pydeps=(lazy-object-proxy + typing-extensions + wrapt) +depends=(python + "${_pydeps[@]/#/python-}") +makedepends=(python-{build,installer,wheel} + python-setuptools) +checkdepends=(python-pytest) +replaces=(python-logilab-astng) +conflicts=(python-logilab-astng) +_archive="$_pyname-$pkgver" +source=("$url/archive/v$pkgver/$_archive.tar.gz") +sha256sums=('92cb490b92eb6ed60b598a8431c1bb5a1e5260c207fcc026720dd5c6a5004011') + +prepare() { + cd "$_archive" + sed -i -e '/^requires =/s/~=[0-9.]\+//g' pyproject.toml +} + +build() { + cd "$_archive" + python -m build -wn +} + +check() { + cd "$_archive" + pytest +} + +package() { + cd "$_archive" + python -m installer -d "$pkgdir" dist/*.whl +}