old pylint versions removed

This commit is contained in:
2020-08-30 16:36:33 +02:00
committed by Andreas Billmeier
parent 30d8a721df
commit 990508caed
8 changed files with 1 additions and 418 deletions

View File

@@ -54,6 +54,7 @@
* update lomond-0.3.3
* recheck and remove some hard coded version pins
* remove some misc typos
* old pylint versions removed
2020-08-26
* fix https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/18#issuecomment-124

View File

@@ -1,10 +0,0 @@
DIST pylint-2.2.2.tar.gz 568313 BLAKE2B a6a3a48a96820bf9412dbd5f3e643d95fe7c9ead9752920d9979debaf5da53a3b5076c39975dd37420c86b71fd2ed2f513c42663fbaf1e6103a0958271773c58 SHA512 29a9bf39413479cb2996b1a2e0d3aaa1845faf3038b17c30948554c359fe8cc858e9bfc0488ed0af204daea22e0ab36d765c447eae66ac7ac6d60d66d9a33fef
DIST pylint-2.4.2.tar.gz 644864 BLAKE2B 698336c9819382ff4331a1893377d47f4d1b4c9feec9a0531c673da2022108446c4eff171d02c6f6e492dd629623baf2ec314f85fa9c1b86628b85b50e8727db SHA512 b048dbc13c4b7928631a3f6068f85c38296442f29934ccc4574c176e9956683ccd4ccd96d8c5931eb542aed4625c6867c973a4d77080957a1a77b92c059fbac1
DIST pylint-2.4.3.tar.gz 645881 BLAKE2B b386c13e0e23df8242c5f011694d16b9e9d46a6ae26e9f0b6952d3572887208324afd4797f79fb636802a9eb7446dfef7877b4f0b65bb92e4106c4c1d7d0282f SHA512 b14399bcc1aa4fdc86cbfb4e453c9d507333a91f5f3405cd284391245eb2a783a16533c5aa75121f80f56f7fceda547ef42701f9084526081ee94e5eeea34774
DIST pylint-2.4.4.tar.gz 646113 BLAKE2B d62b66b056e01cc13e90f45ff4a11f94983e0b9b42b9a05e5c7b7385280000d15ead9a282e7eea31a8ee6a24ffe539576a6e9bd40dc4d89093263da99029123b SHA512 835e0687ebc76c530e0042c5a5188b8aedab446531f621627e990cbeb37ab6ecc8de0f8c6ab171abaa63488e049e8d7782958461421f9a4127435f56b6d2ed0b
EBUILD pylint-2.2.2.ebuild 2440 BLAKE2B 959c9645757e00ff434836235fafdbb8fe4222674c6787468c121a37e186225b5ea0e5b665a3368639640c06e71a30f4e22ed87abdddb6ef4de876834e66f16a SHA512 749cfe5fe6127645c0c7528e1d9609a7337420d86c1be163065d1304a5a5c32e1f27e05976b1f52a80cdc209a550f9f28f13b21eb5ad51e4a6498a66ea2c12e9
EBUILD pylint-2.4.2.ebuild 2440 BLAKE2B 959c9645757e00ff434836235fafdbb8fe4222674c6787468c121a37e186225b5ea0e5b665a3368639640c06e71a30f4e22ed87abdddb6ef4de876834e66f16a SHA512 749cfe5fe6127645c0c7528e1d9609a7337420d86c1be163065d1304a5a5c32e1f27e05976b1f52a80cdc209a550f9f28f13b21eb5ad51e4a6498a66ea2c12e9
EBUILD pylint-2.4.3-r1.ebuild 2432 BLAKE2B ad4b2e323991daf9d980be6f3bbbf12072d62dfe6e7807bb7b5481acde65d0d70292f3006a90e038d8ea08febcb057bc7d0c58cbad8527eca434ec5dd63bfae7 SHA512 ac66208e17f7120d9c53e118de6d5d5ae79660677071e96088bc25b2d6934eb356e3ec1fd84503e02404611cc1c3abb4170aecc5724231832dd04fc261380999
EBUILD pylint-2.4.3.ebuild 2440 BLAKE2B 959c9645757e00ff434836235fafdbb8fe4222674c6787468c121a37e186225b5ea0e5b665a3368639640c06e71a30f4e22ed87abdddb6ef4de876834e66f16a SHA512 749cfe5fe6127645c0c7528e1d9609a7337420d86c1be163065d1304a5a5c32e1f27e05976b1f52a80cdc209a550f9f28f13b21eb5ad51e4a6498a66ea2c12e9
EBUILD pylint-2.4.4.ebuild 2434 BLAKE2B cbd4672b25506625d9ead84a7531f23fdc3ef22fba9d01872d57a92bad364d43b31d786b88f37f97fe7bbd2dda3f0bab927ecdd26bfab21e67992af0f9bc085b SHA512 fc8f866aeff9eebe8685f840cb10987eca9416db75b3cd64037f161a50d7d6c73d2943aeaf95f096ded09219aeb66f902a65991aefc741370b15fa884548b2c5
MISC metadata.xml 1074 BLAKE2B 712009f2963542b06e481ae89b331e9ddeec4d2d340ba076f73f12e328906527daeb814a03df11e0c9f12ce5b19c6639f8686294d2673cfd2fcac96c94aef6df SHA512 83ad47c0dfcd143d058267fb1c5d250b9316124a91f431356a881937b4a527a0e23575cf353da8aa678645e6ec4a455b9114ac6ecfa0b36d88ac0623ca66ce57

View File

@@ -1,23 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">
Pylint is a Python source code analyzer which looks for programming errors,
helps enforcing a coding standard and sniffs for some code smells (as
defined in Martin Fowler's Refactoring book). Pylint can be seen as
another PyChecker since nearly all tests you can do with PyChecker can also
be done with Pylint. However, Pylint offers some more features, like
checking length of lines of code, checking if variable names are
well-formed according to your coding standard, or checking if declared
interfaces are truly implemented, and much more. Additionally, it is
possible to write plugins to add your own checks.
</longdescription>
<upstream>
<remote-id type="pypi">pylint</remote-id>
<remote-id type="github">pycqa/pylint</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,77 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 eutils
DESCRIPTION="Python code static checker"
HOMEPAGE="https://www.logilab.org/project/pylint
https://pypi.org/project/pylint/
https://github.com/pycqa/pylint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc examples test"
RDEPEND="
>=dev-python/astroid-1.6.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]
virtual/python-singledispatch[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]' -2)"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND}
<dev-python/pytest-3.3[${PYTHON_USEDEP}] )"
python_prepare_all() {
# remove unused dep
sed -i -e '/pytest-runner/d' setup.py || die
# Disable failing tests
# TODO: investigate if it's our fault and how can we fix it
sed -i -e 's/io.StringIO()/\0 if sys.version_info.major > 2 else open(os.devnull, "w")/' \
-e 's/test_libmodule/_&/' \
pylint/test/acceptance/test_stdlib.py || die
sed -i -e 's/^# pylint:.*/\0, import-error/' \
pylint/test/functional/deprecated_module_py36.py || die
sed -i -e 's/^# pylint:.*/\0, wrong-import-order/' \
pylint/test/functional/generated_members.py || die
sed -i -e 's/test_good_comprehension_checks/_&/' \
pylint/test/functional/using_constant_test.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
}
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
doman man/{pylint,pyreverse}.1
if use examples ; then
docinto examples
dodoc -r examples/.
fi
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
distutils-r1_python_install_all
}
pkg_postinst() {
# Optional dependency on "tk" USE flag would break support for Jython.
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
}

View File

@@ -1,77 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 eutils
DESCRIPTION="Python code static checker"
HOMEPAGE="https://www.logilab.org/project/pylint
https://pypi.org/project/pylint/
https://github.com/pycqa/pylint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc examples test"
RDEPEND="
>=dev-python/astroid-1.6.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]
virtual/python-singledispatch[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]' -2)"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND}
<dev-python/pytest-3.3[${PYTHON_USEDEP}] )"
python_prepare_all() {
# remove unused dep
sed -i -e '/pytest-runner/d' setup.py || die
# Disable failing tests
# TODO: investigate if it's our fault and how can we fix it
sed -i -e 's/io.StringIO()/\0 if sys.version_info.major > 2 else open(os.devnull, "w")/' \
-e 's/test_libmodule/_&/' \
pylint/test/acceptance/test_stdlib.py || die
sed -i -e 's/^# pylint:.*/\0, import-error/' \
pylint/test/functional/deprecated_module_py36.py || die
sed -i -e 's/^# pylint:.*/\0, wrong-import-order/' \
pylint/test/functional/generated_members.py || die
sed -i -e 's/test_good_comprehension_checks/_&/' \
pylint/test/functional/using_constant_test.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
}
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
doman man/{pylint,pyreverse}.1
if use examples ; then
docinto examples
dodoc -r examples/.
fi
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
distutils-r1_python_install_all
}
pkg_postinst() {
# Optional dependency on "tk" USE flag would break support for Jython.
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
}

View File

@@ -1,77 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 eutils
DESCRIPTION="Python code static checker"
HOMEPAGE="https://www.logilab.org/project/pylint
https://pypi.org/project/pylint/
https://github.com/pycqa/pylint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc examples test"
RDEPEND="
>=dev-python/astroid-1.6.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]
virtual/python-singledispatch[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]' -2)"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND}
<dev-python/pytest-3.3[${PYTHON_USEDEP}] )"
python_prepare_all() {
# remove unused dep
sed -i -e '/pytest-runner/d' setup.py || die
# Disable failing tests
# TODO: investigate if it's our fault and how can we fix it
sed -i -e 's/io.StringIO()/\0 if sys.version_info.major > 2 else open(os.devnull, "w")/' \
-e 's/test_libmodule/_&/' \
pylint/test/acceptance/test_stdlib.py || die
sed -i -e 's/^# pylint:.*/\0, import-error/' \
pylint/test/functional/deprecated_module_py36.py || die
sed -i -e 's/^# pylint:.*/\0, wrong-import-order/' \
pylint/test/functional/generated_members.py || die
sed -i -e 's/test_good_comprehension_checks/_&/' \
pylint/test/functional/using_constant_test.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
}
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
doman man/{pylint,pyreverse}.1
if use examples ; then
docinto examples
dodoc -r examples/.
fi
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
distutils-r1_python_install_all
}
pkg_postinst() {
# Optional dependency on "tk" USE flag would break support for Jython.
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
}

View File

@@ -1,77 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 eutils
DESCRIPTION="Python code static checker"
HOMEPAGE="https://www.logilab.org/project/pylint
https://pypi.org/project/pylint/
https://github.com/pycqa/pylint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc examples test"
RDEPEND="
>=dev-python/astroid-1.6.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]
virtual/python-singledispatch[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]' -2)"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND}
<dev-python/pytest-3.3[${PYTHON_USEDEP}] )"
python_prepare_all() {
# remove unused dep
sed -i -e '/pytest-runner/d' setup.py || die
# Disable failing tests
# TODO: investigate if it's our fault and how can we fix it
sed -i -e 's/io.StringIO()/\0 if sys.version_info.major > 2 else open(os.devnull, "w")/' \
-e 's/test_libmodule/_&/' \
pylint/test/acceptance/test_stdlib.py || die
sed -i -e 's/^# pylint:.*/\0, import-error/' \
pylint/test/functional/deprecated_module_py36.py || die
sed -i -e 's/^# pylint:.*/\0, wrong-import-order/' \
pylint/test/functional/generated_members.py || die
sed -i -e 's/test_good_comprehension_checks/_&/' \
pylint/test/functional/using_constant_test.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
}
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
doman man/{pylint,pyreverse}.1
if use examples ; then
docinto examples
dodoc -r examples/.
fi
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
distutils-r1_python_install_all
}
pkg_postinst() {
# Optional dependency on "tk" USE flag would break support for Jython.
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
}

View File

@@ -1,77 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 eutils
DESCRIPTION="Python code static checker"
HOMEPAGE="https://www.logilab.org/project/pylint
https://pypi.org/project/pylint/
https://github.com/pycqa/pylint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc examples test"
RDEPEND="
>=dev-python/astroid-1.6.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]
virtual/python-singledispatch[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]' -2)"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND}
<dev-python/pytest-3.3[${PYTHON_USEDEP}] )"
python_prepare_all() {
# remove unused dep
sed -i -e '/pytest-runner/d' setup.py || die
# Disable failing tests
# TODO: investigate if it's our fault and how can we fix it
sed -i -e 's/io.StringIO()/\0 if sys.version_info.major > 2 else open(os.devnull, "w")/' \
-e 's/test_libmodule/_&/' \
pylint/test/acceptance/test_stdlib.py || die
sed -i -e 's/^# pylint:.*/\0, import-error/' \
pylint/test/functional/deprecated_module_py36.py || die
sed -i -e 's/^# pylint:.*/\0, wrong-import-order/' \
pylint/test/functional/generated_members.py || die
sed -i -e 's/test_good_comprehension_checks/_&/' \
pylint/test/functional/using_constant_test.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
}
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
doman man/{pylint,pyreverse}.1
if use examples ; then
docinto examples
dodoc -r examples/.
fi
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
distutils-r1_python_install_all
}
pkg_postinst() {
# Optional dependency on "tk" USE flag would break support for Jython.
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
}