From bb824238c741d2531932050e4fb1a4c7708a0cd4 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio Date: Sun, 28 Jul 2019 12:27:11 +0200 Subject: [PATCH 1/2] pylint: update to 2.3.1 --- srcpkgs/pylint/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 6119b9191c3..2fa5cb59502 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -1,6 +1,6 @@ # Template file for 'pylint' pkgname=pylint -version=1.9.4 +version=2.3.1 revision=1 archs=noarch wrksrc="pylint-${version}" @@ -12,10 +12,10 @@ depends="python-setuptools python-astroid python-six python-isort python-mccabe python-singledispatch" short_desc="Python2 code static checker" maintainer="Alessio Sergi " -homepage="http://www.pylint.org/" license="GPL-2.0-or-later" +homepage="http://www.pylint.org/" distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" -checksum=ee1e85575587c5b58ddafa25e1c1b01691ef172e139fc25585e5d3f02451da93 +checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 alternatives=" pylint:epylint:/usr/bin/epylint2 From 6e4332d938dffd603e8ac2d0c2b232e9ec0022f0 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio Date: Sun, 28 Jul 2019 12:34:33 +0200 Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate python2 version --- srcpkgs/python3-astroid | 1 - srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) delete mode 120000 srcpkgs/python3-astroid create mode 100644 srcpkgs/python3-astroid/template diff --git a/srcpkgs/python3-astroid b/srcpkgs/python3-astroid deleted file mode 120000 index 8ab3dd7a4e8..00000000000 --- a/srcpkgs/python3-astroid +++ /dev/null @@ -1 +0,0 @@ -python-astroid \ No newline at end of file diff --git a/srcpkgs/python3-astroid/template b/srcpkgs/python3-astroid/template new file mode 100644 index 00000000000..bf7938b3080 --- /dev/null +++ b/srcpkgs/python3-astroid/template @@ -0,0 +1,24 @@ +# Template file for 'python3-astroid' +pkgname=python3-astroid +version=2.2.5 +revision=1 +archs=noarch +wrksrc="astroid-${version}" +build_style=python3-module +pycompile_module="astroid" +hostmakedepends="python3-setuptools" +depends="python3-six python3-lazy-object-proxy python3-wrapt python3-typed-ast" +short_desc="Abstract syntax tree for Python3" +maintainer="Alessio Sergi " +license="GPL-2.0-or-later, LGPL-2.1-or-later" +homepage="https://github.com/PyCQA/astroid" +distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz" +checksum=6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4 + +post_install() { + # no tests + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests +} +pkg_install() { + vmove usr/lib/python3* +}