diff options
author | 2010-06-04 12:42:44 -0500 | |
---|---|---|
committer | 2010-06-04 12:42:44 -0500 | |
commit | 1318918de756ab93e3b9a970544431eb808e2ac3 (patch) | |
tree | 0c95ccd7255c61fa793e8b492cc60fd011380662 | |
parent | pyrx: bump to 0.6, now compatible with Autodock Vina. (diff) | |
download | dberkholz-1318918de756ab93e3b9a970544431eb808e2ac3.tar.gz dberkholz-1318918de756ab93e3b9a970544431eb808e2ac3.tar.bz2 dberkholz-1318918de756ab93e3b9a970544431eb808e2ac3.zip |
Add vasco: Calculates and visualizes annotated protein surfaces.
-rw-r--r-- | sci-chemistry/vasco/Manifest | 2 | ||||
-rw-r--r-- | sci-chemistry/vasco/vasco-1.0.2.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sci-chemistry/vasco/Manifest b/sci-chemistry/vasco/Manifest new file mode 100644 index 0000000..8224f00 --- /dev/null +++ b/sci-chemistry/vasco/Manifest @@ -0,0 +1,2 @@ +DIST VASCo_1.0.2.zip 7997693 RMD160 63eccf71642858469737c6deb7700eaf468a8c45 SHA1 59fb41c1838e192fc56d389dbfb1a2de32ec48e2 SHA256 5d76810c78ab23a275b673f96abf485a53865a59d8d4b9887955a1a716ffeeb0 +EBUILD vasco-1.0.2.ebuild 1078 RMD160 38d0a689b5b0ca6fae2627c1a9ae19c4a5959e01 SHA1 3316fbbfa940b5c6ecca7f11063f8209abb46406 SHA256 df866323252398e7bd5ae41cd1de4c991905457646ec3b02dc86c90a7e706fb8 diff --git a/sci-chemistry/vasco/vasco-1.0.2.ebuild b/sci-chemistry/vasco/vasco-1.0.2.ebuild new file mode 100644 index 0000000..6206deb --- /dev/null +++ b/sci-chemistry/vasco/vasco-1.0.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils distutils python + +DESCRIPTION="Calculates and visualizes annotated protein surfaces" +HOMEPAGE="genome.tugraz.at/VASCo/" +SRC_URI="VASCo_${PV}.zip" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND=">=dev-lang/python-2.4" +DEPEND="${RDEPEND}" +S=${WORKDIR}/unix + +PYTHON_MODNAME="ppix_modules" + +src_unpack() { + unpack ${A} + + cd "${S}" + unpack ./VASCo-Modules-${PV}.zip +} + +src_prepare() { + pushd VASCo-Modules-${PV} >/dev/null || die + # Rename nonstandard setup.py so distutils.eclass works + mv setup*py setup.py || die + popd >/dev/null || die +} + +src_compile () { + pushd VASCo-Modules-${PV} >/dev/null || die + distutils_src_compile + popd >/dev/null || die +} + +src_install() { + pushd VASCo-Modules-${PV} >/dev/null || die + distutils_src_install + popd >/dev/null || die + + insinto $(python_get_sitedir) + doins VASCo.py || die + make_wrapper vasco "python $(python_get_sitedir)/VASCo.py" || die + + dodoc "${WORKDIR}"/install.pdf || die +} |