From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/font-v/
Date: Sun, 26 Feb 2023 22:42:38 +0000 (UTC) [thread overview]
Message-ID: <1677451295.a68a969e8e5f40bb53760612a544a6b097ab3fc3.cybertailor@gentoo> (raw)
commit: a68a969e8e5f40bb53760612a544a6b097ab3fc3
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb 26 19:46:53 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Feb 26 22:41:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a68a969e
dev-python/font-v: enable py3.11
Closes: https://bugs.gentoo.org/848774
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/font-v/font-v-2.1.0-r1.ebuild | 45 ++++++++++++++++++++++++++++++++
dev-python/font-v/font-v-2.1.0.ebuild | 41 -----------------------------
2 files changed, 45 insertions(+), 41 deletions(-)
diff --git a/dev-python/font-v/font-v-2.1.0-r1.ebuild b/dev-python/font-v/font-v-2.1.0-r1.ebuild
new file mode 100644
index 000000000..2a70cb0b8
--- /dev/null
+++ b/dev-python/font-v/font-v-2.1.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 edo
+
+DESCRIPTION="Font version reporting and modification tool"
+HOMEPAGE="https://github.com/source-foundry/font-v"
+SRC_URI="https://github.com/source-foundry/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}"
+
+KEYWORDS="~amd64"
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ dev-python/fonttools[${PYTHON_USEDEP}]
+ dev-python/GitPython[${PYTHON_USEDEP}]
+"
+BDEPEND="test? ( dev-vcs/git )"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx-rtd-theme
+
+src_unpack() {
+ default
+
+ # tests expect default git clone
+ mv "${WORKDIR}"/{${P},${PN}} || die
+}
+
+src_test() {
+ edo git init
+ edo git config --global user.email "larry@example.com"
+ edo git config --global user.name "Larry the Cow"
+ edo git add .
+ edo git commit -m "init"
+
+ distutils-r1_src_test
+}
diff --git a/dev-python/font-v/font-v-2.1.0.ebuild b/dev-python/font-v/font-v-2.1.0.ebuild
deleted file mode 100644
index 069561113..000000000
--- a/dev-python/font-v/font-v-2.1.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-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}.gh.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="
- dev-python/fonttools[${PYTHON_USEDEP}]
- dev-python/GitPython[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-vcs/git )"
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
-
-src_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
-
- python_foreach_impl python_test
-}
next reply other threads:[~2023-02-26 22:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-26 22:42 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-30 12:09 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/font-v/ Alessandro Barbieri
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=1677451295.a68a969e8e5f40bb53760612a544a6b097ab3fc3.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--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