summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2012-07-13 13:56:14 +0000
committerJeremy Olexa <darkside@gentoo.org>2012-07-13 13:56:14 +0000
commit10dacce243d51549a063500bbdca5950e2218d71 (patch)
treee12758b65d349220520d98e6fb3074cd88fcc931 /net-libs/ldns
parentKeyword ~arm ~ppc ~ppc64 (diff)
downloadgentoo-2-10dacce243d51549a063500bbdca5950e2218d71.tar.gz
gentoo-2-10dacce243d51549a063500bbdca5950e2218d71.tar.bz2
gentoo-2-10dacce243d51549a063500bbdca5950e2218d71.zip
Revbump to byte-compile the installed python, bug 426448 by Samuli Suominen
(Portage version: 2.1.10.65/cvs/Linux i686)
Diffstat (limited to 'net-libs/ldns')
-rw-r--r--net-libs/ldns/ChangeLog8
-rw-r--r--net-libs/ldns/ldns-1.6.13-r1.ebuild (renamed from net-libs/ldns/ldns-1.6.13.ebuild)10
2 files changed, 16 insertions, 2 deletions
diff --git a/net-libs/ldns/ChangeLog b/net-libs/ldns/ChangeLog
index d32b01bd3a5d..dd6157ed4546 100644
--- a/net-libs/ldns/ChangeLog
+++ b/net-libs/ldns/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/ldns
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.29 2012/07/13 13:30:26 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.30 2012/07/13 13:56:14 darkside Exp $
+
+*ldns-1.6.13-r1 (13 Jul 2012)
+
+ 13 Jul 2012; Jeremy Olexa <darkside@gentoo.org> -ldns-1.6.13.ebuild,
+ +ldns-1.6.13-r1.ebuild:
+ Revbump to byte-compile the installed python, bug 426448 by Samuli Suominen
13 Jul 2012; Jeremy Olexa <darkside@gentoo.org> ldns-1.6.13.ebuild:
Enable USE=ecdsa by default for better net-dns/unbound experience
diff --git a/net-libs/ldns/ldns-1.6.13.ebuild b/net-libs/ldns/ldns-1.6.13-r1.ebuild
index a99e2b4a0b63..67f42fdaf748 100644
--- a/net-libs/ldns/ldns-1.6.13.ebuild
+++ b/net-libs/ldns/ldns-1.6.13-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ldns-1.6.13.ebuild,v 1.2 2012/07/13 13:30:26 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ldns-1.6.13-r1.ebuild,v 1.1 2012/07/13 13:56:14 darkside Exp $
EAPI="4"
PYTHON_DEPEND="python? 2:2.5"
@@ -87,3 +87,11 @@ src_install() {
elog "Install net-dns/ldns-utils if you want drill and examples"
einfo
}
+
+pkg_postinst() {
+ use python && python_mod_optimize ldns.py ldnsx.py
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup ldns.py ldnsx.py
+}