Date: Wednesday, November 6, 2019 @ 10:04:10 Author: felixonmars Revision: 366839
archrelease: copy trunk to staging-any Added: python-astroid/repos/staging-any/PKGBUILD (from rev 366838, python-astroid/trunk/PKGBUILD) Deleted: python-astroid/repos/staging-any/PKGBUILD ----------+ PKGBUILD | 69 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 37 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-06 10:03:56 UTC (rev 366838) +++ PKGBUILD 2019-11-06 10:04:10 UTC (rev 366839) @@ -1,32 +0,0 @@ -# Maintainer: Angel Velasquez <an...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-astroid -pkgver=2.3.2 -pkgrel=2 -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' 'python-typed-ast') -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=('73ed8213f25a76aa60703320aaf290db33ac005e0ded26fe50c7f36bd934f98c3a58e928becc4e601d3879c19a0f0f16bf20764e3a24e227e0fb64179e468732') - -build() { - cd "$srcdir"/astroid-astroid-$pkgver - python setup.py build -} - -check() { - cd "$srcdir"/astroid-astroid-$pkgver - pytest -} - -package() { - cd "$srcdir"/astroid-astroid-$pkgver - python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir" -} Copied: python-astroid/repos/staging-any/PKGBUILD (from rev 366838, python-astroid/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-06 10:04:10 UTC (rev 366839) @@ -0,0 +1,37 @@ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-astroid +pkgver=2.3.2 +pkgrel=2 +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' 'python-typed-ast') +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=('73ed8213f25a76aa60703320aaf290db33ac005e0ded26fe50c7f36bd934f98c3a58e928becc4e601d3879c19a0f0f16bf20764e3a24e227e0fb64179e468732') + +prepare() { + cd astroid-astroid-$pkgver + sed -i 's/six==1.12/six/' 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" +}