summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2007-01-16 22:33:05 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2007-01-16 22:33:05 +0000
commit37507c422f6a10f4dd09074a5675535c6821c98f (patch)
treed792e0a8a734a58f48590564595d50528dc37b52
parentFix keywording. (diff)
downloadgentoo-2-37507c422f6a10f4dd09074a5675535c6821c98f.tar.gz
gentoo-2-37507c422f6a10f4dd09074a5675535c6821c98f.tar.bz2
gentoo-2-37507c422f6a10f4dd09074a5675535c6821c98f.zip
Make it install more recent docs. Bug #106708
(Portage version: 2.1.2)
-rw-r--r--dev-python/pygtk/ChangeLog5
-rw-r--r--dev-python/pygtk/files/digest-pygtk-2.10.36
-rw-r--r--dev-python/pygtk/pygtk-2.10.3.ebuild12
3 files changed, 13 insertions, 10 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog
index 49f859c75f8c..6ea7f926ad60 100644
--- a/dev-python/pygtk/ChangeLog
+++ b/dev-python/pygtk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pygtk
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.141 2007/01/14 02:25:28 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.142 2007/01/16 22:33:05 dang Exp $
+
+ 16 Jan 2007; Daniel Gryniewicz <dang@gentoo.org> pygtk-2.10.3.ebuild:
+ Make it install more recent docs. Bug #106708
14 Jan 2007; Bryan Østergaard <kloeri@gentoo.org> pygtk-2.10.3.ebuild:
Stable on Alpha.
diff --git a/dev-python/pygtk/files/digest-pygtk-2.10.3 b/dev-python/pygtk/files/digest-pygtk-2.10.3
index 85e4928c3d62..7de1515c8357 100644
--- a/dev-python/pygtk/files/digest-pygtk-2.10.3
+++ b/dev-python/pygtk/files/digest-pygtk-2.10.3
@@ -1,6 +1,6 @@
MD5 57cd2b7e6e383b58ce145199d03e40b7 pygtk-2.10.3.tar.bz2 1977441
RMD160 4e10583da73f4c135c86788e2af7ef11d3c57dd2 pygtk-2.10.3.tar.bz2 1977441
SHA256 03a605f106e30bea448b04007635a21140eeaba4c8844188d661c3b133cbee89 pygtk-2.10.3.tar.bz2 1977441
-MD5 b7c7f1aaaf24165d4cb2a5f4e2225d34 pygtk2reference.tbz2 604463
-RMD160 3d4d9c5d5616dc6876c3c01fafaeadc1d96ccade pygtk2reference.tbz2 604463
-SHA256 4f19595f2ecac6a7265e4f130efe7e4c8543afc6ad16429db0411be6e841849b pygtk2reference.tbz2 604463
+MD5 ad0624dd26a19fbb9286c1c7711a60bc pygtk2reference-2.9.0.tar.bz2 759824
+RMD160 966cae10fa93b512f565aa0d552a8c83fe5de53f pygtk2reference-2.9.0.tar.bz2 759824
+SHA256 a01cf19a26aca49b2522f6c987cb48bcc9a2a393b4383709707acd5a994e00fd pygtk2reference-2.9.0.tar.bz2 759824
diff --git a/dev-python/pygtk/pygtk-2.10.3.ebuild b/dev-python/pygtk/pygtk-2.10.3.ebuild
index 4ac7975aa49d..edaef2eb913c 100644
--- a/dev-python/pygtk/pygtk-2.10.3.ebuild
+++ b/dev-python/pygtk/pygtk-2.10.3.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.3.ebuild,v 1.9 2007/01/14 02:25:28 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.3.ebuild,v 1.10 2007/01/16 22:33:05 dang Exp $
inherit gnome.org python flag-o-matic
DESCRIPTION="GTK+2 bindings for Python"
HOMEPAGE="http://www.pygtk.org/"
+
+DOC_FILE="pygtk2reference-2.9.0.tar.bz2"
SRC_URI="${SRC_URI}
- doc? ( http://www.pygtk.org/dist/pygtk2reference.tbz2 )"
+ doc? ( mirror://gnome/sources/pygtk2reference/2.9/${DOC_FILE} )"
LICENSE="LGPL-2.1"
SLOT="2"
@@ -35,7 +37,7 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
if use doc; then
- unpack pygtk2reference.tbz2
+ unpack ${DOC_FILE}
fi
# disable pyc compiling
@@ -57,9 +59,7 @@ src_install() {
cp -r examples ${D}/usr/share/doc/${PF}/
if use doc; then
- cd "${S}"/../
- dodir /usr/share/gtk-doc/html
- cp -pPR pygtk2reference ${D}/usr/share/gtk-doc/html/
+ cp -r ${WORKDIR}/pygtk2reference/{cursors,icons,images} ${D}/usr/share/gtk-doc/html/pygtk/
fi
}