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 4B4C1158451 for ; Thu, 11 Jan 2024 04:56:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 852AEE29B2; Thu, 11 Jan 2024 04:56:06 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55C8EE29B2 for ; Thu, 11 Jan 2024 04:56:06 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4409F343137 for ; Thu, 11 Jan 2024 04:56:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB94912C8 for ; Thu, 11 Jan 2024 04:56:03 +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: <1704948959.479e76788ee5a4f22f5bca8c011dea9f7a1fd6fa.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.6.0.ebuild X-VCS-Directories: dev-python/pyproject-fmt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 479e76788ee5a4f22f5bca8c011dea9f7a1fd6fa X-VCS-Branch: master Date: Thu, 11 Jan 2024 04:56:03 +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: e18562d8-0258-4e56-ad37-3221b7cfd7ee X-Archives-Hash: 6cf0dc05bb7e314705328e92cbdd8359 commit: 479e76788ee5a4f22f5bca8c011dea9f7a1fd6fa Author: Michał Górny gentoo org> AuthorDate: Thu Jan 11 04:49:02 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 11 04:55:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=479e7678 dev-python/pyproject-fmt: Bump to 1.6.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pyproject-fmt/Manifest | 1 + .../pyproject-fmt/pyproject-fmt-1.6.0.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 86ea74b1ed05..6c6cd44fe97c 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1 +1,2 @@ DIST pyproject_fmt-1.5.3.tar.gz 15678 BLAKE2B 624cfc0e62285c59fdb1a3315d1f419cbb8c41430957b9a5eeed2521899a66fa15a1aae476d2986e18d990e4f5fc901312a70df819765cf8b4e077cf3678d8dc SHA512 3f269525b5e3e818cea5ef7b90644c7ced9e37a1dff4a514782ebf7769f6f5a53887cb831b488ed34d059f197a9d90fccc887146f5180c58c5a702c37ae9d79b +DIST pyproject_fmt-1.6.0.tar.gz 15924 BLAKE2B 96c44d40e5d0554e8bd146adb519787b42c63916569846ad1871c16d28f65c2afc0caf2c6f967208704ceaee7af5efd2a91ec1383c320e9d2f5399f3e1aaf6c6 SHA512 74d13d4bef2f8cc81a7ec6dfab316606333cb9896f4cef759221e8496e686021515b8a259bcd7d9b74c9870ae507c98b7bf16b1d59ebb69a7e68c8510c446d5a diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.6.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-1.6.0.ebuild new file mode 100644 index 000000000000..876042525ab4 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-1.6.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2024 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 +}