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: Thu, 20 Sep 2012 12:39:05 +0000 (UTC) [thread overview]
Message-ID: <1348144630.a08f5dea99628341944586f95ad92ed88ba854f8.jlec@gentoo> (raw)
commit: a08f5dea99628341944586f95ad92ed88ba854f8
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 20 12:37:10 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Sep 20 12:37:10 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a08f5dea
new addition
---
sci-chemistry/phenix-bin/ChangeLog | 14 ++++
sci-chemistry/phenix-bin/metadata.xml | 5 +
.../phenix-bin/phenix-bin-1.8.1069.ebuild | 83 ++++++++++++++++++++
3 files changed, 102 insertions(+), 0 deletions(-)
diff --git a/sci-chemistry/phenix-bin/ChangeLog b/sci-chemistry/phenix-bin/ChangeLog
new file mode 100644
index 0000000..a783f12
--- /dev/null
+++ b/sci-chemistry/phenix-bin/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for sci-chemistry/phenix-bin
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 20 Sep 2012; Justin Lecher <jlec@gentoo.org> +phenix-bin-1.8.1069.ebuild,
+ +metadata.xml:
+ New Addition
+
+*phenix-bin-1.8.1069 (20 Sep 2012)
+
+ 20 Sep 2012; Justin Lecher <jlec@gentoo.org> +phenix-bin-1.8.1069.ebuild,
+ +metadata.xml:
+ New Addition
+
diff --git a/sci-chemistry/phenix-bin/metadata.xml b/sci-chemistry/phenix-bin/metadata.xml
new file mode 100644
index 0000000..d369d06
--- /dev/null
+++ b/sci-chemistry/phenix-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-chemistry/phenix-bin/phenix-bin-1.8.1069.ebuild b/sci-chemistry/phenix-bin/phenix-bin-1.8.1069.ebuild
new file mode 100644
index 0000000..897b55b
--- /dev/null
+++ b/sci-chemistry/phenix-bin/phenix-bin-1.8.1069.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+
+inherit python versionator
+
+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-fc15.tar )
+ x86? ( phenix-installer-${MY_PV}-intel-linux-2.6-fc3.tar )
+"
+
+SLOT="0"
+LICENSE="phenix"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+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 downlaod ${A} to ${DISTDIR}"
+}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ ./install --prefix="${S}/foo"
+
+}
+
+src_install() {
+# find -name "*.py[co]" -delete
+# find -name SConstruct -delete
+ sed \
+ -e "s:${S}/foo:${EPREFIX}/opt:g" \
+ -i \
+ build-binary/intel-linux-2.6-*/paul/log/*.log \
+ build-final/intel-linux-2.6-*/paul/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
+# grep ${S} * -R
+ 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"
+ exec phenix
+ EOF
+ dobin phenix
+}
+
+pkg_postinst() {
+ python_mod_optimize "${EPREFIX}/opt/phenix-${MY_PV}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${EPREFIX}/opt/phenix-${MY_PV}"
+}
next reply other threads:[~2012-09-20 12:40 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-20 12:39 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-09-21 6:00 [gentoo-commits] proj/sci:master commit in: sci-chemistry/phenix-bin/ Justin Lecher
2012-09-21 6:00 Justin Lecher
2012-09-21 6:10 Justin Lecher
2012-10-09 14:15 Justin Lecher
2012-11-14 14:41 Justin Lecher
2012-11-14 15:20 Justin Lecher
2013-01-17 7:44 Justin Lecher
2013-03-21 6:54 Justin Lecher
2013-06-04 11:59 Justin Lecher
2013-08-13 22:20 Nicolas Bock
2013-10-09 19:04 Justin Lecher
2014-02-25 12:08 Justin Lecher
2014-05-06 16:44 Justin Lecher
2014-05-13 10:04 Justin Lecher
2014-11-14 11:41 Justin Lecher
2015-06-22 10:58 Justin Lecher
2015-08-03 12:31 Justin Lecher
2015-08-05 13:35 Justin Lecher
2015-09-09 7:11 Justin Lecher
2015-09-09 8:11 Justin Lecher
2017-03-26 14:45 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=1348144630.a08f5dea99628341944586f95ad92ed88ba854f8.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