Date: Tuesday, September 6, 2022 @ 10:54:08 Author: alerque Revision: 1294410
archrelease: copy trunk to community-any Added: python-astroid/repos/community-any/PKGBUILD (from rev 1294409, 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-06 10:54:00 UTC (rev 1294409) +++ PKGBUILD 2022-09-06 10:54:08 UTC (rev 1294410) @@ -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.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 -} Copied: python-astroid/repos/community-any/PKGBUILD (from rev 1294409, python-astroid/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-06 10:54:08 UTC (rev 1294410) @@ -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.7 +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=('6d13f1bee1c20df4e46920b642f77ad2af5a157842f6db923a4c0fe2f93981d0') + +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 +}