From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1467630-garchives=archives.gentoo.org@lists.gentoo.org> 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 4154D158020 for <garchives@archives.gentoo.org>; Fri, 16 Dec 2022 11:32:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A74B5E08BD; Fri, 16 Dec 2022 11:32: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 90A77E08BD for <gentoo-commits@lists.gentoo.org>; Fri, 16 Dec 2022 11:32: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 9541E3410C2 for <gentoo-commits@lists.gentoo.org>; Fri, 16 Dec 2022 11:32:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0229A7F2 for <gentoo-commits@lists.gentoo.org>; Fri, 16 Dec 2022 11:32:23 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1671190300.98e703df272ba2b7e590e3e6d4da21df67d2c5e0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autopep8/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/autopep8/Manifest dev-python/autopep8/autopep8-2.0.1.ebuild dev-python/autopep8/autopep8-9999.ebuild X-VCS-Directories: dev-python/autopep8/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 98e703df272ba2b7e590e3e6d4da21df67d2c5e0 X-VCS-Branch: master Date: Fri, 16 Dec 2022 11:32:23 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 291f88eb-64fa-43db-9613-0c1f5382979c X-Archives-Hash: 58632178dc25e3e353c27a349eee1cf6 commit: 98e703df272ba2b7e590e3e6d4da21df67d2c5e0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Dec 16 10:32:13 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Dec 16 11:31:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e703df dev-python/autopep8: Bump to 2.0.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/autopep8/Manifest | 1 + ...{autopep8-9999.ebuild => autopep8-2.0.1.ebuild} | 23 +++++++++++++--------- dev-python/autopep8/autopep8-9999.ebuild | 15 ++++---------- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index 552e26e681d5..97b274a5f387 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1 +1,2 @@ DIST autopep8-2.0.0.tar.gz 117507 BLAKE2B 8722b19454f47d0b960e3cc0e18ff3d6150ead009630047ecd1ce9001ea6f6d68595f80d7ad1087bddd2993e95d0634d63495b1d43dee095d114535bf632d1bf SHA512 883b79f7011a374a2ef88073a45748268a20449a3bc8da519c036c71700352dd8c4accc60fcb592f1a53ceac06984fcbe6ede8a272bc718c2b79873be5f35dd8 +DIST autopep8-2.0.1.tar.gz 115905 BLAKE2B 9dde8d702a0b21fb1457e08120dca805e2b46e3e5284e5d98932ff93afc4c0ac8dbc60215f35b64d4a308d6748df1411c2979d8fa1f4949b1dbe213bf19de9dc SHA512 cc0e8e5b7228ba9b37adaa3b2689a5e1ad04eb84366c5300d7a220b1593a64e4f1dc332750f8ca53935dec6a3ea1d07cae5615373e44da357a980d9763bbc3f1 diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-2.0.1.ebuild similarity index 60% copy from dev-python/autopep8/autopep8-9999.ebuild copy to dev-python/autopep8/autopep8-2.0.1.ebuild index b201d023a72a..e54d2fef8e1a 100644 --- a/dev-python/autopep8/autopep8-9999.ebuild +++ b/dev-python/autopep8/autopep8-2.0.1.ebuild @@ -26,17 +26,22 @@ LICENSE="MIT" SLOT="0" RDEPEND=" - >=dev-python/pycodestyle-2.9.1[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) " distutils_enable_tests pytest -EPYTEST_DESELECT=( - # test require in source build - test/test_autopep8.py::SystemTests::test_e101_skip_innocuous -) +python_test() { + local EPYTEST_DESELECT=() -PATCHES=( - "${FILESDIR}"/autopep8-1.6.0-lib2to3-deprecation-pytest.patch -) + [[ ${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 +} diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-9999.ebuild index b201d023a72a..ed142ae0e692 100644 --- a/dev-python/autopep8/autopep8-9999.ebuild +++ b/dev-python/autopep8/autopep8-9999.ebuild @@ -26,17 +26,10 @@ LICENSE="MIT" SLOT="0" RDEPEND=" - >=dev-python/pycodestyle-2.9.1[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) " distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # test require in source build - test/test_autopep8.py::SystemTests::test_e101_skip_innocuous -) - -PATCHES=( - "${FILESDIR}"/autopep8-1.6.0-lib2to3-deprecation-pytest.patch -)