commit: 5be5635c6177415e74ab44888d735fe51307a7b1
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 28 04:27:10 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 28 04:34:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5be5635c
dev-python/compreffor: add 0.5.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/compreffor/Manifest | 1 +
dev-python/compreffor/compreffor-0.5.2.ebuild | 37 +++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
index fe4babae3..d1f00dd2d 100644
--- a/dev-python/compreffor/Manifest
+++ b/dev-python/compreffor/Manifest
@@ -1 +1,2 @@
DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B
ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2
SHA512
eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed
+DIST compreffor-0.5.2.tar.gz 76299 BLAKE2B
254329875fbafd9a4887a696a2b21ae1695e03fe337fb0f5e48c2b2e242941114d7cf16c966e85c690302152da06bd21f7bb713fe92c139893299468b461e466
SHA512
9806141022163804f02b1ee14552bc2e8e9b7350110c42aca1c74bd6af049f3032920e5299dd59961bb24e69b97fa748478f8be2f25fd90ae2e3d0d1ce4c22c0
diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild
b/dev-python/compreffor/compreffor-0.5.2.ebuild
new file mode 100644
index 000000000..da496b718
--- /dev/null
+++ b/dev-python/compreffor/compreffor-0.5.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+MY_P="${PN}-${PV/_p/.post}"
+DESCRIPTION="A CFF table subroutinizer for FontTools"
+HOMEPAGE="
+ https://github.com/googlefonts/compreffor
+ https://pypi.org/project/compreffor/
+"
+SRC_URI="mirror://pypi/${MY_P:0:1}/${PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]"
+DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]"
+BDEPEND="
+ app-arch/unzip
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
+
+distutils_enable_tests pytest
+
+python_test() {
+ cd "${T}" || die
+ epytest --pyargs compreffor
+}