Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/font-v/
Date: Mon, 30 May 2022 12:55:19
Message-Id: 1653912550.3f0dbc8eb964c87bff1a44eaebdf904a2bfab6d2.andrewammerlaan@gentoo
1 commit: 3f0dbc8eb964c87bff1a44eaebdf904a2bfab6d2
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Mon May 30 12:03:13 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 12:09:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f0dbc8e
7
8 dev-python/font-v: update SRC_URI
9
10 Closes: https://bugs.gentoo.org/848453
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 dev-python/font-v/Manifest | 3 +--
14 dev-python/font-v/font-v-1.0.5.ebuild | 39 -----------------------------------
15 dev-python/font-v/font-v-2.1.0.ebuild | 10 +++++----
16 3 files changed, 7 insertions(+), 45 deletions(-)
17
18 diff --git a/dev-python/font-v/Manifest b/dev-python/font-v/Manifest
19 index 3fea12de9..cad3730c1 100644
20 --- a/dev-python/font-v/Manifest
21 +++ b/dev-python/font-v/Manifest
22 @@ -1,2 +1 @@
23 -DIST font-v-1.0.5.tar.gz 4270200 BLAKE2B b94c4e0bff4c07efd50803068e0fc061c910b24f8ed2e70ae1b92d06d69db9d707b6665fdc2179eb80ae814c3b2ad913f58b1c5d4a7b9f81b40269cbb505cfb7 SHA512 070415a72deb8a35804ee548f745edf399fe01ae279ea9ca88f0d1231af77a37f38456726db73e8df26d324bd8e0159b2978a668984d9f8cc24794e2a045cb73
24 -DIST font-v-2.1.0.tar.gz 4268916 BLAKE2B 596673c62cd29d8428f97d6c6e7cbd9591e9f4f94cc719ee438f59bfeaa81adae4dc2ebb04464cfa42ec4ff71019cf658acbfe05d748f6b98383484d1aaaba4e SHA512 a619971b32828eb026499a8fed67e2c8eca063d1a868be7586f4b8b2802ede5740bef009bf8f4e9891793bf78239d1c0329ebc3bc96cecef59666fe9635ce978
25 +DIST font-v-2.1.0.gh.tar.gz 4268916 BLAKE2B 596673c62cd29d8428f97d6c6e7cbd9591e9f4f94cc719ee438f59bfeaa81adae4dc2ebb04464cfa42ec4ff71019cf658acbfe05d748f6b98383484d1aaaba4e SHA512 a619971b32828eb026499a8fed67e2c8eca063d1a868be7586f4b8b2802ede5740bef009bf8f4e9891793bf78239d1c0329ebc3bc96cecef59666fe9635ce978
26
27 diff --git a/dev-python/font-v/font-v-1.0.5.ebuild b/dev-python/font-v/font-v-1.0.5.ebuild
28 deleted file mode 100644
29 index 7f89b12ad..000000000
30 --- a/dev-python/font-v/font-v-1.0.5.ebuild
31 +++ /dev/null
32 @@ -1,39 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{8..9} )
39 -
40 -inherit distutils-r1
41 -
42 -SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
43 -KEYWORDS="~amd64 ~x86"
44 -DESCRIPTION="Font version string reporting and modification library"
45 -HOMEPAGE="https://github.com/source-foundry/font-v"
46 -LICENSE="MIT"
47 -SLOT="0"
48 -
49 -RDEPEND="
50 - >=dev-python/fonttools-4.17[${PYTHON_USEDEP}]
51 - >=dev-python/GitPython-3.1.11[${PYTHON_USEDEP}]
52 -"
53 -DEPEND="${RDEPEND}"
54 -BDEPEND="test? ( dev-vcs/git )"
55 -
56 -distutils_enable_tests pytest
57 -distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
58 -
59 -python_test() {
60 - #it want a git repo
61 - git init || die
62 - git config --global user.email "you@×××××××.com" || die
63 - git config --global user.name "Your Name" || die
64 - git add . || die
65 - git commit -m 'init' || die
66 -
67 - #pure madness
68 - #https://github.com/source-foundry/font-v/blob/e6746e4a045c99e56af661918c96259b1f444ed4/tests/test_utilities.py#L34
69 - sed -e "s|\"font-v\"|\"${PWD##*/}\"|g" -i "tests/test_utilities.py" || die
70 - epytest -vv
71 -}
72
73 diff --git a/dev-python/font-v/font-v-2.1.0.ebuild b/dev-python/font-v/font-v-2.1.0.ebuild
74 index c53a816ef..6d6372a91 100644
75 --- a/dev-python/font-v/font-v-2.1.0.ebuild
76 +++ b/dev-python/font-v/font-v-2.1.0.ebuild
77 @@ -9,7 +9,8 @@ inherit distutils-r1
78
79 DESCRIPTION="Font version string reporting and modification library"
80 HOMEPAGE="https://github.com/source-foundry/font-v"
81 -SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
82 +SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
83 +
84 KEYWORDS="~amd64"
85 LICENSE="MIT"
86 SLOT="0"
87 @@ -21,10 +22,10 @@ RDEPEND="
88 DEPEND="${RDEPEND}"
89 BDEPEND="test? ( dev-vcs/git )"
90
91 -distutils_enable_tests pytest
92 +distutils_enable_tests --install pytest
93 distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
94
95 -python_test() {
96 +src_test() {
97 #it want a git repo
98 git init || die
99 git config --global user.email "you@×××××××.com" || die
100 @@ -35,5 +36,6 @@ python_test() {
101 #pure madness
102 #https://github.com/source-foundry/font-v/blob/e6746e4a045c99e56af661918c96259b1f444ed4/tests/test_utilities.py#L34
103 sed -e "s|\"font-v\"|\"${PWD##*/}\"|g" -i "tests/test_utilities.py" || die
104 - epytest -vv
105 +
106 + python_foreach_impl python_test
107 }