diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-01-11 17:10:40 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-01-11 17:10:40 +0000 |
commit | f9521e65a9d5f3819296c81eced5493ffb5433af (patch) | |
tree | 0d0e7b32f9eeae5dabe1ce165b05872a9e24ce83 /sci-chemistry | |
parent | Use udev eclass (diff) | |
download | gentoo-2-f9521e65a9d5f3819296c81eced5493ffb5433af.tar.gz gentoo-2-f9521e65a9d5f3819296c81eced5493ffb5433af.tar.bz2 gentoo-2-f9521e65a9d5f3819296c81eced5493ffb5433af.zip |
sci-chemistry/aria: Version bump
(Portage version: 2.2.0_alpha150/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/aria/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/aria/aria-2.3.2-r4.ebuild | 88 | ||||
-rw-r--r-- | sci-chemistry/aria/metadata.xml | 8 |
3 files changed, 100 insertions, 6 deletions
diff --git a/sci-chemistry/aria/ChangeLog b/sci-chemistry/aria/ChangeLog index b3d1384ff746..9a8925e6c5af 100644 --- a/sci-chemistry/aria/ChangeLog +++ b/sci-chemistry/aria/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/aria -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/ChangeLog,v 1.15 2012/07/10 07:14:24 jlec Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/ChangeLog,v 1.16 2013/01/11 17:10:40 jlec Exp $ + +*aria-2.3.2-r4 (11 Jan 2013) + + 11 Jan 2013; Justin Lecher <jlec@gentoo.org> +aria-2.3.2-r4.ebuild, + metadata.xml: + Version bump 10 Jul 2012; Justin Lecher <jlec@gentoo.org> -aria-2.3.1.ebuild, -aria-2.3.2.ebuild, -aria-2.3.2-r1.ebuild, -aria-2.3.2-r2.ebuild: diff --git a/sci-chemistry/aria/aria-2.3.2-r4.ebuild b/sci-chemistry/aria/aria-2.3.2-r4.ebuild new file mode 100644 index 000000000000..19d832d7596d --- /dev/null +++ b/sci-chemistry/aria/aria-2.3.2-r4.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2013 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-r4.ebuild,v 1.1 2013/01/11 17:10:40 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_latest.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-r7[aria,openmp] + dev-lang/tk + >=sci-chemistry/ccpn-2.2 + dev-tcltk/tix" +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 210ad0db014c..5ef07a39e7e1 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> |