commit: 412f5ceb0aeeb678dc07ccb2ab1651700c6307cc Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Aug 20 13:52:30 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Aug 20 14:05:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412f5ceb
dev-python/fonttools: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/fonttools/Manifest | 1 - .../files/fonttools-4.33.3-py3.11-tests.patch | 40 -------------- dev-python/fonttools/fonttools-4.33.3.ebuild | 62 ---------------------- 3 files changed, 103 deletions(-) diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 0f247777d7c9..ceeda3d14ed1 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,4 +1,3 @@ -DIST fonttools-4.33.3.tar.gz 3526937 BLAKE2B 26539f76ac1919e572633695aca7a95f7f715ef18bd7d36de22e5491124ce36d3907f1e7b167d23685bca437f0bf7cf99159cd918ab2b1a450b716166d30fc37 SHA512 403e19cda46d67dea9f517e58c2e95ed04c53e6832919d85df9db4538431252e5ec4554e22410fd45cba634998de1576cf55d50f56de5ad497a108dcec4ed56a DIST fonttools-4.34.4.gh.tar.gz 3555013 BLAKE2B 0e4149321cea89fb9ec63a52a127f657421d2902f9d9ec72a918bd7230ce5c9117f876bb1fe0b6dfa986b774a5929f41ba8ff868462f240669f8b2067d4bcf39 SHA512 9c6ea7d6e9a9d74d2e705f7966853709ee834195f682bf595f932be2eab8fb728cf69b83680e5b95a308b40b1c17a7d1003efade9473d3f6d8e744ecfd1e2c62 DIST fonttools-4.35.0.gh.tar.gz 3560204 BLAKE2B d79bbd2e4cca6fc5dd9fd301d29c10e2ff07348be6b57f00744b23ed4b00bb5e10b2415b83477827c0c2dc65262f578c6b6dd90de1243d84d4e83e46537ea804 SHA512 d7919eae04faa61fd3ef8996349239db2a0d5dbdd743dd41a43d1664f0524c0554d314a6d5d0c9aa4468badc47018843b2810ea61996c1bb56906ecd3bb9a4bf DIST fonttools-4.36.0.gh.tar.gz 3567028 BLAKE2B 45c2481680a314e101ed3a14915585b503a15853937846a5ceadd15e524f053663e0c6876bb105b0f2593ac790029da48cbede8139be98809764e5a6e3e2b11a SHA512 48a07548f72e9818292c1552675fce94b8ecb876172cd7adb429426c1d987f54a6e0482b7847e48c3b9854821567023cce402c613488d9e17277eff8a615d3c2 diff --git a/dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch b/dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch deleted file mode 100644 index 9b5e9983ba3d..000000000000 --- a/dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch +++ /dev/null @@ -1,40 +0,0 @@ -https://github.com/fonttools/fonttools/pull/2655/commits/7787525b -From: Parag Nemade <[email protected]> -Date: Wed, 15 Jun 2022 18:24:04 +0530 -Subject: [PATCH] Fix tests for Python 3.11 ---- a/Tests/pens/cu2quPen_test.py -+++ b/Tests/pens/cu2quPen_test.py -@@ -12,6 +12,7 @@ - # See the License for the specific language governing permissions and - # limitations under the License. - -+import sys - import unittest - - from fontTools.pens.cu2quPen import Cu2QuPen, Cu2QuPointPen -@@ -257,8 +258,12 @@ def test_ignore_single_points(self): - quadpen.closePath() - - self.assertGreaterEqual(len(log.records), 1) -- self.assertIn("ignore_single_points is deprecated", -- log.records[0].args[0]) -+ if sys.version_info < (3, 11): -+ self.assertIn("ignore_single_points is deprecated", -+ log.records[0].args[0]) -+ else: -+ self.assertIn("ignore_single_points is deprecated", -+ log.records[0].msg) - - # single-point contours were ignored, so the pen commands are empty - self.assertFalse(pen.commands) ---- a/Tests/ufoLib/ufoLib_test.py -+++ b/Tests/ufoLib/ufoLib_test.py -@@ -35,7 +35,7 @@ def test_formatVersionTuple(ufo_path): - assert reader.formatVersionTuple == (3, 0) - assert reader.formatVersionTuple.major == 3 - assert reader.formatVersionTuple.minor == 0 -- assert str(reader.formatVersionTuple) == "3.0" -+ assert str(reader.formatVersionTuple) in ("3.0", "UFOFormatVersion.FORMAT_3_0") - - - def test_readMetaInfo_errors(ufo_path): diff --git a/dev-python/fonttools/fonttools-4.33.3.ebuild b/dev-python/fonttools/fonttools-4.33.3.ebuild deleted file mode 100644 index 1576313a716a..000000000000 --- a/dev-python/fonttools/fonttools-4.33.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..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/" -SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/cython[${PYTHON_USEDEP}] - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-py3.11-tests.patch -) - -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}" -}
