1 |
commit: 5e6c817fe71163efd6dd9987e6705a0a4008becc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 10 16:22:32 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 10 16:27:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6c817f |
7 |
|
8 |
dev-python/hatch-vcs: New package, v0.2.0 |
9 |
|
10 |
Needed for dev-python/platformdirs. |
11 |
|
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
dev-python/hatch-vcs/Manifest | 1 + |
15 |
dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild | 29 +++++++++++++++++++++++++++++ |
16 |
dev-python/hatch-vcs/metadata.xml | 11 +++++++++++ |
17 |
3 files changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/hatch-vcs/Manifest b/dev-python/hatch-vcs/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..1da7aa42264f |
22 |
--- /dev/null |
23 |
+++ b/dev-python/hatch-vcs/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST hatch-vcs-0.2.0.gh.tar.gz 8192 BLAKE2B 69f24de91b947e695336ca30cf3f265edcfaf10fa49df93fa0f70e45d1179e70d1ef5584fc99f88f66ca3c4fd1866a681db81253280ce3f9221d19f04443a085 SHA512 1c3627240ef5b659b9d87a69c84dd71cac4c83758f5be676e808377400383e996209cf6eabb1222f5330c0a97f0d261ced1eb9dc40e1d5c2bb2fc708659360eb |
26 |
|
27 |
diff --git a/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild b/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..7da216f52b42 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild |
32 |
@@ -0,0 +1,29 @@ |
33 |
+# Copyright 2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_PEP517=hatchling |
39 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Hatch plugin for versioning with your preferred VCS" |
44 |
+HOMEPAGE=" |
45 |
+ https://pypi.org/project/hatch-vcs/ |
46 |
+ https://github.com/ofek/hatch-vcs/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/ofek/hatch-vcs/archive/v${PV}.tar.gz |
50 |
+ -> ${P}.gh.tar.gz |
51 |
+" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/setuptools_scm-6.4.0[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
|
63 |
diff --git a/dev-python/hatch-vcs/metadata.xml b/dev-python/hatch-vcs/metadata.xml |
64 |
new file mode 100644 |
65 |
index 000000000000..a9c9fbb19963 |
66 |
--- /dev/null |
67 |
+++ b/dev-python/hatch-vcs/metadata.xml |
68 |
@@ -0,0 +1,11 @@ |
69 |
+<?xml version="1.0" encoding="UTF-8"?> |
70 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
71 |
+<pkgmetadata> |
72 |
+ <maintainer type="project"> |
73 |
+ <email>python@g.o</email> |
74 |
+ </maintainer> |
75 |
+ <upstream> |
76 |
+ <remote-id type="github">ofek/hatch-vcs</remote-id> |
77 |
+ <remote-id type="pypi">hatch-vcs</remote-id> |
78 |
+ </upstream> |
79 |
+</pkgmetadata> |