diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-08-29 15:28:43 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-08-29 15:28:43 +0000 |
commit | 988d25a4bedad9a950fd25ffb7f9a1bee77eccaa (patch) | |
tree | 80e86d3a623cce2af2b33acdea8f006aa182158a /sci-chemistry | |
parent | bashlogin should go to /bin (diff) | |
download | gentoo-2-988d25a4bedad9a950fd25ffb7f9a1bee77eccaa.tar.gz gentoo-2-988d25a4bedad9a950fd25ffb7f9a1bee77eccaa.tar.bz2 gentoo-2-988d25a4bedad9a950fd25ffb7f9a1bee77eccaa.zip |
Version Bump sci-chemistry/aria-2.3.2, 379153
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/aria/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/aria/aria-2.3.1.ebuild | 11 | ||||
-rw-r--r-- | sci-chemistry/aria/aria-2.3.2.ebuild | 88 | ||||
-rw-r--r-- | sci-chemistry/aria/metadata.xml | 8 |
4 files changed, 106 insertions, 11 deletions
diff --git a/sci-chemistry/aria/ChangeLog b/sci-chemistry/aria/ChangeLog index fb4a32b09d3c..f1c3eadf41f3 100644 --- a/sci-chemistry/aria/ChangeLog +++ b/sci-chemistry/aria/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/aria -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/ChangeLog,v 1.7 2010/11/18 17:10:04 jlec Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/ChangeLog,v 1.8 2011/08/29 15:28:43 jlec Exp $ + +*aria-2.3.2 (29 Aug 2011) + + 29 Aug 2011; Justin Lecher <jlec@gentoo.org> aria-2.3.1.ebuild, + +aria-2.3.2.ebuild, metadata.xml: + Version Bump sci-chemistry/aria-2.3.2, 379153 18 Nov 2010; Justin Lecher <jlec@gentoo.org> -files/2.2_p2-numpy.patch, -files/2.2_p2-test.patch, -files/sa_ls_cool2.patch, -aria-2.2_p2.ebuild: diff --git a/sci-chemistry/aria/aria-2.3.1.ebuild b/sci-chemistry/aria/aria-2.3.1.ebuild index 8139857b752e..f7f9b9af39dc 100644 --- a/sci-chemistry/aria/aria-2.3.1.ebuild +++ b/sci-chemistry/aria/aria-2.3.1.ebuild @@ -1,16 +1,17 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/aria-2.3.1.ebuild,v 1.4 2010/07/22 07:08:44 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/aria-2.3.1.ebuild,v 1.5 2011/08/29 15:28:43 jlec Exp $ + +EAPI=3 -EAPI="3" PYTHON_DEPEND="2" PYTHON_USE_WITH="tk" -inherit base python eutils versionator +inherit base eutils python versionator MY_P="${PN}$(get_version_component_range 1-2 ${PV})" -DESCRIPTION="Software for automated NOE assignment and NMR structure calculation." +DESCRIPTION="Automated NOE assignment and NMR structure calculation" HOMEPAGE="http://aria.pasteur.fr/" SRC_URI="http://aria.pasteur.fr/archives/${MY_P}.1.tar.gz" diff --git a/sci-chemistry/aria/aria-2.3.2.ebuild b/sci-chemistry/aria/aria-2.3.2.ebuild new file mode 100644 index 000000000000..ab4ea1ec32d3 --- /dev/null +++ b/sci-chemistry/aria/aria-2.3.2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/aria-2.3.2.ebuild,v 1.1 2011/08/29 15:28:43 jlec Exp $ + +EAPI=3 + +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" + +inherit base eutils python versionator + +MY_P="${PN}$(get_version_component_range 1-2 ${PV})" + +DESCRIPTION="Automated NOE assignment and NMR structure calculation" +HOMEPAGE="http://aria.pasteur.fr/" +SRC_URI="http://aria.pasteur.fr/archives/${MY_P}.2.tar.gz" + +SLOT="0" +LICENSE="cns" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +RDEPEND=" + sci-chemistry/clashlist + sci-chemistry/procheck + sci-libs/clashscore-db + dev-python/numpy + dev-python/matplotlib[tk] + >=sci-chemistry/cns-1.2.1-r3[aria,openmp] + >=dev-lang/tk-8.3 + >=sci-chemistry/ccpn-2.0.5 + >=dev-tcltk/tix-8.1.4" +DEPEND="${RDEPEND}" + +RESTRICT="fetch" + +S="${WORKDIR}/${MY_P}" + +pkg_nofetch(){ + einfo "Go to ${HOMEPAGE}, download ${A}" + einfo "and place it in ${DISTDIR}" +} + +src_test(){ + export CCPNMR_TOP_DIR="${EPREFIX}"/$(python_get_sitedir) + export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python + $(PYTHON) check.py || die +} + +src_install(){ + insinto "$(python_get_sitedir)/${PN}" + doins -r src aria2.py || die "failed to install ${PN}" + insinto "$(python_get_sitedir)/${PN}"/cns + doins -r cns/{protocols,toppar,src/helplib} || die "failed to install cns part" + + if use examples; then + insinto /usr/share/${P}/ + doins -r examples || die + fi + + # ENV + cat >> "${T}"/20aria <<- EOF + ARIA2="${EPREFIX}/$(python_get_sitedir)/${PN}" + EOF + + doenvd "${T}"/20aria + + # Launch Wrapper + cat >> "${T}"/aria <<- EOF + #!/bin/sh + export CCPNMR_TOP_DIR="${EPREFIX}/$(python_get_sitedir)" + export PYTHONPATH="${EPREFIX}/$(python_get_sitedir)/ccpn/python" + exec "$(PYTHON)" -O "\${ARIA2}"/aria2.py \$@ + EOF + + dobin "${T}"/aria || die "failed to install wrapper" + dosym aria /usr/bin/aria2 + + dodoc README || die +} + +pkg_postinst() { + python_mod_optimize ${PN} +} + +pkg_postrm() { + python_mod_cleanup ${PN} +} diff --git a/sci-chemistry/aria/metadata.xml b/sci-chemistry/aria/metadata.xml index c6856dc7f2cf..210ad0db014c 100644 --- a/sci-chemistry/aria/metadata.xml +++ b/sci-chemistry/aria/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci</herd> -<maintainer> - <email>jlec@gentoo.org</email> -</maintainer> + <herd>sci</herd> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> </pkgmetadata> |