summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-31 10:57:35 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-31 10:57:35 +0000
commitc1fe9f331ea121f1ee7d435dd44cbb7588d10681 (patch)
tree68beed84de6ac02cca409737017fe5d86721580f /sci-biology/vienna-rna
parentNeeds python:2.7, bug #454754 (diff)
downloadgentoo-2-c1fe9f331ea121f1ee7d435dd44cbb7588d10681.tar.gz
gentoo-2-c1fe9f331ea121f1ee7d435dd44cbb7588d10681.tar.bz2
gentoo-2-c1fe9f331ea121f1ee7d435dd44cbb7588d10681.zip
sci-biology/vienna-rna: Only call distutils phase functions with USE=python, #422899
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-biology/vienna-rna')
-rw-r--r--sci-biology/vienna-rna/ChangeLog8
-rw-r--r--sci-biology/vienna-rna/metadata.xml4
-rw-r--r--sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild12
3 files changed, 18 insertions, 6 deletions
diff --git a/sci-biology/vienna-rna/ChangeLog b/sci-biology/vienna-rna/ChangeLog
index 70f828adeae7..db40e35eadfb 100644
--- a/sci-biology/vienna-rna/ChangeLog
+++ b/sci-biology/vienna-rna/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/vienna-rna
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.45 2012/07/10 18:58:02 jlec Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.46 2013/01/31 10:57:35 jlec Exp $
+
+ 31 Jan 2013; Justin Lecher <jlec@gentoo.org> vienna-rna-1.8.5.ebuild,
+ metadata.xml:
+ Only call distutils phase functions with USE=python, #422899
10 Jul 2012; Justin Lecher <jlec@gentoo.org> -vienna-rna-1.8.4-r1.ebuild,
-vienna-rna-1.8.4-r2.ebuild, metadata.xml:
diff --git a/sci-biology/vienna-rna/metadata.xml b/sci-biology/vienna-rna/metadata.xml
index a7da09cf6677..50f4e02d4a18 100644
--- a/sci-biology/vienna-rna/metadata.xml
+++ b/sci-biology/vienna-rna/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-biology</herd>
- <longdescription>
+ <herd>sci-biology</herd>
+ <longdescription>
The Vienna RNA Package consists of a C code library and several
stand-alone programs for the prediction and comparison of RNA secondary
structures. RNA secondary structure prediction through energy
diff --git a/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild b/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild
index b0e42ed8afe7..9880856273ca 100644
--- a/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild
+++ b/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild,v 1.9 2012/07/10 18:02:37 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild,v 1.10 2013/01/31 10:57:35 jlec Exp $
EAPI="3"
@@ -95,3 +95,11 @@ src_install() {
fixlocalpod || die "Failed to remove perlocal.pod"
use python && distutils_src_install
}
+
+pkg_postinst() {
+ use python && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use python && distutils_pkg_postrm
+}