From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 647DC158030 for ; Sun, 26 Feb 2023 22:42:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52649E07F9; Sun, 26 Feb 2023 22:42:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2ABF3E07F9 for ; Sun, 26 Feb 2023 22:42:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4FA2340E55 for ; Sun, 26 Feb 2023 22:42:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77DD58C1 for ; Sun, 26 Feb 2023 22:42:38 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1677451295.a68a969e8e5f40bb53760612a544a6b097ab3fc3.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/font-v/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/font-v/font-v-2.1.0-r1.ebuild dev-python/font-v/font-v-2.1.0.ebuild X-VCS-Directories: dev-python/font-v/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: a68a969e8e5f40bb53760612a544a6b097ab3fc3 X-VCS-Branch: dev Date: Sun, 26 Feb 2023 22:42:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d5ad5374-a93e-4dd6-b6cc-91811ef7db52 X-Archives-Hash: 31c90bab14db339c4fd80f3cbcf820bd commit: a68a969e8e5f40bb53760612a544a6b097ab3fc3 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sun Feb 26 19:46:53 2023 +0000 Commit: Anna Vyalkova sysrq 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 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 -}