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 A62DB158088 for ; Wed, 3 Nov 2021 11:13:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31D05E086E; Wed, 3 Nov 2021 11:12:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E64D4E086F for ; Wed, 3 Nov 2021 11:12:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1168A343049 for ; Wed, 3 Nov 2021 11:12:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB9741B3 for ; Wed, 3 Nov 2021 11:12:40 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1635824435.7e0043a392dfd4586b05724e0362ef3a18ae2590.andrewammerlaan@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/statmake-0.4.0.ebuild X-VCS-Directories: dev-python/statmake/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 7e0043a392dfd4586b05724e0362ef3a18ae2590 X-VCS-Branch: master Date: Wed, 3 Nov 2021 11:12:40 +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: 28196338-288b-40ef-8791-9153a71852fc X-Archives-Hash: e018eb2fc8c57c984ff13ea680f44689 commit: 7e0043a392dfd4586b05724e0362ef3a18ae2590 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Nov 1 20:22:37 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Nov 2 03:40:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e0043a3 dev-python/statmake: add 0.4.0 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/statmake/Manifest | 1 + dev-python/statmake/statmake-0.4.0.ebuild | 43 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/statmake/Manifest b/dev-python/statmake/Manifest index fac72d7bb..7f29a8fd1 100644 --- a/dev-python/statmake/Manifest +++ b/dev-python/statmake/Manifest @@ -1 +1,2 @@ DIST statmake-0.3.0.tar.gz 34099 BLAKE2B 42286bc7f56a74a4aa4baeda58f71ef8122caa5b9a4fe84605c0e66f659000ca969c038bb4c080734465349ef7bffeada90064f00d47ba372a0c7a4a5c54a57c SHA512 b24452e2e670900378d0a8a725810140928da2a6dbb282597ac0f2202ffababa70de9a0bbfa2fe0bd77ff9251f3c5bfbf6735c42b4a246eb8ef061b809da0db3 +DIST statmake-0.4.0.tar.gz 36803 BLAKE2B cae3f7070c00c6c9cb823b60e683aef4bd9e55ba8e2a98a19f87a1093682e52a0667b21245a888f4569b425c8ba6486870df1d83d66255583b2dd4b516add176 SHA512 7102dfd085674b008b4bbdb54ec8b405ab7e70d96fd54963f6dc40eb53bc4816b4977decd2439756727a887da86fc8917a0f2763cc197c2e437dc53dcde95c84 diff --git a/dev-python/statmake/statmake-0.4.0.ebuild b/dev-python/statmake/statmake-0.4.0.ebuild new file mode 100644 index 000000000..b9371a02d --- /dev/null +++ b/dev-python/statmake/statmake-0.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Generate STAT tables for variable fonts from .stylespace files" +HOMEPAGE="https://github.com/daltonmaag/statmake" +SRC_URI="https://github.com/daltonmaag/statmake/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/cattrs[${PYTHON_USEDEP}] + dev-python/fonttools[${PYTHON_USEDEP}] + ') +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + $(python_gen_cond_dep '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}" +}