commit: 2c7fc4b6a6d108239112399e3c15b268a4d9b0f2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Tue May 6 15:48:19 2014 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Tue May 6 15:48:19 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2c7fc4b6
sci-chemistry/phenix-bin: Version Bump Package-Manager: portage-2.2.10 --- sci-chemistry/phenix-bin/ChangeLog | 5 + .../phenix-bin/phenix-bin-1.9.1690.ebuild | 114 +++++++++++++++++++++ 2 files changed, 119 insertions(+) diff --git a/sci-chemistry/phenix-bin/ChangeLog b/sci-chemistry/phenix-bin/ChangeLog index eb06212..ddba56b 100644 --- a/sci-chemistry/phenix-bin/ChangeLog +++ b/sci-chemistry/phenix-bin/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*phenix-bin-1.9.1690 (06 May 2014) + + 06 May 2014; Justin Lecher <j...@gentoo.org> +phenix-bin-1.9.1690.ebuild: + Version Bump + 25 Feb 2014; Justin Lecher <j...@gentoo.org> phenix-bin-1.8.4.1496.ebuild: Fix prefix problems diff --git a/sci-chemistry/phenix-bin/phenix-bin-1.9.1690.ebuild b/sci-chemistry/phenix-bin/phenix-bin-1.9.1690.ebuild new file mode 100644 index 0000000..2196ef1 --- /dev/null +++ b/sci-chemistry/phenix-bin/phenix-bin-1.9.1690.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +WX_GTK_VER=2.8 + +inherit python-single-r1 versionator wxwidgets + +MY_PV="$(replace_version_separator 2 -)" +MY_P="phenix-installer-${MY_PV}" + +DESCRIPTION="Python-based Hierarchical ENvironment for Integrated Xtallography" +HOMEPAGE="http://phenix-online.org/" +SRC_URI=" + amd64? ( phenix-installer-${MY_PV}-intel-linux-2.6-x86_64-fc12.tar ) +" + +SLOT="0" +LICENSE="phenix" +KEYWORDS="~amd64 ~amd64-linux" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + app-arch/bzip2 + dev-db/sqlite:3 + dev-libs/atk + dev-libs/boost + dev-libs/expat + dev-libs/glib:2 + dev-libs/openssl + media-gfx/nvidia-cg-toolkit + media-libs/fontconfig + media-libs/freetype + media-libs/libpng:1.2 + sys-libs/db:4.8 + sys-libs/gdbm + sys-libs/ncurses[tinfo] + sys-libs/readline + virtual/glu + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/pango + x11-libs/pixman + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXft + x11-libs/libXinerama + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXxf86vm + x11-libs/wxGTK:${WX_GTK_VER}[X] + sys-libs/zlib + virtual/jpeg:62" +DEPEND="${PYTHON_DEPS}" + +RESTRICT="fetch" + +QA_PREBUILT="opt/phenix-${MY_PV}/.*" + +S="${WORKDIR}"/${MY_P} + +pkg_nofetch() { + elog "Please visit" + elog "http://www.phenix-online.org/phenix_request/index.cgi" + elog "and request a download password. With that done," + elog "visit http://www.phenix-online.org/download/phenix/release" + elog "and download version \"Kernel 2.6 (64-bit; Fedora 12)\" (${A})" + elog "into ${DISTDIR}" +} + +src_prepare() { + ./install --prefix="${S}/foo" +} + +src_install() { + sed \ + -e "s:${S}/foo:${EPREFIX}/opt:g" \ + -i \ + build-binary/intel-linux-2.6-*/*/log/*.log \ + build-final/intel-linux-2.6-*/*/log/*.log \ + foo/phenix-${MY_PV}/build/intel-linux-2.6-*/*_env \ + foo/phenix-${MY_PV}/build/intel-linux-*/*sh \ + foo/phenix-${MY_PV}/build/intel-linux-*/bin/* \ + foo/phenix-${MY_PV}/build/intel-linux-2.6-*/base/etc/{gtk*,pango}/* \ + foo/phenix-${MY_PV}/phenix_env* \ + || die + + dodir /opt + mv "${S}/foo/phenix-${MY_PV}" "${ED}/opt/" + + cat >> phenix <<- EOF + #!${EPREFIX}/bin/bash + + source "${EPREFIX}/opt/phenix-${MY_PV}/phenix_env.sh" + export LD_LIBRARY_PATH="${EPREFIX}"/usr/$(get_libdir) + exec phenix + EOF + dobin phenix + + python_fix_shebang "${ED}"/opt + python_optimize "${ED}"/opt +}