diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-20 20:39:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-20 20:39:37 +0100 |
commit | 289f1b26cc418e64d838c0014e838c56fa368c8a (patch) | |
tree | 4fe4020edaef46c454dc2937172445f5f0ac1c35 /dev-python/fonttools | |
parent | dd45cee79a4c905271356e96af531293b62c429b (diff) |
gentoo auto-resync : 20:08:2022 - 20:39:37
Diffstat (limited to 'dev-python/fonttools')
-rw-r--r-- | dev-python/fonttools/Manifest | 3 | ||||
-rw-r--r-- | dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch | 40 | ||||
-rw-r--r-- | dev-python/fonttools/fonttools-4.33.3.ebuild | 62 |
3 files changed, 0 insertions, 105 deletions
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index c3808c02f1e0..eea2385de204 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,9 +1,6 @@ -AUX fonttools-4.33.3-py3.11-tests.patch 1585 BLAKE2B a55794521063956fe5e1acd9d0411120048f1848b013771fbb2d07367739ed7253a08b1229599a406e360352f8405d72feaec89e548845ce2245f6ad6a6adbd2 SHA512 17da9153525eb56d5c386d0655851c9bdbb775fb012a98c3468e836614c2b186cdcf789f0cdeb7edfcc6306eb4a0fe3b5ed6fe02a76311f5680e96efec1113fd -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 -EBUILD fonttools-4.33.3.ebuild 1565 BLAKE2B d3b083da6c8c824946781f04c525201cf812e2d28b0cb6c3e74e776556924ea714d2b1257f27c3131c6a5f6d14cb6f3ac73f78382621854b937e8760c920ca70 SHA512 cb9907623ae7fa88199994daf0f0551e0c7d45474411888a2a2c357c5671c59e8232ce745ca40a69cc792a7490b9a48a2f4262bb0e2743aebe56f6e890f84388 EBUILD fonttools-4.34.4.ebuild 1516 BLAKE2B 7b9540de8ab5c231b1cd133b014e9e0d0a265ea2452ffa5326dc84902708319bbbb02a001216cc0c1f8e1d84cfebcdf1d08ee2710741fdc816d3aca033e7ebca SHA512 2d6f905463b5049d4b95fb0e317c263a2dc8b098c432f2169230070a018eeb4bbd2308a99ba5ee4645e67f6b945fd3ee3b95fb1c47e59a001355f48d8996fae0 EBUILD fonttools-4.35.0.ebuild 1524 BLAKE2B 006a2e378c259889001bb01a0ef51350d34fbc3c59d9445d3669317e66916f6d546ca7be3dfffab3b56505bad8bf9a738f6e093829eedbedde2162e5cfda798b SHA512 30d8c62dc7dc26a9218f1cf7e0a4c9553299b4268bdc6a68556d565598ceda574ba194a090390e46a88606ade224c96ba5f49d4143f6ac79074fdfcb1bba97d0 EBUILD fonttools-4.36.0.ebuild 1524 BLAKE2B 006a2e378c259889001bb01a0ef51350d34fbc3c59d9445d3669317e66916f6d546ca7be3dfffab3b56505bad8bf9a738f6e093829eedbedde2162e5cfda798b SHA512 30d8c62dc7dc26a9218f1cf7e0a4c9553299b4268bdc6a68556d565598ceda574ba194a090390e46a88606ade224c96ba5f49d4143f6ac79074fdfcb1bba97d0 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 <pnemade@fedoraproject.org> -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}" -} |