From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F16741382C5 for ; Sun, 20 Jun 2021 17:51:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33F0AE085A; Sun, 20 Jun 2021 17:51:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B815E085A for ; Sun, 20 Jun 2021 17:51:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3172335C85 for ; Sun, 20 Jun 2021 17:51:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3792F7A4 for ; Sun, 20 Jun 2021 17:51:49 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1624211507.2a7cbea23382aa01e9d280721398008b314b46a4.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/ttfautohint-py/, dev-python/ttfautohint-py/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/ttfautohint-py/Manifest dev-python/ttfautohint-py/files/ttfautohint-py-0.4.3-no-ext_modules.patch dev-python/ttfautohint-py/metadata.xml dev-python/ttfautohint-py/ttfautohint-py-0.4.3.ebuild X-VCS-Directories: dev-python/ttfautohint-py/files/ dev-python/ttfautohint-py/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 2a7cbea23382aa01e9d280721398008b314b46a4 X-VCS-Branch: dev Date: Sun, 20 Jun 2021 17:51:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ed328841-674b-4077-9d21-9e5f4d725b72 X-Archives-Hash: 88ea7d580887226e27ac573f6de7cedd commit: 2a7cbea23382aa01e9d280721398008b314b46a4 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Jun 20 17:32:05 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sun Jun 20 17:51:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a7cbea2 dev-python/ttfautohint-py: initial import Signed-off-by: Alessandro Barbieri gmail.com> dev-python/ttfautohint-py/Manifest | 1 + .../ttfautohint-py-0.4.3-no-ext_modules.patch | 10 +++++++ dev-python/ttfautohint-py/metadata.xml | 10 +++++++ .../ttfautohint-py/ttfautohint-py-0.4.3.ebuild | 32 ++++++++++++++++++++++ 4 files changed, 53 insertions(+) diff --git a/dev-python/ttfautohint-py/Manifest b/dev-python/ttfautohint-py/Manifest new file mode 100644 index 000000000..29df1e941 --- /dev/null +++ b/dev-python/ttfautohint-py/Manifest @@ -0,0 +1 @@ +DIST ttfautohint-py-0.4.3.tar.gz 186488 BLAKE2B cc5de63faf4a5d213a14eda9b092c48e2e67c59b04ad1580d680e22bf691d915a74f7a465cc37cd0ce907874f3fdb0312224e647bb8e18e5741f886e69e7d075 SHA512 2f21af2a4ffffb59c9e83e4c5aa77ce15d97d4391894537e87727fd05f47b8f007e3ddf1fcf98d195a880b2a4e22586ce9faab4d8dc33f6c6eaa1623dcfd3aab diff --git a/dev-python/ttfautohint-py/files/ttfautohint-py-0.4.3-no-ext_modules.patch b/dev-python/ttfautohint-py/files/ttfautohint-py-0.4.3-no-ext_modules.patch new file mode 100644 index 000000000..84dee04cc --- /dev/null +++ b/dev-python/ttfautohint-py/files/ttfautohint-py-0.4.3-no-ext_modules.patch @@ -0,0 +1,10 @@ +--- a/setup.py ++++ b/setup.py +@@ -120,7 +120,6 @@ + platforms=["posix", "nt"], + package_dir={"": "src/python"}, + packages=find_packages("src/python"), +- ext_modules=[libttfautohint], + zip_safe=False, + cmdclass=cmdclass, + setup_requires=['setuptools_scm'], diff --git a/dev-python/ttfautohint-py/metadata.xml b/dev-python/ttfautohint-py/metadata.xml new file mode 100644 index 000000000..a35f50345 --- /dev/null +++ b/dev-python/ttfautohint-py/metadata.xml @@ -0,0 +1,10 @@ + + + + + + https://github.com/fonttools/ttfautohint-py/issues + fonttools/ttfautohint-py + ttfautohint-py + + diff --git a/dev-python/ttfautohint-py/ttfautohint-py-0.4.3.ebuild b/dev-python/ttfautohint-py/ttfautohint-py-0.4.3.ebuild new file mode 100644 index 000000000..31466327d --- /dev/null +++ b/dev-python/ttfautohint-py/ttfautohint-py-0.4.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +SRC_URI="https://github.com/fonttools/ttfautohint-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" +DESCRIPTION="A Python wrapper for ttfautohint" +HOMEPAGE="https://github.com/fonttools/ttfautohint-py" +LICENSE="MIT" +SLOT="0" + +RDEPEND="media-gfx/ttfautohint" +DEPEND=" + test? ( + dev-python/fonttools[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/${P}-no-ext_modules.patch" ) + +distutils_enable_tests pytest + +src_prepare() { + rm -r src/c || die + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}" + default +}