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

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 09:07:13
  Author: felixonmars
Revision: 400445

archrelease: copy trunk to staging-any

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

--+
 PKGBUILD |   78 -
 1 file changed, 41 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-12 09:06:57 UTC (rev 400444)
+++ PKGBUILD2020-11-12 09:07:13 UTC (rev 400445)
@@ -1,37 +0,0 @@
-# Maintainer: Angel Velasquez 
-# Maintainer: Felix Yan 
-
-pkgname=python-astroid
-pkgver=2.4.2
-pkgrel=3
-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=('5306428e55bb8fec388353844afb842638114d6163096d4eb4335ac488a88b7a09a03d143e3ea991ea07371d9d87e911578981e4d74e45f6b3819e389f227ba0')
-
-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/staging-any/PKGBUILD (from rev 400444, 
python-astroid/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-11-12 09:07:13 UTC (rev 400445)
@@ -0,0 +1,41 @@
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+
+pkgname=python-astroid
+pkgver=2.4.2
+pkgrel=4
+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
+
$pkgname-py39-dict-union.patch::https://github.com/PyCQA/astroid/commit/d18469799108.patch)
+sha512sums=('5306428e55bb8fec388353844afb842638114d6163096d4eb4335ac488a88b7a09a03d143e3ea991ea07371d9d87e911578981e4d74e45f6b3819e389f227ba0'
+
'86be5f3646201d19d56b7c6bd19b642462a5d76b4b6584ee53ef27883e3d69839774b19b3f7b767f3903426cb0f8c838e70f8a94e32c5fe2b9d86a76fd0e323b')
+
+prepare() {
+  cd astroid-astroid-$pkgver
+  patch -Np1 -i ../$pkgname-py39-dict-union.patch
+  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
+  # Some tests fail on Python 3.9 (https://github.com/PyCQA/astroid/issues/845)
+  pytest -k 'not test_namedtuple_few_args and not test_namedtuple_few_fields 
and not test_namedtuple_inference_nonliteral and not 
test_dataclasses_subscript_inference_recursion_error'
+}
+
+package() {
+  cd astroid-astroid-$pkgver
+  python setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="$pkgdir"
+}


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

2019-11-06 Thread Felix Yan via arch-commits
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
===
--- PKGBUILD2019-11-06 10:03:56 UTC (rev 366838)
+++ PKGBUILD2019-11-06 10:04:10 UTC (rev 366839)
@@ -1,32 +0,0 @@
-# Maintainer: Angel Velasquez 
-# Maintainer: Felix Yan 
-
-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)
+++ PKGBUILD2019-11-06 10:04:10 UTC (rev 366839)
@@ -0,0 +1,37 @@
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+
+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"
+}


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

2019-11-06 Thread Felix Yan via arch-commits
Date: Wednesday, November 6, 2019 @ 09:45:13
  Author: felixonmars
Revision: 366837

archrelease: copy trunk to staging-any

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

--+
 PKGBUILD |   64 ++---
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-11-06 09:44:58 UTC (rev 366836)
+++ PKGBUILD2019-11-06 09:45:13 UTC (rev 366837)
@@ -1,32 +0,0 @@
-# Maintainer: Angel Velasquez 
-# Maintainer: Felix Yan 
-
-pkgname=python-astroid
-pkgver=2.3.2
-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=('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 366836, 
python-astroid/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-11-06 09:45:13 UTC (rev 366837)
@@ -0,0 +1,32 @@
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+
+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"
+}


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

2019-11-01 Thread Felix Yan via arch-commits
Date: Friday, November 1, 2019 @ 18:13:49
  Author: felixonmars
Revision: 366417

archrelease: copy trunk to staging-any

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

--+
 PKGBUILD |   64 ++---
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-11-01 18:13:37 UTC (rev 366416)
+++ PKGBUILD2019-11-01 18:13:49 UTC (rev 366417)
@@ -1,32 +0,0 @@
-# Maintainer: Angel Velasquez 
-# Maintainer: Felix Yan 
-
-pkgname=python-astroid
-pkgver=2.2.5
-pkgrel=3
-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=('16cc46987a1bed40040b9e1833d0c74dd4c1da91f385fe947d42776197970abaec91a8473069aad4480c877e444802f43a644a63cbaeebfb3824aaf7bc2d5c89')
-
-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 366416, 
python-astroid/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-11-01 18:13:49 UTC (rev 366417)
@@ -0,0 +1,32 @@
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+
+pkgname=python-astroid
+pkgver=2.3.2
+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=('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"
+}


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

2018-07-20 Thread Felix Yan via arch-commits
Date: Friday, July 20, 2018 @ 06:07:53
  Author: felixonmars
Revision: 329082

archrelease: copy trunk to staging-any

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

--+
 PKGBUILD |   66 ++---
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-20 06:07:21 UTC (rev 329081)
+++ PKGBUILD2018-07-20 06:07:53 UTC (rev 329082)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez 
-# Maintainer: Felix Yan 
-
-pkgname=python-astroid
-pkgver=2.0
-pkgrel=4
-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')
-replaces=('python-logilab-astng')
-conflicts=('python-logilab-astng')
-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() {
-  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 329081, 
python-astroid/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-20 06:07:53 UTC (rev 329082)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+
+pkgname=python-astroid
+pkgver=2.0.1
+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')
+replaces=('python-logilab-astng')
+conflicts=('python-logilab-astng')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('cdc1b7274636b0b011a2086c34460d31dd05f0e94f80065c30277dc30bc1c70081d39a0034232c566ca2d88762b69f55c22681b188b83726e05fbf83ad601549')
+
+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"
+}


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

2018-07-17 Thread Felix Yan via arch-commits
Date: Tuesday, July 17, 2018 @ 08:00:26
  Author: felixonmars
Revision: 328868

archrelease: copy trunk to staging-any

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

--+
 PKGBUILD |   69 +
 1 file changed, 33 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-17 08:00:09 UTC (rev 328867)
+++ PKGBUILD2018-07-17 08:00:26 UTC (rev 328868)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez 
-# Maintainer: Felix Yan 
-
-pkgname=python-astroid
-pkgver=2.0
-pkgrel=2
-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"
-}

Copied: python-astroid/repos/staging-any/PKGBUILD (from rev 328867, 
python-astroid/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-17 08:00:26 UTC (rev 328868)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+
+pkgname=python-astroid
+pkgver=2.0
+pkgrel=4
+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')
+replaces=('python-logilab-astng')
+conflicts=('python-logilab-astng')
+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() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  python setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="$pkgdir"
+}