From: "Julien Roy" <julien@jroy.ca> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/autoflake/ Date: Tue, 14 May 2024 22:50:29 +0000 (UTC) [thread overview] Message-ID: <1715724831.0e0445e817d79552041c60cdd8d35eca2cb36858.julien@gentoo> (raw) commit: 0e0445e817d79552041c60cdd8d35eca2cb36858 Author: Julien Roy <julien <AT> jroy <DOT> ca> AuthorDate: Tue May 14 22:13:51 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Tue May 14 22:13:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e0445e8 dev-python/autoflake: add 2.3.1 Closes: https://bugs.gentoo.org/931370 Signed-off-by: Julien Roy <julien <AT> jroy.ca> dev-python/autoflake/Manifest | 1 + dev-python/autoflake/autoflake-2.3.1.ebuild | 30 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/autoflake/Manifest b/dev-python/autoflake/Manifest index 2de21f6c25..291c102604 100644 --- a/dev-python/autoflake/Manifest +++ b/dev-python/autoflake/Manifest @@ -1 +1,2 @@ DIST autoflake-2.2.1.tar.gz 27377 BLAKE2B d669fd1954974f7237423d7dc67de044d737ba5a462b565f3307f1b6bdecefa6a6b2a6de437570e6a7772a692e894fb414e1ff05fc0aae7cbb3a0901ec9a0129 SHA512 02021b5f92edcdcb0b3c11132a46cf73dbc4b6e4efc4f5d5981b66bc5beafbef66a81229e65a727816ebda419c93399df14e9b6ba9f38a728f95a3455c1089f9 +DIST autoflake-2.3.1.tar.gz 27642 BLAKE2B 5002b404c39a5a1e18c5dc6e8a70f958b9d02e412b9320ba4b801b1a20427110cd15363bb3e4acb25de4ceca77ce86d49c1c36cef5ba3e886fecffb996ef7b81 SHA512 bad9a34f253e1182f3128867eb8699c8c02b99f35479c1b65669f0411d7dff29fe477a267d0398e60a5e833530ace3cf28443a4b2a8924bd019447cc7ee8ab08 diff --git a/dev-python/autoflake/autoflake-2.3.1.ebuild b/dev-python/autoflake/autoflake-2.3.1.ebuild new file mode 100644 index 0000000000..8612868bce --- /dev/null +++ b/dev-python/autoflake/autoflake-2.3.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{10..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" + +distutils_enable_tests unittest + +src_prepare() { + sed -Ei -e '/include/,/]/ { /(test_.*|LICENSE|README)/d }' pyproject.toml || die "Sed failed :-(" + default +} + +python_test() { + # unit test + eunittest -p "test_autoflake.py" +}
WARNING: multiple messages have this Message-ID (diff)
From: "Julien Roy" <julien@jroy.ca> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/autoflake/ Date: Tue, 14 May 2024 22:45:13 +0000 (UTC) [thread overview] Message-ID: <1715724831.0e0445e817d79552041c60cdd8d35eca2cb36858.julien@gentoo> (raw) Message-ID: <20240514224513.rUNRkxlCEkJeu6u0Aw8nkVROgoreWAsvME37ZtqElcY@z> (raw) commit: 0e0445e817d79552041c60cdd8d35eca2cb36858 Author: Julien Roy <julien <AT> jroy <DOT> ca> AuthorDate: Tue May 14 22:13:51 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Tue May 14 22:13:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e0445e8 dev-python/autoflake: add 2.3.1 Closes: https://bugs.gentoo.org/931370 Signed-off-by: Julien Roy <julien <AT> jroy.ca> dev-python/autoflake/Manifest | 1 + dev-python/autoflake/autoflake-2.3.1.ebuild | 30 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/autoflake/Manifest b/dev-python/autoflake/Manifest index 2de21f6c25..291c102604 100644 --- a/dev-python/autoflake/Manifest +++ b/dev-python/autoflake/Manifest @@ -1 +1,2 @@ DIST autoflake-2.2.1.tar.gz 27377 BLAKE2B d669fd1954974f7237423d7dc67de044d737ba5a462b565f3307f1b6bdecefa6a6b2a6de437570e6a7772a692e894fb414e1ff05fc0aae7cbb3a0901ec9a0129 SHA512 02021b5f92edcdcb0b3c11132a46cf73dbc4b6e4efc4f5d5981b66bc5beafbef66a81229e65a727816ebda419c93399df14e9b6ba9f38a728f95a3455c1089f9 +DIST autoflake-2.3.1.tar.gz 27642 BLAKE2B 5002b404c39a5a1e18c5dc6e8a70f958b9d02e412b9320ba4b801b1a20427110cd15363bb3e4acb25de4ceca77ce86d49c1c36cef5ba3e886fecffb996ef7b81 SHA512 bad9a34f253e1182f3128867eb8699c8c02b99f35479c1b65669f0411d7dff29fe477a267d0398e60a5e833530ace3cf28443a4b2a8924bd019447cc7ee8ab08 diff --git a/dev-python/autoflake/autoflake-2.3.1.ebuild b/dev-python/autoflake/autoflake-2.3.1.ebuild new file mode 100644 index 0000000000..8612868bce --- /dev/null +++ b/dev-python/autoflake/autoflake-2.3.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{10..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" + +distutils_enable_tests unittest + +src_prepare() { + sed -Ei -e '/include/,/]/ { /(test_.*|LICENSE|README)/d }' pyproject.toml || die "Sed failed :-(" + default +} + +python_test() { + # unit test + eunittest -p "test_autoflake.py" +}
next reply other threads:[~2024-05-14 22:50 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-05-14 22:50 Julien Roy [this message] 2024-05-14 22:45 ` [gentoo-commits] repo/proj/guru:dev commit in: dev-python/autoflake/ Julien Roy -- strict thread matches above, loose matches on Subject: below -- 2024-05-14 22:50 [gentoo-commits] repo/proj/guru:master " Julien Roy 2023-12-31 15:28 David Roman 2023-12-31 15:28 David Roman 2023-12-31 15:28 David Roman 2021-06-15 7:11 Andrew Ammerlaan 2020-12-04 15:00 Andrew Ammerlaan 2020-06-09 16:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan 2020-06-09 16:37 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan 2020-03-29 13:21 Andrew Ammerlaan
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1715724831.0e0445e817d79552041c60cdd8d35eca2cb36858.julien@gentoo \ --to=julien@jroy.ca \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox