[-- Attachment #1: Type: text/plain, Size: 337 bytes --] There is a new pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 1171 bytes --] From bb824238c741d2531932050e4fb1a4c7708a0cd4 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 12:27:11 +0200 Subject: [PATCH] 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 <al3hex@gmail.com>" -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
[-- Attachment #1: Type: text/plain, Size: 342 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 2240 bytes --] From bb824238c741d2531932050e4fb1a4c7708a0cd4 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> 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 <al3hex@gmail.com>" -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 2fb88848f9a14462125402c8fb779780e71fce75 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 12:34:33 +0200 Subject: [PATCH 2/2] python-astroid: update to 2.2.5 --- srcpkgs/python-astroid/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..f6f33a8f8f9 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -1,6 +1,6 @@ # Template file for 'python-astroid' pkgname=python-astroid -version=1.6.6 +version=2.2.5 revision=1 archs=noarch wrksrc="astroid-${version}" @@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>" homepage="https://github.com/PyCQA/astroid" license="GPL-2.0-or-later, LGPL-2.1-or-later" distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz" -checksum=d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7 +checksum=6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4 post_install() { # no tests
[-- Attachment #1: Type: text/plain, Size: 342 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 2240 bytes --] From bb824238c741d2531932050e4fb1a4c7708a0cd4 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> 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 <al3hex@gmail.com>" -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 2fb88848f9a14462125402c8fb779780e71fce75 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 12:34:33 +0200 Subject: [PATCH 2/2] python-astroid: update to 2.2.5 --- srcpkgs/python-astroid/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..f6f33a8f8f9 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -1,6 +1,6 @@ # Template file for 'python-astroid' pkgname=python-astroid -version=1.6.6 +version=2.2.5 revision=1 archs=noarch wrksrc="astroid-${version}" @@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>" homepage="https://github.com/PyCQA/astroid" license="GPL-2.0-or-later, LGPL-2.1-or-later" distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz" -checksum=d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7 +checksum=6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4 post_install() { # no tests
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 2873 bytes --] From bb824238c741d2531932050e4fb1a4c7708a0cd4 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> 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 <al3hex@gmail.com>" -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 <kodycze@gmail.com> 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 2873 bytes --] From bb824238c741d2531932050e4fb1a4c7708a0cd4 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> 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 <al3hex@gmail.com>" -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 <kodycze@gmail.com> 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 5983 bytes --] From e288d54c79e1587b141ea9604f72c4b1b3cef186 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:51:09 +0200 Subject: [PATCH 1/2] python3-pylint: update to 2.3.1, separate from python2 version --- srcpkgs/pylint/template | 25 --------------- srcpkgs/python3-pylint | 1 - srcpkgs/python3-pylint/template | 57 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 26 deletions(-) delete mode 120000 srcpkgs/python3-pylint create mode 100644 srcpkgs/python3-pylint/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 6119b9191c3..a8d1c661066 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -46,28 +46,3 @@ post_install() { vsconf elisp/pylint.el vsconf elisp/pylint-flymake.el } - -python3-pylint_package() { - alternatives=" - pylint:epylint:/usr/bin/epylint3 - pylint:pylint:/usr/bin/pylint3 - pylint:pyreverse:/usr/bin/pyreverse3 - pylint:symilar:/usr/bin/symilar3 - pylint:epylint.1:/usr/share/man/man1/epylint3.1 - pylint:pylint.1:/usr/share/man/man1/pylint3.1 - pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 - pylint:symilar.1:/usr/share/man/man1/symilar3.1" - archs=noarch - pycompile_module="pylint" - depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vmove usr/share/man/man1/*3.1 - vsconf examples/pylintrc - vsconf examples/pylintrc_camelcase - vsconf elisp/pylint.el - vsconf elisp/pylint-flymake.el - } -} diff --git a/srcpkgs/python3-pylint b/srcpkgs/python3-pylint deleted file mode 120000 index 54b18e249c1..00000000000 --- a/srcpkgs/python3-pylint +++ /dev/null @@ -1 +0,0 @@ -pylint \ No newline at end of file diff --git a/srcpkgs/python3-pylint/template b/srcpkgs/python3-pylint/template new file mode 100644 index 00000000000..2ad20b9e558 --- /dev/null +++ b/srcpkgs/python3-pylint/template @@ -0,0 +1,57 @@ +# Template file for 'pylint' +pkgname=pylint +version=2.3.1 +revision=1 +archs=noarch +wrksrc="pylint-${version}" +build_style=python3-module +pycompile_module="pylint" +hostmakedepends="python-setuptools python3-setuptools" +depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" +short_desc="Python3 code static checker" +maintainer="Alessio Sergi <al3hex@gmail.com>" +license="GPL-2.0-or-later" +homepage="http://www.pylint.org/" +distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" +checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 + +alternatives=" + pylint:epylint:/usr/bin/epylint3 + pylint:pylint:/usr/bin/pylint3 + pylint:pyreverse:/usr/bin/pyreverse3 + pylint:symilar:/usr/bin/symilar3 + pylint:epylint.1:/usr/share/man/man1/epylint3.1 + pylint:pylint.1:/usr/share/man/man1/pylint3.1 + pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 + pylint:symilar.1:/usr/share/man/man1/symilar3.1" + +pre_build() { + sed -i '/setup_requires=/d' setup.py +} + +pkg_install() { + vmove usr/bin/*3 + vmove usr/lib/python3* + vmove usr/share/man/man1/*3.1 + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} + +post_install() { + # no tests + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test + + # create versioned man pages + for f in epylint pylint pyreverse symilar; do + vman man/${f}.1 ${f}2.1 + vman man/${f}.1 ${f}3.1 + done + + # install example config and emacs files + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} From c7f6d9e3fb12d0baf0cc0967cc42be31b2a1e68f Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:52:22 +0200 Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate from python2 version --- srcpkgs/python-astroid/template | 10 ---------- srcpkgs/python3-astroid | 1 - srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++ 3 files changed, 24 insertions(+), 11 deletions(-) delete mode 120000 srcpkgs/python3-astroid create mode 100644 srcpkgs/python3-astroid/template diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..baba767bd45 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -20,13 +20,3 @@ post_install() { # no tests rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests } - -python3-astroid_package() { - archs=noarch - pycompile_module="astroid" - depends="python3-six python3-lazy-object-proxy python3-wrapt" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 5983 bytes --] From e288d54c79e1587b141ea9604f72c4b1b3cef186 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:51:09 +0200 Subject: [PATCH 1/2] python3-pylint: update to 2.3.1, separate from python2 version --- srcpkgs/pylint/template | 25 --------------- srcpkgs/python3-pylint | 1 - srcpkgs/python3-pylint/template | 57 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 26 deletions(-) delete mode 120000 srcpkgs/python3-pylint create mode 100644 srcpkgs/python3-pylint/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 6119b9191c3..a8d1c661066 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -46,28 +46,3 @@ post_install() { vsconf elisp/pylint.el vsconf elisp/pylint-flymake.el } - -python3-pylint_package() { - alternatives=" - pylint:epylint:/usr/bin/epylint3 - pylint:pylint:/usr/bin/pylint3 - pylint:pyreverse:/usr/bin/pyreverse3 - pylint:symilar:/usr/bin/symilar3 - pylint:epylint.1:/usr/share/man/man1/epylint3.1 - pylint:pylint.1:/usr/share/man/man1/pylint3.1 - pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 - pylint:symilar.1:/usr/share/man/man1/symilar3.1" - archs=noarch - pycompile_module="pylint" - depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vmove usr/share/man/man1/*3.1 - vsconf examples/pylintrc - vsconf examples/pylintrc_camelcase - vsconf elisp/pylint.el - vsconf elisp/pylint-flymake.el - } -} diff --git a/srcpkgs/python3-pylint b/srcpkgs/python3-pylint deleted file mode 120000 index 54b18e249c1..00000000000 --- a/srcpkgs/python3-pylint +++ /dev/null @@ -1 +0,0 @@ -pylint \ No newline at end of file diff --git a/srcpkgs/python3-pylint/template b/srcpkgs/python3-pylint/template new file mode 100644 index 00000000000..2ad20b9e558 --- /dev/null +++ b/srcpkgs/python3-pylint/template @@ -0,0 +1,57 @@ +# Template file for 'pylint' +pkgname=pylint +version=2.3.1 +revision=1 +archs=noarch +wrksrc="pylint-${version}" +build_style=python3-module +pycompile_module="pylint" +hostmakedepends="python-setuptools python3-setuptools" +depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" +short_desc="Python3 code static checker" +maintainer="Alessio Sergi <al3hex@gmail.com>" +license="GPL-2.0-or-later" +homepage="http://www.pylint.org/" +distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" +checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 + +alternatives=" + pylint:epylint:/usr/bin/epylint3 + pylint:pylint:/usr/bin/pylint3 + pylint:pyreverse:/usr/bin/pyreverse3 + pylint:symilar:/usr/bin/symilar3 + pylint:epylint.1:/usr/share/man/man1/epylint3.1 + pylint:pylint.1:/usr/share/man/man1/pylint3.1 + pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 + pylint:symilar.1:/usr/share/man/man1/symilar3.1" + +pre_build() { + sed -i '/setup_requires=/d' setup.py +} + +pkg_install() { + vmove usr/bin/*3 + vmove usr/lib/python3* + vmove usr/share/man/man1/*3.1 + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} + +post_install() { + # no tests + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test + + # create versioned man pages + for f in epylint pylint pyreverse symilar; do + vman man/${f}.1 ${f}2.1 + vman man/${f}.1 ${f}3.1 + done + + # install example config and emacs files + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} From c7f6d9e3fb12d0baf0cc0967cc42be31b2a1e68f Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:52:22 +0200 Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate from python2 version --- srcpkgs/python-astroid/template | 10 ---------- srcpkgs/python3-astroid | 1 - srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++ 3 files changed, 24 insertions(+), 11 deletions(-) delete mode 120000 srcpkgs/python3-astroid create mode 100644 srcpkgs/python3-astroid/template diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..baba767bd45 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -20,13 +20,3 @@ post_install() { # no tests rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests } - -python3-astroid_package() { - archs=noarch - pycompile_module="astroid" - depends="python3-six python3-lazy-object-proxy python3-wrapt" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 6507 bytes --] From e288d54c79e1587b141ea9604f72c4b1b3cef186 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:51:09 +0200 Subject: [PATCH 1/2] python3-pylint: update to 2.3.1, separate from python2 version --- srcpkgs/pylint/template | 25 --------------- srcpkgs/python3-pylint | 1 - srcpkgs/python3-pylint/template | 57 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 26 deletions(-) delete mode 120000 srcpkgs/python3-pylint create mode 100644 srcpkgs/python3-pylint/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 6119b9191c3..a8d1c661066 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -46,28 +46,3 @@ post_install() { vsconf elisp/pylint.el vsconf elisp/pylint-flymake.el } - -python3-pylint_package() { - alternatives=" - pylint:epylint:/usr/bin/epylint3 - pylint:pylint:/usr/bin/pylint3 - pylint:pyreverse:/usr/bin/pyreverse3 - pylint:symilar:/usr/bin/symilar3 - pylint:epylint.1:/usr/share/man/man1/epylint3.1 - pylint:pylint.1:/usr/share/man/man1/pylint3.1 - pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 - pylint:symilar.1:/usr/share/man/man1/symilar3.1" - archs=noarch - pycompile_module="pylint" - depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vmove usr/share/man/man1/*3.1 - vsconf examples/pylintrc - vsconf examples/pylintrc_camelcase - vsconf elisp/pylint.el - vsconf elisp/pylint-flymake.el - } -} diff --git a/srcpkgs/python3-pylint b/srcpkgs/python3-pylint deleted file mode 120000 index 54b18e249c1..00000000000 --- a/srcpkgs/python3-pylint +++ /dev/null @@ -1 +0,0 @@ -pylint \ No newline at end of file diff --git a/srcpkgs/python3-pylint/template b/srcpkgs/python3-pylint/template new file mode 100644 index 00000000000..2ad20b9e558 --- /dev/null +++ b/srcpkgs/python3-pylint/template @@ -0,0 +1,57 @@ +# Template file for 'pylint' +pkgname=pylint +version=2.3.1 +revision=1 +archs=noarch +wrksrc="pylint-${version}" +build_style=python3-module +pycompile_module="pylint" +hostmakedepends="python-setuptools python3-setuptools" +depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" +short_desc="Python3 code static checker" +maintainer="Alessio Sergi <al3hex@gmail.com>" +license="GPL-2.0-or-later" +homepage="http://www.pylint.org/" +distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" +checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 + +alternatives=" + pylint:epylint:/usr/bin/epylint3 + pylint:pylint:/usr/bin/pylint3 + pylint:pyreverse:/usr/bin/pyreverse3 + pylint:symilar:/usr/bin/symilar3 + pylint:epylint.1:/usr/share/man/man1/epylint3.1 + pylint:pylint.1:/usr/share/man/man1/pylint3.1 + pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 + pylint:symilar.1:/usr/share/man/man1/symilar3.1" + +pre_build() { + sed -i '/setup_requires=/d' setup.py +} + +pkg_install() { + vmove usr/bin/*3 + vmove usr/lib/python3* + vmove usr/share/man/man1/*3.1 + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} + +post_install() { + # no tests + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test + + # create versioned man pages + for f in epylint pylint pyreverse symilar; do + vman man/${f}.1 ${f}2.1 + vman man/${f}.1 ${f}3.1 + done + + # install example config and emacs files + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} From c4eca2b9d588a9207d430f3edc4b8c488444b3f3 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:52:22 +0200 Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate from python2 version --- srcpkgs/python-astroid/template | 12 +----------- srcpkgs/python3-astroid | 1 - srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++ 3 files changed, 25 insertions(+), 12 deletions(-) delete mode 120000 srcpkgs/python3-astroid create mode 100644 srcpkgs/python3-astroid/template diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..3c3ba3c50d8 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -11,8 +11,8 @@ depends="python-six python-lazy-object-proxy python-wrapt python-backports.functools_lru_cache python-enum34 python-singledispatch" short_desc="Abstract syntax tree for Python2" maintainer="Alessio Sergi <al3hex@gmail.com>" -homepage="https://github.com/PyCQA/astroid" 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=d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7 @@ -20,13 +20,3 @@ post_install() { # no tests rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests } - -python3-astroid_package() { - archs=noarch - pycompile_module="astroid" - depends="python3-six python3-lazy-object-proxy python3-wrapt" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 6507 bytes --] From e288d54c79e1587b141ea9604f72c4b1b3cef186 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:51:09 +0200 Subject: [PATCH 1/2] python3-pylint: update to 2.3.1, separate from python2 version --- srcpkgs/pylint/template | 25 --------------- srcpkgs/python3-pylint | 1 - srcpkgs/python3-pylint/template | 57 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 26 deletions(-) delete mode 120000 srcpkgs/python3-pylint create mode 100644 srcpkgs/python3-pylint/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 6119b9191c3..a8d1c661066 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -46,28 +46,3 @@ post_install() { vsconf elisp/pylint.el vsconf elisp/pylint-flymake.el } - -python3-pylint_package() { - alternatives=" - pylint:epylint:/usr/bin/epylint3 - pylint:pylint:/usr/bin/pylint3 - pylint:pyreverse:/usr/bin/pyreverse3 - pylint:symilar:/usr/bin/symilar3 - pylint:epylint.1:/usr/share/man/man1/epylint3.1 - pylint:pylint.1:/usr/share/man/man1/pylint3.1 - pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 - pylint:symilar.1:/usr/share/man/man1/symilar3.1" - archs=noarch - pycompile_module="pylint" - depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vmove usr/share/man/man1/*3.1 - vsconf examples/pylintrc - vsconf examples/pylintrc_camelcase - vsconf elisp/pylint.el - vsconf elisp/pylint-flymake.el - } -} diff --git a/srcpkgs/python3-pylint b/srcpkgs/python3-pylint deleted file mode 120000 index 54b18e249c1..00000000000 --- a/srcpkgs/python3-pylint +++ /dev/null @@ -1 +0,0 @@ -pylint \ No newline at end of file diff --git a/srcpkgs/python3-pylint/template b/srcpkgs/python3-pylint/template new file mode 100644 index 00000000000..2ad20b9e558 --- /dev/null +++ b/srcpkgs/python3-pylint/template @@ -0,0 +1,57 @@ +# Template file for 'pylint' +pkgname=pylint +version=2.3.1 +revision=1 +archs=noarch +wrksrc="pylint-${version}" +build_style=python3-module +pycompile_module="pylint" +hostmakedepends="python-setuptools python3-setuptools" +depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" +short_desc="Python3 code static checker" +maintainer="Alessio Sergi <al3hex@gmail.com>" +license="GPL-2.0-or-later" +homepage="http://www.pylint.org/" +distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" +checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 + +alternatives=" + pylint:epylint:/usr/bin/epylint3 + pylint:pylint:/usr/bin/pylint3 + pylint:pyreverse:/usr/bin/pyreverse3 + pylint:symilar:/usr/bin/symilar3 + pylint:epylint.1:/usr/share/man/man1/epylint3.1 + pylint:pylint.1:/usr/share/man/man1/pylint3.1 + pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 + pylint:symilar.1:/usr/share/man/man1/symilar3.1" + +pre_build() { + sed -i '/setup_requires=/d' setup.py +} + +pkg_install() { + vmove usr/bin/*3 + vmove usr/lib/python3* + vmove usr/share/man/man1/*3.1 + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} + +post_install() { + # no tests + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test + + # create versioned man pages + for f in epylint pylint pyreverse symilar; do + vman man/${f}.1 ${f}2.1 + vman man/${f}.1 ${f}3.1 + done + + # install example config and emacs files + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} From c4eca2b9d588a9207d430f3edc4b8c488444b3f3 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:52:22 +0200 Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate from python2 version --- srcpkgs/python-astroid/template | 12 +----------- srcpkgs/python3-astroid | 1 - srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++ 3 files changed, 25 insertions(+), 12 deletions(-) delete mode 120000 srcpkgs/python3-astroid create mode 100644 srcpkgs/python3-astroid/template diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..3c3ba3c50d8 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -11,8 +11,8 @@ depends="python-six python-lazy-object-proxy python-wrapt python-backports.functools_lru_cache python-enum34 python-singledispatch" short_desc="Abstract syntax tree for Python2" maintainer="Alessio Sergi <al3hex@gmail.com>" -homepage="https://github.com/PyCQA/astroid" 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=d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7 @@ -20,13 +20,3 @@ post_install() { # no tests rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests } - -python3-astroid_package() { - archs=noarch - pycompile_module="astroid" - depends="python3-six python3-lazy-object-proxy python3-wrapt" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 7157 bytes --] From e288d54c79e1587b141ea9604f72c4b1b3cef186 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:51:09 +0200 Subject: [PATCH 1/2] python3-pylint: update to 2.3.1, separate from python2 version --- srcpkgs/pylint/template | 25 --------------- srcpkgs/python3-pylint | 1 - srcpkgs/python3-pylint/template | 57 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 26 deletions(-) delete mode 120000 srcpkgs/python3-pylint create mode 100644 srcpkgs/python3-pylint/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 6119b9191c3..a8d1c661066 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -46,28 +46,3 @@ post_install() { vsconf elisp/pylint.el vsconf elisp/pylint-flymake.el } - -python3-pylint_package() { - alternatives=" - pylint:epylint:/usr/bin/epylint3 - pylint:pylint:/usr/bin/pylint3 - pylint:pyreverse:/usr/bin/pyreverse3 - pylint:symilar:/usr/bin/symilar3 - pylint:epylint.1:/usr/share/man/man1/epylint3.1 - pylint:pylint.1:/usr/share/man/man1/pylint3.1 - pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 - pylint:symilar.1:/usr/share/man/man1/symilar3.1" - archs=noarch - pycompile_module="pylint" - depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vmove usr/share/man/man1/*3.1 - vsconf examples/pylintrc - vsconf examples/pylintrc_camelcase - vsconf elisp/pylint.el - vsconf elisp/pylint-flymake.el - } -} diff --git a/srcpkgs/python3-pylint b/srcpkgs/python3-pylint deleted file mode 120000 index 54b18e249c1..00000000000 --- a/srcpkgs/python3-pylint +++ /dev/null @@ -1 +0,0 @@ -pylint \ No newline at end of file diff --git a/srcpkgs/python3-pylint/template b/srcpkgs/python3-pylint/template new file mode 100644 index 00000000000..2ad20b9e558 --- /dev/null +++ b/srcpkgs/python3-pylint/template @@ -0,0 +1,57 @@ +# Template file for 'pylint' +pkgname=pylint +version=2.3.1 +revision=1 +archs=noarch +wrksrc="pylint-${version}" +build_style=python3-module +pycompile_module="pylint" +hostmakedepends="python-setuptools python3-setuptools" +depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" +short_desc="Python3 code static checker" +maintainer="Alessio Sergi <al3hex@gmail.com>" +license="GPL-2.0-or-later" +homepage="http://www.pylint.org/" +distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" +checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 + +alternatives=" + pylint:epylint:/usr/bin/epylint3 + pylint:pylint:/usr/bin/pylint3 + pylint:pyreverse:/usr/bin/pyreverse3 + pylint:symilar:/usr/bin/symilar3 + pylint:epylint.1:/usr/share/man/man1/epylint3.1 + pylint:pylint.1:/usr/share/man/man1/pylint3.1 + pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 + pylint:symilar.1:/usr/share/man/man1/symilar3.1" + +pre_build() { + sed -i '/setup_requires=/d' setup.py +} + +pkg_install() { + vmove usr/bin/*3 + vmove usr/lib/python3* + vmove usr/share/man/man1/*3.1 + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} + +post_install() { + # no tests + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test + + # create versioned man pages + for f in epylint pylint pyreverse symilar; do + vman man/${f}.1 ${f}2.1 + vman man/${f}.1 ${f}3.1 + done + + # install example config and emacs files + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} From 61eb8fa08c500404e310472f6f6cebb22bc71e68 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:52:22 +0200 Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate from python2 version --- srcpkgs/pylint/template | 2 +- srcpkgs/python-astroid/template | 12 +----------- srcpkgs/python3-astroid | 1 - srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++ 4 files changed, 26 insertions(+), 13 deletions(-) delete mode 120000 srcpkgs/python3-astroid create mode 100644 srcpkgs/python3-astroid/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index a8d1c661066..a195b588bfd 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -12,8 +12,8 @@ depends="python-setuptools python-astroid python-six python-isort python-mccabe python-singledispatch" short_desc="Python2 code static checker" maintainer="Alessio Sergi <al3hex@gmail.com>" -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 diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..3c3ba3c50d8 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -11,8 +11,8 @@ depends="python-six python-lazy-object-proxy python-wrapt python-backports.functools_lru_cache python-enum34 python-singledispatch" short_desc="Abstract syntax tree for Python2" maintainer="Alessio Sergi <al3hex@gmail.com>" -homepage="https://github.com/PyCQA/astroid" 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=d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7 @@ -20,13 +20,3 @@ post_install() { # no tests rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests } - -python3-astroid_package() { - archs=noarch - pycompile_module="astroid" - depends="python3-six python3-lazy-object-proxy python3-wrapt" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] There is an updated pull request by PaperMountainStudio against master on the void-packages repository https://github.com/PaperMountainStudio/void-packages pylint-2.3.1 https://github.com/void-linux/void-packages/pull/13391 [WIP] pylint: update to 2.3.1 A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --] [-- Type: text/x-diff, Size: 7157 bytes --] From e288d54c79e1587b141ea9604f72c4b1b3cef186 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:51:09 +0200 Subject: [PATCH 1/2] python3-pylint: update to 2.3.1, separate from python2 version --- srcpkgs/pylint/template | 25 --------------- srcpkgs/python3-pylint | 1 - srcpkgs/python3-pylint/template | 57 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 26 deletions(-) delete mode 120000 srcpkgs/python3-pylint create mode 100644 srcpkgs/python3-pylint/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index 6119b9191c3..a8d1c661066 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -46,28 +46,3 @@ post_install() { vsconf elisp/pylint.el vsconf elisp/pylint-flymake.el } - -python3-pylint_package() { - alternatives=" - pylint:epylint:/usr/bin/epylint3 - pylint:pylint:/usr/bin/pylint3 - pylint:pyreverse:/usr/bin/pyreverse3 - pylint:symilar:/usr/bin/symilar3 - pylint:epylint.1:/usr/share/man/man1/epylint3.1 - pylint:pylint.1:/usr/share/man/man1/pylint3.1 - pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 - pylint:symilar.1:/usr/share/man/man1/symilar3.1" - archs=noarch - pycompile_module="pylint" - depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vmove usr/share/man/man1/*3.1 - vsconf examples/pylintrc - vsconf examples/pylintrc_camelcase - vsconf elisp/pylint.el - vsconf elisp/pylint-flymake.el - } -} diff --git a/srcpkgs/python3-pylint b/srcpkgs/python3-pylint deleted file mode 120000 index 54b18e249c1..00000000000 --- a/srcpkgs/python3-pylint +++ /dev/null @@ -1 +0,0 @@ -pylint \ No newline at end of file diff --git a/srcpkgs/python3-pylint/template b/srcpkgs/python3-pylint/template new file mode 100644 index 00000000000..2ad20b9e558 --- /dev/null +++ b/srcpkgs/python3-pylint/template @@ -0,0 +1,57 @@ +# Template file for 'pylint' +pkgname=pylint +version=2.3.1 +revision=1 +archs=noarch +wrksrc="pylint-${version}" +build_style=python3-module +pycompile_module="pylint" +hostmakedepends="python-setuptools python3-setuptools" +depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe" +short_desc="Python3 code static checker" +maintainer="Alessio Sergi <al3hex@gmail.com>" +license="GPL-2.0-or-later" +homepage="http://www.pylint.org/" +distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" +checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1 + +alternatives=" + pylint:epylint:/usr/bin/epylint3 + pylint:pylint:/usr/bin/pylint3 + pylint:pyreverse:/usr/bin/pyreverse3 + pylint:symilar:/usr/bin/symilar3 + pylint:epylint.1:/usr/share/man/man1/epylint3.1 + pylint:pylint.1:/usr/share/man/man1/pylint3.1 + pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1 + pylint:symilar.1:/usr/share/man/man1/symilar3.1" + +pre_build() { + sed -i '/setup_requires=/d' setup.py +} + +pkg_install() { + vmove usr/bin/*3 + vmove usr/lib/python3* + vmove usr/share/man/man1/*3.1 + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} + +post_install() { + # no tests + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test + + # create versioned man pages + for f in epylint pylint pyreverse symilar; do + vman man/${f}.1 ${f}2.1 + vman man/${f}.1 ${f}3.1 + done + + # install example config and emacs files + vsconf examples/pylintrc + vsconf examples/pylintrc_camelcase + vsconf elisp/pylint.el + vsconf elisp/pylint-flymake.el +} From 61eb8fa08c500404e310472f6f6cebb22bc71e68 Mon Sep 17 00:00:00 2001 From: Paper Mountain Studio <kodycze@gmail.com> Date: Sun, 28 Jul 2019 13:52:22 +0200 Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate from python2 version --- srcpkgs/pylint/template | 2 +- srcpkgs/python-astroid/template | 12 +----------- srcpkgs/python3-astroid | 1 - srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++ 4 files changed, 26 insertions(+), 13 deletions(-) delete mode 120000 srcpkgs/python3-astroid create mode 100644 srcpkgs/python3-astroid/template diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template index a8d1c661066..a195b588bfd 100644 --- a/srcpkgs/pylint/template +++ b/srcpkgs/pylint/template @@ -12,8 +12,8 @@ depends="python-setuptools python-astroid python-six python-isort python-mccabe python-singledispatch" short_desc="Python2 code static checker" maintainer="Alessio Sergi <al3hex@gmail.com>" -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 diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template index 62dd495c995..3c3ba3c50d8 100644 --- a/srcpkgs/python-astroid/template +++ b/srcpkgs/python-astroid/template @@ -11,8 +11,8 @@ depends="python-six python-lazy-object-proxy python-wrapt python-backports.functools_lru_cache python-enum34 python-singledispatch" short_desc="Abstract syntax tree for Python2" maintainer="Alessio Sergi <al3hex@gmail.com>" -homepage="https://github.com/PyCQA/astroid" 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=d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7 @@ -20,13 +20,3 @@ post_install() { # no tests rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests } - -python3-astroid_package() { - archs=noarch - pycompile_module="astroid" - depends="python3-six python3-lazy-object-proxy python3-wrapt" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} 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 <al3hex@gmail.com>" +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* +}
[-- Attachment #1: Type: text/plain, Size: 172 bytes --] New comment by Chocimier on void-packages repository https://github.com/void-linux/void-packages/pull/13391#issuecomment-531489939 Comment: python3-pylint is now updated
[-- Attachment #1: Type: text/plain, Size: 163 bytes --] There's a closed pull request on the void-packages repository [WIP] pylint: update to 2.3.1 https://github.com/void-linux/void-packages/pull/13391 Description: