Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-docs: ChangeLog python-docs-3.1.ebuild
Date: Sat, 01 Aug 2009 21:45:28
Message-Id: E1MXMOM-0002KY-6J@stork.gentoo.org
1 arfrever 09/08/01 21:45:26
2
3 Modified: ChangeLog
4 Added: python-docs-3.1.ebuild
5 Log:
6 Version bump (bug #250186).
7 (Portage version: 13870-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.121 dev-python/python-docs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.121&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.121&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/ChangeLog?r1=1.120&r2=1.121
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v
19 retrieving revision 1.120
20 retrieving revision 1.121
21 diff -u -r1.120 -r1.121
22 --- ChangeLog 30 Jul 2009 23:25:45 -0000 1.120
23 +++ ChangeLog 1 Aug 2009 21:45:26 -0000 1.121
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/python-docs
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v 1.120 2009/07/30 23:25:45 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v 1.121 2009/08/01 21:45:26 arfrever Exp $
29 +
30 +*python-docs-3.1 (01 Aug 2009)
31 +
32 + 01 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +python-docs-3.1.ebuild:
34 + Version bump (bug #250186).
35
36 30 Jul 2009; Jeremy Olexa <darkside@g.o>
37 python-docs-2.6.2-r1.ebuild:
38
39
40
41 1.1 dev-python/python-docs/python-docs-3.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: python-docs-3.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.1.ebuild,v 1.1 2009/08/01 21:45:26 arfrever Exp $
51
52 DESCRIPTION="HTML documentation for Python"
53 HOMEPAGE="http://www.python.org/doc/"
54 SRC_URI="http://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
55
56 LICENSE="PSF-2.2"
57 SLOT="3.1"
58 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
59 IUSE=""
60
61 DEPEND=">=app-admin/eselect-python-20090606"
62 RDEPEND="${DEPEND}"
63
64 S="${WORKDIR}/python-${PV}-docs-html"
65
66 src_install() {
67 docinto html
68 cp -R [a-z]* _static "${D}/usr/share/doc/${PF}/html"
69
70 echo "PYTHONDOCS_${SLOT//./_}=\"/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}"
71 doenvd "60python-docs-${SLOT}"
72 }
73
74 pkg_postinst() {
75 :
76 # eselect python update --ignore 3.0 --ignore 3.1
77 }
78
79 pkg_postrm() {
80 # eselect python update --ignore 3.0 --ignore 3.1
81
82 if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
83 rm -f "${ROOT}etc/env.d/65python-docs"
84 fi
85 }