From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/python-docs: python-docs-3.3.0.ebuild ChangeLog |
Date: | Sat, 29 Sep 2012 18:23:13 |
Message-Id: | 20120929182303.0163121600@flycatcher.gentoo.org |
1 | floppym 12/09/29 18:23:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: python-docs-3.3.0.ebuild |
5 | Log: |
6 | Bump for python-3.3.0. Thanks to Arfrever. |
7 | |
8 | (Portage version: 2.2.0_alpha134/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.166 dev-python/python-docs/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.166&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.166&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/ChangeLog?r1=1.165&r2=1.166 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v |
20 | retrieving revision 1.165 |
21 | retrieving revision 1.166 |
22 | diff -u -r1.165 -r1.166 |
23 | --- ChangeLog 29 Sep 2012 18:13:10 -0000 1.165 |
24 | +++ ChangeLog 29 Sep 2012 18:23:02 -0000 1.166 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/python-docs |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v 1.165 2012/09/29 18:13:10 floppym Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v 1.166 2012/09/29 18:23:02 floppym Exp $ |
30 | + |
31 | +*python-docs-3.3.0 (29 Sep 2012) |
32 | + |
33 | + 29 Sep 2012; Mike Gilbert <floppym@g.o> +python-docs-3.3.0.ebuild: |
34 | + Bump for python-3.3.0. Thanks to Arfrever. |
35 | |
36 | *python-docs-3.1.5 (29 Sep 2012) |
37 | *python-docs-3.2.3 (29 Sep 2012) |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/python-docs/python-docs-3.3.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/python-docs-3.3.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-docs/python-docs-3.3.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: python-docs-3.3.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 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.3.0.ebuild,v 1.1 2012/09/29 18:23:02 floppym Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | DESCRIPTION="HTML documentation for Python" |
55 | HOMEPAGE="http://www.python.org/doc/" |
56 | SRC_URI="http://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2" |
57 | |
58 | LICENSE="PSF-2" |
59 | SLOT="3.3" |
60 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
61 | IUSE="" |
62 | |
63 | DEPEND="" |
64 | RDEPEND="" |
65 | |
66 | S="${WORKDIR}/python-${PV}-docs-html" |
67 | |
68 | pkg_setup() { |
69 | # Compatibility with Arfrever's pre-release ebuilds. |
70 | # Remove this in python-docs-3.3.0. |
71 | if has_version "=dev-lang/python-3.3_pre*[doc]"; then |
72 | rm -f "${EROOT}etc/env.d/60python-docs-3.3" |
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 | } |