1 |
commit: 375ca82bf66396a8c9289abd2a4cccc375eb7c39 |
2 |
Author: Michael Perlov <perlovka <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jul 12 10:22:29 2018 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 16 17:04:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375ca82b |
7 |
|
8 |
dev-python/uranium: version bump to 3.4.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/660884 |
11 |
Package-Manager: Portage-2.3.42, Repoman-2.3.9 |
12 |
|
13 |
dev-python/uranium/Manifest | 1 + |
14 |
dev-python/uranium/uranium-3.4.1.ebuild | 62 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/uranium/Manifest b/dev-python/uranium/Manifest |
18 |
index 55378971035..c401c50d619 100644 |
19 |
--- a/dev-python/uranium/Manifest |
20 |
+++ b/dev-python/uranium/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST uranium-3.3.0.tar.gz 906093 BLAKE2B d41608170da64f93d6149e76cc28fa476e439f6b291bc667f8b562dbcde047f234aa77cfa52b73420f286b926ef05ef50df8fd74722fc81dd3fe94b407bee7f4 SHA512 48de8ecf100f6bfbaa6b3bc6562fef25991ad07375f3d8f752f130b44c2e4728b2979f99de23570cd46367d868bb7139dfd9d73a7d3755d2141edc1fd46939b3 |
23 |
+DIST uranium-3.4.1.tar.gz 646742 BLAKE2B eb65d5a35b3c63cfb069f6c1077a91b7aa10517dd7fe6938b639f1229e61c5c6aa892447cd9d5851df46808f01f237820811b4358a235c50a89f2333df3418ef SHA512 59e0a605f3d898765bb670104cabb7fb1471061934900e63b54c1a07219970e07414a3983e96a577f5986302779b7acedc8e0ef0da3756dceefc0170ec80645b |
24 |
|
25 |
diff --git a/dev-python/uranium/uranium-3.4.1.ebuild b/dev-python/uranium/uranium-3.4.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ea926475cda |
28 |
--- /dev/null |
29 |
+++ b/dev-python/uranium/uranium-3.4.1.ebuild |
30 |
@@ -0,0 +1,62 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{5,6} ) |
37 |
+ |
38 |
+inherit cmake-utils python-single-r1 |
39 |
+ |
40 |
+MY_PN="Uranium" |
41 |
+ |
42 |
+DESCRIPTION="A Python framework for building 3D printing related applications" |
43 |
+HOMEPAGE="https://github.com/Ultimaker/Uranium" |
44 |
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="doc test" |
50 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+RDEPEND="${PYTHON_DEPS} |
53 |
+ ~dev-libs/libarcus-${PV}:=[python,${PYTHON_USEDEP}] |
54 |
+ <dev-python/PyQt5-5.10[${PYTHON_USEDEP},declarative,network,svg] |
55 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
56 |
+ >=sci-libs/scipy-1.1[${PYTHON_USEDEP}] |
57 |
+ dev-qt/qtquickcontrols:5 |
58 |
+ dev-qt/qtquickcontrols2:5" |
59 |
+ |
60 |
+DEPEND="${RDEPEND} |
61 |
+ sys-devel/gettext |
62 |
+ doc? ( app-doc/doxygen ) |
63 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
64 |
+ |
65 |
+DOCS=( README.md ) |
66 |
+ |
67 |
+PATCHES=( "${FILESDIR}/${PN}-3.3.0-fix-install-paths.patch" ) |
68 |
+ |
69 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
70 |
+ |
71 |
+src_configure() { |
72 |
+ local mycmakeargs=( |
73 |
+ -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) |
74 |
+ cmake-utils_src_configure |
75 |
+} |
76 |
+ |
77 |
+src_compile() { |
78 |
+ cmake-utils_src_compile |
79 |
+ if use doc; then |
80 |
+ cmake-utils_src_compile doc |
81 |
+ DOCS+=( html ) |
82 |
+ fi |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ emake -C "${BUILD_DIR}" tests |
87 |
+} |
88 |
+ |
89 |
+src_install() { |
90 |
+ cmake-utils_src_install |
91 |
+ python_optimize "${D}usr/$(get_libdir)" |
92 |
+} |