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-2.6.4.ebuild |
Date: | Fri, 30 Oct 2009 20:38:11 |
Message-Id: | E1N3yEa-0007RV-Pt@stork.gentoo.org |
1 | arfrever 09/10/30 20:38:08 |
2 | |
3 | Modified: ChangeLog |
4 | Added: python-docs-2.6.4.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 14746-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.134 dev-python/python-docs/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.134&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/ChangeLog?rev=1.134&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/ChangeLog?r1=1.133&r2=1.134 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v |
19 | retrieving revision 1.133 |
20 | retrieving revision 1.134 |
21 | diff -u -r1.133 -r1.134 |
22 | --- ChangeLog 19 Oct 2009 16:01:24 -0000 1.133 |
23 | +++ ChangeLog 30 Oct 2009 20:38:08 -0000 1.134 |
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.133 2009/10/19 16:01:24 armin76 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/ChangeLog,v 1.134 2009/10/30 20:38:08 arfrever Exp $ |
29 | + |
30 | +*python-docs-2.6.4 (30 Oct 2009) |
31 | + |
32 | + 30 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +python-docs-2.6.4.ebuild: |
34 | + Version bump. |
35 | |
36 | 19 Oct 2009; Raúl Porcel <armin76@g.o> |
37 | python-docs-2.6.2-r1.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/python-docs/python-docs-2.6.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: python-docs-2.6.4.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-2.6.4.ebuild,v 1.1 2009/10/30 20:38:08 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="2.6" |
58 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
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 | [[ -z "${ED}" ]] && local ED="${D}" |
68 | docinto html |
69 | cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" |
70 | |
71 | echo "PYTHONDOCS_${SLOT//./_}=\"${EPREFIX}/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}" |
72 | doenvd "60python-docs-${SLOT}" |
73 | } |
74 | |
75 | eselect_python_update() { |
76 | local ignored_python_slots_options |
77 | [[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots_options="--ignore 3.0 --ignore 3.1 --ignore 3.2" |
78 | |
79 | # Create python2 symlink. |
80 | eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null |
81 | |
82 | eselect python update ${ignored_python_slots_options} |
83 | } |
84 | |
85 | pkg_postinst() { |
86 | eselect_python_update |
87 | } |
88 | |
89 | pkg_postrm() { |
90 | [[ -z "${EROOT}" ]] && local EROOT="${ROOT}" |
91 | eselect_python_update |
92 | |
93 | if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then |
94 | rm -f "${EROOT}etc/env.d/65python-docs" |
95 | fi |
96 | |
97 | rm -f "${EROOT}etc/env.d/50python-docs" |
98 | } |