public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/cryptlib: cryptlib-3.4.0.ebuild
@ 2011-04-12 18:05 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2011-04-12 18:05 UTC (permalink / raw
  To: gentoo-commits

arfrever    11/04/12 18:05:58

  Modified:             cryptlib-3.4.0.ebuild
  Log:
  Call Python-related functions only with USE="python".
  
  (Portage version: 2.2.0_alpha29_p17/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  dev-libs/cryptlib/cryptlib-3.4.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cryptlib/cryptlib-3.4.0.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cryptlib/cryptlib-3.4.0.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cryptlib/cryptlib-3.4.0.ebuild?r1=1.4&r2=1.5

Index: cryptlib-3.4.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.4.0.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cryptlib-3.4.0.ebuild	26 Feb 2011 10:32:38 -0000	1.4
+++ cryptlib-3.4.0.ebuild	12 Apr 2011 18:05:58 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.4.0.ebuild,v 1.4 2011/02/26 10:32:38 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.4.0.ebuild,v 1.5 2011/04/12 18:05:58 arfrever Exp $
 
 EAPI="3"
 PYTHON_DEPEND="python? 2"
@@ -33,6 +33,12 @@
 
 DISTUTILS_SETUP_FILES=("bindings/setup.py")
 
+pkg_setup() {
+	if use python; then
+		python_pkg_setup
+	fi
+}
+
 src_unpack() {
 	# we need the -a option, so we can not use 'unpack'
 	unzip -qoa "${DISTDIR}/cl${MY_PV}.zip"
@@ -126,3 +132,15 @@
 		newdoc "${DOC_PREFIX}-manual.pdf" "manual.pdf" || die
 	fi
 }
+
+pkg_postinst() {
+	if use python; then
+		distutils_pkg_postinst
+	fi
+}
+
+pkg_postrm() {
+	if use python; then
+		distutils_pkg_postrm
+	fi
+}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-12 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12 18:05 [gentoo-commits] gentoo-x86 commit in dev-libs/cryptlib: cryptlib-3.4.0.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox