summaryrefslogtreecommitdiff
path: root/sci-chemistry/ccpn
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/ccpn')
-rw-r--r--sci-chemistry/ccpn/Manifest22
-rw-r--r--sci-chemistry/ccpn/ccpn-2.4.1_p150226.ebuild165
-rw-r--r--sci-chemistry/ccpn/ccpn-2.4.2.ebuild165
-rw-r--r--sci-chemistry/ccpn/ccpn-2.4.2_p150325.ebuild165
-rw-r--r--sci-chemistry/ccpn/ccpn-2.4.2_p150413.ebuild165
-rw-r--r--sci-chemistry/ccpn/ccpn-2.4.2_p150421.ebuild165
-rw-r--r--sci-chemistry/ccpn/files/2.3.1-parallel.patch38
-rw-r--r--sci-chemistry/ccpn/files/analysis8
-rw-r--r--sci-chemistry/ccpn/files/dangle8
-rw-r--r--sci-chemistry/ccpn/files/dataShifter8
-rw-r--r--sci-chemistry/ccpn/files/depositionFileImporter8
-rw-r--r--sci-chemistry/ccpn/files/eci8
-rw-r--r--sci-chemistry/ccpn/files/extendNmr8
-rw-r--r--sci-chemistry/ccpn/files/formatConverter8
-rw-r--r--sci-chemistry/ccpn/files/pipe2azara8
-rw-r--r--sci-chemistry/ccpn/files/xeasy2azara8
-rw-r--r--sci-chemistry/ccpn/metadata.xml8
17 files changed, 0 insertions, 965 deletions
diff --git a/sci-chemistry/ccpn/Manifest b/sci-chemistry/ccpn/Manifest
deleted file mode 100644
index 92f35baaafb1..000000000000
--- a/sci-chemistry/ccpn/Manifest
+++ /dev/null
@@ -1,22 +0,0 @@
-AUX 2.3.1-parallel.patch 850 BLAKE2B 7a6368cde3e6352db8d61da151b5c4246e446453ad5ba4b164d2544c4aa044b224eec38dcdb5958360987ff03a01f99b293e257b210b0226406f9de05067b07f SHA512 0597e21c03baa27e2342249814fc0700b73cf2800173468574ef704d48f7e6e042ac6ae552bbb9e27fd4baca36cfaf60a1eac9813354916b3e8295a35b64dcdf
-AUX analysis 283 BLAKE2B c487800b5a09f3cc6d0e86ffadf22fae6d33c9dea95e0485ac51b0e49313bc4318fae1fd12c892ea1103c5089d65f967cdac43b0712c15d6eab90ecc3c2a07d1 SHA512 f2dd8216021201b0f9307f8bb82033c3ebb1c9f21450ae206e59ad6442b0cf0f8fc6e4817d4347eb78a9528ba1ef60bd5395708067352d11330215e5ce2568ff
-AUX dangle 279 BLAKE2B da9f1f48ea829315405b1fca6631ad0ae9aec70ad22b13ab2a344888a7a9e81d07feeb6a7dfc60e9b867b02c7a87c161d9c34cd9ad55e90f973e5aa9ea905529 SHA512 21fca09578aa13819a20f08ff414ca2b8d08d177a1ab09f8d85c53ae20fc6f38ab46e2933d72c239029b37ec5eebc3162f0c8e99f1ca1dd20aaa49277fac4e7d
-AUX dataShifter 282 BLAKE2B 6a16d423b13d96ee939289daa1d456f8861721d29893065d2abb2915559af08d7cfde890a152388ee1f184a2e3fde2ad9159d7d6b5256aba4b29589079d7101a SHA512 f1c4a87d0d4d1a613ce8c9eacd9e3ba5047f1205404140c0c68a354bb790397b7ec49426660a48601a305906b60a8957d218dbc5ad1d6d48beb7030772a199b7
-AUX depositionFileImporter 286 BLAKE2B 9c2cfb9424defd3043d6164b33a435675fa90307cf67f6eea0c5dfa88db702a6f0736cccb26314dca5ba672820a20a044ac00514bbbdf3f58c86611cf1f87ff2 SHA512 f7d7caa4b2b2d91eb5dc27ec0ccd6251dab94f6d8e318190b2f2b1b997f825d6cee1e3a38ee77f9358102dcdaf7d93c4d18c7250855446580abd459db31eec6d
-AUX eci 267 BLAKE2B 79cced29dcc1b50a1482641a64df5340ed0cce5791f7de245def0c8aeb57d12380bb082efa147de80dc14a7751e458df89a077d64a2f9ef24e8913540fb4c4ab SHA512 800b2624fe21c706a1bc30bc8fd4fefb9f4c18cb795266cb8afcb3db09776600785a453eed656b4b25b34fc5e39a0e7a599bff2417bedbd0ac6945d2ad900080
-AUX extendNmr 266 BLAKE2B fb5406150f66718cb2e90018e6403df446010c4fbeffd168bc662e7c9ddc5c6a5f75548a0f8f5e296e4ab10ee56f6997784ad0e7701e855bba107ea1ab74939c SHA512 b94d480c776bc2da31ed12419df1c3364036299553697b7d50eb0ebf073126041e8acd3f1c30051dc1dbc44fef9662001e718a29b8c7fcfc2ca19c0da90125ce
-AUX formatConverter 286 BLAKE2B 37fa628a08c1b5293171f41b8322c8003c72e6a26f9e58446e4090881ac05c186c2cde66bbd328a03a53237bd5169d48c69846ef3ea8331b16a0a08c2a0dc1c2 SHA512 a987b73b10614a2616b62589004ae1e321903af08efea62f6c74f2cf5b1e7053454a382107056250824373bce9f281ad0af2e8f6928cdf2e556e9638646cfcda
-AUX pipe2azara 290 BLAKE2B 6a366e968961119dee2d3e451d8c467b724bac5c011ef646b86807c7e71f8471e5b72c1a0b7059a6f88578e6f615c79dc370b48c0e7f06caa7e7dfb2013a7c3a SHA512 6f90a1720dc786d84576029cf77271e8eeb0b5c38506e93227064aafba1152a86762125d3bb9f26a741dcc215da87cf96ba9b8926568db79b56159f8839e8a80
-AUX xeasy2azara 288 BLAKE2B f79ab9f4add3f1c6574b64d3bdc52991ce798f273cf3989d1bd7b5ddcf219d99235b1be00453e29cad39f31fb7f46d5880d6709d40bd19a0947972a4cf0b5e6b SHA512 e9a3dedc155f9f7b163eead73099532653454a7f5f12042348abf87a4e8930cb8b0b66fd87ef9fcc3b395c92d7e4942829ec8f5e7a1c28c7b3ce51022b8fce6b
-DIST analysis2.4.1.tar.gz 36088236 BLAKE2B 8aaf4ffe5a8dc7a6b805a7a66e163cb03b0fc8a45617ebf892268a2f3658e49c48e3c2de4ea654a840eef2c01cf3a3f28f45e053697e68bbc83ce22d19a29cf3 SHA512 db44468c360d51815614fe0055505001c0a7a722f980c2c049c00524672bdfd4a507134ce1d68b29ebf622ffe94e0c9bb9685fea5b3441790b997a64f78c0dc1
-DIST analysis2.4.2.tar.gz 36390919 BLAKE2B 5e7fa44b2029d834ef634b2cd9f2c34d7e6dbfd3e257b9344cff92d13750a21325a2a2f82eb072ae385c528a7406796959c8201edbc1422bc54a17e176d7db33 SHA512 694faefd3c085b559b6bb4729141a9ab885334f578bfbb0ebf260366dbca38c31738d5f5af50b5c7ea16b304b27adf80411082859796a5afeec630c36d56bd8b
-DIST ccpn-update-2.4.1-150226.patch.xz 10732 BLAKE2B 9f31bd16e7a866b016c5db8b837e3ee926d2db7cd3b15e7cd32fe00f7723e511214d36221ba86651e79223f0a1d30e2402aa446eb063a078b989102032ae743b SHA512 60eb4acf6179f80207a72076ff5d5d733d3c3e804c1ce0a48701dd6e923146af49cd6759a529c8125f4b26eb3f8f83b35acc0c48b88a3e3034b25b5438a04feb
-DIST ccpn-update-2.4.2-150325.patch.xz 2096 BLAKE2B 589c8129d2e1df6231412cd1398823208cbdc7307f63f3a5480a65e428aeb0b6411b9110ddd380ad37addd2ea9118bc6156662c5fd80a7eee362f53fd417e724 SHA512 c544e0a4a93d0e3275a22d07d21bf3bb5ed90cf041f40bf08fbc687b431640ad5c56180eadd4b43e4023b08ef42afe5a874423becc6f9313a0b1f642a4b97873
-DIST ccpn-update-2.4.2-150413.patch.xz 3132 BLAKE2B f4d55e4b301df4500f29d281de2b274f7912d61d1ad54fedf992e76dd254e86dcb2e9d2a2f4d58ce028d4c9df6bedad847a9e72bef7627800c2d31cc7c43909e SHA512 99893ca009ff76b015017b29cfd97e0ae935ed2d62aa5a99d52dd9a5f22cf0d369e5019273fe3c3811c28b32568721fb64f71c5927eb57d0cc91dcea44b0288d
-DIST ccpn-update-2.4.2-150421.patch.xz 3788 BLAKE2B 125eed69e2593e0ab64e6d3cdcee026c4af067c3aa2e9742b033741cc65cc0391fb86c825b372c02dcd549ca260196fd4e8938516d218653d3db80f60ce9caf2 SHA512 0e8a10b6d9721b52574cd2fe0413dca0fac32a948eb31d3db6e2c4d4f7d85c341e8d53d70954341792ea598a37ec87e4392a615e1c2f6f8bbfc0e42a750be648
-EBUILD ccpn-2.4.1_p150226.ebuild 4568 BLAKE2B ed7b8ce6ab7a0309bfb92aadf6039b68b1e5b889cebfd4aa23ea95584885fb8f1560a2b13e280adf0ccd10ec728309ccd2b35aa35af6df80bb4bf8e501553294 SHA512 d69103a9da8022f9b37e9f995728fc7eeb2d7692e6c7de11816bae521dcfcd74aabbf0758646575f9cad67149204e3a79b4c8ec45afae9e28a7fcb6c659632d0
-EBUILD ccpn-2.4.2.ebuild 4569 BLAKE2B 9ad48cd3693d89a501645b59d3734f84fd9bc536f3140ca8b88d79defb9b9b70aa1a60b5a78a2b3da7ba5fdca3344d7a4f9772891c11df50cea77e16c6b2869a SHA512 f780549f9a4802482fdf47b963bfe0a7fce49fd029ebe1e1117500dcf2a296489da71e47e8c19ad6bb3a84d778f34bb0faff619b34259baae9f0d841a16ce827
-EBUILD ccpn-2.4.2_p150325.ebuild 4568 BLAKE2B ed7b8ce6ab7a0309bfb92aadf6039b68b1e5b889cebfd4aa23ea95584885fb8f1560a2b13e280adf0ccd10ec728309ccd2b35aa35af6df80bb4bf8e501553294 SHA512 d69103a9da8022f9b37e9f995728fc7eeb2d7692e6c7de11816bae521dcfcd74aabbf0758646575f9cad67149204e3a79b4c8ec45afae9e28a7fcb6c659632d0
-EBUILD ccpn-2.4.2_p150413.ebuild 4568 BLAKE2B ed7b8ce6ab7a0309bfb92aadf6039b68b1e5b889cebfd4aa23ea95584885fb8f1560a2b13e280adf0ccd10ec728309ccd2b35aa35af6df80bb4bf8e501553294 SHA512 d69103a9da8022f9b37e9f995728fc7eeb2d7692e6c7de11816bae521dcfcd74aabbf0758646575f9cad67149204e3a79b4c8ec45afae9e28a7fcb6c659632d0
-EBUILD ccpn-2.4.2_p150421.ebuild 4568 BLAKE2B ed7b8ce6ab7a0309bfb92aadf6039b68b1e5b889cebfd4aa23ea95584885fb8f1560a2b13e280adf0ccd10ec728309ccd2b35aa35af6df80bb4bf8e501553294 SHA512 d69103a9da8022f9b37e9f995728fc7eeb2d7692e6c7de11816bae521dcfcd74aabbf0758646575f9cad67149204e3a79b4c8ec45afae9e28a7fcb6c659632d0
-MISC metadata.xml 271 BLAKE2B a446884cbe7a6789e0bcd82759f57bf1ab7b29c5ab714057ffa821c90f799d1fa9f9310c187ee4c3a8ae2476f6ea9d15f368045779f1581e68d02802c61c884c SHA512 3e6e6047a29e07123b81279cae1de17bc4bd4c3d7d8a8d26560114a18185f473d038fc220fa81c7213fa203ce197bad8b1c272d9b7e41cd770a953fa6308ff92
diff --git a/sci-chemistry/ccpn/ccpn-2.4.1_p150226.ebuild b/sci-chemistry/ccpn/ccpn-2.4.1_p150226.ebuild
deleted file mode 100644
index a1755eca7d7d..000000000000
--- a/sci-chemistry/ccpn/ccpn-2.4.1_p150226.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl,tk"
-
-inherit eutils flag-o-matic multilib portability python-single-r1 toolchain-funcs versionator
-
-PATCHSET="${PV##*_p}"
-MY_PN="${PN}mr"
-MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})"
-MY_MAJOR="$(get_version_component_range 1-3)"
-
-DESCRIPTION="The Collaborative Computing Project for NMR"
-HOMEPAGE="http://www.ccpn.ac.uk/v2-software/software"
-SRC_URI="http://www-old.ccpn.ac.uk/download/${MY_PN}/analysis${MY_PV}.tar.gz"
-[[ -n ${PATCHSET} ]] \
- && SRC_URI+=" https://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="+opengl"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-lang/tk:0=[threads]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-tcltk/tix
- =sci-libs/ccpn-data-"${MY_MAJOR}"*[${PYTHON_USEDEP}]
- sci-biology/psipred
- x11-libs/libXext
- x11-libs/libX11
- opengl? (
- media-libs/freeglut
- dev-python/pyglet[${PYTHON_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="mirror"
-
-S="${WORKDIR}"/${MY_PN}/${MY_PN}$(get_version_component_range 1-2)
-
-src_prepare() {
- [[ -n ${PATCHSET} ]] && \
- EPATCH_OPTS="-p2" epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch
-
- epatch "${FILESDIR}"/2.3.1-parallel.patch
-
- append-lfs-flags
-
- sed \
- -e "/PSIPRED_DIR/s:'data':'share/psipred/data':g" \
- -e "s:weights_s:weights:g" \
- -i python/ccpnmr/analysis/wrappers/Psipred.py || die
-
- local tk_ver
- local myconf
-
- tk_ver="$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)"
-
- if use opengl; then
- GLUT_NEED_INIT="-DNEED_GLUT_INIT"
- IGNORE_GL_FLAG=""
- GL_FLAG="-DUSE_GL_TRUE"
- GL_DIR="${EPREFIX}/usr"
- GL_LIB="-lglut -lGLU -lGL"
- GL_INCLUDE_FLAGS="-I\$(GL_DIR)/include"
- GL_LIB_FLAGS=""
- else
- IGNORE_GL_FLAG="-DIGNORE_GL"
- GL_FLAG="-DUSE_GL_FALSE"
- fi
-
- GLUT_NOT_IN_GL=""
- GLUT_FLAG="\$(GLUT_NEED_INIT) \$(GLUT_NOT_IN_GL)"
-
- rm -rf data model doc license || die
-
- sed \
- -e "s|/usr|${EPREFIX}/usr|g" \
- -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
- -e "s|^\(OPT_FLAG =\).*|\1 ${CPPFLAGS} ${CFLAGS}|g" \
- -e "s|^\(LINK_FLAGS =.*\)|\1 ${LDFLAGS}|g" \
- -e "s|^\(IGNORE_GL_FLAG =\).*|\1 ${IGNORE_GL_FLAG}|g" \
- -e "s|^\(GL_FLAG =\).*|\1 ${GL_FLAG}|g" \
- -e "s|^\(GL_DIR =\).*|\1 ${GL_DIR}|g" \
- -e "s|^\(GL_LIB =\).*|\1 ${GL_LIB}|g" \
- -e "s|^\(GL_LIB_FLAGS =\).*|\1 ${GL_LIB_FLAGS}|g" \
- -e "s|^\(GL_INCLUDE_FLAGS =\).*|\1 ${GL_INCLUDE_FLAGS}|g" \
- -e "s|^\(GLUT_NEED_INIT =\).*|\1 ${GLUT_NEED_INIT}|g" \
- -e "s|^\(GLUT_NOT_IN_GL =\).*|\1|g" \
- -e "s|^\(X11_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TCL_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TK_LIB =\).*|\1 -ltk|g" \
- -e "s|^\(TK_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(PYTHON_INCLUDE_FLAGS =\).*|\1 -I$(python_get_includedir)|g" \
- -e "s|^\(PYTHON_LIB =\).*|\1 -l${EPYTHON}|g" \
- c/environment_default.txt > c/environment.txt || die
-
- sed \
- -e 's:ln -s:cp -f:g' \
- -i $(find python -name linkSharedObjs) || die
-}
-
-src_compile() {
- emake -C c all
- emake -C c links
-}
-
-src_install() {
- local libdir
- local tkver
- local _wrapper
-
- find . -name "*.pyc" -type f -delete || die
-
- libdir=$(get_libdir)
- tkver=$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)
-
- _wrapper="analysis dangle dataShifter depositionFileImporter eci formatConverter pipe2azara xeasy2azara extendNmr"
- for wrapper in ${_wrapper}; do
- sed \
- -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
- -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
- -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
- -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
- -e "s|gentoopython|${EPYTHON}|g" \
- -e "s|gentoousr|${EPREFIX}/usr|g" \
- -e "s|//|/|g" \
- "${FILESDIR}"/${wrapper} > "${T}"/${wrapper} || die "Fail fix ${wrapper}"
- dobin "${T}"/${wrapper}
- done
-
- local in_path=$(python_get_sitedir)/${PN}
- local files
- local pydocs
-
- pydocs="$(find python -name doc -type d)"
- rm -rf ${pydocs} || die
-
- for i in python/memops/format/compatibility/{Converters,part2/Converters2}.py; do
- sed \
- -e 's|#from __future__|from __future__|g' \
- -i ${i} || die
- done
-
- dodir ${in_path#${EPREFIX}}/c
-
- ebegin "Installing main files"
- python_moduleinto ${PN}
- python_domodule python
- eend
-
- ebegin "Adjusting permissions"
- for _file in $(find "${ED}" -type f -name "*so"); do
- chmod 755 ${_file}
- done
- eend
- python_optimize
-}
diff --git a/sci-chemistry/ccpn/ccpn-2.4.2.ebuild b/sci-chemistry/ccpn/ccpn-2.4.2.ebuild
deleted file mode 100644
index 6303b8d42837..000000000000
--- a/sci-chemistry/ccpn/ccpn-2.4.2.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl,tk"
-
-inherit eutils flag-o-matic multilib portability python-single-r1 toolchain-funcs versionator
-
-#PATCHSET="${PV##*_p}"
-MY_PN="${PN}mr"
-MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})"
-MY_MAJOR="$(get_version_component_range 1-3)"
-
-DESCRIPTION="The Collaborative Computing Project for NMR"
-HOMEPAGE="http://www.ccpn.ac.uk/v2-software/software"
-SRC_URI="http://www-old.ccpn.ac.uk/download/${MY_PN}/analysis${MY_PV}.tar.gz"
-[[ -n ${PATCHSET} ]] \
- && SRC_URI+=" https://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="+opengl"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-lang/tk:0=[threads]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-tcltk/tix
- =sci-libs/ccpn-data-"${MY_MAJOR}"*[${PYTHON_USEDEP}]
- sci-biology/psipred
- x11-libs/libXext
- x11-libs/libX11
- opengl? (
- media-libs/freeglut
- dev-python/pyglet[${PYTHON_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="mirror"
-
-S="${WORKDIR}"/${MY_PN}/${MY_PN}$(get_version_component_range 1-2)
-
-src_prepare() {
- [[ -n ${PATCHSET} ]] && \
- EPATCH_OPTS="-p2" epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch
-
- epatch "${FILESDIR}"/2.3.1-parallel.patch
-
- append-lfs-flags
-
- sed \
- -e "/PSIPRED_DIR/s:'data':'share/psipred/data':g" \
- -e "s:weights_s:weights:g" \
- -i python/ccpnmr/analysis/wrappers/Psipred.py || die
-
- local tk_ver
- local myconf
-
- tk_ver="$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)"
-
- if use opengl; then
- GLUT_NEED_INIT="-DNEED_GLUT_INIT"
- IGNORE_GL_FLAG=""
- GL_FLAG="-DUSE_GL_TRUE"
- GL_DIR="${EPREFIX}/usr"
- GL_LIB="-lglut -lGLU -lGL"
- GL_INCLUDE_FLAGS="-I\$(GL_DIR)/include"
- GL_LIB_FLAGS=""
- else
- IGNORE_GL_FLAG="-DIGNORE_GL"
- GL_FLAG="-DUSE_GL_FALSE"
- fi
-
- GLUT_NOT_IN_GL=""
- GLUT_FLAG="\$(GLUT_NEED_INIT) \$(GLUT_NOT_IN_GL)"
-
- rm -rf data model doc license || die
-
- sed \
- -e "s|/usr|${EPREFIX}/usr|g" \
- -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
- -e "s|^\(OPT_FLAG =\).*|\1 ${CPPFLAGS} ${CFLAGS}|g" \
- -e "s|^\(LINK_FLAGS =.*\)|\1 ${LDFLAGS}|g" \
- -e "s|^\(IGNORE_GL_FLAG =\).*|\1 ${IGNORE_GL_FLAG}|g" \
- -e "s|^\(GL_FLAG =\).*|\1 ${GL_FLAG}|g" \
- -e "s|^\(GL_DIR =\).*|\1 ${GL_DIR}|g" \
- -e "s|^\(GL_LIB =\).*|\1 ${GL_LIB}|g" \
- -e "s|^\(GL_LIB_FLAGS =\).*|\1 ${GL_LIB_FLAGS}|g" \
- -e "s|^\(GL_INCLUDE_FLAGS =\).*|\1 ${GL_INCLUDE_FLAGS}|g" \
- -e "s|^\(GLUT_NEED_INIT =\).*|\1 ${GLUT_NEED_INIT}|g" \
- -e "s|^\(GLUT_NOT_IN_GL =\).*|\1|g" \
- -e "s|^\(X11_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TCL_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TK_LIB =\).*|\1 -ltk|g" \
- -e "s|^\(TK_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(PYTHON_INCLUDE_FLAGS =\).*|\1 -I$(python_get_includedir)|g" \
- -e "s|^\(PYTHON_LIB =\).*|\1 -l${EPYTHON}|g" \
- c/environment_default.txt > c/environment.txt || die
-
- sed \
- -e 's:ln -s:cp -f:g' \
- -i $(find python -name linkSharedObjs) || die
-}
-
-src_compile() {
- emake -C c all
- emake -C c links
-}
-
-src_install() {
- local libdir
- local tkver
- local _wrapper
-
- find . -name "*.pyc" -type f -delete || die
-
- libdir=$(get_libdir)
- tkver=$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)
-
- _wrapper="analysis dangle dataShifter depositionFileImporter eci formatConverter pipe2azara xeasy2azara extendNmr"
- for wrapper in ${_wrapper}; do
- sed \
- -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
- -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
- -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
- -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
- -e "s|gentoopython|${EPYTHON}|g" \
- -e "s|gentoousr|${EPREFIX}/usr|g" \
- -e "s|//|/|g" \
- "${FILESDIR}"/${wrapper} > "${T}"/${wrapper} || die "Fail fix ${wrapper}"
- dobin "${T}"/${wrapper}
- done
-
- local in_path=$(python_get_sitedir)/${PN}
- local files
- local pydocs
-
- pydocs="$(find python -name doc -type d)"
- rm -rf ${pydocs} || die
-
- for i in python/memops/format/compatibility/{Converters,part2/Converters2}.py; do
- sed \
- -e 's|#from __future__|from __future__|g' \
- -i ${i} || die
- done
-
- dodir ${in_path#${EPREFIX}}/c
-
- ebegin "Installing main files"
- python_moduleinto ${PN}
- python_domodule python
- eend
-
- ebegin "Adjusting permissions"
- for _file in $(find "${ED}" -type f -name "*so"); do
- chmod 755 ${_file}
- done
- eend
- python_optimize
-}
diff --git a/sci-chemistry/ccpn/ccpn-2.4.2_p150325.ebuild b/sci-chemistry/ccpn/ccpn-2.4.2_p150325.ebuild
deleted file mode 100644
index a1755eca7d7d..000000000000
--- a/sci-chemistry/ccpn/ccpn-2.4.2_p150325.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl,tk"
-
-inherit eutils flag-o-matic multilib portability python-single-r1 toolchain-funcs versionator
-
-PATCHSET="${PV##*_p}"
-MY_PN="${PN}mr"
-MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})"
-MY_MAJOR="$(get_version_component_range 1-3)"
-
-DESCRIPTION="The Collaborative Computing Project for NMR"
-HOMEPAGE="http://www.ccpn.ac.uk/v2-software/software"
-SRC_URI="http://www-old.ccpn.ac.uk/download/${MY_PN}/analysis${MY_PV}.tar.gz"
-[[ -n ${PATCHSET} ]] \
- && SRC_URI+=" https://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="+opengl"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-lang/tk:0=[threads]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-tcltk/tix
- =sci-libs/ccpn-data-"${MY_MAJOR}"*[${PYTHON_USEDEP}]
- sci-biology/psipred
- x11-libs/libXext
- x11-libs/libX11
- opengl? (
- media-libs/freeglut
- dev-python/pyglet[${PYTHON_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="mirror"
-
-S="${WORKDIR}"/${MY_PN}/${MY_PN}$(get_version_component_range 1-2)
-
-src_prepare() {
- [[ -n ${PATCHSET} ]] && \
- EPATCH_OPTS="-p2" epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch
-
- epatch "${FILESDIR}"/2.3.1-parallel.patch
-
- append-lfs-flags
-
- sed \
- -e "/PSIPRED_DIR/s:'data':'share/psipred/data':g" \
- -e "s:weights_s:weights:g" \
- -i python/ccpnmr/analysis/wrappers/Psipred.py || die
-
- local tk_ver
- local myconf
-
- tk_ver="$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)"
-
- if use opengl; then
- GLUT_NEED_INIT="-DNEED_GLUT_INIT"
- IGNORE_GL_FLAG=""
- GL_FLAG="-DUSE_GL_TRUE"
- GL_DIR="${EPREFIX}/usr"
- GL_LIB="-lglut -lGLU -lGL"
- GL_INCLUDE_FLAGS="-I\$(GL_DIR)/include"
- GL_LIB_FLAGS=""
- else
- IGNORE_GL_FLAG="-DIGNORE_GL"
- GL_FLAG="-DUSE_GL_FALSE"
- fi
-
- GLUT_NOT_IN_GL=""
- GLUT_FLAG="\$(GLUT_NEED_INIT) \$(GLUT_NOT_IN_GL)"
-
- rm -rf data model doc license || die
-
- sed \
- -e "s|/usr|${EPREFIX}/usr|g" \
- -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
- -e "s|^\(OPT_FLAG =\).*|\1 ${CPPFLAGS} ${CFLAGS}|g" \
- -e "s|^\(LINK_FLAGS =.*\)|\1 ${LDFLAGS}|g" \
- -e "s|^\(IGNORE_GL_FLAG =\).*|\1 ${IGNORE_GL_FLAG}|g" \
- -e "s|^\(GL_FLAG =\).*|\1 ${GL_FLAG}|g" \
- -e "s|^\(GL_DIR =\).*|\1 ${GL_DIR}|g" \
- -e "s|^\(GL_LIB =\).*|\1 ${GL_LIB}|g" \
- -e "s|^\(GL_LIB_FLAGS =\).*|\1 ${GL_LIB_FLAGS}|g" \
- -e "s|^\(GL_INCLUDE_FLAGS =\).*|\1 ${GL_INCLUDE_FLAGS}|g" \
- -e "s|^\(GLUT_NEED_INIT =\).*|\1 ${GLUT_NEED_INIT}|g" \
- -e "s|^\(GLUT_NOT_IN_GL =\).*|\1|g" \
- -e "s|^\(X11_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TCL_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TK_LIB =\).*|\1 -ltk|g" \
- -e "s|^\(TK_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(PYTHON_INCLUDE_FLAGS =\).*|\1 -I$(python_get_includedir)|g" \
- -e "s|^\(PYTHON_LIB =\).*|\1 -l${EPYTHON}|g" \
- c/environment_default.txt > c/environment.txt || die
-
- sed \
- -e 's:ln -s:cp -f:g' \
- -i $(find python -name linkSharedObjs) || die
-}
-
-src_compile() {
- emake -C c all
- emake -C c links
-}
-
-src_install() {
- local libdir
- local tkver
- local _wrapper
-
- find . -name "*.pyc" -type f -delete || die
-
- libdir=$(get_libdir)
- tkver=$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)
-
- _wrapper="analysis dangle dataShifter depositionFileImporter eci formatConverter pipe2azara xeasy2azara extendNmr"
- for wrapper in ${_wrapper}; do
- sed \
- -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
- -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
- -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
- -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
- -e "s|gentoopython|${EPYTHON}|g" \
- -e "s|gentoousr|${EPREFIX}/usr|g" \
- -e "s|//|/|g" \
- "${FILESDIR}"/${wrapper} > "${T}"/${wrapper} || die "Fail fix ${wrapper}"
- dobin "${T}"/${wrapper}
- done
-
- local in_path=$(python_get_sitedir)/${PN}
- local files
- local pydocs
-
- pydocs="$(find python -name doc -type d)"
- rm -rf ${pydocs} || die
-
- for i in python/memops/format/compatibility/{Converters,part2/Converters2}.py; do
- sed \
- -e 's|#from __future__|from __future__|g' \
- -i ${i} || die
- done
-
- dodir ${in_path#${EPREFIX}}/c
-
- ebegin "Installing main files"
- python_moduleinto ${PN}
- python_domodule python
- eend
-
- ebegin "Adjusting permissions"
- for _file in $(find "${ED}" -type f -name "*so"); do
- chmod 755 ${_file}
- done
- eend
- python_optimize
-}
diff --git a/sci-chemistry/ccpn/ccpn-2.4.2_p150413.ebuild b/sci-chemistry/ccpn/ccpn-2.4.2_p150413.ebuild
deleted file mode 100644
index a1755eca7d7d..000000000000
--- a/sci-chemistry/ccpn/ccpn-2.4.2_p150413.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl,tk"
-
-inherit eutils flag-o-matic multilib portability python-single-r1 toolchain-funcs versionator
-
-PATCHSET="${PV##*_p}"
-MY_PN="${PN}mr"
-MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})"
-MY_MAJOR="$(get_version_component_range 1-3)"
-
-DESCRIPTION="The Collaborative Computing Project for NMR"
-HOMEPAGE="http://www.ccpn.ac.uk/v2-software/software"
-SRC_URI="http://www-old.ccpn.ac.uk/download/${MY_PN}/analysis${MY_PV}.tar.gz"
-[[ -n ${PATCHSET} ]] \
- && SRC_URI+=" https://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="+opengl"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-lang/tk:0=[threads]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-tcltk/tix
- =sci-libs/ccpn-data-"${MY_MAJOR}"*[${PYTHON_USEDEP}]
- sci-biology/psipred
- x11-libs/libXext
- x11-libs/libX11
- opengl? (
- media-libs/freeglut
- dev-python/pyglet[${PYTHON_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="mirror"
-
-S="${WORKDIR}"/${MY_PN}/${MY_PN}$(get_version_component_range 1-2)
-
-src_prepare() {
- [[ -n ${PATCHSET} ]] && \
- EPATCH_OPTS="-p2" epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch
-
- epatch "${FILESDIR}"/2.3.1-parallel.patch
-
- append-lfs-flags
-
- sed \
- -e "/PSIPRED_DIR/s:'data':'share/psipred/data':g" \
- -e "s:weights_s:weights:g" \
- -i python/ccpnmr/analysis/wrappers/Psipred.py || die
-
- local tk_ver
- local myconf
-
- tk_ver="$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)"
-
- if use opengl; then
- GLUT_NEED_INIT="-DNEED_GLUT_INIT"
- IGNORE_GL_FLAG=""
- GL_FLAG="-DUSE_GL_TRUE"
- GL_DIR="${EPREFIX}/usr"
- GL_LIB="-lglut -lGLU -lGL"
- GL_INCLUDE_FLAGS="-I\$(GL_DIR)/include"
- GL_LIB_FLAGS=""
- else
- IGNORE_GL_FLAG="-DIGNORE_GL"
- GL_FLAG="-DUSE_GL_FALSE"
- fi
-
- GLUT_NOT_IN_GL=""
- GLUT_FLAG="\$(GLUT_NEED_INIT) \$(GLUT_NOT_IN_GL)"
-
- rm -rf data model doc license || die
-
- sed \
- -e "s|/usr|${EPREFIX}/usr|g" \
- -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
- -e "s|^\(OPT_FLAG =\).*|\1 ${CPPFLAGS} ${CFLAGS}|g" \
- -e "s|^\(LINK_FLAGS =.*\)|\1 ${LDFLAGS}|g" \
- -e "s|^\(IGNORE_GL_FLAG =\).*|\1 ${IGNORE_GL_FLAG}|g" \
- -e "s|^\(GL_FLAG =\).*|\1 ${GL_FLAG}|g" \
- -e "s|^\(GL_DIR =\).*|\1 ${GL_DIR}|g" \
- -e "s|^\(GL_LIB =\).*|\1 ${GL_LIB}|g" \
- -e "s|^\(GL_LIB_FLAGS =\).*|\1 ${GL_LIB_FLAGS}|g" \
- -e "s|^\(GL_INCLUDE_FLAGS =\).*|\1 ${GL_INCLUDE_FLAGS}|g" \
- -e "s|^\(GLUT_NEED_INIT =\).*|\1 ${GLUT_NEED_INIT}|g" \
- -e "s|^\(GLUT_NOT_IN_GL =\).*|\1|g" \
- -e "s|^\(X11_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TCL_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TK_LIB =\).*|\1 -ltk|g" \
- -e "s|^\(TK_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(PYTHON_INCLUDE_FLAGS =\).*|\1 -I$(python_get_includedir)|g" \
- -e "s|^\(PYTHON_LIB =\).*|\1 -l${EPYTHON}|g" \
- c/environment_default.txt > c/environment.txt || die
-
- sed \
- -e 's:ln -s:cp -f:g' \
- -i $(find python -name linkSharedObjs) || die
-}
-
-src_compile() {
- emake -C c all
- emake -C c links
-}
-
-src_install() {
- local libdir
- local tkver
- local _wrapper
-
- find . -name "*.pyc" -type f -delete || die
-
- libdir=$(get_libdir)
- tkver=$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)
-
- _wrapper="analysis dangle dataShifter depositionFileImporter eci formatConverter pipe2azara xeasy2azara extendNmr"
- for wrapper in ${_wrapper}; do
- sed \
- -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
- -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
- -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
- -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
- -e "s|gentoopython|${EPYTHON}|g" \
- -e "s|gentoousr|${EPREFIX}/usr|g" \
- -e "s|//|/|g" \
- "${FILESDIR}"/${wrapper} > "${T}"/${wrapper} || die "Fail fix ${wrapper}"
- dobin "${T}"/${wrapper}
- done
-
- local in_path=$(python_get_sitedir)/${PN}
- local files
- local pydocs
-
- pydocs="$(find python -name doc -type d)"
- rm -rf ${pydocs} || die
-
- for i in python/memops/format/compatibility/{Converters,part2/Converters2}.py; do
- sed \
- -e 's|#from __future__|from __future__|g' \
- -i ${i} || die
- done
-
- dodir ${in_path#${EPREFIX}}/c
-
- ebegin "Installing main files"
- python_moduleinto ${PN}
- python_domodule python
- eend
-
- ebegin "Adjusting permissions"
- for _file in $(find "${ED}" -type f -name "*so"); do
- chmod 755 ${_file}
- done
- eend
- python_optimize
-}
diff --git a/sci-chemistry/ccpn/ccpn-2.4.2_p150421.ebuild b/sci-chemistry/ccpn/ccpn-2.4.2_p150421.ebuild
deleted file mode 100644
index a1755eca7d7d..000000000000
--- a/sci-chemistry/ccpn/ccpn-2.4.2_p150421.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl,tk"
-
-inherit eutils flag-o-matic multilib portability python-single-r1 toolchain-funcs versionator
-
-PATCHSET="${PV##*_p}"
-MY_PN="${PN}mr"
-MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})"
-MY_MAJOR="$(get_version_component_range 1-3)"
-
-DESCRIPTION="The Collaborative Computing Project for NMR"
-HOMEPAGE="http://www.ccpn.ac.uk/v2-software/software"
-SRC_URI="http://www-old.ccpn.ac.uk/download/${MY_PN}/analysis${MY_PV}.tar.gz"
-[[ -n ${PATCHSET} ]] \
- && SRC_URI+=" https://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="+opengl"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- dev-lang/tk:0=[threads]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-tcltk/tix
- =sci-libs/ccpn-data-"${MY_MAJOR}"*[${PYTHON_USEDEP}]
- sci-biology/psipred
- x11-libs/libXext
- x11-libs/libX11
- opengl? (
- media-libs/freeglut
- dev-python/pyglet[${PYTHON_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="mirror"
-
-S="${WORKDIR}"/${MY_PN}/${MY_PN}$(get_version_component_range 1-2)
-
-src_prepare() {
- [[ -n ${PATCHSET} ]] && \
- EPATCH_OPTS="-p2" epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch
-
- epatch "${FILESDIR}"/2.3.1-parallel.patch
-
- append-lfs-flags
-
- sed \
- -e "/PSIPRED_DIR/s:'data':'share/psipred/data':g" \
- -e "s:weights_s:weights:g" \
- -i python/ccpnmr/analysis/wrappers/Psipred.py || die
-
- local tk_ver
- local myconf
-
- tk_ver="$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)"
-
- if use opengl; then
- GLUT_NEED_INIT="-DNEED_GLUT_INIT"
- IGNORE_GL_FLAG=""
- GL_FLAG="-DUSE_GL_TRUE"
- GL_DIR="${EPREFIX}/usr"
- GL_LIB="-lglut -lGLU -lGL"
- GL_INCLUDE_FLAGS="-I\$(GL_DIR)/include"
- GL_LIB_FLAGS=""
- else
- IGNORE_GL_FLAG="-DIGNORE_GL"
- GL_FLAG="-DUSE_GL_FALSE"
- fi
-
- GLUT_NOT_IN_GL=""
- GLUT_FLAG="\$(GLUT_NEED_INIT) \$(GLUT_NOT_IN_GL)"
-
- rm -rf data model doc license || die
-
- sed \
- -e "s|/usr|${EPREFIX}/usr|g" \
- -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
- -e "s|^\(OPT_FLAG =\).*|\1 ${CPPFLAGS} ${CFLAGS}|g" \
- -e "s|^\(LINK_FLAGS =.*\)|\1 ${LDFLAGS}|g" \
- -e "s|^\(IGNORE_GL_FLAG =\).*|\1 ${IGNORE_GL_FLAG}|g" \
- -e "s|^\(GL_FLAG =\).*|\1 ${GL_FLAG}|g" \
- -e "s|^\(GL_DIR =\).*|\1 ${GL_DIR}|g" \
- -e "s|^\(GL_LIB =\).*|\1 ${GL_LIB}|g" \
- -e "s|^\(GL_LIB_FLAGS =\).*|\1 ${GL_LIB_FLAGS}|g" \
- -e "s|^\(GL_INCLUDE_FLAGS =\).*|\1 ${GL_INCLUDE_FLAGS}|g" \
- -e "s|^\(GLUT_NEED_INIT =\).*|\1 ${GLUT_NEED_INIT}|g" \
- -e "s|^\(GLUT_NOT_IN_GL =\).*|\1|g" \
- -e "s|^\(X11_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TCL_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(TK_LIB =\).*|\1 -ltk|g" \
- -e "s|^\(TK_LIB_FLAGS =\).*|\1 -L${EPREFIX}/usr/$(get_libdir)|g" \
- -e "s|^\(PYTHON_INCLUDE_FLAGS =\).*|\1 -I$(python_get_includedir)|g" \
- -e "s|^\(PYTHON_LIB =\).*|\1 -l${EPYTHON}|g" \
- c/environment_default.txt > c/environment.txt || die
-
- sed \
- -e 's:ln -s:cp -f:g' \
- -i $(find python -name linkSharedObjs) || die
-}
-
-src_compile() {
- emake -C c all
- emake -C c links
-}
-
-src_install() {
- local libdir
- local tkver
- local _wrapper
-
- find . -name "*.pyc" -type f -delete || die
-
- libdir=$(get_libdir)
- tkver=$(best_version dev-lang/tk | cut -d- -f3 | cut -d. -f1,2)
-
- _wrapper="analysis dangle dataShifter depositionFileImporter eci formatConverter pipe2azara xeasy2azara extendNmr"
- for wrapper in ${_wrapper}; do
- sed \
- -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
- -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
- -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
- -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
- -e "s|gentoopython|${EPYTHON}|g" \
- -e "s|gentoousr|${EPREFIX}/usr|g" \
- -e "s|//|/|g" \
- "${FILESDIR}"/${wrapper} > "${T}"/${wrapper} || die "Fail fix ${wrapper}"
- dobin "${T}"/${wrapper}
- done
-
- local in_path=$(python_get_sitedir)/${PN}
- local files
- local pydocs
-
- pydocs="$(find python -name doc -type d)"
- rm -rf ${pydocs} || die
-
- for i in python/memops/format/compatibility/{Converters,part2/Converters2}.py; do
- sed \
- -e 's|#from __future__|from __future__|g' \
- -i ${i} || die
- done
-
- dodir ${in_path#${EPREFIX}}/c
-
- ebegin "Installing main files"
- python_moduleinto ${PN}
- python_domodule python
- eend
-
- ebegin "Adjusting permissions"
- for _file in $(find "${ED}" -type f -name "*so"); do
- chmod 755 ${_file}
- done
- eend
- python_optimize
-}
diff --git a/sci-chemistry/ccpn/files/2.3.1-parallel.patch b/sci-chemistry/ccpn/files/2.3.1-parallel.patch
deleted file mode 100644
index fcf44707e082..000000000000
--- a/sci-chemistry/ccpn/files/2.3.1-parallel.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/ccpnmr2.3/c/Makefile b/ccpnmr2.3/c/Makefile
-index 01fb25a..8e8e1fe 100644
---- a/ccpnmr2.3/c/Makefile
-+++ b/ccpnmr2.3/c/Makefile
-@@ -5,22 +5,22 @@ all: compile
- compile: global structure analysis clouds dynamics bayes
-
- global:
-- cd memops/global && $(MAKE)
-+ $(MAKE) -C memops/global
-
--structure:
-- cd ccp/structure && $(MAKE)
-+structure: global
-+ $(MAKE) -C ccp/structure
-
--analysis:
-- cd ccpnmr/analysis && $(MAKE)
-+analysis: global
-+ $(MAKE) -C ccpnmr/analysis
-
--clouds:
-- cd ccpnmr/clouds && $(MAKE)
-+clouds: global
-+ $(MAKE) -C ccpnmr/clouds
-
--dynamics:
-- cd ccpnmr/dynamics && $(MAKE)
-+dynamics: global
-+ $(MAKE) -C ccpnmr/dynamics
-
--bayes:
-- cd other/cambridge/bayes && $(MAKE)
-+bayes: global
-+ $(MAKE) -C other/cambridge/bayes
-
- clean: global_clean structure_clean analysis_clean clouds_clean dynamics_clean bayes_clean
-
diff --git a/sci-chemistry/ccpn/files/analysis b/sci-chemistry/ccpn/files/analysis
deleted file mode 100644
index 828ed4e64ae9..000000000000
--- a/sci-chemistry/ccpn/files/analysis
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -i -O ${CCPNMR_TOP_DIR}/ccpn/python/ccpnmr/analysis/AnalysisGui.py $1 $2 $3 $4 $5 $6
diff --git a/sci-chemistry/ccpn/files/dangle b/sci-chemistry/ccpn/files/dangle
deleted file mode 100644
index 6d8a42e615de..000000000000
--- a/sci-chemistry/ccpn/files/dangle
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O ${CCPNMR_TOP_DIR}/ccpn/python/cambridge/dangle/DangleGui.py $1 $2 $3 $4 $5 $6
diff --git a/sci-chemistry/ccpn/files/dataShifter b/sci-chemistry/ccpn/files/dataShifter
deleted file mode 100644
index c083960f2f60..000000000000
--- a/sci-chemistry/ccpn/files/dataShifter
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O ${CCPNMR_TOP_DIR}/ccpn/python/ccpnmr/format/gui/DataShifter.py $1 $2 $3 $4 $5 $6
diff --git a/sci-chemistry/ccpn/files/depositionFileImporter b/sci-chemistry/ccpn/files/depositionFileImporter
deleted file mode 100644
index 09505ccc4925..000000000000
--- a/sci-chemistry/ccpn/files/depositionFileImporter
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O ${CCPNMR_TOP_DIR}/ccpn/python/pdbe/deposition/dataFileImport/dataFileImportGui.py $@
diff --git a/sci-chemistry/ccpn/files/eci b/sci-chemistry/ccpn/files/eci
deleted file mode 100644
index 54d913348718..000000000000
--- a/sci-chemistry/ccpn/files/eci
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O ${CCPNMR_TOP_DIR}/ccpn/python/ccpnmr/eci/EntryCompletionGui.py $*
diff --git a/sci-chemistry/ccpn/files/extendNmr b/sci-chemistry/ccpn/files/extendNmr
deleted file mode 100644
index a2fe4c997c7c..000000000000
--- a/sci-chemistry/ccpn/files/extendNmr
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O -i -O ${CCPNMR_TOP_DIR}/ccpn/python/extendNmr/ExtendNmrGui.py $@
diff --git a/sci-chemistry/ccpn/files/formatConverter b/sci-chemistry/ccpn/files/formatConverter
deleted file mode 100644
index 6cb273612352..000000000000
--- a/sci-chemistry/ccpn/files/formatConverter
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O ${CCPNMR_TOP_DIR}/ccpn/python/ccpnmr/format/gui/FormatConverter.py $1 $2 $3 $4 $5 $6
diff --git a/sci-chemistry/ccpn/files/pipe2azara b/sci-chemistry/ccpn/files/pipe2azara
deleted file mode 100644
index 5a3710a134a7..000000000000
--- a/sci-chemistry/ccpn/files/pipe2azara
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O ${CCPNMR_TOP_DIR}/ccpn/python/ccp/format/spectra/params/NmrPipeData.py $1 $2 $3 $4 $5 $6
diff --git a/sci-chemistry/ccpn/files/xeasy2azara b/sci-chemistry/ccpn/files/xeasy2azara
deleted file mode 100644
index 7b73714c2fa5..000000000000
--- a/sci-chemistry/ccpn/files/xeasy2azara
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export CCPNMR_TOP_DIR=gentoo_sitedir
-export PYTHONPATH=.:${CCPNMR_TOP_DIR}/ccpn/python
-export TCL_LIBRARY=gentootcl
-export TK_LIBRARY=gentootk
-export PSIPRED_DIR=gentoousr
-gentoopython -O ${CCPNMR_TOP_DIR}/ccpn/python/ccp/format/spectra/params/XeasyData.py $1 $2 $3 $4 $5 $6
diff --git a/sci-chemistry/ccpn/metadata.xml b/sci-chemistry/ccpn/metadata.xml
deleted file mode 100644
index 8937bad0b175..000000000000
--- a/sci-chemistry/ccpn/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
-</pkgmetadata>