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 D82BB158089 for ; Fri, 10 Nov 2023 04:09:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86C552BC036; Fri, 10 Nov 2023 04:09:05 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6992E2BC036 for ; Fri, 10 Nov 2023 04:09:05 +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 8218D335D49 for ; Fri, 10 Nov 2023 04:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCC03135F for ; Fri, 10 Nov 2023 04:09:01 +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: <1699589099.f3d49cb6bf3abea95813bda9b9ff375157a009cf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyproject-fmt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyproject-fmt/Manifest dev-python/pyproject-fmt/pyproject-fmt-1.5.1.ebuild X-VCS-Directories: dev-python/pyproject-fmt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f3d49cb6bf3abea95813bda9b9ff375157a009cf X-VCS-Branch: master Date: Fri, 10 Nov 2023 04:09:01 +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: f4a81704-df01-4735-85a9-c7e79a1ece94 X-Archives-Hash: f8f1a3cca3b056740731058d794c4d78 commit: f3d49cb6bf3abea95813bda9b9ff375157a009cf Author: Michał Górny gentoo org> AuthorDate: Fri Nov 10 04:04:59 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Nov 10 04:04:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d49cb6 dev-python/pyproject-fmt: Bump to 1.5.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pyproject-fmt/Manifest | 1 + .../pyproject-fmt/pyproject-fmt-1.5.1.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index e9a64d52c722..9fc10b907673 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1,2 +1,3 @@ DIST pyproject_fmt-1.3.0.tar.gz 14367 BLAKE2B 55e96febd3b0bf9a84013c9ca002b7f77c043a62dae1dfc993efcabfe349bf607ffc23ba969c213e15debcd9e13cfe65267c14fa1a144f311fd20f14c043fd4c SHA512 d3e853e0f7c85ddffcc7ec2aa94d7f61fff2e55cbf6f564fd3b4bb1cf02d2dc54407b550d44dfefbfdd496f1b3ea995197cc3d45aea7725799abff12ccadcf0a DIST pyproject_fmt-1.4.1.tar.gz 15280 BLAKE2B e91fd5b5a5c6b1e26337446488107cce5441ad53dec5c74e04b991d844c37cd142644b2213353a11ddb8865b517652c0d1a25b67b2696ad3af3a0de8ce0c2e3b SHA512 4750340ddea29a214abb20bbddda2ff505f2b022812c7a9ddfd92edfb38315376757c5263f7f1a272867665af8f176ba3fefd1a1c210ee5ce5577ba2e9a4807b +DIST pyproject_fmt-1.5.1.tar.gz 15639 BLAKE2B b625504295fce9fee9cfb09c821654edad8aa8e0537777f268f759ed8aeb6d2dd49e00b63c0e35e1d2a6946702c025ed5c15282ca8d2de5f479d373720273eef SHA512 12c3734ed2fab66f01c9cd2f5335cb4f925657f7c1f2cb8f7a3f9fdc73ec0746dd6b634cc1799b4dc4760d5b8061b4b30a06ae7030f94494792070674a2da338 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.5.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-1.5.1.ebuild new file mode 100644 index 000000000000..c440d098979a --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-1.5.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + dev-python/tox + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are completely meaningless and copying them + # to the ebuild is a horrible waste of time + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +}