Date: Monday, May 31, 2021 @ 21:41:31 Author: felixonmars Revision: 416913
archrelease: copy trunk to extra-any Added: python-astroid/repos/extra-any/PKGBUILD (from rev 416912, python-astroid/trunk/PKGBUILD) Deleted: python-astroid/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 76 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 39 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-31 21:41:20 UTC (rev 416912) +++ PKGBUILD 2021-05-31 21:41:31 UTC (rev 416913) @@ -1,37 +0,0 @@ -# Maintainer: Angel Velasquez <an...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-astroid -pkgver=2.5.6 -pkgrel=1 -pkgdesc="Useful miscellaneous modules used by Logilab projects" -arch=('any') -url="https://github.com/PyCQA/astroid" -license=('LGPL') -depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt') -makedepends=('python-setuptools') -checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose' 'python-pytest-runner') -replaces=('python-logilab-astng') -conflicts=('python-logilab-astng') -source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('3d10d0f92c4b4c2d7d5e0035f23ae554b512f34ddd55b4c1c4032b328643dfe60cb4aa675a3824423fcd12baea7961847435f1894a47fafa99802f3e17a5605f') - -prepare() { - cd astroid-astroid-$pkgver - sed -i -e 's/six~=[0-9.*]*/six/;s/wrapt~=[0-9.*]*/wrapt/;s/lazy_object_proxy==[0-9.*]*/lazy_object_proxy/' astroid/__pkginfo__.py -} - -build() { - cd astroid-astroid-$pkgver - python setup.py build -} - -check() { - cd astroid-astroid-$pkgver - pytest -} - -package() { - cd astroid-astroid-$pkgver - python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir" -} Copied: python-astroid/repos/extra-any/PKGBUILD (from rev 416912, python-astroid/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-31 21:41:31 UTC (rev 416913) @@ -0,0 +1,39 @@ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-astroid +pkgver=2.5.7 +pkgrel=1 +pkgdesc="Useful miscellaneous modules used by Logilab projects" +arch=('any') +url="https://github.com/PyCQA/astroid" +license=('LGPL') +depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt') +makedepends=('python-setuptools-scm') +checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose' 'python-pytest-runner') +replaces=('python-logilab-astng') +conflicts=('python-logilab-astng') +source=(https://github.com/PyCQA/astroid/archive/v$pkgver/$pkgname-$pkgver.tar.gz) +sha512sums=('17fc185752510396fda9cce842df8ba72473e469b61c037195a9d6ff72af3ec8d3df01bdcf61d6059d4f90c95278928eba3e3380048bf5c6b4fa2a3c9b267176') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +prepare() { + cd astroid-$pkgver + sed -i -e 's/six~=[0-9.*]*/six/;s/wrapt~=[0-9.*]*/wrapt/;s/lazy_object_proxy==[0-9.*]*/lazy_object_proxy/' astroid/__pkginfo__.py +} + +build() { + cd astroid-$pkgver + python setup.py build +} + +check() { + cd astroid-$pkgver + pytest +} + +package() { + cd astroid-$pkgver + python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir" +}