dev-python/fonttools: Version bump to 4.1.0
authorMatt Turner <mattst88@gentoo.org>
Sat, 23 Nov 2019 16:35:57 +0000 (11:35 -0500)
committerMatt Turner <mattst88@gentoo.org>
Sat, 23 Nov 2019 16:48:07 +0000 (11:48 -0500)
Signed-off-by: Matt Turner <mattst88@gentoo.org>
dev-python/fonttools/Manifest
dev-python/fonttools/fonttools-4.1.0.ebuild [new file with mode: 0644]

index b8ef8b09249d42b15f812beb52c03e5306e6e1b4..80a06d223900ab86d2f83a5f0ee0c8a8fd696ea2 100644 (file)
@@ -2,3 +2,4 @@ DIST fonttools-3.0.tar.gz 298992 BLAKE2B 74adad38ea49e95b19a306d7a37cdff60f9983d
 DIST fonttools-3.24.2.tar.gz 1264825 BLAKE2B dd08243ec237c9c8616cb15f749a89b38fce13a0ac3a3deb64abe19dd95854222aa40003d0457f8821aeebe2e2d637262861f2af90235deb26bafccba30819dc SHA512 6a4b771e94ff23bf75f7a4aad2049350bc8cc41aae09c7fddaac6dc76662248032f138f64849cad8b8a46ad4c7ff8ff115e22084b6af4833cefb2614fdd289a8
 DIST fonttools-3.44.0.tar.gz 2040100 BLAKE2B cdbebe8b38929ed8f436b899a9f5c7c5cddf546558ffd9e347fd41fc06dc4521741dd80d4b8c1cec4f996322ec09e8892174c965ff55bc6e4c7e4c5f44be0fe5 SHA512 ce390ccf69a4222ab8042f72c4e2495e39cb6907fafaea36f505407c7c6cca891d43374d648ae9f1a3119bfaeb1768b34f7c0340fad4fd158722cf2bfff425f7
 DIST fonttools-4.0.1.tar.gz 2240578 BLAKE2B d7d735c4edfc09d90e2fd5b05e195e900f4f96e7acb52d0fdb00d95e9a39fa698dc853908b93f6f54674d9536caa9b7bc6c2b487565443b3e115a5ab3237eae7 SHA512 ae8a956ee03923ccbaf9d8950361cf0a2e3b86d61145298de07e8f4ed50680cea07dc56802663e3edf1fd9f18850983fac5685036f3c99fc454ea72591646eb0
+DIST fonttools-4.1.0.tar.gz 2253792 BLAKE2B 470207d74404851aa111142ad8541d45820ded0212029867c289f2e7741d4b41b4ac824f65555a23d4f3dcc974428537cd319a8787bc4d80f2fb67561a21d1ee SHA512 3d9485cd34b5ea3dfdcc26474e0b21a96811b84eda16341c39165aea72bb09c3cf3360a069b316ae6575a399e26f6518c199180caec7bb959f245ced7ca45e3b
diff --git a/dev-python/fonttools/fonttools-4.1.0.ebuild b/dev-python/fonttools/fonttools-4.1.0.ebuild
new file mode 100644 (file)
index 0000000..b9df172
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
+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 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       test? (
+               >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+               dev-python/pytest-runner[${PYTHON_USEDEP}]
+
+               >=dev-python/fs-2.4.9[${PYTHON_USEDEP}]
+               app-arch/brotli[python,${PYTHON_USEDEP}]
+               app-arch/zopfli
+       )"
+
+python_test() {
+       # virtualx used when matplotlib is installed causing plot module tests to run
+       virtx pytest -vv Tests fontTools || die "pytest failed"
+}