summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-04-20 20:26:23 +0000
committerJustin Lecher <jlec@gentoo.org>2015-04-20 20:26:23 +0000
commit78fb371d4991d30c16a75de83c6b8c2d5f369288 (patch)
tree5dadb9fc0254762a15e0ed9980b2dcc1dac4550f /sci-chemistry/eden
parentDrop old (diff)
downloadgentoo-2-78fb371d4991d30c16a75de83c6b8c2d5f369288.tar.gz
gentoo-2-78fb371d4991d30c16a75de83c6b8c2d5f369288.tar.bz2
gentoo-2-78fb371d4991d30c16a75de83c6b8c2d5f369288.zip
Drop old
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-chemistry/eden')
-rw-r--r--sci-chemistry/eden/ChangeLog5
-rw-r--r--sci-chemistry/eden/eden-5.3-r1.ebuild100
2 files changed, 4 insertions, 101 deletions
diff --git a/sci-chemistry/eden/ChangeLog b/sci-chemistry/eden/ChangeLog
index feea356a7bcc..409ab780a96c 100644
--- a/sci-chemistry/eden/ChangeLog
+++ b/sci-chemistry/eden/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/eden
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/eden/ChangeLog,v 1.22 2015/04/19 10:03:12 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/eden/ChangeLog,v 1.23 2015/04/20 20:26:23 jlec Exp $
+
+ 20 Apr 2015; Justin Lecher <jlec@gentoo.org> -eden-5.3-r1.ebuild:
+ Drop old
19 Apr 2015; Agostino Sarubbo <ago@gentoo.org> eden-5.3-r2.ebuild:
Stable for x86, wrt bug #546376
diff --git a/sci-chemistry/eden/eden-5.3-r1.ebuild b/sci-chemistry/eden/eden-5.3-r1.ebuild
deleted file mode 100644
index 1351f0f2eff6..000000000000
--- a/sci-chemistry/eden/eden-5.3-r1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/eden/eden-5.3-r1.ebuild,v 1.7 2013/02/19 15:43:19 jlec Exp $
-
-EAPI=4
-
-PYTHON_DEPEND="2"
-
-inherit eutils multilib python toolchain-funcs
-
-MY_P="${PN}_V${PV}"
-
-DESCRIPTION="A crystallographic real-space electron-density refinement and optimization program"
-HOMEPAGE="http://www.gromacs.org/pipermail/eden-users/"
-SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="double-precision"
-
-RDEPEND="
- sci-libs/fftw:2.1
- sci-libs/gsl"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${PN}"
-
-SRC="${S}/source"
-EDENHOME="${EPREFIX}/usr/$(get_libdir)/eden"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PV}-makefile-fixes.patch \
- "${FILESDIR}"/${P}-impl-dec.patch
-
- sed -i \
- -e "s:^\(FFTW.*=\).*:\1 ${EPREFIX}/usr:g" \
- -e "s:^\(LIB.*=.*\$(FFTW)/\).*:\1$(get_libdir):g" \
- -e "s:^\(BIN.*=\).*:\1 ${D}usr/bin:g" \
- -e "s:^\(CFLAGS.*=\).*:\1 ${CFLAGS}:g" \
- -e "s:-lgsl -lgslcblas:$($(tc-getPKG_CONFIG) --libs gsl):g" \
- ${SRC}/Makefile || die
-
- if ! use double-precision; then
- sed -i -e "s:^\(DOUBLESWITCH.*=\).*:\1 OFF:g" ${SRC}/Makefile || die
- EXE="seden"
- else
- EXE="deden"
- fi
-}
-
-src_compile() {
- emake CC=$(tc-getCC) -C ${SRC}
-}
-
-src_install() {
- emake -C ${SRC} install
-
- exeinto ${EDENHOME}/python
- doexe python/*
-
- insinto ${EDENHOME}/help
- doins help/*
-
- insinto ${EDENHOME}/tools
- doins tools/*
-
- dodoc manual/UserManual.pdf
-
- cat >> "${T}"/eden <<- EOF
- #!/bin/bash
- export EDENHOME="${EDENHOME}"
- ${EXE} \$*
- EOF
-
- dobin "${T}"/eden
-
- cat >> "${T}"/ieden <<- EOF
- #!/bin/bash
- export EDENHOME="${EDENHOME}"
- $(PYTHON) -O \${EDENHOME}/python/eden.py
- EOF
-
- dobin "${T}"/ieden
-}
-
-pkg_postinst() {
- python_mod_optimize ${EDENHOME}/python
-}
-
-pkg_postrm() {
- python_mod_cleanup ${EDENHOME}/python
-}