1 |
commit: a875e1a4785582bfced5c20b78f075a2f16a66ca |
2 |
Author: Michael Perlov <perlovka <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Aug 4 16:07:33 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 25 17:59:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a875e1a4 |
7 |
|
8 |
dev-python/uranium: version bump to 4.2.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
11 |
Signed-off-by: Michael Perlov <perlovka <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
dev-python/uranium/Manifest | 1 + |
15 |
dev-python/uranium/uranium-4.2.0.ebuild | 66 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 67 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/uranium/Manifest b/dev-python/uranium/Manifest |
19 |
index d427cf94931..c2ba4bfe8d3 100644 |
20 |
--- a/dev-python/uranium/Manifest |
21 |
+++ b/dev-python/uranium/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST uranium-3.6.0.tar.gz 668552 BLAKE2B 84ab1eed5474bf14aec5b7782b332e9846d14f589c0dfa7366c74ad682fdc0a8e5ef94a0b9576f0e80cf792b49132d3abb3f17341a2e8570d08bf898231deca6 SHA512 41779e9cf76dff8f74252f668d1cf909c93f4f1416f75d2ed263f89fcfccfbcebce5580d8202d8d1697491139db448bbfa76e2dbc761dd24cb98030b3241e80d |
24 |
+DIST uranium-4.2.0.tar.gz 711868 BLAKE2B 8098372704db0494519ab0a24046b72f2527695716286463e7ecffb776db351bfb4ffcd7b53276d59403b39e40ef605fb016e9ec57e18cd06e8f22f22d8ef732 SHA512 fab04efbb6337e366501ffc0336f208ddc0f9e568a2822363b84b6512268f2560a22bc71e745d30e66026d7a0bf9e150eda605ef8b511b59264407cab491eee1 |
25 |
|
26 |
diff --git a/dev-python/uranium/uranium-4.2.0.ebuild b/dev-python/uranium/uranium-4.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4818481b4a5 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/uranium/uranium-4.2.0.ebuild |
31 |
@@ -0,0 +1,66 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{5,6} ) |
38 |
+ |
39 |
+inherit cmake-utils python-single-r1 |
40 |
+ |
41 |
+MY_PN="Uranium" |
42 |
+ |
43 |
+DESCRIPTION="A Python framework for building 3D printing related applications" |
44 |
+HOMEPAGE="https://github.com/Ultimaker/Uranium" |
45 |
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="LGPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="debug doc test" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+ |
53 |
+BDEPEND="${PYTHON_DEPS} |
54 |
+ sys-devel/gettext |
55 |
+ doc? ( app-doc/doxygen ) |
56 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
57 |
+ |
58 |
+RDEPEND="${PYTHON_DEPS} |
59 |
+ ~dev-libs/libarcus-${PV}:=[python,${PYTHON_USEDEP}] |
60 |
+ dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg] |
61 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
62 |
+ >=sci-libs/scipy-1.1[${PYTHON_USEDEP}] |
63 |
+ sci-libs/Shapely[${PYTHON_USEDEP}] |
64 |
+ dev-qt/qtquickcontrols:5 |
65 |
+ dev-qt/qtquickcontrols2:5" |
66 |
+ |
67 |
+DEPEND="${RDEPEND}" |
68 |
+ |
69 |
+DOCS=( README.md ) |
70 |
+ |
71 |
+PATCHES=( "${FILESDIR}/${PN}-3.3.0-fix-install-paths.patch" ) |
72 |
+ |
73 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
74 |
+ |
75 |
+src_configure() { |
76 |
+ local mycmakeargs=( |
77 |
+ -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) |
78 |
+ cmake-utils_src_configure |
79 |
+ |
80 |
+ if ! use debug; then |
81 |
+ sed -i 's/logging.DEBUG/logging.ERROR/' plugins/ConsoleLogger/ConsoleLogger.py || die |
82 |
+ sed -i 's/logging.DEBUG/logging.ERROR/' plugins/FileLogger/FileLogger.py || die |
83 |
+ fi |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ cmake-utils_src_compile |
88 |
+ if use doc; then |
89 |
+ cmake-utils_src_compile doc |
90 |
+ DOCS+=( html ) |
91 |
+ fi |
92 |
+} |
93 |
+ |
94 |
+src_install() { |
95 |
+ cmake-utils_src_install |
96 |
+ python_optimize "${D}/usr/$(get_libdir)" |
97 |
+} |