From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1411802-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 0AE2E158094 for <garchives@archives.gentoo.org>; Sat, 25 Jun 2022 05:11:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF6DAE07E0; Sat, 25 Jun 2022 05:11:45 +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 C3154E07DB for <gentoo-commits@lists.gentoo.org>; Sat, 25 Jun 2022 05:11:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E1AB73411B6 for <gentoo-commits@lists.gentoo.org>; Sat, 25 Jun 2022 05:11:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 288BC51C for <gentoo-commits@lists.gentoo.org>; Sat, 25 Jun 2022 05:11:42 +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: <1656133898.9a5fe912ba18f73c9500fbd6f0f3b67ed4833e1d.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/metadata.xml dev-python/pyproject-fmt/pyproject-fmt-0.3.3.ebuild X-VCS-Directories: dev-python/pyproject-fmt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9a5fe912ba18f73c9500fbd6f0f3b67ed4833e1d X-VCS-Branch: master Date: Sat, 25 Jun 2022 05:11:42 +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: 971d10b0-20e2-4a97-b610-9f8468ec9bec X-Archives-Hash: 0fda0bc8943634da051ec238e58229f6 commit: 9a5fe912ba18f73c9500fbd6f0f3b67ed4833e1d Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Jun 25 05:08:23 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jun 25 05:11:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5fe912 dev-python/pyproject-fmt: New package, v0.3.3 Extra test dep for dev-python/ini2toml. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pyproject-fmt/Manifest | 1 + dev-python/pyproject-fmt/metadata.xml | 11 +++++++ .../pyproject-fmt/pyproject-fmt-0.3.3.ebuild | 38 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest new file mode 100644 index 000000000000..0b4338fc9ea1 --- /dev/null +++ b/dev-python/pyproject-fmt/Manifest @@ -0,0 +1 @@ +DIST pyproject-fmt-0.3.3.gh.tar.gz 14399 BLAKE2B 82af6d6c4424f83ed9a5539d64bfd517cf08df4bb14b7f1321a379a4d87d140f1518444b503731344e5fdbb4b94d92ce23605fe2a1cc978d26901eae98a31b8c SHA512 49c4648e140b34a6d2f27cc01be7253693e79687f2ff8dbcae5ca3cc64c14f5945f942ffb42d1d286ff221e5aaed22dc1f9953216f49232ce311c4c18130754e diff --git a/dev-python/pyproject-fmt/metadata.xml b/dev-python/pyproject-fmt/metadata.xml new file mode 100644 index 000000000000..2b685521272a --- /dev/null +++ b/dev-python/pyproject-fmt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">tox-dev/pyproject-fmt</remote-id> + <remote-id type="pypi">pyproject-fmt</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyproject-fmt/pyproject-fmt-0.3.3.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-0.3.3.ebuild new file mode 100644 index 000000000000..bf9e0c458bdd --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-0.3.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" +SRC_URI=" + https://github.com/tox-dev/pyproject-fmt/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.7[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}