From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2C21A1381F3 for ; Wed, 9 Oct 2013 19:04:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED781E09F4; Wed, 9 Oct 2013 19:04:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 735CAE09F4 for ; Wed, 9 Oct 2013 19:04:21 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6908633ED70 for ; Wed, 9 Oct 2013 19:04:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 18279E5460 for ; Wed, 9 Oct 2013 19:04:19 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1381345433.f545687227b7dc9d1b7eda422f53e4c401035537.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/phenix-bin/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/phenix-bin/ChangeLog sci-chemistry/phenix-bin/phenix-bin-1.8.4.1496.ebuild X-VCS-Directories: sci-chemistry/phenix-bin/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: f545687227b7dc9d1b7eda422f53e4c401035537 X-VCS-Branch: master Date: Wed, 9 Oct 2013 19:04:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7d889e71-af7d-47ff-ab6c-e0b02278e0c2 X-Archives-Hash: 46b98d0bfdc206c03d13cc0e7de565f9 commit: f545687227b7dc9d1b7eda422f53e4c401035537 Author: Justin Lecher gentoo org> AuthorDate: Wed Oct 9 19:03:53 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Oct 9 19:03:53 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f5456872 sci-chemistry/phenix-bin: Version Bump Package-Manager: portage-2.2.7 --- sci-chemistry/phenix-bin/ChangeLog | 5 + .../phenix-bin/phenix-bin-1.8.4.1496.ebuild | 110 +++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/sci-chemistry/phenix-bin/ChangeLog b/sci-chemistry/phenix-bin/ChangeLog index 34b5627..c094264 100644 --- a/sci-chemistry/phenix-bin/ChangeLog +++ b/sci-chemistry/phenix-bin/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*phenix-bin-1.8.4.1496 (09 Oct 2013) + + 09 Oct 2013; Justin Lecher +phenix-bin-1.8.4.1496.ebuild: + Version Bump + 13 Aug 2013; Justin Lecher phenix-bin-1.8.2.1309.ebuild: Move jpeg to virtual diff --git a/sci-chemistry/phenix-bin/phenix-bin-1.8.4.1496.ebuild b/sci-chemistry/phenix-bin/phenix-bin-1.8.4.1496.ebuild new file mode 100644 index 0000000..fa9c3fb --- /dev/null +++ b/sci-chemistry/phenix-bin/phenix-bin-1.8.4.1496.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit python-single-r1 versionator + +MY_PV="$(replace_version_separator 3 -)" +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 ) + x86? ( phenix-installer-${MY_PV}-intel-linux-2.6-fc3.tar ) +" + +SLOT="0" +LICENSE="phenix" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-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 + 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" + exec phenix + EOF + dobin phenix + + python_fix_shebang "${ED}"/opt + python_optimize "${ED}"/opt +}