commit: ab5ae9fa93f89b5c12202714cee11ea8471710ad
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Mar 14 02:08:21 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Mar 14 02:41:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab5ae9fa
dev-python/ttfautohint-py: add 0.5.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/ttfautohint-py/Manifest | 1 +
.../ttfautohint-py/ttfautohint-py-0.5.1.ebuild | 35 ++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/dev-python/ttfautohint-py/Manifest
b/dev-python/ttfautohint-py/Manifest
index 29df1e941..c6483b582 100644
--- a/dev-python/ttfautohint-py/Manifest
+++ b/dev-python/ttfautohint-py/Manifest
@@ -1 +1,2 @@
DIST ttfautohint-py-0.4.3.tar.gz 186488 BLAKE2B
cc5de63faf4a5d213a14eda9b092c48e2e67c59b04ad1580d680e22bf691d915a74f7a465cc37cd0ce907874f3fdb0312224e647bb8e18e5741f886e69e7d075
SHA512
2f21af2a4ffffb59c9e83e4c5aa77ce15d97d4391894537e87727fd05f47b8f007e3ddf1fcf98d195a880b2a4e22586ce9faab4d8dc33f6c6eaa1623dcfd3aab
+DIST ttfautohint-py-0.5.1.tar.gz 186884 BLAKE2B
ab09325f262e631639433852a9709b52c23a08e2a179fb9f2bce46d851a5523205076ef2698de5c2af10828fc8290d905d5cfe58c44fbfecce4474d504c2d84c
SHA512
0673daa17666af7df4fdd9836c978bb6e1620193524a9043d31900047191ef29dd75783afaf5929cb3a7b74137ec9b4e9b5c15793f811824ab6dc2a0780fd798
diff --git a/dev-python/ttfautohint-py/ttfautohint-py-0.5.1.ebuild
b/dev-python/ttfautohint-py/ttfautohint-py-0.5.1.ebuild
new file mode 100644
index 000000000..e444501fe
--- /dev/null
+++ b/dev-python/ttfautohint-py/ttfautohint-py-0.5.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python wrapper for ttfautohint"
+HOMEPAGE="https://github.com/fonttools/ttfautohint-py"
+SRC_URI="https://github.com/fonttools/ttfautohint-py/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="media-gfx/ttfautohint"
+DEPEND="
+ ${RDEPEND}
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/fonttools[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ rm -r src/c || die
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
+ export TTFAUTOHINTPY_BUNDLE_DLL=0
+ default
+}