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 10AF115800A for ; Fri, 21 Jul 2023 19:05:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2858DE08FC; Fri, 21 Jul 2023 19:05:52 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1275CE08FC for ; Fri, 21 Jul 2023 19:05:52 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01C2C335C67 for ; Fri, 21 Jul 2023 19:05:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32130BE2 for ; Fri, 21 Jul 2023 19:05:49 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1689966335.a71938bbdbadca7dd16c58bed8222edfd5f705e4.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fonttools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/fonttools/Manifest dev-python/fonttools/fonttools-4.41.1.ebuild X-VCS-Directories: dev-python/fonttools/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: a71938bbdbadca7dd16c58bed8222edfd5f705e4 X-VCS-Branch: master Date: Fri, 21 Jul 2023 19:05:49 +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: aebb5b4e-6228-41ff-921e-e403ee84dcba X-Archives-Hash: 086111f2247ff55ddead22a738cd5dd4 commit: a71938bbdbadca7dd16c58bed8222edfd5f705e4 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 21 19:05:22 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 21 19:05:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71938bb dev-python/fonttools: add 4.41.1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/fonttools/Manifest | 1 + dev-python/fonttools/fonttools-4.41.1.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 849b852bc952..2d456c26d049 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,3 +1,4 @@ DIST fonttools-4.39.4.gh.tar.gz 3710610 BLAKE2B f4d75ae71c7b8ec752eee3820129719583072c8e1e68d54b3443c192e7c6732e7db7adfaec32145b87eccd23b1720a748e70682d58a1628d93f89890d3ddc274 SHA512 4be7c19022ccfbb182edb7d80ec50ff2aa91eae3dd4328c1023e65a293e079edd4c1ae0a8b2260e35fa940417e7b03dc96bd7a6d6ec4234bc4c4257187b24758 DIST fonttools-4.40.0.gh.tar.gz 3726926 BLAKE2B c14cf10baeca50f6a70dc210de40f46b24effa66efdaded0a2706539af659b7fea276064b352fbe2f412028912658dc3f215409c3975bd773a7bd789986a65a1 SHA512 03daecfb2c48e13f22255872dd9dca47aaca9fc71139f2d5876cdb74fa8560d697344845d870742da00d3734043e36f143efe5d2048b884a5f7ed924435aa2f0 DIST fonttools-4.41.0.gh.tar.gz 3754276 BLAKE2B dc1ee8415d6829d467d584280c1d9a90c3355cac159db43f14123ea0d71271465bdac1e891a640040ccc72a7ffa2f9e484dfaccc9ce7930f7dad28322f7b435c SHA512 9f8478c68f187258fc8377d6313d0d72231dce8725a09b43b3bfb2ba844f2c11e9396cd4627f21450362566fe4649e66f09d3e2230e509d8e347c978e876f8d9 +DIST fonttools-4.41.1.gh.tar.gz 3757962 BLAKE2B 9935459d6a17d91a0fb1deb8687790bec9b3aaf483610bb4dac448dfaa2237167cf62a346bb97a31d255d383bc4237806e4addd50e88afbc50b897dcffb40774 SHA512 d4feadb31fce8249ca44dc08f9e24639071511663ad19feb994e95c20c4d25713b1c3525ee0de1ba31ebd056cae226cf84b22065d014344d380190f7b6b4b60f diff --git a/dev-python/fonttools/fonttools-4.41.1.ebuild b/dev-python/fonttools/fonttools-4.41.1.ebuild new file mode 100644 index 000000000000..9468c65101c8 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.41.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + export FONTTOOLS_WITH_CYTHON=1 +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + epytest Tests fontTools || die "Tests failed with ${EPYTHON}" +}