1 |
commit: 06043c0992fdaaba61cb22a3a4373587ac2d4f71 |
2 |
Author: Ted Tanberry <ted.tanberry <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Dec 28 21:50:59 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 22:10:22 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06043c09 |
7 |
|
8 |
sci-chemistry/molequeue: Version bump, required to unbundle third-party libraries. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
sci-chemistry/molequeue/Manifest | 1 + |
13 |
sci-chemistry/molequeue/molequeue-0.8.0.ebuild | 64 ++++++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/sci-chemistry/molequeue/Manifest b/sci-chemistry/molequeue/Manifest |
17 |
index 8511144..6f70e3d 100644 |
18 |
--- a/sci-chemistry/molequeue/Manifest |
19 |
+++ b/sci-chemistry/molequeue/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST molequeue-0.7.1.tar.gz 658745 SHA256 cdf184936a73e382b8cbff02768b9a04a3a64fec658d6dde4f6574236a73d3bf SHA512 09bdd45c1b2833be3a4f4cd3a0ade8d51276f8da150b0206d9c4a0d3b4999c58bc6cb3df48b9be70907d47c11bbd22aacc7c8d9ae401aa2f21a43405d6a8e3cd WHIRLPOOL 7ea17582495145b9d616bf1df58fbae3d4a6876c1490d5efdcefae1804cf7d29b08543a112ac7c033e2d2e18aa1537ed73a80f75484c90c7319f52dd469b5812 |
22 |
+DIST molequeue-0.8.0.tar.gz 643072 SHA256 c191e396f3d882c911e331e6325ed4e2666b70d4316e458964e61d5af7c8cbba SHA512 b9539d2ad2c67188ad254f186c1d67c122a15a32047801c632a1613a4f9c887f38baf2da1bb80cb123391948c2a44604fb1082e475ca6de1e683fbe51266ac84 WHIRLPOOL 4ea157d2c644ab3e35648d731f9e48f0b4f4a05f70055646f55474ef37500626794e7def8dba8bdd1d60e1d98724fd5886995d1680e47a8c9e834833ba545e41 |
23 |
|
24 |
diff --git a/sci-chemistry/molequeue/molequeue-0.8.0.ebuild b/sci-chemistry/molequeue/molequeue-0.8.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..50bd1f9 |
27 |
--- /dev/null |
28 |
+++ b/sci-chemistry/molequeue/molequeue-0.8.0.ebuild |
29 |
@@ -0,0 +1,64 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 ) |
37 |
+ |
38 |
+inherit cmake-utils multilib python-single-r1 versionator virtualx |
39 |
+ |
40 |
+DESCRIPTION="Abstract, manage and coordinate execution of tasks" |
41 |
+HOMEPAGE="http://www.openchemistry.org/OpenChemistry/project/molequeue.html" |
42 |
+SRC_URI="https://github.com/OpenChemistry/molequeue/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+LICENSE="BSD" |
46 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="+client doc server test +zeromq" |
48 |
+ |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE} |
50 |
+ server? ( client ) |
51 |
+ test? ( server )" |
52 |
+ |
53 |
+RDEPEND="${PYTHON_DEPS} |
54 |
+ dev-qt/qtcore:5 |
55 |
+ dev-qt/qtnetwork:5 |
56 |
+ dev-qt/qtwidgets:5 |
57 |
+ zeromq? ( net-libs/cppzmq:0= )" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ doc? ( app-doc/doxygen )" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ # delete bundled Qt5Json library |
63 |
+ rm -r thirdparty || die |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local mycmakeargs=( |
68 |
+ $(cmake-utils_use_enable test TESTING) |
69 |
+ $(cmake-utils_use_use zeromq ZERO_MQ) |
70 |
+ $(cmake-utils_use_build doc DOCUMENTATION) |
71 |
+ $(cmake-utils_use client MoleQueue_BUILD_CLIENT) |
72 |
+ $(cmake-utils_use server MoleQueue_BUILD_APPLICATION) |
73 |
+ -DINSTALL_LIBRARY_DIR=$(get_libdir) |
74 |
+ ) |
75 |
+ use zeromq && \ |
76 |
+ mycmakeargs+=( -DZeroMQ_ROOT_DIR=\"${EPREFIX}/usr\" ) |
77 |
+ |
78 |
+ cmake-utils_src_configure |
79 |
+} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ cmake-utils_src_compile all $(usex doc documentation "") |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ VIRTUALX_COMMAND=cmake-utils_src_test |
87 |
+ virtualmake |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) |
92 |
+ cmake-utils_src_install |
93 |
+} |