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 89EC315800A for ; Sun, 27 Aug 2023 15:59:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C844B2BC0FB; Sun, 27 Aug 2023 15:59:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 90D792BC0FB for ; Sun, 27 Aug 2023 15:59:57 +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 C27A2340D46 for ; Sun, 27 Aug 2023 15:59:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49EBA10C0 for ; Sun, 27 Aug 2023 15:59:55 +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: <1693151984.97e0932d3ed16821e313e1be418e62d6cae99420.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.4.ebuild X-VCS-Directories: dev-python/autopep8/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 97e0932d3ed16821e313e1be418e62d6cae99420 X-VCS-Branch: master Date: Sun, 27 Aug 2023 15:59:55 +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: 1a5cdb3e-2611-41a4-953b-4eb339ccd75a X-Archives-Hash: 7c86050132b0c55a1faf213ba80d5414 commit: 97e0932d3ed16821e313e1be418e62d6cae99420 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 27 15:41:31 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Aug 27 15:59:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e0932d dev-python/autopep8: Bump to 2.0.4 Signed-off-by: Michał Górny gentoo.org> dev-python/autopep8/Manifest | 1 + dev-python/autopep8/autopep8-2.0.4.ebuild | 47 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index 76e286b4e219..ab8e8c443d50 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1,2 +1,3 @@ DIST autopep8-2.0.2.tar.gz 116154 BLAKE2B 1b6830f9cb8a4384898273411f6b03cf3e3c0e45e2c56fa2bb134f3567cc06459a8123e660db9252f8d7cd15835d70e54c0155f146191be64ffbafaaa808244d SHA512 09471827d18ca0c691bc524e0639a416d1a4418ddda1cb88f50e5c5302e75e7014751e659e26439c22317db21588fbd956c94299cef44e2c47771df38de94be3 DIST autopep8-2.0.3.tar.gz 116499 BLAKE2B f43476babe717ccd1d8ea363dc00e8a1227433078c89662c92097b2e569c9da46ad14af4e42982289bf6ec6cfc88f4db233b638dcf89f882fd7c4650f3f70160 SHA512 0007d6c6a17f21e1b4e00d1b69d83cac6db50a4c17ae351a429275958adcbb1d014e0f7e7e966239cc47388cb15ec07a3569f1254c1f16ebf6fb7d43fcfe57e6 +DIST autopep8-2.0.4.tar.gz 116472 BLAKE2B c6e6d207e9e27db450b74fe63fc3c8dce1e6729e0c86046e3efb2a7e749ff402e4cb33062a10c49db7a5f158b12df35088686425a9d822a32b8a4fb6185aae7c SHA512 2c3731d328d0128b4e93c9cb05d730cdf4e08cb18b73ca0de3ac24462feb3e1e61c805ce4cef67f0df2db04773657d0efae70cbca9a67fa5d2790b07daeafeac diff --git a/dev-python/autopep8/autopep8-2.0.4.ebuild b/dev-python/autopep8/autopep8-2.0.4.ebuild new file mode 100644 index 000000000000..1d0c3278faab --- /dev/null +++ b/dev-python/autopep8/autopep8-2.0.4.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_{10..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 + inherit pypi + 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 +}