From bd4aeefe33e63f613512604e47bfca7b2187697d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Nov 2019 16:06:58 +0000 Subject: gentoo resync : 03.11.2019 --- dev-python/pytest-pylint/Manifest | 4 ++- .../pytest-pylint/pytest-pylint-0.14.1.ebuild | 38 ++++++++++++++++++++++ .../pytest-pylint/pytest-pylint-0.7.1.ebuild | 2 +- 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild (limited to 'dev-python/pytest-pylint') diff --git a/dev-python/pytest-pylint/Manifest b/dev-python/pytest-pylint/Manifest index 8cca9f0bdc40..b5809b9cee44 100644 --- a/dev-python/pytest-pylint/Manifest +++ b/dev-python/pytest-pylint/Manifest @@ -1,3 +1,5 @@ +DIST pytest-pylint-0.14.1.tar.gz 8144 BLAKE2B d78892e3e606ec588b48a252db447e1cc76e27e45606670da3a3acddf040485004a7af84474732b044fdbf80ad760c07fda5e35030b9b2c9e5ce89f4809529c2 SHA512 697cd40e8e4c3722e382c7fd2dbebcb1728675e35b60396628576ec09735595af56431a2c080f29a2f35f304d912c80e4afdf0f8bd21a3adeae3156b9e58c751 DIST pytest-pylint-0.7.1.tar.gz 5648 BLAKE2B 0baf011d9bbcfc5e66b8ea2c4fd95c8a3f8bbeedca15e2ec35d36b372b410d87ba619b0938acb26c667750c2f81d4bb09ca688731f9e184877fd999be04b6f26 SHA512 e2a7802f90ea25a909094e8bc67570eb631d6ab6dc130bb5cca1738ae09d069b4fa6c3c1349d9d62188a924138e832a3a37c8c5c8964290c95d69eecbadbd09f -EBUILD pytest-pylint-0.7.1.ebuild 1013 BLAKE2B 616eca3a79636d7149781288c2e726b8696dc5aad74dda295872b740af38668fd24db02212adb126b82443a291e5a40c8c1e4b534fbc5b4ae6677013c9659a90 SHA512 c2602171bad9bb6ab3467f9b6968f5be458ff8b8d76e3fd2a0e67c6f28dc99aeeb8bc914ad34a68d76f941bd7e010bf22c7e824c0104af62c5e8494bd6419ad6 +EBUILD pytest-pylint-0.14.1.ebuild 1051 BLAKE2B d4874d3cd88183085f09656d6935e72788212ed4776034baf72746b6ff6222595495382b278f8ddb7626727067d4a4505f3de17107622461e57e831726c09f5b SHA512 e21b7021cd510481065f1e4019600e7c54efe2753e0145e767166508e925342305b359f94f5ce513aa8e1436f70854938850278e3608360d1a5dab8093dcf757 +EBUILD pytest-pylint-0.7.1.ebuild 1015 BLAKE2B ff47e2e7893628bc3b74c3ba1b7ee9c4a9396fa83707c374ca00ef403684ffdab450c962fcf6834de188efa0887247b1b519d4ad33eaa5847a54b68958d68b92 SHA512 c145f3ccfd63a3ca178cfbc2ebcaa7f506cf08a0fbc72d91a232509a5797c277a351fe9644d48145a196af7192821e94d2fb329b06908e01c2e3c62bef862f4c MISC metadata.xml 306 BLAKE2B ef6d4e4bd779cdbec5e76617003defe8581c1c2b04b6098efce973a9b2eb154da51bdc27e8c202df1dc6c4a6393471b917dd47f2e95e75487dcba7a8fa725ae4 SHA512 726037520d25c038ab6a35c14edce11561e281fcfbb6a505bf3ead4d474cb10606b715f95c6df95e22e97f20f840c1694bde08984f9211bc46b5d0afb46f1c4e diff --git a/dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild b/dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild new file mode 100644 index 000000000000..4e165ea01922 --- /dev/null +++ b/dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit distutils-r1 + +DESCRIPTION="pytest plugin to check source code with pylint" +HOMEPAGE="https://github.com/carsongee/pytest-pylint" +SRC_URI="https://github.com/carsongee/pytest-pylint/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-pep8[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # pytest grabs the options from tox.ini automatically + # but setup.py does not declare pytest-pep8 as a dep, + # so it's missing from env created by distutils_install_for_testing + sed -i -e 's:--pep8::' tox.ini || die + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing + py.test -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild b/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild index 908603366e42..af94d60d1cb8 100644 --- a/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild +++ b/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) inherit distutils-r1 DESCRIPTION="pytest plugin to check source code with pylint" -- cgit v1.2.3