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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4BA8F13835A for ; Sun, 20 Jun 2021 03:52:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54D29E0825; Sun, 20 Jun 2021 03:52:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F48AE0825 for ; Sun, 20 Jun 2021 03:52:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D71E934027D for ; Sun, 20 Jun 2021 03:52:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F1477B4 for ; Sun, 20 Jun 2021 03:52:50 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1624139584.79d5f304ca254acde4109ae53761233efa2407ea.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/statmake/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/statmake/Manifest dev-python/statmake/metadata.xml dev-python/statmake/statmake-0.3.0.ebuild X-VCS-Directories: dev-python/statmake/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: 79d5f304ca254acde4109ae53761233efa2407ea X-VCS-Branch: master Date: Sun, 20 Jun 2021 03:52:50 +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: fa847952-6388-4845-8c5f-a00e5f7a0205 X-Archives-Hash: dd966eea30e3e4a6034a14a6c865ee01 commit: 79d5f304ca254acde4109ae53761233efa2407ea Author: Alessandro Barbieri gmail com> AuthorDate: Sat Jun 19 21:12:59 2021 +0000 Commit: Theo Anderson posteo de> CommitDate: Sat Jun 19 21:53:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79d5f304 dev-python/statmake: initial import Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/Manifest | 1 + dev-python/statmake/metadata.xml | 10 ++++++++ dev-python/statmake/statmake-0.3.0.ebuild | 40 +++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest new file mode 100644 index 000000000..fac72d7bb --- /dev/null +++ b/dev-python/statmake/Manifest @@ -0,0 +1 @@ +DIST statmake-0.3.0.tar.gz 34099 BLAKE2B 42286bc7f56a74a4aa4baeda58f71ef8122caa5b9a4fe84605c0e66f659000ca969c038bb4c080734465349ef7bffeada90064f00d47ba372a0c7a4a5c54a57c SHA512 b24452e2e670900378d0a8a725810140928da2a6dbb282597ac0f2202ffababa70de9a0bbfa2fe0bd77ff9251f3c5bfbf6735c42b4a246eb8ef061b809da0db3 diff --git a/dev-python/statmake/metadata.xml b/dev-python/statmake/metadata.xml new file mode 100644 index 000000000..fac8946e1 --- /dev/null +++ b/dev-python/statmake/metadata.xml @@ -0,0 +1,10 @@ + + + + + + https://github.com/daltonmaag/statmake/issues + daltonmaag/statmake + statmake + + diff --git a/dev-python/statmake/statmake-0.3.0.ebuild b/dev-python/statmake/statmake-0.3.0.ebuild new file mode 100644 index 000000000..76567e93b --- /dev/null +++ b/dev-python/statmake/statmake-0.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +SRC_URI="https://github.com/daltonmaag/statmake/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" +DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" +HOMEPAGE="https://github.com/daltonmaag/statmake" +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND=" + dev-python/fonttools[${PYTHON_USEDEP}] + dev-python/cattrs[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/ufo2ft[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install --skip-build + python_domodule "src/${PN}" +} + +python_test() { + local -x PYTHONPATH="${S}/src:${PYTHONPATH}" + epytest -vv || die "Tests fail with ${EPYTHON}" +}