1 |
commit: 29a710b40bef7ebf08e82f63528047ba02c2c82f |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sun Feb 26 19:28:40 2023 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 26 22:41:35 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29a710b4 |
7 |
|
8 |
dev-python/beziers: enable py3.11 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/beziers/beziers-0.4.0-r1.ebuild | 35 ---------------------------- |
13 |
dev-python/beziers/beziers-0.4.0-r2.ebuild | 37 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+), 35 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/beziers/beziers-0.4.0-r1.ebuild b/dev-python/beziers/beziers-0.4.0-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 0c99ca988..000000000 |
19 |
--- a/dev-python/beziers/beziers-0.4.0-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,35 +0,0 @@ |
22 |
-# Copyright 1999-2023 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=8 |
26 |
- |
27 |
-PYTHON_COMPAT=( python3_{8..10} ) |
28 |
-DISTUTILS_USE_PEP517=setuptools |
29 |
- |
30 |
-inherit distutils-r1 |
31 |
- |
32 |
-DESCRIPTION="Python bezier manipulation library" |
33 |
-HOMEPAGE="https://github.com/simoncozens/beziers.py" |
34 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
- |
36 |
-LICENSE="MIT" |
37 |
-KEYWORDS="~amd64" |
38 |
-SLOT="0" |
39 |
- |
40 |
-RDEPEND=" |
41 |
- dev-python/numpy[${PYTHON_USEDEP}] |
42 |
- dev-python/pyclipper[${PYTHON_USEDEP}] |
43 |
- dev-python/scipy[${PYTHON_USEDEP}] |
44 |
- dev-python/shapely[${PYTHON_USEDEP}] |
45 |
-" |
46 |
-DEPEND="${RDEPEND}" |
47 |
-BDEPEND=" |
48 |
- test? ( |
49 |
- dev-python/dotmap[${PYTHON_USEDEP}] |
50 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
51 |
- ) |
52 |
-" |
53 |
- |
54 |
-PATCHES=( "${FILESDIR}/${P}-no-install-tests.patch" ) |
55 |
- |
56 |
-distutils_enable_tests pytest |
57 |
|
58 |
diff --git a/dev-python/beziers/beziers-0.4.0-r2.ebuild b/dev-python/beziers/beziers-0.4.0-r2.ebuild |
59 |
new file mode 100644 |
60 |
index 000000000..69501c49d |
61 |
--- /dev/null |
62 |
+++ b/dev-python/beziers/beziers-0.4.0-r2.ebuild |
63 |
@@ -0,0 +1,37 @@ |
64 |
+# Copyright 1999-2023 Gentoo Authors |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+ |
67 |
+EAPI=8 |
68 |
+ |
69 |
+PYTHON_COMPAT=( python3_{9..11} ) |
70 |
+DISTUTILS_USE_PEP517=setuptools |
71 |
+inherit distutils-r1 optfeature pypi |
72 |
+ |
73 |
+DESCRIPTION="Bezier curve manipulation library" |
74 |
+HOMEPAGE=" |
75 |
+ https://pypi.org/project/beziers/ |
76 |
+ https://github.com/simoncozens/beziers.py |
77 |
+" |
78 |
+ |
79 |
+LICENSE="MIT" |
80 |
+KEYWORDS="~amd64" |
81 |
+SLOT="0" |
82 |
+ |
83 |
+RDEPEND="dev-python/pyclipper[${PYTHON_USEDEP}]" |
84 |
+BDEPEND=" |
85 |
+ test? ( |
86 |
+ dev-python/dotmap[${PYTHON_USEDEP}] |
87 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
88 |
+ ) |
89 |
+" |
90 |
+ |
91 |
+PATCHES=( "${FILESDIR}/${PN}-0.4.0-no-install-tests.patch" ) |
92 |
+ |
93 |
+distutils_enable_tests pytest |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ optfeature "alpha_shape support" "dev-python/numpy dev-python/scipy dev-python/shapely" |
97 |
+ optfeature "brush support" dev-python/shapely |
98 |
+ optfeature "pen protocol support" dev-python/fonttools |
99 |
+ optfeature "plot support" dev-python/matplotlib |
100 |
+} |