[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 09:06:57 Author: felixonmars Revision: 400444 upgpkg: python-astroid 2.4.2-4: Python 3.9 rebuild Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 08:59:58 UTC (rev 400443) +++ PKGBUILD2020-11-12 09:06:57 UTC (rev 400444) @@ -3,7 +3,7 @@ pkgname=python-astroid pkgver=2.4.2 -pkgrel=3 +pkgrel=4 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid;
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 08:59:58 Author: foutrelis Revision: 400443 Fix a test for Python 3.9; ignore 4 failing tests Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 08:36:57 UTC (rev 400442) +++ PKGBUILD2020-11-12 08:59:58 UTC (rev 400443) @@ -13,11 +13,14 @@ 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') +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 } @@ -28,7 +31,8 @@ check() { cd astroid-astroid-$pkgver - pytest + # 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() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, November 9, 2020 @ 16:49:49 Author: foutrelis Revision: 399816 upgpkg: python-astroid 2.4.2-3: Python 3.9 rebuild Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-09 16:49:38 UTC (rev 399815) +++ PKGBUILD2020-11-09 16:49:49 UTC (rev 399816) @@ -3,7 +3,7 @@ pkgname=python-astroid pkgver=2.4.2 -pkgrel=2 +pkgrel=3 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid;
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, June 8, 2020 @ 11:15:54 Author: felixonmars Revision: 388495 upgpkg: python-astroid 2.4.2-2: fix dependency version Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-08 11:07:39 UTC (rev 388494) +++ PKGBUILD2020-06-08 11:15:54 UTC (rev 388495) @@ -3,7 +3,7 @@ pkgname=python-astroid pkgver=2.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid; @@ -18,7 +18,7 @@ prepare() { cd astroid-astroid-$pkgver - sed -i -e 's/six~=[0-9.*]*/six/' -e 's/wrapt==[0-9.*]*/wrapt/' astroid/__pkginfo__.py + 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() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, June 8, 2020 @ 11:07:21 Author: felixonmars Revision: 388493 upgpkg: python-astroid 2.4.2-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-08 09:17:07 UTC (rev 388492) +++ PKGBUILD2020-06-08 11:07:21 UTC (rev 388493) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.4.1 +pkgver=2.4.2 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('4bcee07579bdbd28843c5cf5872713aa29ffaad4695a2fc9f169c184ce11acc77c21db037476c0d3c55f9fb3cdaec32cb377daf4922f6601aa868e2088535853') +sha512sums=('5306428e55bb8fec388353844afb842638114d6163096d4eb4335ac488a88b7a09a03d143e3ea991ea07371d9d87e911578981e4d74e45f6b3819e389f227ba0') prepare() { cd astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, May 6, 2020 @ 17:08:39 Author: felixonmars Revision: 382420 upgpkg: python-astroid 2.4.1-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-06 16:41:44 UTC (rev 382419) +++ PKGBUILD2020-05-06 17:08:39 UTC (rev 382420) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.4.0 +pkgver=2.4.1 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('b393637518725d55477880530fb1ee8c0afcb656f39f9e07e3222c89fce1ea6af2265153358c47107b24ddac40bd30699f89a6255da94c3d7f3e84b198a91b89') +sha512sums=('4bcee07579bdbd28843c5cf5872713aa29ffaad4695a2fc9f169c184ce11acc77c21db037476c0d3c55f9fb3cdaec32cb377daf4922f6601aa868e2088535853') prepare() { cd astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, May 1, 2020 @ 18:59:13 Author: felixonmars Revision: 382105 upgpkg: python-astroid 2.4.0-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-01 18:33:33 UTC (rev 382104) +++ PKGBUILD2020-05-01 18:59:13 UTC (rev 382105) @@ -2,8 +2,8 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.3.3 -pkgrel=2 +pkgver=2.4.0 +pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid; @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('cdca9eb7be5619a9bb9bda88c2519bb2708f37ebe51eb4a89966369b722a8fafc18ba860ae565c39ff6afa2dfd2a20395b2f0b762932073c37b249570f86abe5') +sha512sums=('b393637518725d55477880530fb1ee8c0afcb656f39f9e07e3222c89fce1ea6af2265153358c47107b24ddac40bd30699f89a6255da94c3d7f3e84b198a91b89') prepare() { cd astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, February 24, 2020 @ 21:18:36 Author: felixonmars Revision: 376167 upgpkg: python-astroid 2.3.3-2: fix version check errors (FS#65611) Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-24 20:50:20 UTC (rev 376166) +++ PKGBUILD2020-02-24 21:18:36 UTC (rev 376167) @@ -3,12 +3,12 @@ pkgname=python-astroid pkgver=2.3.3 -pkgrel=1 +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') +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') @@ -18,7 +18,7 @@ prepare() { cd astroid-astroid-$pkgver - sed -i 's/six~=1.12/six/' astroid/__pkginfo__.py + sed -i -e 's/six~=[0-9.*]*/six/' -e 's/wrapt==[0-9.*]*/wrapt/' astroid/__pkginfo__.py } build() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, November 16, 2019 @ 18:55:44 Author: felixonmars Revision: 368963 remove workaround for broken pytest Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |1 - 1 file changed, 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-16 17:41:57 UTC (rev 368962) +++ PKGBUILD2019-11-16 18:55:44 UTC (rev 368963) @@ -19,7 +19,6 @@ prepare() { cd astroid-astroid-$pkgver sed -i 's/six~=1.12/six/' astroid/__pkginfo__.py - echo 'collect_ignore = ["testdata"]' > astroid/tests/conftest.py } build() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, November 15, 2019 @ 08:27:43 Author: felixonmars Revision: 368912 upgpkg: python-astroid 2.3.3-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-15 08:07:37 UTC (rev 368911) +++ PKGBUILD2019-11-15 08:27:43 UTC (rev 368912) @@ -2,8 +2,8 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.3.2 -pkgrel=2 +pkgver=2.3.3 +pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid; @@ -14,11 +14,12 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('73ed8213f25a76aa60703320aaf290db33ac005e0ded26fe50c7f36bd934f98c3a58e928becc4e601d3879c19a0f0f16bf20764e3a24e227e0fb64179e468732') +sha512sums=('cdca9eb7be5619a9bb9bda88c2519bb2708f37ebe51eb4a89966369b722a8fafc18ba860ae565c39ff6afa2dfd2a20395b2f0b762932073c37b249570f86abe5') prepare() { cd astroid-astroid-$pkgver - sed -i 's/six==1.12/six/' astroid/__pkginfo__.py + sed -i 's/six~=1.12/six/' astroid/__pkginfo__.py + echo 'collect_ignore = ["testdata"]' > astroid/tests/conftest.py } build() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, November 6, 2019 @ 10:03:56 Author: felixonmars Revision: 366838 upgpkg: python-astroid 2.3.2-2 add workaround for six 1.13 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-06 09:45:13 UTC (rev 366837) +++ PKGBUILD2019-11-06 10:03:56 UTC (rev 366838) @@ -16,17 +16,22 @@ 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 "$srcdir"/astroid-astroid-$pkgver + cd astroid-astroid-$pkgver python setup.py build } check() { - cd "$srcdir"/astroid-astroid-$pkgver + cd astroid-astroid-$pkgver pytest } package() { - cd "$srcdir"/astroid-astroid-$pkgver + cd astroid-astroid-$pkgver python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir" }
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, November 6, 2019 @ 09:44:58 Author: felixonmars Revision: 366836 upgpkg: python-astroid 2.3.2-2 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-06 09:32:52 UTC (rev 366835) +++ PKGBUILD2019-11-06 09:44:58 UTC (rev 366836) @@ -3,7 +3,7 @@ pkgname=python-astroid pkgver=2.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid;
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, November 1, 2019 @ 18:13:37 Author: felixonmars Revision: 366416 Python 3.8 rebuild Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-01 18:11:50 UTC (rev 366415) +++ PKGBUILD2019-11-01 18:13:37 UTC (rev 366416) @@ -3,7 +3,7 @@ pkgname=python-astroid pkgver=2.3.2 -pkgrel=0 +pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid;
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, November 1, 2019 @ 18:11:50 Author: arojas Revision: 366415 Prepare 2.3.2 update Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-01 17:09:15 UTC (rev 366414) +++ PKGBUILD2019-11-01 18:11:50 UTC (rev 366415) @@ -2,8 +2,8 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.2.5 -pkgrel=3 +pkgver=2.3.2 +pkgrel=0 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid; @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('16cc46987a1bed40040b9e1833d0c74dd4c1da91f385fe947d42776197970abaec91a8473069aad4480c877e444802f43a644a63cbaeebfb3824aaf7bc2d5c89') +sha512sums=('73ed8213f25a76aa60703320aaf290db33ac005e0ded26fe50c7f36bd934f98c3a58e928becc4e601d3879c19a0f0f16bf20764e3a24e227e0fb64179e468732') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 20:01:37 Author: foutrelis Revision: 365704 Python 3.8 rebuild Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 19:58:45 UTC (rev 365703) +++ PKGBUILD2019-10-25 20:01:37 UTC (rev 365704) @@ -3,7 +3,7 @@ pkgname=python-astroid pkgver=2.2.5 -pkgrel=2 +pkgrel=3 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid;
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, May 24, 2019 @ 17:54:21 Author: felixonmars Revision: 353943 upgpkg: python-astroid 2.2.5-2 fix dependency on typed-ast Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-24 17:48:01 UTC (rev 353942) +++ PKGBUILD2019-05-24 17:54:21 UTC (rev 353943) @@ -3,12 +3,12 @@ pkgname=python-astroid pkgver=2.2.5 -pkgrel=1 +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') +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')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, May 24, 2019 @ 17:47:49 Author: felixonmars Revision: 353941 upgpkg: python-astroid 2.2.5-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-24 16:21:31 UTC (rev 353940) +++ PKGBUILD2019-05-24 17:47:49 UTC (rev 353941) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.2.4 +pkgver=2.2.5 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('aa1d85065cdc5c6df5bf15472be99c2e3a12d8253218615e934d6aad7cffb14dad63ea4456da8083fb7c07892c24594e98e9fca85b29dd95de9b01a611afeff4') +sha512sums=('16cc46987a1bed40040b9e1833d0c74dd4c1da91f385fe947d42776197970abaec91a8473069aad4480c877e444802f43a644a63cbaeebfb3824aaf7bc2d5c89') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, March 6, 2019 @ 09:48:55 Author: felixonmars Revision: 347138 upgpkg: python-astroid 2.2.4-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-06 09:17:27 UTC (rev 347137) +++ PKGBUILD2019-03-06 09:48:55 UTC (rev 347138) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.2.0 +pkgver=2.2.4 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('ee18dc354b47ae2854e73e8197e0237e0d43462063ee0a3f83a00a2d5bbd9ffdbb72b5d74477c0a184648ffc204f31f6d0c05d0e727d9451a64fcceaea1d2858') +sha512sums=('aa1d85065cdc5c6df5bf15472be99c2e3a12d8253218615e934d6aad7cffb14dad63ea4456da8083fb7c07892c24594e98e9fca85b29dd95de9b01a611afeff4') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, February 27, 2019 @ 12:42:33 Author: felixonmars Revision: 346891 upgpkg: python-astroid 2.2.0-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-27 07:26:43 UTC (rev 346890) +++ PKGBUILD2019-02-27 12:42:33 UTC (rev 346891) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.1.0 +pkgver=2.2.0 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('e49a191ceac7840caf4194bf710e223f70dcd82c40679d642ea16d0e21de75a33459066650a9ba82c4017de1442afef0775fe77954ebde59dae265c9c8e9fecc') +sha512sums=('ee18dc354b47ae2854e73e8197e0237e0d43462063ee0a3f83a00a2d5bbd9ffdbb72b5d74477c0a184648ffc204f31f6d0c05d0e727d9451a64fcceaea1d2858') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, February 18, 2019 @ 16:10:56 Author: jelle Revision: 346493 Add missing makedep on pytest-runner Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-02-18 15:12:38 UTC (rev 346492) +++ PKGBUILD2019-02-18 16:10:56 UTC (rev 346493) @@ -10,7 +10,7 @@ license=('LGPL') depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt') makedepends=('python-setuptools') -checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose') +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)
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, November 26, 2018 @ 19:13:00 Author: felixonmars Revision: 340412 upgpkg: python-astroid 2.1.0-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-11-26 18:30:06 UTC (rev 340411) +++ PKGBUILD2018-11-26 19:13:00 UTC (rev 340412) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.0.4 +pkgver=2.1.0 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -14,7 +14,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('1d52430a821b53ec0f40cee4ab600a290d4c0371d348b969edded88c6ec3f8c5f0887f271e0f7eff298c0de13505a1137c5d233b6fdc2029b2eebe582d02c617') +sha512sums=('e49a191ceac7840caf4194bf710e223f70dcd82c40679d642ea16d0e21de75a33459066650a9ba82c4017de1442afef0775fe77954ebde59dae265c9c8e9fecc') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, August 11, 2018 @ 03:30:45 Author: felixonmars Revision: 331371 upgpkg: python-astroid 2.0.4-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-08-11 02:56:40 UTC (rev 331370) +++ PKGBUILD2018-08-11 03:30:45 UTC (rev 331371) @@ -3,7 +3,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.0.2 +pkgver=2.0.4 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -15,7 +15,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('822171fb08a598976019c4754f0318b2ecef07c080ec01ff03a86e140d0802311aa2523277bcad4966ca5803fb0a12b529dbf531d9642872d8b0b89cd885d3cf') +sha512sums=('1d52430a821b53ec0f40cee4ab600a290d4c0371d348b969edded88c6ec3f8c5f0887f271e0f7eff298c0de13505a1137c5d233b6fdc2029b2eebe582d02c617') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Tuesday, August 7, 2018 @ 03:52:17 Author: felixonmars Revision: 331082 upgpkg: python-astroid 2.0.2-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-08-07 03:51:02 UTC (rev 331081) +++ PKGBUILD2018-08-07 03:52:17 UTC (rev 331082) @@ -3,7 +3,7 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -15,7 +15,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('cdc1b7274636b0b011a2086c34460d31dd05f0e94f80065c30277dc30bc1c70081d39a0034232c566ca2d88762b69f55c22681b188b83726e05fbf83ad601549') +sha512sums=('822171fb08a598976019c4754f0318b2ecef07c080ec01ff03a86e140d0802311aa2523277bcad4966ca5803fb0a12b529dbf531d9642872d8b0b89cd885d3cf') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, July 20, 2018 @ 06:07:21 Author: felixonmars Revision: 329081 upgpkg: python-astroid 2.0.1-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-20 06:03:56 UTC (rev 329080) +++ PKGBUILD2018-07-20 06:07:21 UTC (rev 329081) @@ -3,8 +3,8 @@ # Maintainer: Felix Yan pkgname=python-astroid -pkgver=2.0 -pkgrel=4 +pkgver=2.0.1 +pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid; @@ -15,7 +15,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz) -sha512sums=('d91ffbe2cf8aef0e6ddb32ab11b638c41d5ffc3b6a57f555e14de1fbc9375699c6be78330f2e26cad4c1c8b761d2a8c40bed0bf749a41b94d858f52d1081e9c5') +sha512sums=('cdc1b7274636b0b011a2086c34460d31dd05f0e94f80065c30277dc30bc1c70081d39a0034232c566ca2d88762b69f55c22681b188b83726e05fbf83ad601549') build() { cd "$srcdir"/astroid-astroid-$pkgver
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Tuesday, July 17, 2018 @ 08:00:09 Author: felixonmars Revision: 328867 upgpkg: python-astroid 2.0-4 rebuild for Python 3.7 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-17 07:58:51 UTC (rev 328866) +++ PKGBUILD2018-07-17 08:00:09 UTC (rev 328867) @@ -4,12 +4,12 @@ pkgname=python-astroid pkgver=2.0 -pkgrel=3 +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' 'python-typed-ast') +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')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Tuesday, July 17, 2018 @ 07:58:34 Author: felixonmars Revision: 328865 upgpkg: python-astroid 2.0-3 fix dependency on python-typed-ast Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-17 07:55:42 UTC (rev 328864) +++ PKGBUILD2018-07-17 07:58:34 UTC (rev 328865) @@ -4,15 +4,14 @@ pkgname=python-astroid pkgver=2.0 -pkgrel=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') +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-typed-ast') +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)
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, July 15, 2018 @ 11:25:44 Author: foutrelis Revision: 328683 Clean up package() --This line, and those below, will be ignored-- Mtrunk/PKGBUILD Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-15 11:21:40 UTC (rev 328682) +++ PKGBUILD2018-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" }
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, July 15, 2018 @ 11:13:24 Author: felixonmars Revision: 328679 Python 3.7 rebuild Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-15 11:12:23 UTC (rev 328678) +++ PKGBUILD2018-07-15 11:13:24 UTC (rev 328679) @@ -4,7 +4,7 @@ pkgname=python-astroid pkgver=2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://github.com/PyCQA/astroid;
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, July 15, 2018 @ 11:12:17 Author: foutrelis Revision: 328677 upgpkg: python-astroid 2.0-1 New upstream release; split python2-astroid into a separate package. Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 42 +- 1 file changed, 9 insertions(+), 33 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-15 10:50:32 UTC (rev 328676) +++ PKGBUILD2018-07-15 11:12:17 UTC (rev 328677) @@ -2,40 +2,28 @@ # Maintainer: Angel Velasquez # Maintainer: Felix Yan -pkgbase=python-astroid -pkgname=('python2-astroid' 'python-astroid') -pkgver=1.6.5 +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' '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') +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') -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 + pytest } package_python-astroid() { @@ -44,17 +32,5 @@ 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" -}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, June 6, 2018 @ 16:13:16 Author: felixonmars Revision: 326042 upgpkg: python-astroid 1.6.5-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-06-06 15:22:26 UTC (rev 326041) +++ PKGBUILD2018-06-06 16:13:16 UTC (rev 326042) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.6.4 +pkgver=1.6.5 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -16,7 +16,7 @@ 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=('fce442f1b622a54e3b4c4f7b4bd36f3d161990cbc276cfddc7307fd4840f40024d974ba8f20c24f77aeb1577650e65800d3931b9224429694bc9d7ae684ffe26') +sha512sums=('b08a178db78114cdaa02283dacd9aab63c3e2e0586d003d83de13ee362c539d36a9547d57baa561de475e168690e997de49210c122848ec60ffef943b9eaabc7') prepare() { cp -a astroid-astroid-$pkgver{,-py2}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Thursday, May 17, 2018 @ 06:34:42 Author: felixonmars Revision: 324413 upgpkg: python-astroid 1.6.4-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-05-17 06:33:03 UTC (rev 324412) +++ PKGBUILD2018-05-17 06:34:42 UTC (rev 324413) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.6.3 +pkgver=1.6.4 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -16,7 +16,7 @@ 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=('e8c1a7c9529df21e00a2c405fd9c34939f0a4d1ec777e3fb39dbf2430c5414408a879ba8c0703c6383064a78670cbf4c4231ba490fb5e92928fc633274e4023c') +sha512sums=('fce442f1b622a54e3b4c4f7b4bd36f3d161990cbc276cfddc7307fd4840f40024d974ba8f20c24f77aeb1577650e65800d3931b9224429694bc9d7ae684ffe26') prepare() { cp -a astroid-astroid-$pkgver{,-py2} @@ -32,9 +32,7 @@ check() { cd "$srcdir"/astroid-astroid-$pkgver - python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" - # https://github.com/PyCQA/astroid/issues/472 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v || warning "Tests failed" + 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
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Thursday, April 5, 2018 @ 14:04:38 Author: felixonmars Revision: 320965 upgpkg: python-astroid 1.6.3-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-04-05 12:56:45 UTC (rev 320964) +++ PKGBUILD2018-04-05 14:04:38 UTC (rev 320965) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.6.2 +pkgver=1.6.3 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -16,7 +16,7 @@ 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=('40199602972cf4a9ce31ffb8166f8f52b17d922bfe4d94f6d7310a67288a7ff5e5667da8794fbc173ac20611e6ffeeeced7f5f32f5a63f4b5e56039c47b491e2') +sha512sums=('e8c1a7c9529df21e00a2c405fd9c34939f0a4d1ec777e3fb39dbf2430c5414408a879ba8c0703c6383064a78670cbf4c4231ba490fb5e92928fc633274e4023c') prepare() { cp -a astroid-astroid-$pkgver{,-py2}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, March 17, 2018 @ 07:37:14 Author: felixonmars Revision: 319542 upgpkg: python-astroid 1.6.2-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-17 01:43:25 UTC (rev 319541) +++ PKGBUILD2018-03-17 07:37:14 UTC (rev 319542) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.6.1 +pkgver=1.6.2 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -16,7 +16,7 @@ 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=('fbe1495ecd493de0341ce973046c94f2fe2783666ad4d15513ea60831d1e0f0663d3f3afdc0c37a6313eb581f333bdc75c21214b660536c92f3b5073ce0845f2') +sha512sums=('40199602972cf4a9ce31ffb8166f8f52b17d922bfe4d94f6d7310a67288a7ff5e5667da8794fbc173ac20611e6ffeeeced7f5f32f5a63f4b5e56039c47b491e2') prepare() { cp -a astroid-astroid-$pkgver{,-py2}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Tuesday, January 23, 2018 @ 14:55:08 Author: felixonmars Revision: 315299 upgpkg: python-astroid 1.6.1-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-23 13:54:03 UTC (rev 315298) +++ PKGBUILD2018-01-23 14:55:08 UTC (rev 315299) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.6.0 +pkgver=1.6.1 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -16,7 +16,7 @@ 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=('c2551fa6412cbb55bdf48cd3da27b03dc370a927f75ec6317ab67f5b474bedc42bc9cda3400160a0069a932894e38a3d341a0e9ad72c228a05fba6be960d8fde') +sha512sums=('fbe1495ecd493de0341ce973046c94f2fe2783666ad4d15513ea60831d1e0f0663d3f3afdc0c37a6313eb581f333bdc75c21214b660536c92f3b5073ce0845f2') prepare() { cp -a astroid-astroid-$pkgver{,-py2}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Tuesday, December 19, 2017 @ 04:41:59 Author: felixonmars Revision: 313327 upgpkg: python-astroid 1.6.0-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-12-19 04:41:02 UTC (rev 313326) +++ PKGBUILD2017-12-19 04:41:59 UTC (rev 313327) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.5.3 +pkgver=1.6.0 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -16,7 +16,7 @@ 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=('dc475fbd11960584862f8c6e4f505114f70e9551c8bfb5a8d7061b268cb3313bf4d6fc59c46eca1ff12fcbf436c9c512b9bdebc7441a56265b16c830802b7423') +sha512sums=('c2551fa6412cbb55bdf48cd3da27b03dc370a927f75ec6317ab67f5b474bedc42bc9cda3400160a0069a932894e38a3d341a0e9ad72c228a05fba6be960d8fde') prepare() { cp -a astroid-astroid-$pkgver{,-py2} @@ -32,10 +32,12 @@ check() { cd "$srcdir"/astroid-astroid-$pkgver - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" + python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" + # https://github.com/PyCQA/astroid/issues/472 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v || warning "Tests failed" cd "$srcdir"/astroid-astroid-$pkgver-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v } package_python-astroid() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, June 4, 2017 @ 03:05:56 Author: felixonmars Revision: 297769 upgpkg: python-astroid 1.5.3-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-06-04 03:04:46 UTC (rev 297768) +++ PKGBUILD2017-06-04 03:05:56 UTC (rev 297769) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.5.2 +pkgver=1.5.3 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -16,7 +16,7 @@ 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=('649e81c8f9d4ae0cbb1f3f602d5f09807ac740cc321f0c692d282a3c6171858118ed977b8fd94258d415ea3caba499e45a4b0ffc32804ee13892bfff163bc1b6') +sha512sums=('dc475fbd11960584862f8c6e4f505114f70e9551c8bfb5a8d7061b268cb3313bf4d6fc59c46eca1ff12fcbf436c9c512b9bdebc7441a56265b16c830802b7423') prepare() { cp -a astroid-astroid-$pkgver{,-py2}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Thursday, May 4, 2017 @ 13:55:52 Author: felixonmars Revision: 295266 upgpkg: python-astroid 1.5.2-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-05-04 13:47:53 UTC (rev 295265) +++ PKGBUILD2017-05-04 13:55:52 UTC (rev 295266) @@ -4,36 +4,37 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.9.20161231 -_commit=7ec66f514de82b7a0b941dfb012403e92ee6e419 +pkgver=1.5.2 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' 'git' +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') -source=("git+https://github.com/PyCQA/astroid.git#commit=$_commit;) -sha1sums=('SKIP') + '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=('649e81c8f9d4ae0cbb1f3f602d5f09807ac740cc321f0c692d282a3c6171858118ed977b8fd94258d415ea3caba499e45a4b0ffc32804ee13892bfff163bc1b6') prepare() { - cp -a astroid{,-py2} + cp -a astroid-astroid-$pkgver{,-py2} } build() { - cd "$srcdir"/astroid + cd "$srcdir"/astroid-astroid-$pkgver python setup.py build - cd "$srcdir"/astroid-py2 + cd "$srcdir"/astroid-astroid-$pkgver-py2 python2 setup.py build } check() { - cd "$srcdir"/astroid + cd "$srcdir"/astroid-astroid-$pkgver PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" - cd "$srcdir"/astroid-py2 + cd "$srcdir"/astroid-astroid-$pkgver-py2 PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" } @@ -42,7 +43,7 @@ replaces=('python-logilab-astng') conflicts=('python-logilab-astng') - cd astroid + cd astroid-astroid-$pkgver python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir" } @@ -49,11 +50,11 @@ package_python2-astroid() { depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch' - 'python2-enum34') + 'python2-enum34' 'python2-backports.functools_lru_cache') replaces=('python2-logilab-astng') conflicts=('python2-logilab-astng') - cd astroid-py2 + cd astroid-astroid-$pkgver-py2 python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir" }
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, January 11, 2017 @ 15:26:54 Author: felixonmars Revision: 285675 upgpkg: python-astroid 1.4.9.20161231-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-11 15:24:48 UTC (rev 285674) +++ PKGBUILD2017-01-11 15:26:54 UTC (rev 285675) @@ -4,8 +4,8 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.9.20161218 -_commit=9f8e6f074ba7d9d060355a67a22c30a0c2cb44fd +pkgver=1.4.9.20161231 +_commit=7ec66f514de82b7a0b941dfb012403e92ee6e419 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, December 25, 2016 @ 16:15:12 Author: felixonmars Revision: 284722 upgpkg: python-astroid 1.4.9.20161218-1 python 3.6 rebuild Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-12-25 05:37:38 UTC (rev 284721) +++ PKGBUILD2016-12-25 16:15:12 UTC (rev 284722) @@ -4,7 +4,8 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.9 +pkgver=1.4.9.20161218 +_commit=9f8e6f074ba7d9d060355a67a22c30a0c2cb44fd pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -13,7 +14,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git' 'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt' 'python2-singledispatch' 'python2-enum34') -source=("git+https://github.com/PyCQA/astroid.git#tag=astroid-$pkgver;) +source=("git+https://github.com/PyCQA/astroid.git#commit=$_commit;) sha1sums=('SKIP') prepare() { @@ -33,7 +34,7 @@ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" cd "$srcdir"/astroid-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" || warning "Tests failed" + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" } package_python-astroid() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, December 19, 2016 @ 02:07:32 Author: felixonmars Revision: 284316 upgpkg: python-astroid 1.4.9-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-12-19 00:43:38 UTC (rev 284315) +++ PKGBUILD2016-12-19 02:07:32 UTC (rev 284316) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.8 +pkgver=1.4.9 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, July 27, 2016 @ 03:13:20 Author: felixonmars Revision: 272504 upgpkg: python-astroid 1.4.8-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-07-27 01:35:51 UTC (rev 272503) +++ PKGBUILD2016-07-27 03:13:20 UTC (rev 272504) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.7 +pkgver=1.4.8 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, July 8, 2016 @ 02:45:45 Author: felixonmars Revision: 271153 upgpkg: python-astroid 1.4.7-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-07 22:39:29 UTC (rev 271152) +++ PKGBUILD2016-07-08 02:45:45 UTC (rev 271153) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.6 +pkgver=1.4.7 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -47,7 +47,8 @@ } package_python2-astroid() { - depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch' 'python2-enum34') + depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch' + 'python2-enum34') replaces=('python2-logilab-astng') conflicts=('python2-logilab-astng')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Tuesday, March 22, 2016 @ 04:40:09 Author: fyan Revision: 262214 upgpkg: python-astroid 1.4.5-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-22 00:42:48 UTC (rev 262213) +++ PKGBUILD2016-03-22 03:40:09 UTC (rev 262214) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.4 +pkgver=1.4.5 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -12,7 +12,7 @@ license=('LGPL') makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git' 'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt' - 'python2-singledispatch') + 'python2-singledispatch' 'python2-enum34') source=("git+https://github.com/PyCQA/astroid.git#tag=astroid-$pkgver;) sha1sums=('SKIP') @@ -21,18 +21,18 @@ } build() { - cd astroid + cd "$srcdir"/astroid python setup.py build - cd ../astroid-py2 + cd "$srcdir"/astroid-py2 python2 setup.py build } check() { - cd astroid + cd "$srcdir"/astroid PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" - cd ../astroid-py2 + cd "$srcdir"/astroid-py2 PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" || warning "Tests failed" } @@ -43,15 +43,15 @@ cd astroid - python setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}" + 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') + depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch' 'python2-enum34') replaces=('python2-logilab-astng') conflicts=('python2-logilab-astng') cd astroid-py2 - python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}" + python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir" }
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, January 16, 2016 @ 02:47:55 Author: fyan Revision: 258344 upgpkg: python-astroid 1.4.4-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-01-16 01:29:55 UTC (rev 258343) +++ PKGBUILD2016-01-16 01:47:55 UTC (rev 258344) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.3 +pkgver=1.4.4 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -33,7 +33,7 @@ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" cd ../astroid-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" || warning "Tests failed" } package_python-astroid() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, December 25, 2015 @ 07:06:34 Author: fyan Revision: 257256 upgpkg: python-astroid 1.4.3-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-12-24 23:46:32 UTC (rev 257255) +++ PKGBUILD2015-12-25 06:06:34 UTC (rev 257256) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.2 +pkgver=1.4.3 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, December 21, 2015 @ 02:27:33 Author: fyan Revision: 257050 upgpkg: python-astroid 1.4.2-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-12-20 20:59:27 UTC (rev 257049) +++ PKGBUILD2015-12-21 01:27:33 UTC (rev 257050) @@ -4,16 +4,16 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.4.1 +pkgver=1.4.2 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') -url="https://bitbucket.org/logilab/astroid; +url="https://github.com/PyCQA/astroid; license=('LGPL') -makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'mercurial' +makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git' 'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt' 'python2-singledispatch') -source=("hg+https://bitbucket.org/logilab/astroid#tag=astroid-$pkgver;) +source=("git+https://github.com/PyCQA/astroid.git#tag=astroid-$pkgver;) sha1sums=('SKIP') prepare() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, November 30, 2015 @ 02:45:17 Author: fyan Revision: 252069 upgpkg: python-astroid 1.4.1-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-11-30 00:19:17 UTC (rev 252068) +++ PKGBUILD2015-11-30 01:45:17 UTC (rev 252069) @@ -4,8 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.8.20150929 -_commit=e73ae8a0f1fcecd33a3b13c754556d18c81ae88a +pkgver=1.4.1 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') @@ -14,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'mercurial' 'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt' 'python2-singledispatch') -source=("hg+https://bitbucket.org/logilab/astroid#revision=$_commit;) +source=("hg+https://bitbucket.org/logilab/astroid#tag=astroid-$pkgver;) sha1sums=('SKIP') prepare() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, October 5, 2015 @ 10:46:37 Author: fyan Revision: 248362 upgpkg: python-astroid 1.3.8.20150929-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-05 08:26:17 UTC (rev 248361) +++ PKGBUILD2015-10-05 08:46:37 UTC (rev 248362) @@ -4,8 +4,8 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.8.20150919 -_commit=21f676e1e04042dfebd0024161a2cff72c53 +pkgver=1.3.8.20150929 +_commit=e73ae8a0f1fcecd33a3b13c754556d18c81ae88a pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, September 21, 2015 @ 08:01:29 Author: fyan Revision: 247021 upgpkg: python-astroid 1.3.8.20150919-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 54 -- 1 file changed, 28 insertions(+), 26 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-09-21 05:51:25 UTC (rev 247020) +++ PKGBUILD2015-09-21 06:01:29 UTC (rev 247021) @@ -4,53 +4,55 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.6 +pkgver=1.3.8.20150919 +_commit=21f676e1e04042dfebd0024161a2cff72c53 pkgrel=1 pkgdesc="Useful miscellaneous modules used by Logilab projects" arch=('any') url="https://bitbucket.org/logilab/astroid; license=('LGPL') -makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') -checkdepends=('python-logilab-common' 'python2-logilab-common') -source=("https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) -sha1sums=('bcf21cfa9891c70f63a9730b792ce9cf8ea3bb2b') +makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'mercurial' + 'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt' + 'python2-singledispatch') +source=("hg+https://bitbucket.org/logilab/astroid#revision=$_commit;) +sha1sums=('SKIP') prepare() { - cp -a astroid-${pkgver}{,-py3} + cp -a astroid{,-py2} } build() { - cd astroid-${pkgver} + cd astroid + python setup.py build + + cd ../astroid-py2 python2 setup.py build - - cd ../astroid-${pkgver}-py3 - python3 setup.py build } check() { - cd astroid-${pkgver} - PYTHONPATH="$PWD/../build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" + cd astroid + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" - cd ../astroid-${pkgver}-py3 - PYTHONPATH="$PWD/../build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" + cd ../astroid-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" } +package_python-astroid() { + depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt') + replaces=('python-logilab-astng') + conflicts=('python-logilab-astng') + + cd astroid + + python setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}" +} + package_python2-astroid() { - depends=('python2-logilab-common' 'python2-six') + depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch') replaces=('python2-logilab-astng') conflicts=('python2-logilab-astng') - cd astroid-${pkgver} + cd astroid-py2 python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}" } - -package_python-astroid() { - depends=('python-logilab-common' 'python-six') - replaces=('python-logilab-astng') - conflicts=('python-logilab-astng') - - cd astroid-${pkgver}-py3 - - python3 setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}" -}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, March 15, 2015 @ 08:34:50 Author: fyan Revision: 233852 upgpkg: python-astroid 1.3.6-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-03-15 04:54:40 UTC (rev 233851) +++ PKGBUILD2015-03-15 07:34:50 UTC (rev 233852) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.5 +pkgver=1.3.6 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) -sha1sums=('6bc81d001b5ebf7c49dfc388e48538bd95d671ba') +sha1sums=('bcf21cfa9891c70f63a9730b792ce9cf8ea3bb2b') prepare() { cp -a astroid-${pkgver}{,-py3}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Wednesday, March 11, 2015 @ 17:41:40 Author: fyan Revision: 233356 upgpkg: python-astroid 1.3.5-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-03-11 16:30:35 UTC (rev 233355) +++ PKGBUILD2015-03-11 16:41:40 UTC (rev 233356) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.4 +pkgver=1.3.5 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) -sha1sums=('7c32874688f6474f41d9e49a116f8578dbebdb2c') +sha1sums=('6bc81d001b5ebf7c49dfc388e48538bd95d671ba') prepare() { cp -a astroid-${pkgver}{,-py3}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, January 17, 2015 @ 04:56:08 Author: fyan Revision: 229461 upgpkg: python-astroid 1.3.3-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-01-17 03:41:07 UTC (rev 229460) +++ PKGBUILD2015-01-17 03:56:08 UTC (rev 229461) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.2 +pkgver=1.3.3 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) -sha1sums=('9651799514b6d434c2c94f1125c19bfabb494ec4') +sha1sums=('f92b1497022b60bcc0c3b8ccd646ccbd32d18b26') prepare() { cp -a astroid-${pkgver}{,-py3} @@ -32,7 +32,7 @@ PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python2 -Wi -m unittest discover -s build/lib/astroid/tests -p unittest*.py cd ../astroid-${pkgver}-py3 - PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python -Wi -m unittest discover -s build/lib/astroid/tests -p unittest*.py || warning Tests failed + PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python -Wi -m unittest discover -s build/lib/astroid/tests -p unittest*.py } package_python2-astroid() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, January 17, 2015 @ 05:12:23 Author: fyan Revision: 229467 upgpkg: python-astroid 1.3.4-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-01-17 04:06:37 UTC (rev 229466) +++ PKGBUILD2015-01-17 04:12:23 UTC (rev 229467) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.3 +pkgver=1.3.4 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) -sha1sums=('f92b1497022b60bcc0c3b8ccd646ccbd32d18b26') +sha1sums=('7c32874688f6474f41d9e49a116f8578dbebdb2c') prepare() { cp -a astroid-${pkgver}{,-py3}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, November 23, 2014 @ 08:53:08 Author: fyan Revision: 226863 upgpkg: python-astroid 1.3.2-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-11-23 04:25:40 UTC (rev 226862) +++ PKGBUILD2014-11-23 07:53:08 UTC (rev 226863) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.1 +pkgver=1.3.2 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) -sha1sums=('c26bae017d50275f71a4afc2969d7147142629b0') +sha1sums=('9651799514b6d434c2c94f1125c19bfabb494ec4') prepare() { cp -a astroid-${pkgver}{,-py3}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, November 22, 2014 @ 07:36:23 Author: fyan Revision: 226809 upgpkg: python-astroid 1.3.1-1 upstream new release Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-11-22 06:34:37 UTC (rev 226808) +++ PKGBUILD2014-11-22 06:36:23 UTC (rev 226809) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.3.0 +pkgver=1.3.1 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) -sha1sums=('abaf766752f35a82fe8dbccda8396c14c66617e7') +sha1sums=('c26bae017d50275f71a4afc2969d7147142629b0') prepare() { cp -a astroid-${pkgver}{,-py3}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, November 21, 2014 @ 04:14:49 Author: fyan Revision: 226766 upgpkg: python-astroid 1.3.0-1 upstream new release Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-11-21 02:35:55 UTC (rev 226765) +++ PKGBUILD2014-11-21 03:14:49 UTC (rev 226766) @@ -1,18 +1,19 @@ # $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@archlinux.org pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.2.1 +pkgver=1.3.0 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') url=https://bitbucket.org/logilab/astroid; license=('LGPL') -makedepends=('python' 'python2') +makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') checkdepends=('python-logilab-common' 'python2-logilab-common') -source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.zip;) -sha1sums=('597c668553d9ee1431ff6da07e12769072477859') +source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz;) +sha1sums=('abaf766752f35a82fe8dbccda8396c14c66617e7') prepare() { cp -a astroid-${pkgver}{,-py3} @@ -27,15 +28,15 @@ } check() { - cd astroid-${pkgver}/test - PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python2 -Wi -m unittest discover -p unittest*.py + cd astroid-${pkgver} + PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python2 -Wi -m unittest discover -s build/lib/astroid/tests -p unittest*.py - cd ../../astroid-${pkgver}-py3/test - PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python -Wi -m unittest discover -p unittest*.py || warning Tests failed + cd ../astroid-${pkgver}-py3 + PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python -Wi -m unittest discover -s build/lib/astroid/tests -p unittest*.py || warning Tests failed } package_python2-astroid() { - depends=('python2' 'python2-logilab-common') + depends=('python2-logilab-common' 'python2-six') replaces=('python2-logilab-astng') conflicts=('python2-logilab-astng') @@ -45,7 +46,7 @@ } package_python-astroid() { - depends=('python' 'python-logilab-common') + depends=('python-logilab-common' 'python-six') replaces=('python-logilab-astng') conflicts=('python-logilab-astng')
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, August 25, 2014 @ 02:32:13 Author: fyan Revision: 220641 upgpkg: python-astroid 1.2.1-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-08-24 22:36:11 UTC (rev 220640) +++ PKGBUILD2014-08-25 00:32:13 UTC (rev 220641) @@ -3,7 +3,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.2.0 +pkgver=1.2.1 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -11,8 +11,8 @@ license=('LGPL') makedepends=('python' 'python2') checkdepends=('python-logilab-common' 'python2-logilab-common') -source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz) -sha1sums=('9943a0bbd3410164c161ae11039dd09762023629') +source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.zip;) +sha1sums=('597c668553d9ee1431ff6da07e12769072477859') prepare() { cp -a astroid-${pkgver}{,-py3} @@ -27,13 +27,11 @@ } check() { - # must be ran in target system, how? - cd astroid-${pkgver}/test - #python2 -m unittest discover -p unittest*.py + PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python2 -Wi -m unittest discover -p unittest*.py cd ../../astroid-${pkgver}-py3/test - #python -m unittest discover -p unittest*.py + PYTHONPATH=$PWD/../build/lib:$PYTHONPATH python -Wi -m unittest discover -p unittest*.py || warning Tests failed } package_python2-astroid() {
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, July 26, 2014 @ 11:08:11 Author: fyan Revision: 218190 upgpkg: python-astroid 1.2.0-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-07-26 08:41:39 UTC (rev 218189) +++ PKGBUILD2014-07-26 09:08:11 UTC (rev 218190) @@ -3,7 +3,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.1.1 +pkgver=1.2.0 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') @@ -12,7 +12,7 @@ makedepends=('python' 'python2') checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz) -sha1sums=('ff7b70669933702c7196f08e694afd552032c454') +sha1sums=('9943a0bbd3410164c161ae11039dd09762023629') prepare() { cp -a astroid-${pkgver}{,-py3}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Friday, May 16, 2014 @ 19:14:25 Author: fyan Revision: 212889 upgpkg: python-astroid 1.1.1-1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-05-16 17:12:25 UTC (rev 212888) +++ PKGBUILD2014-05-16 17:14:25 UTC (rev 212889) @@ -3,15 +3,16 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.1.0 +pkgver=1.1.1 pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') url=https://bitbucket.org/logilab/astroid; license=('LGPL') -makedepends=('python2' 'python') +makedepends=('python' 'python2') +checkdepends=('python-logilab-common' 'python2-logilab-common') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz) -sha1sums=('5565888ff76ddd1a14b952a5e3b651ebe08edd56') +sha1sums=('ff7b70669933702c7196f08e694afd552032c454') prepare() { cp -a astroid-${pkgver}{,-py3} @@ -25,6 +26,16 @@ python3 setup.py build } +check() { + # must be ran in target system, how? + + cd astroid-${pkgver}/test + #python2 -m unittest discover -p unittest*.py + + cd ../../astroid-${pkgver}-py3/test + #python -m unittest discover -p unittest*.py +} + package_python2-astroid() { depends=('python2' 'python2-logilab-common') replaces=('python2-logilab-astng') @@ -33,9 +44,6 @@ cd astroid-${pkgver} python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root=${pkgdir} - - # fix permissions ... - #find ${pkgdir} -type f -exec chmod +r {} \; } package_python-astroid() { @@ -46,7 +54,4 @@ cd astroid-${pkgver}-py3 python3 setup.py install --optimize=1 --skip-build --prefix=/usr --root=${pkgdir} - - # fix permissions ... - #find ${pkgdir} -type f -exec chmod +r {} \; }
[arch-commits] Commit in python-astroid/trunk (PKGBUILD python-3.4.patch)
Date: Friday, April 25, 2014 @ 15:53:21 Author: fyan Revision: 211747 upgpkg: python-astroid 1.1.0-1 Modified: python-astroid/trunk/PKGBUILD Deleted: python-astroid/trunk/python-3.4.patch --+ PKGBUILD | 28 +- python-3.4.patch | 104 - 2 files changed, 11 insertions(+), 121 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-04-25 13:42:30 UTC (rev 211746) +++ PKGBUILD2014-04-25 13:53:21 UTC (rev 211747) @@ -3,29 +3,21 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.0.1 -pkgrel=3 +pkgver=1.1.0 +pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') -url=http://www.logilab.org/project/logilab-common; +url=https://bitbucket.org/logilab/astroid; license=('LGPL') makedepends=('python2' 'python') -source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz -python-3.4.patch) -sha1sums=('4b0080576174cc0a3519a6c6e9025a8ee853956a' - '8d4f2f76f5b0c90ad508c5fded85d37bbbe9e15a') +source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz) +sha1sums=('5565888ff76ddd1a14b952a5e3b651ebe08edd56') prepare() { cp -a astroid-${pkgver}{,-py3} - - cd astroid-${pkgver}-py3 - # FS#39585 - patch -p1 -i $srcdir/python-3.4.patch } build() { - cd ${srcdir} - cd astroid-${pkgver} python2 setup.py build @@ -37,12 +29,13 @@ depends=('python2' 'python2-logilab-common') replaces=('python2-logilab-astng') conflicts=('python2-logilab-astng') - cd ${srcdir}/astroid-${pkgver} + cd astroid-${pkgver} + python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root=${pkgdir} # fix permissions ... - find ${pkgdir} -type f -exec chmod +r {} \; + #find ${pkgdir} -type f -exec chmod +r {} \; } package_python-astroid() { @@ -49,10 +42,11 @@ depends=('python' 'python-logilab-common') replaces=('python-logilab-astng') conflicts=('python-logilab-astng') - cd ${srcdir}/astroid-${pkgver}-py3 + cd astroid-${pkgver}-py3 + python3 setup.py install --optimize=1 --skip-build --prefix=/usr --root=${pkgdir} # fix permissions ... - find ${pkgdir} -type f -exec chmod +r {} \; + #find ${pkgdir} -type f -exec chmod +r {} \; } Deleted: python-3.4.patch === --- python-3.4.patch2014-04-25 13:42:30 UTC (rev 211746) +++ python-3.4.patch2014-04-25 13:53:21 UTC (rev 211747) @@ -1,104 +0,0 @@ -diff --git a/rebuilder.py b/rebuilder.py a/rebuilder.py -+++ b/rebuilder.py -@@ -88,6 +88,8 @@ - 'Repr': 'Backquote', - } - -+PY34 = sys.version_info = (3, 4) -+ - def _init_set_doc(node, newnode): - newnode.doc = None - try: -@@ -187,13 +188,20 @@ - newnode.defaults = [self.visit(child, newnode) for child in node.defaults] - newnode.kwonlyargs = [] - newnode.kw_defaults = [] --newnode.vararg = node.vararg --newnode.kwarg = node.kwarg -+vararg, kwarg = node.vararg, node.kwarg -+# change added in 82732 (7c5c678e4164), vararg and kwarg -+# are instances of `_ast.arg`, not strings -+if vararg and PY34: -+vararg = vararg.arg -+if kwarg and PY34: -+kwarg = kwarg.arg -+newnode.vararg = vararg -+newnode.kwarg = kwarg - # save argument names in locals: --if node.vararg: --newnode.parent.set_local(newnode.vararg, newnode) --if node.kwarg: --newnode.parent.set_local(newnode.kwarg, newnode) -+if vararg: -+newnode.parent.set_local(vararg, newnode) -+if kwarg: -+newnode.parent.set_local(kwarg, newnode) - newnode.set_line_info(newnode.last_child()) - return newnode - -@@ -838,6 +846,12 @@ - # XXX or we should instead introduce a Arg node in astroid ? - return self.visit_assname(node, parent, node.arg) - -+def visit_nameconstant(self, node, parent): -+# in Python 3.4 we have NameConstant for True / False / None -+newnode = new.Const(node.value) -+_set_infos(node, newnode, parent) -+return newnode -+ - def visit_arguments(self, node, parent): - newnode = super(TreeRebuilder3k, self).visit_arguments(node, parent) - self.asscontext = Ass -diff --git a/test/unittest_inference.py b/test/unittest_inference.py a/test/unittest_inference.py -+++ b/test/unittest_inference.py -@@ -52,6 +52,11 @@ - else: - EXC_MODULE = BUILTINS - -+if sys.version_info (3, 4): -+SITE = 'site' -+else: -+SITE = '_sitebuiltins' -+ - class InferenceTC(TestCase): - - CODE = ''' -@@ -700,7 +705,7 @@ - self.assertEqual(len(infered), 1, infered) - self.assertIsInstance(infered[0], Instance) -
[arch-commits] Commit in python-astroid/trunk (PKGBUILD python-3.4.patch)
Date: Saturday, March 22, 2014 @ 17:55:18 Author: fyan Revision: 208334 upgpkg: python-astroid 1.0.1-3 - fix FS#39585 Added: python-astroid/trunk/python-3.4.patch Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD | 18 ++--- python-3.4.patch | 104 + 2 files changed, 117 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-03-22 16:03:52 UTC (rev 208333) +++ PKGBUILD2014-03-22 16:55:18 UTC (rev 208334) @@ -4,20 +4,28 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') pkgver=1.0.1 -pkgrel=2 +pkgrel=3 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') url=http://www.logilab.org/project/logilab-common; license=('LGPL') makedepends=('python2' 'python') -source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz) -sha1sums=('4b0080576174cc0a3519a6c6e9025a8ee853956a') +source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz +python-3.4.patch) +sha1sums=('4b0080576174cc0a3519a6c6e9025a8ee853956a' + '8d4f2f76f5b0c90ad508c5fded85d37bbbe9e15a') +prepare() { + cp -a astroid-${pkgver}{,-py3} + + cd astroid-${pkgver}-py3 + # FS#39585 + patch -p1 -i $srcdir/python-3.4.patch +} + build() { cd ${srcdir} - cp -a astroid-${pkgver}{,-py3} - cd astroid-${pkgver} python2 setup.py build Added: python-3.4.patch === --- python-3.4.patch(rev 0) +++ python-3.4.patch2014-03-22 16:55:18 UTC (rev 208334) @@ -0,0 +1,104 @@ +diff --git a/rebuilder.py b/rebuilder.py +--- a/rebuilder.py b/rebuilder.py +@@ -88,6 +88,8 @@ + 'Repr': 'Backquote', + } + ++PY34 = sys.version_info = (3, 4) ++ + def _init_set_doc(node, newnode): + newnode.doc = None + try: +@@ -187,13 +188,20 @@ + newnode.defaults = [self.visit(child, newnode) for child in node.defaults] + newnode.kwonlyargs = [] + newnode.kw_defaults = [] +-newnode.vararg = node.vararg +-newnode.kwarg = node.kwarg ++vararg, kwarg = node.vararg, node.kwarg ++# change added in 82732 (7c5c678e4164), vararg and kwarg ++# are instances of `_ast.arg`, not strings ++if vararg and PY34: ++vararg = vararg.arg ++if kwarg and PY34: ++kwarg = kwarg.arg ++newnode.vararg = vararg ++newnode.kwarg = kwarg + # save argument names in locals: +-if node.vararg: +-newnode.parent.set_local(newnode.vararg, newnode) +-if node.kwarg: +-newnode.parent.set_local(newnode.kwarg, newnode) ++if vararg: ++newnode.parent.set_local(vararg, newnode) ++if kwarg: ++newnode.parent.set_local(kwarg, newnode) + newnode.set_line_info(newnode.last_child()) + return newnode + +@@ -838,6 +846,12 @@ + # XXX or we should instead introduce a Arg node in astroid ? + return self.visit_assname(node, parent, node.arg) + ++def visit_nameconstant(self, node, parent): ++# in Python 3.4 we have NameConstant for True / False / None ++newnode = new.Const(node.value) ++_set_infos(node, newnode, parent) ++return newnode ++ + def visit_arguments(self, node, parent): + newnode = super(TreeRebuilder3k, self).visit_arguments(node, parent) + self.asscontext = Ass +diff --git a/test/unittest_inference.py b/test/unittest_inference.py +--- a/test/unittest_inference.py b/test/unittest_inference.py +@@ -52,6 +52,11 @@ + else: + EXC_MODULE = BUILTINS + ++if sys.version_info (3, 4): ++SITE = 'site' ++else: ++SITE = '_sitebuiltins' ++ + class InferenceTC(TestCase): + + CODE = ''' +@@ -700,7 +705,7 @@ + self.assertEqual(len(infered), 1, infered) + self.assertIsInstance(infered[0], Instance) + self.assertEqual(str(infered[0]), +- 'Instance of site._Helper') ++ 'Instance of %s._Helper' % SITE) + + def test_builtin_open(self): + code = ''' +diff --git a/test/unittest_regrtest.py b/test/unittest_regrtest.py +--- a/test/unittest_regrtest.py b/test/unittest_regrtest.py +@@ -16,7 +16,7 @@ + # You should have received a copy of the GNU Lesser General Public License along + # with astroid. If not, see http://www.gnu.org/licenses/. + +-from logilab.common.testlib import unittest_main, TestCase ++from logilab.common.testlib import unittest_main, TestCase, require_version + + from astroid import ResolveError, MANAGER, Instance, nodes, YES, InferenceError + from astroid.builder import AstroidBuilder +@@ -135,6 +135,15 @@ + self.assertEqual(len(infered), 1) +
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, March 17, 2014 @ 08:53:44 Author: fyan Revision: 208040 upgpkg: python-astroid 1.0.1-2 - python 3.4 rebuild Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-03-17 07:47:50 UTC (rev 208039) +++ PKGBUILD2014-03-17 07:53:44 UTC (rev 208040) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') pkgver=1.0.1 -pkgrel=1 +pkgrel=2 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') url=http://www.logilab.org/project/logilab-common;
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Sunday, December 22, 2013 @ 07:20:44 Author: angvp Revision: 202442 upgpkg: python-astroid 1.0.1-1 Version bump to 1.0.1 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-12-21 23:13:17 UTC (rev 202441) +++ PKGBUILD2013-12-22 06:20:44 UTC (rev 202442) @@ -3,8 +3,8 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') -pkgver=1.0.0 -pkgrel=3 +pkgver=1.0.1 +pkgrel=1 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') url=http://www.logilab.org/project/logilab-common; @@ -11,7 +11,7 @@ license=('LGPL') makedepends=('python2' 'python') source=(https://pypi.python.org/packages/source/a/astroid/astroid-${pkgver}.tar.gz) -sha1sums=('2ebba76d115cb8a2d84d8777d8535ddac86daaa6') +sha1sums=('4b0080576174cc0a3519a6c6e9025a8ee853956a') build() { cd ${srcdir}
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Monday, August 26, 2013 @ 09:32:32 Author: angvp Revision: 193612 upgpkg: python-astroid 1.0.0-3 Fixes wrong dependency Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-26 07:04:31 UTC (rev 193611) +++ PKGBUILD2013-08-26 07:32:32 UTC (rev 193612) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') url=http://www.logilab.org/project/logilab-common; @@ -38,8 +38,8 @@ } package_python-astroid() { - depends=('python') - replaces=('python-logilab-astng' 'python-logilab-common') + depends=('python' 'python-logilab-common') + replaces=('python-logilab-astng') conflicts=('python-logilab-astng') cd ${srcdir}/astroid-${pkgver}-py3
[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Date: Saturday, August 24, 2013 @ 23:14:32 Author: angvp Revision: 193591 upgpkg: python-astroid 1.0.0-2 Add logilab-common dependency. Fixes FS#36688 Modified: python-astroid/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-24 17:41:43 UTC (rev 193590) +++ PKGBUILD2013-08-24 21:14:32 UTC (rev 193591) @@ -4,7 +4,7 @@ pkgbase=python-astroid pkgname=('python2-astroid' 'python-astroid') pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc=Useful miscellaneous modules used by Logilab projects arch=('any') url=http://www.logilab.org/project/logilab-common; @@ -26,7 +26,7 @@ } package_python2-astroid() { - depends=('python2') + depends=('python2' 'python2-logilab-common') replaces=('python2-logilab-astng') conflicts=('python2-logilab-astng') cd ${srcdir}/astroid-${pkgver} @@ -39,7 +39,7 @@ package_python-astroid() { depends=('python') - replaces=('python-logilab-astng') + replaces=('python-logilab-astng' 'python-logilab-common') conflicts=('python-logilab-astng') cd ${srcdir}/astroid-${pkgver}-py3