jlec        15/03/11 13:31:52

  Modified:             ChangeLog
  Added:                arp-warp-bin-7.5.ebuild
  Removed:              arp-warp-bin-7.3.ebuild arp-warp-bin-7.1-r1.ebuild
                        arp-warp-bin-7.1-r2.ebuild
  Log:
  Version Bump; Drop old with unavailable upstream sources, #542758
  
  (Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key B9D4F231BD1558AB!)

Revision  Changes    Path
1.26                 sci-chemistry/arp-warp-bin/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.26&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?rev=1.26&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog?r1=1.25&r2=1.26

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ChangeLog   4 Jun 2013 12:49:48 -0000       1.25
+++ ChangeLog   11 Mar 2015 13:31:52 -0000      1.26
@@ -1,6 +1,13 @@
 # ChangeLog for sci-chemistry/arp-warp-bin
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v 1.25 
2013/06/04 12:49:48 jlec Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/ChangeLog,v 1.26 
2015/03/11 13:31:52 jlec Exp $
+
+*arp-warp-bin-7.5 (11 Mar 2015)
+
+  11 Mar 2015; Justin Lecher <[email protected]> +arp-warp-bin-7.5.ebuild,
+  -arp-warp-bin-7.1-r1.ebuild, -arp-warp-bin-7.1-r2.ebuild,
+  -arp-warp-bin-7.3.ebuild, -files/7.1-setup-2.patch, -files/7.1-setup.patch:
+  Version Bump; Drop old with unavailable upstream sources, #542758
 
   04 Jun 2013; Justin Lecher <[email protected]> arp-warp-bin-7.1-r2.ebuild:
   Fix for correct usage of new python eclasses
@@ -104,4 +111,3 @@
   +metadata.xml, +arp-warp-bin-7.0.1-r1.ebuild:
   (#212054) New package: ARP/wARP is a software for improvement and
   interpretation of crystallographic electron density maps.
-



1.1                  sci-chemistry/arp-warp-bin/arp-warp-bin-7.5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.5.ebuild?rev=1.1&content-type=text/plain

Index: arp-warp-bin-7.5.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sci-chemistry/arp-warp-bin/arp-warp-bin-7.5.ebuild,v 
1.1 2015/03/11 13:31:52 jlec Exp $

EAPI=5

inherit eutils prefix

MY_P="arp_warp_${PV}"

DESCRIPTION="Improvement and interpretation of crystallographic electron 
density maps"
SRC_URI="${MY_P}.tar.gz"
HOMEPAGE="http://www.embl-hamburg.de/ARP/";

LICENSE="ArpWarp"
SLOT="0"
KEYWORDS="-* amd64 x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_sse2"

REQUIRED_USE="cpu_flags_x86_sse2"

RDEPEND="
        app-shells/tcsh
        sci-chemistry/refmac
        virtual/awk
        virtual/jre
        virtual/opengl
        x11-libs/libX11"
DEPEND=""

RESTRICT="fetch"

S="${WORKDIR}/${MY_P}"

QA_PREBUILT="opt/arp-warp-bin/bin/*"

pkg_nofetch(){
        elog "Fill out the form at http://www.embl-hamburg.de/ARP/";
        elog "and place ${A} in ${DISTDIR}"
}

src_prepare() {
        epatch "${FILESDIR}"/7.3-setup.patch
        eprefixify "${S}"/share/arpwarp_setup_base.*

        sed -e '/exit/d' -i "${S}"/share/arpwarp_setup_base.* || die
}

src_install(){
        m_type=$(uname -m)
        os_type=$(uname)

        exeinto /opt/${PN}/bin/bin-${m_type}-${os_type}
        doexe "${S}"/bin/bin-${m_type}-${os_type}/* "${S}"/share/*{pl,sh}

        insinto /opt/${PN}/bin/bin-${m_type}-${os_type}
        doins "${S}"/share/*{gif,bmp,XYZ,bash,csh,dat,lib,tbl,llh,prm}

        insinto /etc/profile.d/
        newins "${S}"/share/arpwarp_setup_base.csh 90arpwarp_setup.csh
        newins "${S}"/share/arpwarp_setup_base.bash 90arpwarp_setup.sh

        dodoc "${S}"/README manual/UserGuide${PV}.pdf
        dohtml -r "${S}"/manual/html/*
}

pkg_postinst(){
        testcommand=$(echo 3 2 | awk '{printf"%3.1f",$1/$2}')
        if [ $testcommand == "1,5" ];then
          ewarn "*** ERROR ***"
          ewarn "   3/2=" $testcommand
          ewarn "Invalid decimal separator (must be ".")"
          ewarn "You need to set this correctly!!!"
          echo
          ewarn "One way of setting the decimal separator is:"
          ewarn "setenv LC_NUMERIC C' in your .cshrc file"
          ewarn "\tor"
          ewarn "export LC_NUMERIC=C' in your .bashrc file"
          ewarn "Otherwise please consult your system manager"
        fi
}




Reply via email to