From d4236cec2694e4f55bd7baca968efca110cd3cc2 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 9 Oct 2024 12:27:16 +0200 Subject: [PATCH] dev-python/hatch-vcs: Add from Gentoo It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a. --- .../dev-python/hatch-vcs/Manifest | 1 + .../hatch-vcs/hatch-vcs-0.4.0.ebuild | 34 +++++++++++++++++++ .../dev-python/hatch-vcs/metadata.xml | 12 +++++++ 3 files changed, 47 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/metadata.xml diff --git a/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/Manifest new file mode 100644 index 0000000000..217ef9dd64 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/Manifest @@ -0,0 +1 @@ +DIST hatch-vcs-0.4.0.gh.tar.gz 10822 BLAKE2B 92b1ad1181a6bae815a6d01045836976b8767086f2a7001de9ad97f0d61737895da9a411419e28c5b2d830fca606d7d9c21265210965bc7691670f92aeab1b22 SHA512 bf40cc371c8d8e120fce83e5986fc2bdc2087fa5a4ac4a407d32617e98205ded79dcb29a00c7638ba68dd5ce09f31e84b34176627a6a34dfb7708031f4c4519a diff --git a/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild new file mode 100644 index 0000000000..a814774845 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild @@ -0,0 +1,34 @@ +# 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..13} ) + +inherit distutils-r1 + +DESCRIPTION="Hatch plugin for versioning with your preferred VCS" +HOMEPAGE=" + https://pypi.org/project/hatch-vcs/ + https://github.com/ofek/hatch-vcs/ +" +SRC_URI=" + https://github.com/ofek/hatch-vcs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/setuptools-scm-6.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/metadata.xml new file mode 100644 index 0000000000..1287ed7ca1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/hatch-vcs/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + ofek/hatch-vcs + hatch-vcs + +