From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/font-v/
Date: Mon, 30 May 2022 12:09:13 +0000 (UTC) [thread overview]
Message-ID: <1653912550.3f0dbc8eb964c87bff1a44eaebdf904a2bfab6d2.Alessandro-Barbieri@gentoo> (raw)
commit: 3f0dbc8eb964c87bff1a44eaebdf904a2bfab6d2
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 30 12:03:13 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 30 12:09:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f0dbc8e
dev-python/font-v: update SRC_URI
Closes: https://bugs.gentoo.org/848453
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/font-v/Manifest | 3 +--
dev-python/font-v/font-v-1.0.5.ebuild | 39 -----------------------------------
dev-python/font-v/font-v-2.1.0.ebuild | 10 +++++----
3 files changed, 7 insertions(+), 45 deletions(-)
diff --git a/dev-python/font-v/Manifest b/dev-python/font-v/Manifest
index 3fea12de9..cad3730c1 100644
--- a/dev-python/font-v/Manifest
+++ b/dev-python/font-v/Manifest
@@ -1,2 +1 @@
-DIST font-v-1.0.5.tar.gz 4270200 BLAKE2B b94c4e0bff4c07efd50803068e0fc061c910b24f8ed2e70ae1b92d06d69db9d707b6665fdc2179eb80ae814c3b2ad913f58b1c5d4a7b9f81b40269cbb505cfb7 SHA512 070415a72deb8a35804ee548f745edf399fe01ae279ea9ca88f0d1231af77a37f38456726db73e8df26d324bd8e0159b2978a668984d9f8cc24794e2a045cb73
-DIST font-v-2.1.0.tar.gz 4268916 BLAKE2B 596673c62cd29d8428f97d6c6e7cbd9591e9f4f94cc719ee438f59bfeaa81adae4dc2ebb04464cfa42ec4ff71019cf658acbfe05d748f6b98383484d1aaaba4e SHA512 a619971b32828eb026499a8fed67e2c8eca063d1a868be7586f4b8b2802ede5740bef009bf8f4e9891793bf78239d1c0329ebc3bc96cecef59666fe9635ce978
+DIST font-v-2.1.0.gh.tar.gz 4268916 BLAKE2B 596673c62cd29d8428f97d6c6e7cbd9591e9f4f94cc719ee438f59bfeaa81adae4dc2ebb04464cfa42ec4ff71019cf658acbfe05d748f6b98383484d1aaaba4e SHA512 a619971b32828eb026499a8fed67e2c8eca063d1a868be7586f4b8b2802ede5740bef009bf8f4e9891793bf78239d1c0329ebc3bc96cecef59666fe9635ce978
diff --git a/dev-python/font-v/font-v-1.0.5.ebuild b/dev-python/font-v/font-v-1.0.5.ebuild
deleted file mode 100644
index 7f89b12ad..000000000
--- a/dev-python/font-v/font-v-1.0.5.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit distutils-r1
-
-SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-DESCRIPTION="Font version string reporting and modification library"
-HOMEPAGE="https://github.com/source-foundry/font-v"
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="
- >=dev-python/fonttools-4.17[${PYTHON_USEDEP}]
- >=dev-python/GitPython-3.1.11[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-vcs/git )"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-
-python_test() {
- #it want a git repo
- git init || die
- git config --global user.email "you@example.com" || die
- git config --global user.name "Your Name" || die
- git add . || die
- git commit -m 'init' || die
-
- #pure madness
- #https://github.com/source-foundry/font-v/blob/e6746e4a045c99e56af661918c96259b1f444ed4/tests/test_utilities.py#L34
- sed -e "s|\"font-v\"|\"${PWD##*/}\"|g" -i "tests/test_utilities.py" || die
- epytest -vv
-}
diff --git a/dev-python/font-v/font-v-2.1.0.ebuild b/dev-python/font-v/font-v-2.1.0.ebuild
index c53a816ef..6d6372a91 100644
--- a/dev-python/font-v/font-v-2.1.0.ebuild
+++ b/dev-python/font-v/font-v-2.1.0.ebuild
@@ -9,7 +9,8 @@ inherit distutils-r1
DESCRIPTION="Font version string reporting and modification library"
HOMEPAGE="https://github.com/source-foundry/font-v"
-SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/source-foundry/font-v/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
@@ -21,10 +22,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-vcs/git )"
-distutils_enable_tests pytest
+distutils_enable_tests --install pytest
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-python_test() {
+src_test() {
#it want a git repo
git init || die
git config --global user.email "you@example.com" || die
@@ -35,5 +36,6 @@ python_test() {
#pure madness
#https://github.com/source-foundry/font-v/blob/e6746e4a045c99e56af661918c96259b1f444ed4/tests/test_utilities.py#L34
sed -e "s|\"font-v\"|\"${PWD##*/}\"|g" -i "tests/test_utilities.py" || die
- epytest -vv
+
+ python_foreach_impl python_test
}
next reply other threads:[~2022-05-30 12:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-30 12:09 Alessandro Barbieri [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-26 22:42 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/font-v/ Anna Vyalkova
2022-03-17 1:42 Alessandro Barbieri
2021-06-29 7:29 Alessandro Barbieri
2021-06-29 2:43 Alessandro Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1653912550.3f0dbc8eb964c87bff1a44eaebdf904a2bfab6d2.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox