1 |
commit: 10c148017d2151ec330e1959fe71f3e6e9aaebc1 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Apr 29 02:16:54 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Apr 29 02:16:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10c14801 |
7 |
|
8 |
sci-mathematics/radian: add 0.6.1 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sci-mathematics/radian/Manifest | 1 + |
13 |
sci-mathematics/radian/radian-0.6.1.ebuild | 53 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/sci-mathematics/radian/Manifest b/sci-mathematics/radian/Manifest |
17 |
index 5f5ef5dae..f829dda2f 100644 |
18 |
--- a/sci-mathematics/radian/Manifest |
19 |
+++ b/sci-mathematics/radian/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST radian-0.6.0-github.tar.gz 73474 BLAKE2B 5691848c9e13ef8e3b55692e8270f2a189a067aeaf658ef4e5252ad1855bd4fb9224e26db512f51151887bcb58747732a88e48d74f77d1af61e08666effe90b1 SHA512 dcd2183248b62bda728ff6dfc5e15bd80d6d21c8f0fd3a4f976c4e6149b306b6c70af8de6aa202386b97734d6b7b309667314677d183899b469debce098fb532 |
22 |
+DIST radian-0.6.1-github.tar.gz 73582 BLAKE2B c0b091782dde617abbba1ca8363c4b30a4649a5dbb712a40e9cee7be6b6775a9d952b18db9522827b6b0d8ddc0b3fe6d5003b703d9cdc19b2a763e76c4c81b79 SHA512 e768219e8f850062f2e6327d12ce7d61ed00eb74626ab224a6b33ef5963d44067e3cf99f955f42d0eaad48eb11e42c6743fb9a95361ebc014216527c8939c862 |
23 |
|
24 |
diff --git a/sci-mathematics/radian/radian-0.6.1.ebuild b/sci-mathematics/radian/radian-0.6.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..76558d841 |
27 |
--- /dev/null |
28 |
+++ b/sci-mathematics/radian/radian-0.6.1.ebuild |
29 |
@@ -0,0 +1,53 @@ |
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_SINGLE_IMPL=1 |
36 |
+PYTHON_COMPAT=( python3_{8..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 optfeature |
39 |
+ |
40 |
+DESCRIPTION="A 21 century R console" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/radian/ |
43 |
+ https://github.com/randy3k/radian |
44 |
+" |
45 |
+SRC_URI="https://github.com/randy3k/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}-github.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ >=dev-python/rchitect-0.3.36[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/prompt_toolkit-3.0.15[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pygments-2.5.0[${PYTHON_USEDEP}] |
56 |
+ ') |
57 |
+" |
58 |
+RDEPEND=" |
59 |
+ ${DEPEND} |
60 |
+ ${PYTHON_DEPS} |
61 |
+ dev-lang/R |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ test? ( |
65 |
+ $(python_gen_cond_dep ' |
66 |
+ >=dev-python/pyte-0.8.0[${PYTHON_USEDEP}] |
67 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
68 |
+ dev-python/ptyprocess[${PYTHON_USEDEP}] |
69 |
+ dev-python/jedi[${PYTHON_USEDEP}] |
70 |
+ ') |
71 |
+ dev-R/reticulate[${PYTHON_SINGLE_USEDEP}] |
72 |
+ dev-vcs/git |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+PATCHES=( "${FILESDIR}/${P}-no-pytest-runner.patch" ) |
77 |
+ |
78 |
+distutils_enable_tests pytest |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ optfeature "prompt completions" dev-python/jedi |
82 |
+} |