summaryrefslogtreecommitdiff
path: root/sci-chemistry/p3d
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/p3d')
-rw-r--r--sci-chemistry/p3d/Manifest6
-rw-r--r--sci-chemistry/p3d/metadata.xml21
-rw-r--r--sci-chemistry/p3d/p3d-0.4.3-r1.ebuild29
-rw-r--r--sci-chemistry/p3d/p3d-9999.ebuild27
4 files changed, 83 insertions, 0 deletions
diff --git a/sci-chemistry/p3d/Manifest b/sci-chemistry/p3d/Manifest
new file mode 100644
index 000000000000..d69b58c7d75f
--- /dev/null
+++ b/sci-chemistry/p3d/Manifest
@@ -0,0 +1,6 @@
+DIST p3d-0.4.3.tar.gz 7213577 SHA256 b968eb37c0d27ad1f4f46f8a942fb2b62fbcdb50b31a1e66875e2cdc036a9932 SHA512 b4cf472b849ece96fe0b2b7f633c496fe3d12bf8cb82a2af10180ce5c27c5465dd0c16cb912d22c56c933b68c06e7de28c0c640da29eaa6bc6f95009bf10277f WHIRLPOOL 8b9a384e59a98fa643d1573fbde4707148ebd6d5e16ab7daf6ce264e7d9494096a3c3f6e01a46a73a3860c8ca463a47fdd8b56b0fd8986d71371404c02dcb8bb
+EBUILD p3d-0.4.3-r1.ebuild 649 SHA256 fa82eefe46de5049aabbce1f447afeecacf1cff2ee490fa69287e99ecf67becb SHA512 e979d59ce970454ef0f8de72bb616b658b489c657bcc3077c2002b6389d00ff4515128da8f549eee5c2ed345d3e229f36de8ff5002e3a21ee5c744d63042295a WHIRLPOOL 821468ce3a7152d15874b7ee5b645e31e05196b56f4d9afe5fa753a842bc3a3c01c9437df7f2248e1195f3122a8936b8dcb3fd0f7a393fe24961b694f8e6461a
+EBUILD p3d-9999.ebuild 528 SHA256 bae20f2dd236b02ad565f64bfca3edfef5d8f6150e6f415f8569b86b61c175cf SHA512 e8cdafe07f73c5b2b1f5573270214abf574d349f922f4514b3f00e00e09ecca731d35d1fe10ec7ee05ea95cc8154e26b876b031b68dcff2470acb810ae46ce07 WHIRLPOOL 32110a5b4ef744d44ba8bbc00c05102890f0b7e89c2b6d5938f5f3dcf79e18c9c5b1ecc1e8314c2677b4446a5ca09cdcdaea1d54a80d72432319d321ee40375e
+MISC ChangeLog 2602 SHA256 d2b2c98a7092718f4048f91f4733a70a0e9799397f465361037cfc6c58da9fa2 SHA512 0a6bf9639bd61b209ce540c9ac57ec05ef9ec9d9109879973b709bb19c1e124b4f8846c8cb3956affee90ce105532cf338e57b09f56fc784db2182c5ad2dea8a WHIRLPOOL 8e12880d9d84954e3cfb0c129caf8953cdf7dfc44a957c206105515bf8e75bedd6d562ef5fbc13e8120ef9c4e14c0e4fe482776bee0a9985e5674e0d3be5c098
+MISC ChangeLog-2015 803 SHA256 d3d08ac9c5527228882711794857e7765fa4d843f9e9eb02092992bc54c4ad6f SHA512 6a01ae3790db2952c825a27a371106ee32c4c98acab5d95308eb7199f5846094236c9f2f2b22c0070c4621624dae1fce54c638228b8605e19a593e8cca4b0f9f WHIRLPOOL 6ad8c7a703c0070fd98e58e9f898db2e2902a258362d343036102bd9bef58956b5618c0c059eff0c24060a2671b241a039bd70510fbc80920289ab60977ea5d1
+MISC metadata.xml 1151 SHA256 f976eca80bca7e92808620ae324782b2eee07b12ee2db725d8b962b81e6d19c1 SHA512 322b35766a1e71129165a8559fe3caac109dfa85be2b0fa630fa249b28cf603e86f152c47835020ff1f5f0d12b7cbbff8758c08248522a7d2b1188812ec99722 WHIRLPOOL 34e8d0ed72614c2c89768c66bc51d53984901d4f62aaf134e9429a7f951d6f31aacbc837a069e4eb2161d7ac20e68797b8abdfec85ac46623b434ee0c337f460
diff --git a/sci-chemistry/p3d/metadata.xml b/sci-chemistry/p3d/metadata.xml
new file mode 100644
index 000000000000..bd505aa96a4e
--- /dev/null
+++ b/sci-chemistry/p3d/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+ <longdescription>
+p3d was developed in order to offer a Python module that is powerful and fast,
+yet intuitive to use. The simplicity of p3d is due to the usage of object
+oriented programming (i.e. atoms are treated as vectors), the implementation
+of a query parser that translates queries readable by humans into a combination
+of algebra set operations the fact that no additional Python packages are
+necessary. The speed is due to the usage of a binary space partitioning (BSP)
+tree which allows very fast queries in 3D (Henry et al. 1980). The additional
+synergy is obtained by the flexible combination of both speed and complexity in
+the queries to the structural data. The combination of these factors makes p3d
+the optimal module to rapidly develop new and powerful bioinformatic tools that
+follow the Python philosophy of making the source code readable.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-chemistry/p3d/p3d-0.4.3-r1.ebuild b/sci-chemistry/p3d/p3d-0.4.3-r1.ebuild
new file mode 100644
index 000000000000..04d5f49cf7b2
--- /dev/null
+++ b/sci-chemistry/p3d/p3d-0.4.3-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 vcs-snapshot versionator
+
+MY_P="${PN}-$(replace_version_separator 3 -)"
+GITHUB_ID="gb8b9a75"
+
+DESCRIPTION="Python module for structural bioinformatics"
+HOMEPAGE="http://p3d.fufezan.net/"
+SRC_URI="https://nodeload.github.com/fu/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-3"
+IUSE="examples"
+
+src_install() {
+ distutils-r1_src_install
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r pdbs exampleScripts
+ fi
+}
diff --git a/sci-chemistry/p3d/p3d-9999.ebuild b/sci-chemistry/p3d/p3d-9999.ebuild
new file mode 100644
index 000000000000..f5eb1e8c1b42
--- /dev/null
+++ b/sci-chemistry/p3d/p3d-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 git-r3 versionator
+
+DESCRIPTION="Python module for structural bioinformatics"
+HOMEPAGE="http://p3d.fufezan.net/"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/fu/p3d.git"
+
+SLOT="0"
+KEYWORDS=""
+LICENSE="GPL-3"
+IUSE="examples"
+
+src_install() {
+ distutils-r1_src_install
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r pdbs exampleScripts || die
+ fi
+}