commit: 5e6c817fe71163efd6dd9987e6705a0a4008becc Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue May 10 16:22:32 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue May 10 16:27:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6c817f
dev-python/hatch-vcs: New package, v0.2.0 Needed for dev-python/platformdirs. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/hatch-vcs/Manifest | 1 + dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild | 29 +++++++++++++++++++++++++++++ dev-python/hatch-vcs/metadata.xml | 11 +++++++++++ 3 files changed, 41 insertions(+) diff --git a/dev-python/hatch-vcs/Manifest b/dev-python/hatch-vcs/Manifest new file mode 100644 index 000000000000..1da7aa42264f --- /dev/null +++ b/dev-python/hatch-vcs/Manifest @@ -0,0 +1 @@ +DIST hatch-vcs-0.2.0.gh.tar.gz 8192 BLAKE2B 69f24de91b947e695336ca30cf3f265edcfaf10fa49df93fa0f70e45d1179e70d1ef5584fc99f88f66ca3c4fd1866a681db81253280ce3f9221d19f04443a085 SHA512 1c3627240ef5b659b9d87a69c84dd71cac4c83758f5be676e808377400383e996209cf6eabb1222f5330c0a97f0d261ced1eb9dc40e1d5c2bb2fc708659360eb diff --git a/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild b/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild new file mode 100644 index 000000000000..7da216f52b42 --- /dev/null +++ b/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild @@ -0,0 +1,29 @@ +# 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..10} ) + +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="~amd64" + +RDEPEND=" + >=dev-python/setuptools_scm-6.4.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/hatch-vcs/metadata.xml b/dev-python/hatch-vcs/metadata.xml new file mode 100644 index 000000000000..a9c9fbb19963 --- /dev/null +++ b/dev-python/hatch-vcs/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>pyt...@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">ofek/hatch-vcs</remote-id> + <remote-id type="pypi">hatch-vcs</remote-id> + </upstream> +</pkgmetadata>