From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F38D158030 for ; Fri, 24 Feb 2023 06:00:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFD6CE07D1; Fri, 24 Feb 2023 06:00:27 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC419E07D1 for ; Fri, 24 Feb 2023 06:00:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8BEE340DA0 for ; Fri, 24 Feb 2023 06:00:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D58A8C2 for ; Fri, 24 Feb 2023 06:00:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1677215424.1ecb47be2bf800b26fbb2acad96c78b076fdb804.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint-venv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pylint-venv/Manifest dev-python/pylint-venv/pylint-venv-3.0.1.ebuild X-VCS-Directories: dev-python/pylint-venv/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1ecb47be2bf800b26fbb2acad96c78b076fdb804 X-VCS-Branch: master Date: Fri, 24 Feb 2023 06:00:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84e3f578-2f84-4e5f-8815-cbb61ca0cdcb X-Archives-Hash: 943fa3d86fd56df32457756647cc1535 commit: 1ecb47be2bf800b26fbb2acad96c78b076fdb804 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 24 05:10:24 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 24 05:10:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ecb47be dev-python/pylint-venv: Bump to 3.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pylint-venv/Manifest | 1 + dev-python/pylint-venv/pylint-venv-3.0.1.ebuild | 41 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/pylint-venv/Manifest b/dev-python/pylint-venv/Manifest index 2fdd8d0ec82e..a37be2b0ff4c 100644 --- a/dev-python/pylint-venv/Manifest +++ b/dev-python/pylint-venv/Manifest @@ -1,2 +1,3 @@ DIST pylint-venv-2.3.0.gh.tar.gz 4967 BLAKE2B 7095848b28f1128d44164fecbd1fd1c3694140d8b3818fefcab92aa5a4083608dfc36c96a6c30b117a8592bea0de9b92a537c33f8db4ce8c1285a575d1aa2131 SHA512 c3f9294a137cc6369984cf714196ee0a248471990f2c6e691da86f3048126b99775cc8e9c516c72bd8746d0d814a52387eca165c5f1960aa418ec5abb13a3bed DIST pylint-venv-3.0.0.gh.tar.gz 14757 BLAKE2B 807b0e6eb7fee32d592fc215a6c4018003078f66c3500ffb9e9769e98e2226554433f2ae33f6480ae4240e8e96b932df23f8ddc3b3dab5bdd54cff3509f9ba48 SHA512 d239919a42f5107de255cc8de0737bbf57798f949f6845cad13da2fa30ded05ad07319b6294d19fe866ea0d533b3a30ba0f064a9c1091ac39ace6d9998f0f5df +DIST pylint-venv-3.0.1.gh.tar.gz 14901 BLAKE2B e41a0782fe1bdf83b0019c035cb80416838b71924a1574189aa8936a22fce689523984a277305beba49559d0bcdbde9c8b4ac6a9cb12e1a3853a9a3f287a7a57 SHA512 7b6e7be85dd5552c99d620550e602eb908fccb1ef0982e1734276e14f882261ad7c13309ac796e657865544484a275016981e9b75ef31d17d4c01454b7e091a8 diff --git a/dev-python/pylint-venv/pylint-venv-3.0.1.ebuild b/dev-python/pylint-venv/pylint-venv-3.0.1.ebuild new file mode 100644 index 000000000000..b1d01e98259b --- /dev/null +++ b/dev-python/pylint-venv/pylint-venv-3.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Init-hook to use the same Pylint with different virtual environments" +HOMEPAGE=" + https://pypi.org/project/pylint-venv/ + https://github.com/jgosmann/pylint-venv/ +" +SRC_URI=" + https://github.com/jgosmann/pylint-venv/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/pylint-2.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pylint-2.14.0[${PYTHON_USEDEP}] + ) +" + +python_test() { + # we need to set PYTHONPATH explicitly since the test runs installed + # pylint (i.e. starts outside the test venv) + local -x PYTHONPATH=${S}:${PYTHONPATH} + bash test/test.sh || die "Test failed with ${EPYTHON}" +}