[arch-commits] Commit in python-astroid/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Feb 24 21:18:52 UTC 2020


    Date: Monday, February 24, 2020 @ 21:18:52
  Author: felixonmars
Revision: 376168

archrelease: copy trunk to extra-any

Added:
  python-astroid/repos/extra-any/PKGBUILD
    (from rev 376167, python-astroid/trunk/PKGBUILD)
Deleted:
  python-astroid/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-24 21:18:36 UTC (rev 376167)
+++ PKGBUILD	2020-02-24 21:18:52 UTC (rev 376168)
@@ -1,38 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-astroid
-pkgver=2.3.3
-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' '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=('cdca9eb7be5619a9bb9bda88c2519bb2708f37ebe51eb4a89966369b722a8fafc18ba860ae565c39ff6afa2dfd2a20395b2f0b762932073c37b249570f86abe5')
-
-prepare() {
-  cd astroid-astroid-$pkgver
-  sed -i 's/six~=1.12/six/' astroid/__pkginfo__.py
-  echo 'collect_ignore = ["testdata"]' > astroid/tests/conftest.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 376167, python-astroid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-24 21:18:52 UTC (rev 376168)
@@ -0,0 +1,37 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-astroid
+pkgver=2.3.3
+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')
+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=('cdca9eb7be5619a9bb9bda88c2519bb2708f37ebe51eb4a89966369b722a8fafc18ba860ae565c39ff6afa2dfd2a20395b2f0b762932073c37b249570f86abe5')
+
+prepare() {
+  cd astroid-astroid-$pkgver
+  sed -i -e 's/six~=[0-9.*]*/six/' -e 's/wrapt==[0-9.*]*/wrapt/' 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"
+}



More information about the arch-commits mailing list