Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/
Date: Tue, 28 Jun 2022 04:34:39
Message-Id: 1656390869.5be5635c6177415e74ab44888d735fe51307a7b1.Alessandro-Barbieri@gentoo
1 commit: 5be5635c6177415e74ab44888d735fe51307a7b1
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 28 04:27:10 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Jun 28 04:34:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5be5635c
7
8 dev-python/compreffor: add 0.5.2
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/compreffor/Manifest | 1 +
13 dev-python/compreffor/compreffor-0.5.2.ebuild | 37 +++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
17 index fe4babae3..d1f00dd2d 100644
18 --- a/dev-python/compreffor/Manifest
19 +++ b/dev-python/compreffor/Manifest
20 @@ -1 +1,2 @@
21 DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2 SHA512 eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed
22 +DIST compreffor-0.5.2.tar.gz 76299 BLAKE2B 254329875fbafd9a4887a696a2b21ae1695e03fe337fb0f5e48c2b2e242941114d7cf16c966e85c690302152da06bd21f7bb713fe92c139893299468b461e466 SHA512 9806141022163804f02b1ee14552bc2e8e9b7350110c42aca1c74bd6af049f3032920e5299dd59961bb24e69b97fa748478f8be2f25fd90ae2e3d0d1ce4c22c0
23
24 diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild b/dev-python/compreffor/compreffor-0.5.2.ebuild
25 new file mode 100644
26 index 000000000..da496b718
27 --- /dev/null
28 +++ b/dev-python/compreffor/compreffor-0.5.2.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +MY_P="${PN}-${PV/_p/.post}"
40 +DESCRIPTION="A CFF table subroutinizer for FontTools"
41 +HOMEPAGE="
42 + https://github.com/googlefonts/compreffor
43 + https://pypi.org/project/compreffor/
44 +"
45 +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN}/${MY_P}.tar.gz"
46 +S="${WORKDIR}/${MY_P}"
47 +
48 +KEYWORDS="~amd64"
49 +LICENSE="Apache-2.0"
50 +SLOT="0"
51 +
52 +RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]"
53 +DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]"
54 +BDEPEND="
55 + app-arch/unzip
56 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
57 +"
58 +
59 +PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
60 +
61 +distutils_enable_tests pytest
62 +
63 +python_test() {
64 + cd "${T}" || die
65 + epytest --pyargs compreffor
66 +}