public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autopep8/
Date: Sat,  4 Mar 2023 05:48:15 +0000 (UTC)	[thread overview]
Message-ID: <1677908883.53a2aea1c9bb17c73ab592d4d46ff6c521036e9a.mgorny@gentoo> (raw)

commit:     53a2aea1c9bb17c73ab592d4d46ff6c521036e9a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 05:10:32 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 05:48:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53a2aea1

dev-python/autopep8: Bump to 2.0.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/autopep8/Manifest              |  1 +
 dev-python/autopep8/autopep8-2.0.2.ebuild | 47 +++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest
index 701dca14bc07..a77ee98909f3 100644
--- a/dev-python/autopep8/Manifest
+++ b/dev-python/autopep8/Manifest
@@ -1 +1,2 @@
 DIST autopep8-2.0.1.tar.gz 115905 BLAKE2B 9dde8d702a0b21fb1457e08120dca805e2b46e3e5284e5d98932ff93afc4c0ac8dbc60215f35b64d4a308d6748df1411c2979d8fa1f4949b1dbe213bf19de9dc SHA512 cc0e8e5b7228ba9b37adaa3b2689a5e1ad04eb84366c5300d7a220b1593a64e4f1dc332750f8ca53935dec6a3ea1d07cae5615373e44da357a980d9763bbc3f1
+DIST autopep8-2.0.2.tar.gz 116154 BLAKE2B 1b6830f9cb8a4384898273411f6b03cf3e3c0e45e2c56fa2bb134f3567cc06459a8123e660db9252f8d7cd15835d70e54c0155f146191be64ffbafaaa808244d SHA512 09471827d18ca0c691bc524e0639a416d1a4418ddda1cb88f50e5c5302e75e7014751e659e26439c22317db21588fbd956c94299cef44e2c47771df38de94be3

diff --git a/dev-python/autopep8/autopep8-2.0.2.ebuild b/dev-python/autopep8/autopep8-2.0.2.ebuild
new file mode 100644
index 000000000000..2500f9c683a2
--- /dev/null
+++ b/dev-python/autopep8/autopep8-2.0.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
+HOMEPAGE="
+	https://github.com/hhatto/autopep8/
+	https://pypi.org/project/autopep8/
+"
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/hhatto/${PN}.git"
+	inherit git-r3
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+	>=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		dev-python/tomli[${PYTHON_USEDEP}]
+	' 3.{8..10})
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=()
+
+	[[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+		# fails due to deprecation warnings
+		test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes
+		test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file
+	)
+
+	epytest
+}


             reply	other threads:[~2023-03-04  5:48 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04  5:48 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-01 11:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/autopep8/ Michał Górny
2025-01-15  5:39 Michał Górny
2024-07-13 12:02 Michał Górny
2024-07-13 10:03 Arthur Zamarin
2024-06-29 16:58 Michał Górny
2024-06-29 14:47 Arthur Zamarin
2024-06-24  2:41 Michał Górny
2024-06-20  4:56 Michał Górny
2024-06-17  2:52 Michał Górny
2024-06-13 17:17 Michał Górny
2024-06-12  7:42 Michał Górny
2024-06-12  6:44 Arthur Zamarin
2024-05-31  4:22 Michał Górny
2024-05-31  4:22 Michał Górny
2024-05-29  4:17 Michał Górny
2024-05-23  2:11 Michał Górny
2024-04-06  9:35 Michał Górny
2024-04-06  9:30 Arthur Zamarin
2024-03-17 16:24 Michał Górny
2023-11-24 15:17 Arthur Zamarin
2023-11-06 13:25 Andrew Ammerlaan
2023-09-25 18:49 Michał Górny
2023-09-25 17:02 Arthur Zamarin
2023-08-27 15:59 Michał Górny
2023-08-26  5:31 Michał Górny
2023-04-05  8:19 Michał Górny
2023-04-05  7:36 Arthur Zamarin
2023-03-04  5:48 Michał Górny
2023-02-28 19:09 Sam James
2023-02-16 17:49 Arthur Zamarin
2022-12-16 11:32 Michał Górny
2022-11-29  8:11 Arthur Zamarin
2022-10-29  6:46 Arthur Zamarin
2022-10-28  7:09 Michał Górny
2022-09-25 18:26 Arthur Zamarin
2022-08-09 17:58 Arthur Zamarin
2022-05-18 11:16 Andrew Ammerlaan
2022-04-06 17:04 Michał Górny
2021-12-17  3:15 Sam James
2021-11-26 21:56 Michał Górny
2021-11-26 20:43 Arthur Zamarin
2021-10-24  7:29 Michał Górny
2021-08-07 20:59 Louis Sautier
2021-08-07 20:59 Louis Sautier
2021-06-05 21:01 Michał Górny
2021-04-30 12:22 Michał Górny
2021-04-29 10:21 Michał Górny
2021-04-25  9:18 Sergei Trofimovich
2021-04-25  9:18 Sergei Trofimovich
2021-03-17  7:48 Michał Górny
2021-03-07 22:39 Michał Górny
2021-03-07 19:46 Sam James
2021-02-04  8:17 Michał Górny
2021-01-01  1:49 Sam James
2020-10-18 19:19 Sam James
2020-10-18 19:10 Thomas Deutschmann
2020-10-16 12:00 Michał Górny
2020-09-14  9:51 David Seifert
2020-09-14  9:51 David Seifert
2020-08-01 21:23 Michał Górny
2020-06-01  0:18 Matt Turner
2020-05-15 17:33 Sergei Trofimovich
2020-05-06  6:41 Sergei Trofimovich
2020-05-03 21:55 Sergei Trofimovich
2020-03-26 11:48 Michał Górny
2020-03-26 11:48 Michał Górny
2019-12-15 14:46 Agostino Sarubbo
2019-12-15 12:44 Agostino Sarubbo
2019-11-29 19:54 Michał Górny
2019-11-29 19:54 Michał Górny
2019-11-29 19:54 Michał Górny
2018-12-31  2:27 Denis Dupeyron
2018-09-09 21:41 Patrice Clement
2018-07-12 23:05 Patrice Clement
2018-04-29 10:30 Michał Górny
2017-12-13  0:09 Sebastian Pipping
2017-09-14  2:13 Tim Harder
2017-08-05  9:03 Michael Palimaka
2017-07-30  9:15 Michał Górny
2017-07-15 17:18 Tobias Klausmann
2017-05-27 15:36 David Seifert
2017-05-02 19:15 Michał Górny
2017-04-20 18:23 Michał Górny
2017-03-22 19:48 Markus Meier
2016-07-17 14:37 Patrick Lauer
2016-02-25  8:21 Justin Lecher
2015-10-31 13:46 Justin Lecher
2015-09-20  9:33 Justin Lecher

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=1677908883.53a2aea1c9bb17c73ab592d4d46ff6c521036e9a.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --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: link
Be 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