[arch-commits] Commit in python-astroid/repos/extra-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jul 15 11:12:23 UTC 2018
Date: Sunday, July 15, 2018 @ 11:12:23
Author: foutrelis
Revision: 328678
archrelease: copy trunk to extra-any
Added:
python-astroid/repos/extra-any/PKGBUILD
(from rev 328677, python-astroid/trunk/PKGBUILD)
Deleted:
python-astroid/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++---------------------------------------
1 file changed, 36 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-15 11:12:17 UTC (rev 328677)
+++ PKGBUILD 2018-07-15 11:12:23 UTC (rev 328678)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-astroid
-pkgname=('python2-astroid' 'python-astroid')
-pkgver=1.6.5
-pkgrel=1
-pkgdesc="Useful miscellaneous modules used by Logilab projects"
-arch=('any')
-url="https://github.com/PyCQA/astroid"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six'
- 'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt'
- 'python2-singledispatch' 'python2-enum34' 'python2-backports.functools_lru_cache')
-checkdepends=('python-dateutil' 'python2-dateutil' 'python-pytest' 'python2-pytest' 'python-numpy'
- 'python2-numpy' 'python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz")
-sha512sums=('b08a178db78114cdaa02283dacd9aab63c3e2e0586d003d83de13ee362c539d36a9547d57baa561de475e168690e997de49210c122848ec60ffef943b9eaabc7')
-
-prepare() {
- cp -a astroid-astroid-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/astroid-astroid-$pkgver
- python setup.py build
-
- cd "$srcdir"/astroid-astroid-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/astroid-astroid-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v
-
- cd "$srcdir"/astroid-astroid-$pkgver-py2
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v
-}
-
-package_python-astroid() {
- depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt')
- replaces=('python-logilab-astng')
- conflicts=('python-logilab-astng')
-
- cd astroid-astroid-$pkgver
-
- python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
-}
-
-package_python2-astroid() {
- depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch'
- 'python2-enum34' 'python2-backports.functools_lru_cache')
- replaces=('python2-logilab-astng')
- conflicts=('python2-logilab-astng')
-
- cd astroid-astroid-$pkgver-py2
-
- python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
-}
Copied: python-astroid/repos/extra-any/PKGBUILD (from rev 328677, python-astroid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-15 11:12:23 UTC (rev 328678)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-astroid
+pkgver=2.0
+pkgrel=1
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="https://github.com/PyCQA/astroid"
+license=('LGPL')
+makedepends=('python-setuptools' 'python-six' 'python-lazy-object-proxy'
+ 'python-wrapt')
+checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose'
+ 'python-typed-ast')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('d91ffbe2cf8aef0e6ddb32ab11b638c41d5ffc3b6a57f555e14de1fbc9375699c6be78330f2e26cad4c1c8b761d2a8c40bed0bf749a41b94d858f52d1081e9c5')
+
+build() {
+ cd "$srcdir"/astroid-astroid-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/astroid-astroid-$pkgver
+ pytest
+}
+
+package_python-astroid() {
+ depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt')
+ replaces=('python-logilab-astng')
+ conflicts=('python-logilab-astng')
+
+ cd astroid-astroid-$pkgver
+ python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+}
More information about the arch-commits
mailing list