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 9D82C158015 for ; Sat, 30 Dec 2023 15:31:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D36482BC040; Sat, 30 Dec 2023 15:31:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2BAA2BC044 for ; Sat, 30 Dec 2023 15:31:19 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74DDE335DCD for ; Sat, 30 Dec 2023 15:31:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D787399E for ; Sat, 30 Dec 2023 15:31:16 +0000 (UTC) From: "Tomás Carvalho" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tomás Carvalho" Message-ID: <1703950253.d0773205a742fb4851c23e8c144c5775ea690020.tomas@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/autoflake/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/autoflake/Manifest dev-python/autoflake/autoflake-1.4-r1.ebuild dev-python/autoflake/autoflake-2.2.1.ebuild X-VCS-Directories: dev-python/autoflake/ X-VCS-Committer: tomas X-VCS-Committer-Name: Tomás Carvalho X-VCS-Revision: d0773205a742fb4851c23e8c144c5775ea690020 X-VCS-Branch: dev Date: Sat, 30 Dec 2023 15:31:16 +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: aca5bf09-e2db-4ff7-a829-23f6fb6ca918 X-Archives-Hash: 73b7ba291bfde54d69bb0a4a24260805 commit: d0773205a742fb4851c23e8c144c5775ea690020 Author: Tomás Carvalho thetimesweeper com> AuthorDate: Sat Dec 30 14:59:02 2023 +0000 Commit: Tomás Carvalho thetimesweeper com> CommitDate: Sat Dec 30 15:30:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0773205 dev-python/autoflake: add 2.2.1, drop 1.4-r1 Signed-off-by: Tomás Carvalho thetimesweeper.com> dev-python/autoflake/Manifest | 2 +- dev-python/autoflake/autoflake-1.4-r1.ebuild | 27 --------------------------- dev-python/autoflake/autoflake-2.2.1.ebuild | 27 +++++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/dev-python/autoflake/Manifest b/dev-python/autoflake/Manifest index 488179638d..2de21f6c25 100644 --- a/dev-python/autoflake/Manifest +++ b/dev-python/autoflake/Manifest @@ -1 +1 @@ -DIST autoflake-1.4.gh.tar.gz 24219 BLAKE2B 622c82b9ab5e7fd68e8bc2678c5868282e605640e1c52d1a8f81fbaaba26dfb738ac1ceb9eb20195bb820256fbae27222953a5271130e74b8708988516e20e00 SHA512 53e542a765cbd18df7c35a90f16786e173bdc332b4410abfbc6d24f1009bf5d6f8a383e897e72558617bdf339573d8aa9b8de6901aac392caf48889aacf0c9a6 +DIST autoflake-2.2.1.tar.gz 27377 BLAKE2B d669fd1954974f7237423d7dc67de044d737ba5a462b565f3307f1b6bdecefa6a6b2a6de437570e6a7772a692e894fb414e1ff05fc0aae7cbb3a0901ec9a0129 SHA512 02021b5f92edcdcb0b3c11132a46cf73dbc4b6e4efc4f5d5981b66bc5beafbef66a81229e65a727816ebda419c93399df14e9b6ba9f38a728f95a3455c1089f9 diff --git a/dev-python/autoflake/autoflake-1.4-r1.ebuild b/dev-python/autoflake/autoflake-1.4-r1.ebuild deleted file mode 100644 index 901a3f1400..0000000000 --- a/dev-python/autoflake/autoflake-1.4-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} pypy3 ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Removes unused imports and unused variables as reported by pyflakes" -HOMEPAGE=" - https://github.com/myint/autoflake - https://pypi.org/project/autoflake/ -" -SRC_URI="https://github.com/myint/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/pyflakes-1.1.0[${PYTHON_USEDEP}]" - -distutils_enable_tests setup.py - -python_test() { - "${EPYTHON}" test_autoflake.py || die -} diff --git a/dev-python/autoflake/autoflake-2.2.1.ebuild b/dev-python/autoflake/autoflake-2.2.1.ebuild new file mode 100644 index 0000000000..c3b7702a20 --- /dev/null +++ b/dev-python/autoflake/autoflake-2.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..12} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 pypi + +DESCRIPTION="Removes unused imports and unused variables from Python code" +HOMEPAGE="https://github.com/PyCQA/autoflake/ https://pypi.org/project/autoflake/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/tomli-2.0.1 + >=dev-python/pyflakes-3.0.0" + +#pypi tarbal does not include tests +RESTRICT="test" + +src_prepare() { + eapply_user + sed -Ei -e '/include/,/]/ { /(test_.*|LICENSE|README)/d }' pyproject.toml || die "Sed failed :-(" +}