[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jul 15 11:25:45 UTC 2018
Date: Sunday, July 15, 2018 @ 11:25:44
Author: foutrelis
Revision: 328683
Clean up package()
--This line, and those below, will be ignored--
M trunk/PKGBUILD
Modified:
python-astroid/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-15 11:21:40 UTC (rev 328682)
+++ PKGBUILD 2018-07-15 11:25:44 UTC (rev 328683)
@@ -9,10 +9,12 @@
arch=('any')
url="https://github.com/PyCQA/astroid"
license=('LGPL')
-makedepends=('python-setuptools' 'python-six' 'python-lazy-object-proxy'
- 'python-wrapt')
+depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt')
+makedepends=('python-setuptools')
checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose'
'python-typed-ast')
+replaces=('python-logilab-astng')
+conflicts=('python-logilab-astng')
source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
sha512sums=('d91ffbe2cf8aef0e6ddb32ab11b638c41d5ffc3b6a57f555e14de1fbc9375699c6be78330f2e26cad4c1c8b761d2a8c40bed0bf749a41b94d858f52d1081e9c5')
@@ -26,11 +28,7 @@
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
+package() {
+ cd "$srcdir"/astroid-astroid-$pkgver
python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
}
More information about the arch-commits
mailing list