public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/phenix-bin/
Date: Wed,  9 Sep 2015 07:11:07 +0000 (UTC)	[thread overview]
Message-ID: <1441782440.e45b55477b4618f913798c79cd7ab47ef27cdeed.jlec@gentoo> (raw)

commit:     e45b55477b4618f913798c79cd7ab47ef27cdeed
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  9 07:07:20 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep  9 07:07:20 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e45b5547

sci-chemistry/phenix-bin: Version Bump

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../phenix-bin/phenix-bin-1.10.2155.ebuild         | 121 +++++++++++++++++++++
 1 file changed, 121 insertions(+)

diff --git a/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild b/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
new file mode 100644
index 0000000..9b5e811
--- /dev/null
+++ b/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+WX_GTK_VER=2.8
+
+inherit multilib 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="${MY_P}-intel-linux-2.6-x86_64-centos6.tar.gz"
+
+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.7
+	sys-libs/gdbm
+	|| (
+		sys-libs/ncurses:0/5[tinfo]
+		sys-libs/ncurses:5/5[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}-intel-linux-2.6-x86_64-centos6/
+
+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() {
+	cat > "${S}/bin/machine_type" <<-EOF
+	#!${EPREFIX}/bin/sh
+	echo intel-linux-2.6-x86_64
+	exit 0
+	EOF
+}
+
+src_compile() {
+	LD_LIBRARY_PATH="${EPREFIX}/usr/$(get_libdir)" ./install --prefix="${S}/foo" || die
+}
+
+src_install() {
+	sed \
+		-e "s:${S}/foo:${EPREFIX}/opt:g" \
+		-i \
+			foo/phenix-${MY_PV}/build/*_env \
+			foo/phenix-${MY_PV}/build/*sh \
+			foo/phenix-${MY_PV}/build/bin/* \
+			foo/phenix-${MY_PV}/base/etc/{gtk*,pango}/* \
+			foo/phenix-${MY_PV}/phenix_env* \
+			|| die
+
+	dodir /opt
+	mv "${S}/foo/phenix-${MY_PV}" "${ED}/opt/" || die
+
+	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
+}


             reply	other threads:[~2015-09-09  7:11 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09  7:11 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-26 14:45 [gentoo-commits] proj/sci:master commit in: sci-chemistry/phenix-bin/ Justin Lecher
2015-09-09  8:11 Justin Lecher
2015-08-05 13:35 Justin Lecher
2015-08-03 12:31 Justin Lecher
2015-06-22 10:58 Justin Lecher
2014-11-14 11:41 Justin Lecher
2014-05-13 10:04 Justin Lecher
2014-05-06 16:44 Justin Lecher
2014-02-25 12:08 Justin Lecher
2013-10-09 19:04 Justin Lecher
2013-08-13 22:20 Nicolas Bock
2013-06-04 11:59 Justin Lecher
2013-03-21  6:54 Justin Lecher
2013-01-17  7:44 Justin Lecher
2012-11-14 15:20 Justin Lecher
2012-11-14 14:41 Justin Lecher
2012-10-09 14:15 Justin Lecher
2012-09-21  6:10 Justin Lecher
2012-09-21  6:00 Justin Lecher
2012-09-21  6:00 Justin Lecher
2012-09-20 12:39 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441782440.e45b55477b4618f913798c79cd7ab47ef27cdeed.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox