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.2.ebuild
Date: Mon, 21 Feb 2011 12:58:08
Message-Id: 20110221125758.963DA20054@flycatcher.gentoo.org
1 arfrever 11/02/21 12:57:58
2
3 Modified: ChangeLog
4 Added: python-docs-3.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha24_p17/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.157 dev-python/python-docs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.157&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.157&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/ChangeLog?r1=1.156&r2=1.157
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v
20 retrieving revision 1.156
21 retrieving revision 1.157
22 diff -u -r1.156 -r1.157
23 --- ChangeLog 20 Feb 2011 16:36:46 -0000 1.156
24 +++ ChangeLog 21 Feb 2011 12:57:58 -0000 1.157
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-python/python-docs
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v 1.156 2011/02/20 16:36:46 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v 1.157 2011/02/21 12:57:58 arfrever Exp $
30 +
31 +*python-docs-3.2 (21 Feb 2011)
32 +
33 + 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -python-docs-2.6.4.ebuild, -python-docs-2.6.5.ebuild,
35 + -python-docs-3.1.2.ebuild, +python-docs-3.2.ebuild:
36 + Version bump.
37
38 20 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
39 python-docs-2.6.6.ebuild, python-docs-2.7.1.ebuild, python-docs-3.1.3.ebuild:
40
41
42
43 1.1 dev-python/python-docs/python-docs-3.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/python-docs-3.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/python-docs-3.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: python-docs-3.2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.2.ebuild,v 1.1 2011/02/21 12:57:58 arfrever Exp $
53
54 EAPI="3"
55
56 DESCRIPTION="HTML documentation for Python"
57 HOMEPAGE="http://www.python.org/doc/"
58 SRC_URI="http://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
59
60 LICENSE="PSF-2.2"
61 SLOT="3.2"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
63 IUSE=""
64
65 DEPEND=""
66 RDEPEND=""
67
68 S="${WORKDIR}/python-${PV}-docs-html"
69
70 pkg_setup() {
71 if has_version "=dev-lang/python-3.2_pre*[doc]"; then
72 rm -f "${EROOT}etc/env.d/60python-docs-3.2"
73 fi
74 }
75
76 src_install() {
77 docinto html
78 cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html"
79
80 echo "PYTHONDOCS_${SLOT//./_}=\"${EPREFIX}/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}"
81 doenvd "60python-docs-${SLOT}"
82 }
83
84 pkg_postrm() {
85 if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
86 rm -f "${EROOT}etc/env.d/65python-docs"
87 fi
88 }