diff options
author | 2013-08-26 07:52:29 +0000 | |
---|---|---|
committer | 2013-08-26 07:52:29 +0000 | |
commit | 45409ba9d0a0ae0d5a918d7df36b3307e3cc8fd0 (patch) | |
tree | 7e7874d8008c68eb63c24971ffd6b63b465ea88a /sci-chemistry/coot | |
parent | Clean up. Remove MANIFEST update since the issue needed to be hacked around i... (diff) | |
download | gentoo-2-45409ba9d0a0ae0d5a918d7df36b3307e3cc8fd0.tar.gz gentoo-2-45409ba9d0a0ae0d5a918d7df36b3307e3cc8fd0.tar.bz2 gentoo-2-45409ba9d0a0ae0d5a918d7df36b3307e3cc8fd0.zip |
sci-chemistry/coot: Version BUmp, #482278; bump to new python-r1 eclasses
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-chemistry/coot')
-rw-r--r-- | sci-chemistry/coot/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/coot/coot-0.6.2-r1.ebuild | 4 | ||||
-rw-r--r-- | sci-chemistry/coot/coot-0.6.2.ebuild | 4 | ||||
-rw-r--r-- | sci-chemistry/coot/coot-0.7.1.ebuild | 169 | ||||
-rw-r--r-- | sci-chemistry/coot/coot-0.7.ebuild | 4 |
5 files changed, 182 insertions, 7 deletions
diff --git a/sci-chemistry/coot/ChangeLog b/sci-chemistry/coot/ChangeLog index f65bc13ca788..db9152eaab53 100644 --- a/sci-chemistry/coot/ChangeLog +++ b/sci-chemistry/coot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/coot # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/ChangeLog,v 1.55 2013/05/29 06:17:40 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/ChangeLog,v 1.56 2013/08/26 07:52:29 jlec Exp $ + +*coot-0.7.1 (26 Aug 2013) + + 26 Aug 2013; Justin Lecher <jlec@gentoo.org> coot-0.6.2.ebuild, + coot-0.6.2-r1.ebuild, coot-0.7.ebuild, +coot-0.7.1.ebuild: + Version BUmp, #482278; bump to new python-r1 eclasses 29 May 2013; Justin Lecher <jlec@gentoo.org> coot-0.6.2.ebuild, coot-0.6.2-r1.ebuild, coot-0.7.ebuild, metadata.xml: diff --git a/sci-chemistry/coot/coot-0.6.2-r1.ebuild b/sci-chemistry/coot/coot-0.6.2-r1.ebuild index eccde7e2bbd3..ce8397bd45d5 100644 --- a/sci-chemistry/coot/coot-0.6.2-r1.ebuild +++ b/sci-chemistry/coot/coot-0.6.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.6.2-r1.ebuild,v 1.5 2013/05/29 06:17:40 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.6.2-r1.ebuild,v 1.6 2013/08/26 07:52:29 jlec Exp $ EAPI=3 @@ -17,7 +17,7 @@ MY_PV=${PV} MY_P=${PN}-${MY_PV} DESCRIPTION="Crystallographic Object-Oriented Toolkit for model building, completion and validation" -HOMEPAGE="http://www.biop.ox.ac.uk/coot/" +HOMEPAGE="http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/" SRC_URI=" http://www.biop.ox.ac.uk/coot/software/source/releases/${MY_P}.tar.gz test? ( http://dev.gentoo.org/~jlec/distfiles/greg-data-${PV}.tar.gz )" diff --git a/sci-chemistry/coot/coot-0.6.2.ebuild b/sci-chemistry/coot/coot-0.6.2.ebuild index 7133f854e14f..f17d1f5542cb 100644 --- a/sci-chemistry/coot/coot-0.6.2.ebuild +++ b/sci-chemistry/coot/coot-0.6.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.6.2.ebuild,v 1.12 2013/05/29 06:17:40 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.6.2.ebuild,v 1.13 2013/08/26 07:52:29 jlec Exp $ EAPI=3 @@ -15,7 +15,7 @@ MY_PV=${PV} MY_P=${PN}-${MY_PV} DESCRIPTION="Crystallographic Object-Oriented Toolkit for model building, completion and validation" -HOMEPAGE="http://www.biop.ox.ac.uk/coot/" +HOMEPAGE="http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/" SRC_URI=" http://www.biop.ox.ac.uk/coot/software/source/releases/${MY_P}.tar.gz test? ( http://dev.gentoo.org/~jlec/distfiles/greg-data-${PV}.tar.gz )" diff --git a/sci-chemistry/coot/coot-0.7.1.ebuild b/sci-chemistry/coot/coot-0.7.1.ebuild new file mode 100644 index 000000000000..236f67b39b7b --- /dev/null +++ b/sci-chemistry/coot/coot-0.7.1.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.7.1.ebuild,v 1.1 2013/08/26 07:52:29 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +AUTOTOOLS_AUTORECONF="true" + +inherit autotools-utils python-single-r1 toolchain-funcs versionator + +MY_S2_PV=$(replace_version_separator 2 - ${PV}) +MY_S2_P=${PN}-${MY_S2_PV/pre1/pre-1} +MY_S_P=${MY_S2_P}-${PR/r/revision-} +MY_PV=${PV} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Crystallographic Object-Oriented Toolkit for model building, completion and validation" +HOMEPAGE="http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/" +SRC_URI=" + http://www2.mrc-lmb.cam.ac.uk/Personal/pemsley/coot/source/releases/${MY_P}.tar.gz" +# test? ( http://dev.gentoo.org/~jlec/distfiles/greg-data-${PV}.tar.gz )" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+openmp static-libs test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +SCIDEPS=" + >=sci-libs/ccp4-libs-6.1 + sci-libs/clipper + >=sci-libs/coot-data-2 + >=sci-libs/gsl-1.3 + >=sci-libs/mmdb-1.23 + sci-libs/ssm + sci-libs/monomer-db + sci-chemistry/reduce + sci-chemistry/refmac + sci-chemistry/probe" + +XDEPS=" + gnome-base/libgnomecanvas + gnome-base/librsvg:2 + media-libs/libpng + media-libs/freeglut + x11-libs/gtk+:2 + x11-libs/goocanvas:0 + x11-libs/gtkglext" + +SCHEMEDEPS=" + dev-scheme/net-http + dev-scheme/guile-gui + >=dev-scheme/guile-lib-0.1.6 + dev-scheme/guile-www + >=x11-libs/guile-gtk-2.1" + +RDEPEND=" + ${SCIDEPS} + ${XDEPS} + ${SCHEMEDEPS} + ${PYTHON_DEPS} + dev-python/pygtk:2[${PYTHON_USEDEP}] + >=dev-libs/gmp-4.2.2-r2 + >=net-misc/curl-7.19.6 + net-dns/libidn" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.4-r2 + dev-lang/swig + sys-devel/bc + test? ( dev-scheme/greg )" + +S="${WORKDIR}/${MY_P}" + +RESTRICT="test" + +pkg_setup() { + if use openmp; then + tc-has-openmp || die "Please use an OPENMP capable compiler" + fi + python-single-r1_pkg_setup +} + +PATCHES=( + "${FILESDIR}"/${PN}-0.7-clipper-config.patch + "${FILESDIR}"/${PN}-0.7-goocanvas.patch + "${FILESDIR}"/${PN}-0.7-mmdb-config.patch + "${FILESDIR}"/${PN}-0.7-ssm.patch + ) + +src_prepare() { + sed \ + -e "s:AM_COOT_SYS_BUILD_TYPE:COOT_SYS_BUILD_TYPE=Gentoo-Linux-${EPYTHON}-gtk2 ; AC_MSG_RESULT([\$COOT_SYS_BUILD_TYPE]); AC_SUBST(COOT_SYS_BUILD_TYPE):g" \ + -i configure.in || die + + autotools-utils_src_prepare +} + +src_configure() { + # All the --with's are used to activate various parts. + # Yes, this is broken behavior. + local myeconfargs=( + --includedir='${prefix}/include/coot' + --with-goocanvas-prefix="${EPREFIX}/usr" + --with-guile + --with-python="${EPREFIX}/usr" + --with-guile-gtk + --with-gtk2 + --with-pygtk + $(use_enable openmp) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile + python_fix_shebang "${S}"/src/coot_gtk2.py + cp "${S}"/src/coot_gtk2.py python/coot.py || die +} + +src_test() { + source "${EPREFIX}/etc/profile.d/40ccp4.setup.sh" + mkdir "${T}"/coot_test + + export COOT_STANDARD_RESIDUES="${S}/standard-residues.pdb" + export COOT_SCHEME_DIR="${S}/scheme/" + export COOT_RESOURCES_FILE="${S}/cootrc" + export COOT_PIXMAPS_DIR="${S}/pixmaps/" + export COOT_DATA_DIR="${S}/" + export COOT_PYTHON_DIR="${S}/python/" + export PYTHONPATH="${COOT_PYTHON_DIR}:${PYTHONPATH}" + export PYTHONHOME="${EPREFIX}"/usr/ + export CCP4_SCR="${T}"/coot_test/ + export CLIBD_MON="${EPREFIX}/usr/share/ccp4/data/monomers/" + export SYMINFO="${S}/syminfo.lib" + + export COOT_TEST_DATA_DIR="${WORKDIR}"/data/greg-data + + cat > command-line-greg.scm <<- EOF + (use-modules (ice-9 greg)) + (set! greg-tools (list "greg-tests")) + (set! greg-debug #t) + (set! greg-verbose 5) + (let ((r (greg-test-run))) + (if r + (coot-real-exit 0) + (coot-real-exit 1))) + EOF + + einfo "Running test with following paths ..." + einfo "COOT_STANDARD_RESIDUES $COOT_STANDARD_RESIDUES" + einfo "COOT_SCHEME_DIR $COOT_SCHEME_DIR" + einfo "COOT_RESOURCES_FILE $COOT_RESOURCES_FILE" + einfo "COOT_PIXMAPS_DIR $COOT_PIXMAPS_DIR" + einfo "COOT_DATA_DIR $COOT_DATA_DIR" + einfo "COOT_PYTHON_DIR $COOT_PYTHON_DIR" + einfo "PYTHONPATH $PYTHONPATH" + einfo "PYTHONHOME $PYTHONHOME" + einfo "CCP4_SCR ${CCP4_SCR}" + einfo "CLIBD_MON ${CLIBD_MON}" + einfo "SYMINFO ${SYMINFO}" + + "${S}"/src/coot-real --no-graphics --script command-line-greg.scm || die + "${S}"/src/coot-real --no-graphics --script python-tests/coot_unittest.py || die +} diff --git a/sci-chemistry/coot/coot-0.7.ebuild b/sci-chemistry/coot/coot-0.7.ebuild index fda12105b8ca..9df52f9f827e 100644 --- a/sci-chemistry/coot/coot-0.7.ebuild +++ b/sci-chemistry/coot/coot-0.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.7.ebuild,v 1.2 2013/05/29 06:17:40 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.7.ebuild,v 1.3 2013/08/26 07:52:29 jlec Exp $ EAPI=4 @@ -17,7 +17,7 @@ MY_PV=${PV} MY_P=${PN}-${MY_PV} DESCRIPTION="Crystallographic Object-Oriented Toolkit for model building, completion and validation" -HOMEPAGE="http://www.biop.ox.ac.uk/coot/" +HOMEPAGE="http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/" SRC_URI=" http://www.biop.ox.ac.uk/coot/software/source/releases/${MY_P}.tar.gz test? ( http://dev.gentoo.org/~jlec/distfiles/greg-data-${PV}.tar.gz )" |