From a365a140b13f2d8e4bbe573fdd5e822e7a1756df Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Mon, 16 Nov 2020 12:43:52 -0500 Subject: dev-python/fonttools: update, drop keywords --- dev-python/fonttools/Manifest | 2 +- dev-python/fonttools/fonttools-4.16.1.ebuild | 50 ---------------------------- dev-python/fonttools/fonttools-4.17.1.ebuild | 50 ++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 51 deletions(-) delete mode 100644 dev-python/fonttools/fonttools-4.16.1.ebuild create mode 100644 dev-python/fonttools/fonttools-4.17.1.ebuild (limited to 'dev-python') diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index ae1ab3f..4c1b0e1 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1 +1 @@ -DIST fonttools-4.16.1.tar.gz 2473843 BLAKE2B 3a548f921879fe8e6532d28b6718aede4c0b3a0a620d25345a3b16dcf89687a0945f07477e1e5d3c96f51ee026f4c5c9794e38b7979c7331363bf6b691edf07d SHA512 bdd2cfcdc7aaf58b03e48e5853a93ab3566c7be87d85e60ee7a8b3480a4407b5950695c797daae0f9defbe093e6b0d44a1ea81fe4b23531f6c2804c975777e8d +DIST fonttools-4.17.1.tar.gz 2483024 BLAKE2B 0b8ae0b6ee671277aad5f37dd2bdc09692fd51d85bea3734bd40fa699371bdc7ed4c6363b3ef6ad6b30193a45faccb0b792d7056b71931de8272bfca05f065bf SHA512 b344887e36f73ae9e3ea827d197a8a6895dab05accfc4d35217d5e99fae1009db1ef722237581694b90b49c9479de36aacda3f15722cce276af9fa325a847584 diff --git a/dev-python/fonttools/fonttools-4.16.1.ebuild b/dev-python/fonttools/fonttools-4.16.1.ebuild deleted file mode 100644 index 4ea64f6..0000000 --- a/dev-python/fonttools/fonttools-4.16.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} ) -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 ppc ppc64 sparc x86" -RESTRICT="!test? ( test )" -IUSE="test" - -RDEPEND="" -DEPEND="${RDEPEND} - test? ( - >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - - >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - )" - -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 -} - -python_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx pytest -vv Tests fontTools -} diff --git a/dev-python/fonttools/fonttools-4.17.1.ebuild b/dev-python/fonttools/fonttools-4.17.1.ebuild new file mode 100644 index 0000000..34950d6 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.17.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} ) +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 ~ppc ~ppc64 ~sparc ~x86" +RESTRICT="!test? ( test )" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + test? ( + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + )" + +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 +} + +python_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx pytest -vv Tests fontTools +} -- cgit v1.2.3-70-g09d2