summaryrefslogtreecommitdiff
path: root/sci-chemistry/molequeue
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/molequeue')
-rw-r--r--sci-chemistry/molequeue/Manifest5
-rw-r--r--sci-chemistry/molequeue/metadata.xml27
-rw-r--r--sci-chemistry/molequeue/molequeue-0.8.0.ebuild63
3 files changed, 95 insertions, 0 deletions
diff --git a/sci-chemistry/molequeue/Manifest b/sci-chemistry/molequeue/Manifest
new file mode 100644
index 000000000000..d343031b7b78
--- /dev/null
+++ b/sci-chemistry/molequeue/Manifest
@@ -0,0 +1,5 @@
+DIST molequeue-0.8.0.tar.gz 643072 SHA256 c191e396f3d882c911e331e6325ed4e2666b70d4316e458964e61d5af7c8cbba SHA512 b9539d2ad2c67188ad254f186c1d67c122a15a32047801c632a1613a4f9c887f38baf2da1bb80cb123391948c2a44604fb1082e475ca6de1e683fbe51266ac84 WHIRLPOOL 4ea157d2c644ab3e35648d731f9e48f0b4f4a05f70055646f55474ef37500626794e7def8dba8bdd1d60e1d98724fd5886995d1680e47a8c9e834833ba545e41
+EBUILD molequeue-0.8.0.ebuild 1530 SHA256 482b18ceb3d51df56355b7643d95f8145f80b33f7a93629996b82725fe9cee83 SHA512 f7028e71bdd7d4a62874e8619095d6d66eb728fcea4dfb65c72b9033a0f8d55e39698c429c253ff34d3b35ed732b583808eb846653119c1a1d0a628c6f9e487a WHIRLPOOL d23fd58a61fb38c3f1a568b8af151e699712e8baecad1063b43d5e979efab82f82644d04c9f1ec7cee2c89bead8b82354bf3524c56ff541ef479c73be00b2c38
+MISC ChangeLog 3325 SHA256 737af742a1d77e0cb7e8a955a437a70378af0946195ef73df61e83500ee9f653 SHA512 a545b03668684fb79f0028e6fef1339d2c96f50c7b3fd6324f35d68cdb9cc23588d600665a08691b2c819836a7918086e045d36ea094c88288b2364aa6ef94a2 WHIRLPOOL f38a481cdcf984fe1f771234428a10ff187990cc82c87751ce487d9148c604ce6ae02bc64606eaa62bcc52931e191a40c2bf84486b3002b9ac2973192974cd90
+MISC ChangeLog-2015 1304 SHA256 10ee349ac3ced4ff23cb2d9ba1a6d14695d164e19ff2552d6a2d34c4faa074c6 SHA512 e22eba76addf13e18ffd5978897ec40078a76977f73dfbbe6b7ac3b3fbd229087467a7c172d35fe0588b57627c30e955a556f84cd46edff82495e48fa99619a4 WHIRLPOOL 33d23b069eccd1502dd69c0dac90439a132abdb5ff20d524c6e26d5eac807d6d06cc30c6c0b2251854d55d7660ed536980cc2d97b46449de460c2999f4fbef23
+MISC metadata.xml 1257 SHA256 ee04d7205957acf0e4726c11a2a6a425923bc95e6680a8217629c4b2f5267dc2 SHA512 10e3dd48ec1e54bc0d47d4c2f0aca427875cc0ceb59a93ab41ab2734607aa6474e80f3ae622e45fa319753591f16439118dd0b301068cb3e16fd79ff11a4f058 WHIRLPOOL b3abfcc44a1c8178df97410e3ba89cdd504da76760d507882255cf6d11fe5146faacdd0564a350aa95c0998d1d735615e026ebca6babf39125bd39f82208b56d
diff --git a/sci-chemistry/molequeue/metadata.xml b/sci-chemistry/molequeue/metadata.xml
new file mode 100644
index 000000000000..070683db0c10
--- /dev/null
+++ b/sci-chemistry/molequeue/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription>
+MoleQueue is an open-source, cross-platform, system-tray resident desktop
+application for abstracting, managing, and coordinating the execution of tasks
+both locally and on remote computational resources. It is built and tested and
+Linux, Mac OS X, and Windows, with nightly binaries currently available for
+Mac OS X and Windows. Users can set up local and remote queues that describe
+where the task will be executed. Each queue can have programs, with templates
+to facilitate the execution of the program. Input files can be staged, and
+output files collected using a standard interface.
+ </longdescription>
+ <use>
+ <flag name="zeromq">Build with <pkg>net-libs/zeromq</pkg> support</flag>
+ <flag name="client">Build the client application</flag>
+ <flag name="server">Build the serve application</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">molequeue</remote-id>
+ <remote-id type="github">OpenChemistry/molequeue</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-chemistry/molequeue/molequeue-0.8.0.ebuild b/sci-chemistry/molequeue/molequeue-0.8.0.ebuild
new file mode 100644
index 000000000000..1454d2636c13
--- /dev/null
+++ b/sci-chemistry/molequeue/molequeue-0.8.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils multilib python-single-r1 versionator virtualx
+
+DESCRIPTION="Abstract, manage and coordinate execution of tasks"
+HOMEPAGE="http://www.openchemistry.org/OpenChemistry/project/molequeue.html"
+SRC_URI="https://github.com/OpenChemistry/molequeue/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+client doc server test +zeromq"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ server? ( client )
+ test? ( server )"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ zeromq? ( net-libs/cppzmq:0= )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ # delete bundled Qt5Json library
+ rm -r thirdparty || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable test TESTING)
+ $(cmake-utils_use_use zeromq ZERO_MQ)
+ $(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use client MoleQueue_BUILD_CLIENT)
+ $(cmake-utils_use server MoleQueue_BUILD_APPLICATION)
+ -DINSTALL_LIBRARY_DIR=$(get_libdir)
+ )
+ use zeromq && \
+ mycmakeargs+=( -DZeroMQ_ROOT_DIR=\"${EPREFIX}/usr\" )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile all $(usex doc documentation "")
+}
+
+src_test() {
+ VIRTUALX_COMMAND=cmake-utils_src_test
+ virtualmake
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+ cmake-utils_src_install
+}