summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-10 18:22:32 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-10 18:27:01 +0200
commit5e6c817fe71163efd6dd9987e6705a0a4008becc (patch)
tree08e85cd8a6dd6240378e52218c6feb8de519a957 /dev-python
parentnet-misc/freerdp: drop 2.6.1 (diff)
downloadgentoo-5e6c817fe71163efd6dd9987e6705a0a4008becc.tar.gz
gentoo-5e6c817fe71163efd6dd9987e6705a0a4008becc.tar.bz2
gentoo-5e6c817fe71163efd6dd9987e6705a0a4008becc.zip
dev-python/hatch-vcs: New package, v0.2.0
Needed for dev-python/platformdirs. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/hatch-vcs/Manifest1
-rw-r--r--dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild29
-rw-r--r--dev-python/hatch-vcs/metadata.xml11
3 files changed, 41 insertions, 0 deletions
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>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ofek/hatch-vcs</remote-id>
+ <remote-id type="pypi">hatch-vcs</remote-id>
+ </upstream>
+</pkgmetadata>