diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-09-28 14:16:34 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-09-28 14:16:34 +0000 |
commit | 6da95e10991e15e3284a833f91344dc3ad00b537 (patch) | |
tree | 286c739bc19573e8b6bf0230ddd2b1ebf05f5471 /sci-libs/ccpn-data | |
parent | Version bump. (diff) | |
download | historical-6da95e10991e15e3284a833f91344dc3ad00b537.tar.gz historical-6da95e10991e15e3284a833f91344dc3ad00b537.tar.bz2 historical-6da95e10991e15e3284a833f91344dc3ad00b537.zip |
Move symlink createtion to the data package
Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/ccpn-data')
-rw-r--r-- | sci-libs/ccpn-data/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/ccpn-data/Manifest | 18 | ||||
-rw-r--r-- | sci-libs/ccpn-data/ccpn-data-2.1.5_p110928.ebuild | 65 | ||||
-rw-r--r-- | sci-libs/ccpn-data/ccpn-data-2.2.1_p110928.ebuild | 59 | ||||
-rw-r--r-- | sci-libs/ccpn-data/metadata.xml | 8 |
5 files changed, 147 insertions, 12 deletions
diff --git a/sci-libs/ccpn-data/ChangeLog b/sci-libs/ccpn-data/ChangeLog index cf0ae5a62299..a7ac61bdac2e 100644 --- a/sci-libs/ccpn-data/ChangeLog +++ b/sci-libs/ccpn-data/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/ccpn-data # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.4 2011/04/01 10:29:45 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.5 2011/09/28 14:16:34 jlec Exp $ + +*ccpn-data-2.2.1_p110928 (28 Sep 2011) +*ccpn-data-2.1.5_p110928 (28 Sep 2011) + + 28 Sep 2011; Justin Lecher <jlec@gentoo.org> +ccpn-data-2.1.5_p110928.ebuild, + +ccpn-data-2.2.1_p110928.ebuild, metadata.xml: + Move symlink createtion to the data package *ccpn-data-2.2.1_p110401 (01 Apr 2011) *ccpn-data-2.1.5_p110401 (01 Apr 2011) diff --git a/sci-libs/ccpn-data/Manifest b/sci-libs/ccpn-data/Manifest index 3e708b726359..8cef465bf76e 100644 --- a/sci-libs/ccpn-data/Manifest +++ b/sci-libs/ccpn-data/Manifest @@ -1,20 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 DIST analysis2.1.5.tar.gz 20338459 RMD160 b0706c859c1ee4da2ab80ee41534197268f73d44 SHA1 70dc5e6b2752d6b7d5c8673fc992ebd0a88e6ad0 SHA256 9f91f1bd56fb73fd24e71d396c96c0f0d31b92287664b6a2e756f6efc630b31b DIST analysis2.2.1.tar.gz 20974926 RMD160 5905f43fc1399a656f018808c4a2f8dd3d247ca9 SHA1 eed30da55a719ef6c29431e3b3c5a76f521010dc SHA256 d1252811b3db3a30d96a73368bae8abcb05de02fcd2f1f9c502d71dff5e00d13 DIST ccpn-update-2.1.5-110401.patch.bz2 75380 RMD160 20acef6c31a9e2252a6dcec23f965ae7d498f6b3 SHA1 084b4270142b04c02478e742e2e312c4410ecf13 SHA256 896fc00dfbe97d5ce1bbeac91a2221a79d8d112eac208202cede1a5396286ae7 +DIST ccpn-update-2.1.5-110928.patch.xz 96260 RMD160 fdbf92ec90bcf4e0aae2aefcbc61dd71befbea80 SHA1 c6130a35c614222b98c1091f324efac1a28b1a93 SHA256 a6f5928dd0795e8842d446ddc27712b40bccb01ef9a48235d24f54b8b8957313 DIST ccpn-update-2.2.1-110401.patch.bz2 20666 RMD160 193d7f86ab75d2a862953683ec503bed947f3468 SHA1 cfab70216cd485a68234c06808abcdf51b917d98 SHA256 15468c3e1412d9d2c97ef52bcaac255d65d79dd3016d0ae3adb48f7f3d0dc46f +DIST ccpn-update-2.2.1-110928.patch.xz 73556 RMD160 c0fc370a3b4b93f5c42f6f4820513e0203d5f480 SHA1 cabb6f89cd2621c4380f3546e8d38e413502f339 SHA256 50af2ca7ed5b2af7772e0111c7dcd7aadbf55f90f0a623f6642dc9d042fff9ce EBUILD ccpn-data-2.1.5.ebuild 1078 RMD160 4e8d604a6176a6af975eef544bd9cc01fd005181 SHA1 bc91cbc0c48465a068c827fdea9127e9b196eb93 SHA256 4309270f17c30c79ca4bf300cc7670e1d47b188bcf965901077650c414b67d3c EBUILD ccpn-data-2.1.5_p110401.ebuild 1385 RMD160 21dcdc3511a57b648281d7312146644bbad79daf SHA1 ba410b04d67d9aaaf24a0fd3fba6396a11b02646 SHA256 b4cdb2824b157356b62768044dc7b6582e985fc57ffe5c81a08bd36be8d2e02c +EBUILD ccpn-data-2.1.5_p110928.ebuild 1779 RMD160 10f9945fcf465727c8c802de35c2723c09009cec SHA1 c929f5f1debb9918f5cc0409b07b0e5c06321104 SHA256 a6e94abe7f5b7798b69ab92807a4d830fec263dbe5b680a707942d85b0c627a3 EBUILD ccpn-data-2.2.1.ebuild 1079 RMD160 d04b3dde3f7da5e3559d450dfcf6356bb4957a03 SHA1 31139e54f8f7031da17a4ac4a10ef0c4b0de3411 SHA256 c2d719b7ef1298373b6ed24af1a0bacac2eb3d5fa063f659c2cf625a6db4d52d EBUILD ccpn-data-2.2.1_p110401.ebuild 1385 RMD160 c14532f7a1d98337a11dd6cfd3234ac6e7ace36e SHA1 013b58322bfe2d00723cae48bbf3c20c8639e979 SHA256 59a8d40e815dd8594a6128d240dd7644c6aff00b7a996a31da5b66e60123ba15 -MISC ChangeLog 860 RMD160 972852a3364ac9866ef6a6a7969de11428c886c7 SHA1 a13adb7a76b5839b874a8c7257be8da88faaa938 SHA256 825f0e8f5feaa3e612ce6eb1b329a2aa2e8f4cb7a25266f850e5b25af47f4605 -MISC metadata.xml 226 RMD160 0355d90bd8d1c106a19b136045ebdf970a0a2485 SHA1 1db0b2a470657641079d6613829df49a5c043ed6 SHA256 094a3ac740c81b9afbff3c855ba93cc20a593cad2392f6f4404715608a836fa1 +EBUILD ccpn-data-2.2.1_p110928.ebuild 1707 RMD160 f6d5a1c7c3b4ab777a174a33afe2ea3a4cb3e715 SHA1 5fa89d61a45356ec18ebdc3f8c13adb55ada56d9 SHA256 6893f3648fe92aee211395b555aebb38976acb2c5362e8dcc928f009d56090d3 +MISC ChangeLog 1115 RMD160 772a8e9a0119c1cfb60c6313888113b958165c3a SHA1 7929d1300c5de34d87f63ebb23cfe9e8c537d64f SHA256 4ed0b8ac643f5b7b5ff6e05657ea9b143e28f47b1cb903b4e86fdaf8e317bfcf +MISC metadata.xml 229 RMD160 e5d681054ef371ecfe4d6828e8b722b716968b37 SHA1 e91b223d4c687993ccca1be424e4feedad208570 SHA256 0f110645272f37341c3729c03cf88dbb871ed82db98c8b0dbda8734343b88567 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk2VqUMACgkQgAnW8HDreRZ06wCghjUPgXQoHVzZR7fxqGOqI6c+ -7RsAn1KtlFqR6Bblh6D392JlujHK1t22 -=ttvf +iEYEAREKAAYFAk6DLE0ACgkQgAnW8HDreRaLwACgstMlIQHTRpnnIgxHVsBRMVqw +1G0AnjYj5CZA/laBLiHOMTgfmCm4pIe0 +=p2CI -----END PGP SIGNATURE----- diff --git a/sci-libs/ccpn-data/ccpn-data-2.1.5_p110928.ebuild b/sci-libs/ccpn-data/ccpn-data-2.1.5_p110928.ebuild new file mode 100644 index 000000000000..28e40a35c29e --- /dev/null +++ b/sci-libs/ccpn-data/ccpn-data-2.1.5_p110928.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2011 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.1.5_p110928.ebuild,v 1.1 2011/09/28 14:16:34 jlec Exp $ + +EAPI=3 + +PYTHON_DEPEND="2" + +inherit portability python versionator + +PATCHSET="${PV##*_p}" +MY_PN="${PN/-data}mr" +MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})" +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://www.bio.cam.ac.uk/ccpn/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="" + +RDEPEND="!<sci-chemistry/ccpn-${PVR}" +DEPEND="" + +RESTRICT="binchecks strip" + +S="${WORKDIR}"/ccpnmr/ccpnmr2.1 + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + [[ -n ${PATCHSET} ]] && \ + epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch +} + +src_install() { + local i pydocs in_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)" + in_path=$(python_get_sitedir)/ccpn + + dosym ../../../../share/doc/${PF}/html ${in_path}/doc + for i in ${pydocs}; do + dosym /usr/share/doc/${PF}/html/${i} ${in_path}/${i} + done + + dosym /usr/share/ccpn/data ${in_path}/data + dosym /usr/share/ccpn/model ${in_path}/model + + dohtml -r doc/* + insinto /usr/share/ccpn + doins -r data model +} diff --git a/sci-libs/ccpn-data/ccpn-data-2.2.1_p110928.ebuild b/sci-libs/ccpn-data/ccpn-data-2.2.1_p110928.ebuild new file mode 100644 index 000000000000..3dbd18d730c1 --- /dev/null +++ b/sci-libs/ccpn-data/ccpn-data-2.2.1_p110928.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 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.2.1_p110928.ebuild,v 1.1 2011/09/28 14:16:34 jlec Exp $ + +EAPI=4 + +inherit portability versionator + +PATCHSET="${PV##*_p}" +MY_PN="${PN/-data}mr" +MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})" +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://www.bio.cam.ac.uk/ccpn/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="" + +RDEPEND="!<sci-chemistry/ccpn-${PVR}" +DEPEND="" + +RESTRICT="binchecks strip" + +S="${WORKDIR}"/ccpnmr/ccpnmr2.2 + +src_prepare() { + [[ -n ${PATCHSET} ]] && \ + epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch +} + +src_install() { + local i pydocs in_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)" + in_path=$(python_get_sitedir)/ccpn + + dosym ../../../../share/doc/${PF}/html ${in_path}/doc + for i in ${pydocs}; do + dosym /usr/share/doc/${PF}/html/${i} ${in_path}/${i} + done + + dosym /usr/share/ccpn/data ${in_path}/data + dosym /usr/share/ccpn/model ${in_path}/model + + dohtml -r doc/* + insinto /usr/share/ccpn + doins -r data model +} diff --git a/sci-libs/ccpn-data/metadata.xml b/sci-libs/ccpn-data/metadata.xml index dde7ca88a50f..1837bbc07a6e 100644 --- a/sci-libs/ccpn-data/metadata.xml +++ b/sci-libs/ccpn-data/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-chemistry</herd> -<maintainer> - <email>jlec@gentoo.org</email> -</maintainer> + <herd>sci-chemistry</herd> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> </pkgmetadata> |