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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB37815808C for ; Sat, 12 Mar 2022 01:18:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FCF9E08D3; Sat, 12 Mar 2022 01:18:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6FB4DE0893 for ; Sat, 12 Mar 2022 01:18:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C988B34302E for ; Sat, 12 Mar 2022 01:18:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8DC1287 for ; Sat, 12 Mar 2022 01:18:03 +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: <1647046446.537a899d0db43f02d69b5e08e4ec6dcdcc7d45cf.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/cffsubr/, dev-python/cffsubr/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/cffsubr/Manifest dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild dev-python/cffsubr/files/cffsubr-0.2.9_p1-fix-setup-py.patch X-VCS-Directories: dev-python/cffsubr/files/ dev-python/cffsubr/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 537a899d0db43f02d69b5e08e4ec6dcdcc7d45cf X-VCS-Branch: dev Date: Sat, 12 Mar 2022 01:18:03 +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: a7753c7c-3622-4ce6-b375-c9ec6faff296 X-Archives-Hash: 2819a69497e93c295527bbb580cc92c3 commit: 537a899d0db43f02d69b5e08e4ec6dcdcc7d45cf Author: Alessandro Barbieri gmail com> AuthorDate: Sat Mar 12 00:54:06 2022 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sat Mar 12 00:54:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=537a899d dev-python/cffsubr: add 0.2.9_p1 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/cffsubr/Manifest | 1 + dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild | 44 ++++++++++++++++++++++ .../files/cffsubr-0.2.9_p1-fix-setup-py.patch | 22 +++++++++++ 3 files changed, 67 insertions(+) diff --git a/dev-python/cffsubr/Manifest b/dev-python/cffsubr/Manifest index d42a93d36..c0a09a371 100644 --- a/dev-python/cffsubr/Manifest +++ b/dev-python/cffsubr/Manifest @@ -1 +1,2 @@ DIST cffsubr-0.2.8.tar.gz 124245 BLAKE2B fa78acf9158faf3917f194a2c30a13c2a598a7476a89dc79f95440eb04fe91663e7620729e6be1635ce1df24fff34068c42ea155abb17f016f50e961d13f52af SHA512 5f5a655168c6157799d17e20762893f23a7f7d90e739fb5bbe0a4fd895dc2b1c5359b5bdb92f4cb8333f841cd5b471359825d709f2477afd2bd7322760359d24 +DIST cffsubr-0.2.9_p1.tar.gz 124635 BLAKE2B c040339d113247b34195d7b7a220b449810ced52ffeea209bde2bb871c964a1da7d734c7167ece88ade03b26e722dca7f235a70326ff8c9b268b707ba5730a79 SHA512 8f1ea1fb732b772c1ac479883df6993ff2d56457c725d621bb1ebebf7a27393bb96771b9db8364513ae7f815bc74da15dd8c22695eeaf6f65d8dc62c8ae947dc diff --git a/dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild b/dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild new file mode 100644 index 000000000..cb351f361 --- /dev/null +++ b/dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +MYPV="${PV/_p/.post}" +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Standalone CFF subroutinizer based on AFDKO tx tool" +HOMEPAGE="https://github.com/adobe-type-tools/cffsubr" +SRC_URI="https://github.com/adobe-type-tools/cffsubr/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MYPV}" +KEYWORDS="~amd64" +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + >=dev-python/fonttools-4.10.2[${PYTHON_USEDEP}] + >=dev-util/afdko-3.6.1[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-system_tx.diff" + "${FILESDIR}/${P}-fix-setup-py.patch" +) + +distutils_enable_tests pytest + +pkg_setup() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}" +} + +src_prepare() { + #no bundled afdko + rm -rf external || die + default +} diff --git a/dev-python/cffsubr/files/cffsubr-0.2.9_p1-fix-setup-py.patch b/dev-python/cffsubr/files/cffsubr-0.2.9_p1-fix-setup-py.patch new file mode 100644 index 000000000..dfdfe352a --- /dev/null +++ b/dev-python/cffsubr/files/cffsubr-0.2.9_p1-fix-setup-py.patch @@ -0,0 +1,22 @@ +--- a/setup.py ++++ b/setup.py +@@ -136,7 +136,7 @@ + package_dir={"": "src"}, + packages=find_packages("src"), + entry_points={"console_scripts": ["cffsubr = cffsubr.__main__:main"]}, +- ext_modules=[tx], ++ ext_modules=[], + zip_safe=False, + cmdclass=cmdclass, + install_requires=[ +@@ -144,9 +144,7 @@ + "fontTools >= 4.10.2", + ], + setup_requires=[ +- "setuptools_scm", +- # finds all git tracked files including submodules when making sdist MANIFEST +- "setuptools-git-ls-files", ++ "setuptools_scm" + ], + extras_require={"testing": ["pytest"]}, + python_requires=">=3.6",