1 |
commit: 44fad13501e7025c0e5ca08791a6e41ece8d9013 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon Feb 27 00:08:19 2023 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Mon Feb 27 00:08:19 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44fad135 |
7 |
|
8 |
dev-python/ttfautohint-py: enable py3.11 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/897586 |
11 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
12 |
|
13 |
.../ttfautohint-py/ttfautohint-py-0.5.1-r1.ebuild | 38 ++++++++++++++++++++++ |
14 |
.../ttfautohint-py/ttfautohint-py-0.5.1.ebuild | 36 -------------------- |
15 |
2 files changed, 38 insertions(+), 36 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/ttfautohint-py/ttfautohint-py-0.5.1-r1.ebuild b/dev-python/ttfautohint-py/ttfautohint-py-0.5.1-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 000000000..de83b92bc |
20 |
--- /dev/null |
21 |
+++ b/dev-python/ttfautohint-py/ttfautohint-py-0.5.1-r1.ebuild |
22 |
@@ -0,0 +1,38 @@ |
23 |
+# Copyright 1999-2023 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=8 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python3_{9..11} ) |
29 |
+DISTUTILS_USE_PEP517=setuptools |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Python wrapper for ttfautohint, a free auto-hinter for TrueType fonts" |
33 |
+HOMEPAGE=" |
34 |
+ https://pypi.org/project/ttfautohint-py/ |
35 |
+ https://github.com/fonttools/ttfautohint-py |
36 |
+" |
37 |
+SRC_URI="https://github.com/fonttools/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
38 |
+ |
39 |
+KEYWORDS="~amd64" |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+ |
43 |
+RDEPEND="media-gfx/ttfautohint" |
44 |
+BDEPEND=" |
45 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
46 |
+ test? ( |
47 |
+ dev-python/fonttools[${PYTHON_USEDEP}] |
48 |
+ ) |
49 |
+" |
50 |
+ |
51 |
+distutils_enable_tests pytest |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ distutils-r1_src_prepare |
55 |
+ rm -r src/c || die |
56 |
+} |
57 |
+ |
58 |
+src_configure() { |
59 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
60 |
+} |
61 |
|
62 |
diff --git a/dev-python/ttfautohint-py/ttfautohint-py-0.5.1.ebuild b/dev-python/ttfautohint-py/ttfautohint-py-0.5.1.ebuild |
63 |
deleted file mode 100644 |
64 |
index 9d4f68ead..000000000 |
65 |
--- a/dev-python/ttfautohint-py/ttfautohint-py-0.5.1.ebuild |
66 |
+++ /dev/null |
67 |
@@ -1,36 +0,0 @@ |
68 |
-# Copyright 1999-2022 Gentoo Authors |
69 |
-# Distributed under the terms of the GNU General Public License v2 |
70 |
- |
71 |
-EAPI=8 |
72 |
- |
73 |
-PYTHON_COMPAT=( python3_{8..10} ) |
74 |
- |
75 |
-inherit distutils-r1 |
76 |
- |
77 |
-DESCRIPTION="A Python wrapper for ttfautohint" |
78 |
-HOMEPAGE="https://github.com/fonttools/ttfautohint-py" |
79 |
-SRC_URI="https://github.com/fonttools/ttfautohint-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
80 |
- |
81 |
-KEYWORDS="~amd64" |
82 |
-LICENSE="MIT" |
83 |
-SLOT="0" |
84 |
- |
85 |
-RDEPEND="media-gfx/ttfautohint" |
86 |
-DEPEND=" |
87 |
- ${RDEPEND} |
88 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
89 |
-" |
90 |
-BDEPEND=" |
91 |
- test? ( |
92 |
- dev-python/fonttools[${PYTHON_USEDEP}] |
93 |
- ) |
94 |
-" |
95 |
- |
96 |
-distutils_enable_tests pytest |
97 |
- |
98 |
-src_prepare() { |
99 |
- rm -r src/c || die |
100 |
- export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}" |
101 |
- export TTFAUTOHINTPY_BUNDLE_DLL=0 |
102 |
- default |
103 |
-} |