1 |
commit: d944128437eb1642b59418161966ed32a0cbab6a |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jun 29 02:20:05 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jun 29 02:43:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9441284 |
7 |
|
8 |
dev-python/font-v: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/font-v/Manifest | 1 + |
13 |
dev-python/font-v/font-v-1.0.5.ebuild | 39 +++++++++++++++++++++++++++++++++++ |
14 |
dev-python/font-v/metadata.xml | 14 +++++++++++++ |
15 |
3 files changed, 54 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/font-v/Manifest b/dev-python/font-v/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..e06e1db13 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/font-v/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST font-v-1.0.5.tar.gz 4270200 BLAKE2B b94c4e0bff4c07efd50803068e0fc061c910b24f8ed2e70ae1b92d06d69db9d707b6665fdc2179eb80ae814c3b2ad913f58b1c5d4a7b9f81b40269cbb505cfb7 SHA512 070415a72deb8a35804ee548f745edf399fe01ae279ea9ca88f0d1231af77a37f38456726db73e8df26d324bd8e0159b2978a668984d9f8cc24794e2a045cb73 |
24 |
|
25 |
diff --git a/dev-python/font-v/font-v-1.0.5.ebuild b/dev-python/font-v/font-v-1.0.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..a20b3e87c |
28 |
--- /dev/null |
29 |
+++ b/dev-python/font-v/font-v-1.0.5.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+DESCRIPTION="Font version string reporting and modification library" |
43 |
+HOMEPAGE="https://github.com/source-foundry/font-v" |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-python/fonttools-4.17[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/GitPython-3.1.11[${PYTHON_USEDEP}] |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+BDEPEND="test? ( dev-vcs/git )" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme |
56 |
+ |
57 |
+python_test() { |
58 |
+ #it want a git repo |
59 |
+ git init || die |
60 |
+ git config --global user.email "you@×××××××.com" || die |
61 |
+ git config --global user.name "Your Name" || die |
62 |
+ git add . || die |
63 |
+ git commit -m 'init' || die |
64 |
+ |
65 |
+ #pure madness |
66 |
+ #https://github.com/source-foundry/font-v/blob/e6746e4a045c99e56af661918c96259b1f444ed4/tests/test_utilities.py#L34 |
67 |
+ sed -e "s|\"font-v\"|\"${PWD##*/}\"|g" -i "tests/test_utilities.py" || die |
68 |
+ epytest -vv |
69 |
+} |
70 |
|
71 |
diff --git a/dev-python/font-v/metadata.xml b/dev-python/font-v/metadata.xml |
72 |
new file mode 100644 |
73 |
index 000000000..d4baa81fa |
74 |
--- /dev/null |
75 |
+++ b/dev-python/font-v/metadata.xml |
76 |
@@ -0,0 +1,14 @@ |
77 |
+<?xml version="1.0" encoding="UTF-8"?> |
78 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
79 |
+<pkgmetadata> |
80 |
+ <maintainer type="person"> |
81 |
+ <description>co-maintainers welcome</description> |
82 |
+ <email>lssndrbarbieri@×××××.com</email> |
83 |
+ <name>Alessandro Barbieri</name> |
84 |
+ </maintainer> |
85 |
+ <upstream> |
86 |
+ <bugs-to>https://github.com/source-foundry/font-v/issues</bugs-to> |
87 |
+ <remote-id type="github">source-foundry/font-v</remote-id> |
88 |
+ <remote-id type="pypi">font-v</remote-id> |
89 |
+ </upstream> |
90 |
+</pkgmetadata> |