diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-10-08 11:23:40 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-10-08 11:23:40 +0000 |
commit | bcc49e68e214d8a94d9d2d011be5f6f954737390 (patch) | |
tree | a9e8c3b4dc64e36d20fd1c03d6ee171cce652496 /sci-libs/ccpn-data | |
parent | Version bump. Removed old (diff) | |
download | gentoo-2-bcc49e68e214d8a94d9d2d011be5f6f954737390.tar.gz gentoo-2-bcc49e68e214d8a94d9d2d011be5f6f954737390.tar.bz2 gentoo-2-bcc49e68e214d8a94d9d2d011be5f6f954737390.zip |
sci-libs/ccpn-data: Add latest exp type definitions
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/ccpn-data')
-rw-r--r-- | sci-libs/ccpn-data/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/ccpn-data/ccpn-data-2.3.1_p131008.ebuild | 69 | ||||
-rw-r--r-- | sci-libs/ccpn-data/files/312+ccpn_rhf22_2013-10-02-16-17-30-923_00001.xml | 140 |
3 files changed, 216 insertions, 1 deletions
diff --git a/sci-libs/ccpn-data/ChangeLog b/sci-libs/ccpn-data/ChangeLog index 813f183aa148..8ecdd100c10a 100644 --- a/sci-libs/ccpn-data/ChangeLog +++ b/sci-libs/ccpn-data/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/ccpn-data # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.21 2013/09/05 19:04:43 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.22 2013/10/08 11:23:40 jlec Exp $ + +*ccpn-data-2.3.1_p131008 (08 Oct 2013) + + 08 Oct 2013; Justin Lecher <jlec@gentoo.org> +ccpn-data-2.3.1_p131008.ebuild, + +files/312+ccpn_rhf22_2013-10-02-16-17-30-923_00001.xml: + Add latest exp type definitions 05 Sep 2013; Michał Górny <mgorny@gentoo.org> ccpn-data-2.2.2_p121112-r1.ebuild, ccpn-data-2.3.1.ebuild, diff --git a/sci-libs/ccpn-data/ccpn-data-2.3.1_p131008.ebuild b/sci-libs/ccpn-data/ccpn-data-2.3.1_p131008.ebuild new file mode 100644 index 000000000000..f75616d012c2 --- /dev/null +++ b/sci-libs/ccpn-data/ccpn-data-2.3.1_p131008.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.3.1_p131008.ebuild,v 1.1 2013/10/08 11:23:40 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit eutils portability python-r1 versionator + +PATCHSET="${PV##*_p}" +MY_PN="${PN/-data}mr" +MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})r2" +MY_MAJOR="$(get_version_component_range 1-3)" + +DESCRIPTION="The Collaborative Computing Project for NMR - Data" +HOMEPAGE="http://www.ccpn.ac.uk/ccpn" +SRC_URI="http://www2.ccpn.ac.uk/download/${MY_PN}/analysis${MY_PV}.tar.gz" +[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentoo.org/~jlec/distfiles/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch.xz" + +SLOT="0" +LICENSE="|| ( CCPN LGPL-2.1 )" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + !<sci-chemistry/ccpn-${PVR}" +DEPEND="" + +RESTRICT="binchecks strip" + +S="${WORKDIR}"/ccpnmr/ccpnmr2.3 + +src_prepare() { + [[ -n ${PATCHSET} ]] && \ + epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch + cp "${FILESDIR}"/312+ccpn_rhf22_2013-10-02-16-17-30-923_00001.xml data/ccp/nmr/NmrExpPrototype/ || die +} + +src_install() { + local i pydocs in_path ein_path + + dodir /usr/share/doc/${PF}/html + sed \ + -e "s:../ccpnmr2.1:${EPREFIX}/usr/share/doc/${PF}/html:g" \ + ../doc/index.html > "${ED}"/usr/share/doc/${PF}/html/index.html || die + treecopy $(find python/ -name doc -type d) "${ED}"/usr/share/doc/${PF}/html/ + + pydocs="$(find python -name doc -type d)" + + symlinking() { + in_path=$(python_get_sitedir)/ccpn + ein_path="${in_path#${EPREFIX}}" + dosym ../../../../share/doc/${PF}/html ${ein_path}/doc + for i in ${pydocs}; do + dosym /usr/share/doc/${PF}/html/${i} ${ein_path}/${i} + done + dosym /usr/share/ccpn/data ${ein_path}/data + dosym /usr/share/ccpn/model ${ein_path}/model + } + python_foreach_impl symlinking + + dohtml -r doc/* + insinto /usr/share/ccpn + doins -r data model +} diff --git a/sci-libs/ccpn-data/files/312+ccpn_rhf22_2013-10-02-16-17-30-923_00001.xml b/sci-libs/ccpn-data/files/312+ccpn_rhf22_2013-10-02-16-17-30-923_00001.xml new file mode 100644 index 000000000000..60e8041c99da --- /dev/null +++ b/sci-libs/ccpn-data/files/312+ccpn_rhf22_2013-10-02-16-17-30-923_00001.xml @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="UTF-8"?> +<_StorageUnit release="2.1.2" originator="CCPN Python XmlIO" packageGuid="www.ccpn.ac.uk_Fogh_2006-08-16-14:22:45_00019" time="Wed Oct 2 16:22:49 2013"> + +<NMRX.NmrExpPrototype _ID="_1" createdBy="ccpnRef" guid="ccpn_rhf22_2013-10-02-16-17-30-923_00001" lastUnlockedBy="editor" serial="312"> + <NMRX.NmrExpPrototype.category> + <NMRX.ExpCategory>through-bond</NMRX.ExpCategory> + </NMRX.NmrExpPrototype.category> + <NMRX.NmrExpPrototype.details> + <IMPL.Text>e.g. POST-C7, INADEQUATE</IMPL.Text> + </NMRX.NmrExpPrototype.details> + <NMRX.NmrExpPrototype.name> + <IMPL.Line>C[DQ(CC)]_C.through-space</IMPL.Line> + </NMRX.NmrExpPrototype.name> + <NMRX.NmrExpPrototype.synonym> + <IMPL.Line>13C DQ</IMPL.Line> + </NMRX.NmrExpPrototype.synonym> + <NMRX.NmrExpPrototype.atomSites> + <NMRX.AtomSite _ID="_2" isotopeCode="13C" name="C" serial="1"> + <NMRX.AtomSite.expMeasurements> _3 _4</NMRX.AtomSite.expMeasurements> + <NMRX.AtomSite.expTransfers> _5 _6</NMRX.AtomSite.expTransfers> + </NMRX.AtomSite> + <NMRX.AtomSite _ID="_7" isotopeCode="13C" name="C" serial="2"> + <NMRX.AtomSite.expMeasurements> _4</NMRX.AtomSite.expMeasurements> + <NMRX.AtomSite.expTransfers> _5</NMRX.AtomSite.expTransfers> + </NMRX.AtomSite> + <NMRX.AtomSite _ID="_8" isotopeCode="13C" name="C" serial="3"> + <NMRX.AtomSite.expMeasurements> _9</NMRX.AtomSite.expMeasurements> + <NMRX.AtomSite.expTransfers> _6</NMRX.AtomSite.expTransfers> + </NMRX.AtomSite> + </NMRX.NmrExpPrototype.atomSites> + <NMRX.NmrExpPrototype.expGraphs> + <NMRX.ExpGraph _ID="_10" serial="1"> + <NMRX.ExpGraph.expSteps> + <NMRX.ExpStep _ID="_11" serial="1" stepNumber="1"> + </NMRX.ExpStep> + <NMRX.ExpStep _ID="_12" serial="2" stepNumber="2"> + </NMRX.ExpStep> + <NMRX.ExpStep _ID="_13" serial="3" stepNumber="3"> + </NMRX.ExpStep> + <NMRX.ExpStep _ID="_14" serial="4" stepNumber="4"> + </NMRX.ExpStep> + </NMRX.ExpGraph.expSteps> + <NMRX.ExpGraph.expTransfers> + <NMRX.ExpTransfer _ID="_5" serial="1" transferType="onebond"> + <NMRX.ExpTransfer.atomSites> _7 _2</NMRX.ExpTransfer.atomSites> + </NMRX.ExpTransfer> + <NMRX.ExpTransfer _ID="_6" serial="2" transferToSelf="true" transferType="through-space"> + <NMRX.ExpTransfer.atomSites> _8 _2</NMRX.ExpTransfer.atomSites> + </NMRX.ExpTransfer> + </NMRX.ExpGraph.expTransfers> + </NMRX.ExpGraph> + </NMRX.NmrExpPrototype.expGraphs> + <NMRX.NmrExpPrototype.expMeasurements> + <NMRX.ExpMeasurement _ID="_3" serial="1"> + <NMRX.ExpMeasurement.measurementType> + <NMRX.ExpMeasurementType>Shift</NMRX.ExpMeasurementType> + </NMRX.ExpMeasurement.measurementType> + <NMRX.ExpMeasurement.atomSites> _2</NMRX.ExpMeasurement.atomSites> + <NMRX.ExpMeasurement.expSteps> _11 _13</NMRX.ExpMeasurement.expSteps> + <NMRX.ExpMeasurement.refExpDimRefs> _15</NMRX.ExpMeasurement.refExpDimRefs> + </NMRX.ExpMeasurement> + <NMRX.ExpMeasurement _ID="_4" serial="2"> + <NMRX.ExpMeasurement.atomSiteWeights> 1.0 1.0</NMRX.ExpMeasurement.atomSiteWeights> + <NMRX.ExpMeasurement.measurementType> + <NMRX.ExpMeasurementType>MQShift</NMRX.ExpMeasurementType> + </NMRX.ExpMeasurement.measurementType> + <NMRX.ExpMeasurement.atomSites> _2 _7</NMRX.ExpMeasurement.atomSites> + <NMRX.ExpMeasurement.expSteps> _12</NMRX.ExpMeasurement.expSteps> + <NMRX.ExpMeasurement.refExpDimRefs> _16 _17</NMRX.ExpMeasurement.refExpDimRefs> + </NMRX.ExpMeasurement> + <NMRX.ExpMeasurement _ID="_9" serial="3"> + <NMRX.ExpMeasurement.measurementType> + <NMRX.ExpMeasurementType>Shift</NMRX.ExpMeasurementType> + </NMRX.ExpMeasurement.measurementType> + <NMRX.ExpMeasurement.atomSites> _8</NMRX.ExpMeasurement.atomSites> + <NMRX.ExpMeasurement.expSteps> _14</NMRX.ExpMeasurement.expSteps> + <NMRX.ExpMeasurement.refExpDimRefs> _18 _19</NMRX.ExpMeasurement.refExpDimRefs> + </NMRX.ExpMeasurement> + </NMRX.NmrExpPrototype.expMeasurements> + <NMRX.NmrExpPrototype.refExperiments> + <NMRX.RefExperiment _ID="_20" serial="3"> + <NMRX.RefExperiment.name> + <IMPL.Line>C[DQ(CC)]_C.through-space</IMPL.Line> + </NMRX.RefExperiment.name> + <NMRX.RefExperiment.synonym> + <IMPL.Line>13C DQ-SQ-SQ</IMPL.Line> + </NMRX.RefExperiment.synonym> + <NMRX.RefExperiment.refExpDims> + <NMRX.RefExpDim _ID="_21" dim="1"> + <NMRX.RefExpDim.refExpDimRefs> + <NMRX.RefExpDimRef _ID="_19" serial="1"> + <NMRX.RefExpDimRef.validScalingFactors> 1.0</NMRX.RefExpDimRef.validScalingFactors> + </NMRX.RefExpDimRef> + </NMRX.RefExpDim.refExpDimRefs> + </NMRX.RefExpDim> + <NMRX.RefExpDim _ID="_22" dim="2"> + <NMRX.RefExpDim.refExpDimRefs> + <NMRX.RefExpDimRef _ID="_15" serial="1"> + <NMRX.RefExpDimRef.validScalingFactors> 1.0</NMRX.RefExpDimRef.validScalingFactors> + </NMRX.RefExpDimRef> + </NMRX.RefExpDim.refExpDimRefs> + </NMRX.RefExpDim> + <NMRX.RefExpDim _ID="_23" dim="3"> + <NMRX.RefExpDim.refExpDimRefs> + <NMRX.RefExpDimRef _ID="_17" serial="1"> + <NMRX.RefExpDimRef.validScalingFactors> 1.0</NMRX.RefExpDimRef.validScalingFactors> + </NMRX.RefExpDimRef> + </NMRX.RefExpDim.refExpDimRefs> + </NMRX.RefExpDim> + </NMRX.RefExperiment.refExpDims> + </NMRX.RefExperiment> + <NMRX.RefExperiment _ID="_24" serial="4"> + <NMRX.RefExperiment.name> + <IMPL.Line>c[DQ(CC)]_C.through-space</IMPL.Line> + </NMRX.RefExperiment.name> + <NMRX.RefExperiment.synonym> + <IMPL.Line>13C DQ-SQ-SQ</IMPL.Line> + </NMRX.RefExperiment.synonym> + <NMRX.RefExperiment.refExpDims> + <NMRX.RefExpDim _ID="_25" dim="1"> + <NMRX.RefExpDim.refExpDimRefs> + <NMRX.RefExpDimRef _ID="_18" serial="1"> + <NMRX.RefExpDimRef.validScalingFactors> 1.0</NMRX.RefExpDimRef.validScalingFactors> + </NMRX.RefExpDimRef> + </NMRX.RefExpDim.refExpDimRefs> + </NMRX.RefExpDim> + <NMRX.RefExpDim _ID="_26" dim="2"> + <NMRX.RefExpDim.refExpDimRefs> + <NMRX.RefExpDimRef _ID="_16" serial="1"> + <NMRX.RefExpDimRef.validScalingFactors> 1.0</NMRX.RefExpDimRef.validScalingFactors> + </NMRX.RefExpDimRef> + </NMRX.RefExpDim.refExpDimRefs> + </NMRX.RefExpDim> + </NMRX.RefExperiment.refExpDims> + </NMRX.RefExperiment> + </NMRX.NmrExpPrototype.refExperiments> +</NMRX.NmrExpPrototype> + +</_StorageUnit> +<!--End of Memops Data--> |