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/pymol-apbs-plugin/
Date: Sun, 16 Jun 2013 15:53:47 +0000 (UTC)	[thread overview]
Message-ID: <1371394956.9757e5d545af0aa563e1538e1c1ab0f824439adc.jlec@gentoo> (raw)
Message-ID: <20130616155347.Okl-aX61fForMDFXUL7-ZfRmfvbNSLEt2e7h4-UMAGg@z> (raw)

commit:     9757e5d545af0aa563e1538e1c1ab0f824439adc
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 15:02:36 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 15:02:36 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9757e5d5

sci-chemistry/pymol-apbs-plugin: Bump to EAPI=5 and bump to python-r1.eclass

Package-Manager: portage-2.2.0_alpha180

---
 sci-chemistry/pymol-apbs-plugin/ChangeLog          |  6 ++-
 sci-chemistry/pymol-apbs-plugin/metadata.xml       |  8 ++--
 .../pymol-apbs-plugin-9999.ebuild                  | 53 ++++++++--------------
 3 files changed, 28 insertions(+), 39 deletions(-)

diff --git a/sci-chemistry/pymol-apbs-plugin/ChangeLog b/sci-chemistry/pymol-apbs-plugin/ChangeLog
index deaec99..a0ef0cd 100644
--- a/sci-chemistry/pymol-apbs-plugin/ChangeLog
+++ b/sci-chemistry/pymol-apbs-plugin/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-chemistry/pymol-apbs-plugin
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 Jun 2013; Justin Lecher <jlec@gentoo.org> pymol-apbs-plugin-9999.ebuild,
+  metadata.xml:
+  Bump to EAPI=5 and bump to python-r1.eclass
+
   29 Jun 2010; Justin Lecher <jlec@gentoo.org>
   pymol-apbs-plugin-9999.ebuild:
   Python ABI fixes

diff --git a/sci-chemistry/pymol-apbs-plugin/metadata.xml b/sci-chemistry/pymol-apbs-plugin/metadata.xml
index 0fbe927..d410f15 100644
--- a/sci-chemistry/pymol-apbs-plugin/metadata.xml
+++ b/sci-chemistry/pymol-apbs-plugin/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci-chemistry</herd>
-<maintainer>
-  <email>sci@gentoo.org</email>
-</maintainer>
+  <herd>sci-chemistry</herd>
+  <maintainer>
+    <email>sci@gentoo.org</email>
+  </maintainer>
 </pkgmetadata>

diff --git a/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-9999.ebuild b/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-9999.ebuild
index 48a055c..cac6713 100644
--- a/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-9999.ebuild
+++ b/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-9999.ebuild
@@ -1,56 +1,41 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="3"
+EAPI=5
 
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
+PYTHON_COMPAT=( python2_7 )
 
-inherit python subversion
+inherit python-single-r1 subversion
 
 MY_PV="${PV##*_p}"
 
 DESCRIPTION="APBS plugin for pymol"
 HOMEPAGE="http://sourceforge.net/projects/pymolapbsplugin/"
+SRC_URI=""
 ESVN_REPO_URI="https://pymolapbsplugin.svn.sourceforge.net/svnroot/pymolapbsplugin/trunk/"
 
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 LICENSE="pymol"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
-RDEPEND="
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
 	sci-chemistry/apbs
 	sci-chemistry/pdb2pqr
-	!<sci-chemistry/pymol-1.2.2-r1"
+	>sci-chemistry/pymol-1.5"
 DEPEND="${RDEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-
-src_unpack() {
-	subversion_src_unpack
-	python_copy_sources
-}
 
 src_install() {
-	installation() {
-		sed \
-			-e "s:^APBS_BINARY_LOCATION.*:APBS_BINARY_LOCATION = \"${EPREFIX}/usr/bin/apbs\":g" \
-			-e "s:^APBS_PSIZE_LOCATION.*:APBS_PSIZE_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/src/\":g" \
-			-e "s:^APBS_PDB2PQR_LOCATION.*:APBS_PDB2PQR_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/\":g" \
-			-e "s:^TEMPORARY_FILE_DIR.*:TEMPORARY_FILE_DIR = \"./\":g" \
-			-i src/apbsplugin.py
-
-		insinto $(python_get_sitedir)/pmg_tk/startup/
-		newins src/apbsplugin.py apbs_tools.py || die
-	}
-	python_execute_function -s installation
-}
-
-pkg_postinst() {
-	python_mod_optimize pmg_tk/startup/apbs_tools.py
-}
-
-pkg_postrm() {
-	python_mod_cleanup pmg_tk/startup/apbs_tools.py
+	sed \
+		-e "s:^APBS_BINARY_LOCATION.*:APBS_BINARY_LOCATION = \"${EPREFIX}/usr/bin/apbs\":g" \
+		-e "s:^APBS_PSIZE_LOCATION.*:APBS_PSIZE_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/src/\":g" \
+		-e "s:^APBS_PDB2PQR_LOCATION.*:APBS_PDB2PQR_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/\":g" \
+		-e "s:^TEMPORARY_FILE_DIR.*:TEMPORARY_FILE_DIR = \"./\":g" \
+		-i src/apbsplugin.py > apbs_tools.py || die
+	python_moduleinto pmg_tk/startup/
+	python_domodule apbs_tools.py
+	python_optimize
 }


             reply	other threads:[~2013-06-16 15:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-16 15:53 Justin Lecher [this message]
2013-06-16 15:53 ` [gentoo-commits] proj/sci:master commit in: sci-chemistry/pymol-apbs-plugin/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2013-06-16 15:53 Justin Lecher
2013-06-16 15:53 ` [gentoo-commits] proj/sci:fixing " 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=1371394956.9757e5d545af0aa563e1538e1c1ab0f824439adc.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