From: | "Maxim Koltsov (maksbotan)" <maksbotan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/python-nss: ChangeLog python-nss-0.8-r1.ebuild |
Date: | Mon, 31 Oct 2011 20:01:59 |
Message-Id: | 20111031200149.4BC6F2004B@flycatcher.gentoo.org |
1 | maksbotan 11/10/31 20:01:49 |
2 | |
3 | Modified: ChangeLog |
4 | Added: python-nss-0.8-r1.ebuild |
5 | Log: |
6 | Fix docs processing in src_install. Thanks to Arfrever. |
7 | |
8 | (Portage version: 2.1.10.26/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.2 dev-python/python-nss/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-nss/ChangeLog?rev=1.2&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-nss/ChangeLog?rev=1.2&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-nss/ChangeLog?r1=1.1&r2=1.2 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/python-nss/ChangeLog,v |
20 | retrieving revision 1.1 |
21 | retrieving revision 1.2 |
22 | diff -u -r1.1 -r1.2 |
23 | --- ChangeLog 30 Oct 2011 17:00:05 -0000 1.1 |
24 | +++ ChangeLog 31 Oct 2011 20:01:46 -0000 1.2 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/python-nss |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-nss/ChangeLog,v 1.1 2011/10/30 17:00:05 maksbotan Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-nss/ChangeLog,v 1.2 2011/10/31 20:01:46 maksbotan Exp $ |
30 | + |
31 | +*python-nss-0.8-r1 (31 Oct 2011) |
32 | + |
33 | + 31 Oct 2011; Maxim Koltsov <maksbotan@g.o> +python-nss-0.8-r1.ebuild: |
34 | + Fix docs processing in src_install. Thanks to Arfrever. |
35 | |
36 | *python-nss-0.8 (30 Oct 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/python-nss/python-nss-0.8-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-nss/python-nss-0.8-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-nss/python-nss-0.8-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: python-nss-0.8-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/python-nss/python-nss-0.8-r1.ebuild,v 1.1 2011/10/31 20:01:46 maksbotan Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="3.*" |
56 | |
57 | inherit distutils eutils |
58 | |
59 | DESCRIPTION="Python bindings for Network Security Services (NSS)" |
60 | HOMEPAGE="http://people.redhat.com/jdennis/python-nss/doc/api/html" |
61 | SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.lzma" |
62 | |
63 | LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2 )" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="doc" |
67 | |
68 | DEPEND="dev-libs/nss |
69 | dev-libs/nspr |
70 | doc? ( dev-python/docutils |
71 | dev-python/epydoc )" |
72 | |
73 | RDEPEND="${DEPEND}" |
74 | |
75 | DOCS="README doc/ChangeLog" |
76 | |
77 | src_prepare() { |
78 | epatch "${FILESDIR}"/*.patch |
79 | } |
80 | |
81 | src_install() { |
82 | distutils_src_install |
83 | |
84 | if use doc; then |
85 | einfo "Generating API documentation..." |
86 | |
87 | mkdir "${S}"/doc/html |
88 | PYTHONPATH="${ED}$(python_get_sitedir -f)" epydoc --html --docformat restructuredtext \ |
89 | -o "${S}"/doc/html \ |
90 | "$(ls -d build-$(PYTHON -f --ABI)/lib.*)/nss" |
91 | |
92 | dohtml -r "${S}"/doc/html/ |
93 | insinto /usr/share/doc/"${PF}" |
94 | doins -r ./test |
95 | insinto /usr/share/doc/"${PF}"/examples |
96 | doins doc/examples/*.py |
97 | fi |
98 | } |