Gentoo Archives: gentoo-commits

From: Krzysztof Pawlik <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/nelchael:master commit in: dev-python/xlrd/
Date: Tue, 28 Feb 2012 20:52:44
Message-Id: 1330260018.a421c7501d13a012a709cf0af85bda59f3195090.nelchael@gentoo
1 commit: a421c7501d13a012a709cf0af85bda59f3195090
2 Author: Krzysztof Pawlik <none <AT> none>
3 AuthorDate: Sun Feb 26 12:40:18 2012 +0000
4 Commit: Krzysztof Pawlik <nelchael <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 12:40:18 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=commit;h=a421c750
7
8 Add ebuilds testing python-distutils-ng.eclass.
9
10 (Portage version: 2.1.10.49/hg/Linux x86_64, signed Manifest commit with key 0xF6A80E46)
11
12 ---
13 dev-python/xlrd/ChangeLog | 10 +++++
14 dev-python/xlrd/Manifest | 18 ++++++++
15 dev-python/xlrd/metadata.xml | 7 +++
16 dev-python/xlrd/xlrd-0.7.1-r256.ebuild | 70 ++++++++++++++++++++++++++++++++
17 4 files changed, 105 insertions(+), 0 deletions(-)
18
19 diff --git a/dev-python/xlrd/ChangeLog b/dev-python/xlrd/ChangeLog
20 new file mode 100644
21 index 0000000..8fc2164
22 --- /dev/null
23 +++ b/dev-python/xlrd/ChangeLog
24 @@ -0,0 +1,10 @@
25 +# ChangeLog for dev-python/xlrd
26 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: $
28 +
29 +*xlrd-0.7.1-r256 (26 Feb 2012)
30 +
31 + 26 Feb 2012; Krzysztof Pawlik <nelchael@g.o> +xlrd-0.7.1-r256.ebuild,
32 + +metadata.xml:
33 + Add ebuilds testing python-distutils-ng.eclass.
34 +
35
36 diff --git a/dev-python/xlrd/Manifest b/dev-python/xlrd/Manifest
37 new file mode 100644
38 index 0000000..8e51fd2
39 --- /dev/null
40 +++ b/dev-python/xlrd/Manifest
41 @@ -0,0 +1,18 @@
42 +-----BEGIN PGP SIGNED MESSAGE-----
43 +Hash: SHA512
44 +
45 +DIST xlrd-0.7.1.tar.gz 118302 RMD160 1dbbde702c515e5af3257fe403975c13c52632fc SHA1 9d06a1ebbf796530a1abb497f633a796606f4ad1 SHA256 ba11be7d2ebe7eeb208a23cc165bb7540451bcbad6da5cbf6947237568d16d14
46 +EBUILD xlrd-0.7.1-r256.ebuild 1631 RMD160 55dbf21fc3fbfe4c67873d95d84a7e22c2913d62 SHA1 beb0910e8e001637241c97cb90b04bd72a012b43 SHA256 06c6e9496ea03aead5058ec5ed28fadb7dcb28c906bd31a9df744df8ad532190
47 +MISC ChangeLog 295 RMD160 13b211814c5dac3bb1fdfe84e2371ede11005741 SHA1 86bf509a6c806b914db7cb81271cc13d46b04b29 SHA256 61cd34a1c6f3ddb475f93c3eeff972b91c495973c87acfee70bff902847aa25e
48 +MISC metadata.xml 205 RMD160 e987371be157660daac092207f697d0131df2861 SHA1 73785dc8ec827ff32d4388ac9824d4ea5fd349d3 SHA256 01b130f2def7aeb83c9977e02bedc8ba2ca4b3b0d2257a4711795ee50acf81d2
49 +-----BEGIN PGP SIGNATURE-----
50 +Version: GnuPG v2.0.18 (GNU/Linux)
51 +
52 +iQEcBAEBCgAGBQJPSigyAAoJEBZyv1r2qA5GMP0H/RMtxcW3AgfjRW9VoSoWCB8p
53 +/3Ru558OxPMXtO8TUAnwKTtMk+HF835FHN4PhgzGAX5VzePHtpnm2zK6L2j7o6F+
54 +/Kgzwddff8L4xgI3us72m02degiRlLBniPoWg+0pPd7R5AcnR/cE1DEkIEq3AaiA
55 +fVGmJs6kAewFG4b8x6RL3C0kHHktyWEQhZVuIYKA/M33xm9eo7JNpSxUOdJFbv0A
56 +7P1iSbNfouscqoucW2jVQQ72EzZDdiNdB108MoaDLCBilBs0RUX2KnEehWlpruR9
57 +Q0Zs4IhgEqPYg+CB4c0zlJU6Dfw1QTDprHusE8jGJN8ypW1MKSuHnjAV/X+tGqc=
58 +=hIXB
59 +-----END PGP SIGNATURE-----
60
61 diff --git a/dev-python/xlrd/metadata.xml b/dev-python/xlrd/metadata.xml
62 new file mode 100644
63 index 0000000..bc261ed
64 --- /dev/null
65 +++ b/dev-python/xlrd/metadata.xml
66 @@ -0,0 +1,7 @@
67 +<?xml version="1.0" encoding="UTF-8"?>
68 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
69 +<pkgmetadata>
70 + <maintainer>
71 + <email>nelchael@g.o</email>
72 + </maintainer>
73 +</pkgmetadata>
74
75 diff --git a/dev-python/xlrd/xlrd-0.7.1-r256.ebuild b/dev-python/xlrd/xlrd-0.7.1-r256.ebuild
76 new file mode 100644
77 index 0000000..b058ea9
78 --- /dev/null
79 +++ b/dev-python/xlrd/xlrd-0.7.1-r256.ebuild
80 @@ -0,0 +1,70 @@
81 +# Copyright 1999-2012 Gentoo Foundation
82 +# Distributed under the terms of the GNU General Public License v2
83 +# $Header$
84 +
85 +EAPI="4"
86 +
87 +#USE_PYTHON="python25 python26 python27"
88 +PYTHON_OPTIONAL="no"
89 +
90 +inherit python-distutils-ng
91 +
92 +DESCRIPTION="Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
93 +HOMEPAGE="http://pypi.python.org/pypi/xlrd"
94 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
95 +
96 +LICENSE="BSD"
97 +SLOT="0"
98 +KEYWORDS="~amd64 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-interix ~x86-linux ~sparc-solaris ~x86-solaris"
99 +IUSE="examples"
100 +
101 +DEPEND=""
102 +RDEPEND=""
103 +
104 +python_unpack_all() {
105 + : echo " ### python_unpack_all ### (${@}) PYTHON=${PYTHON}"
106 + unpack ${A} # Not needed
107 +}
108 +
109 +python_prepare_all() {
110 + : echo " ### python_prepare_all ### (${@}) PYTHON=${PYTHON}"
111 + sed -i \
112 + -e "s,'doc,# 'doc,g" \
113 + -e "s,'exa,# 'exa,g" \
114 + setup.py || die
115 +}
116 +
117 +python_prepare() {
118 + : echo " ### python_prepare ### (${@}) PYTHON=${PYTHON}"
119 +}
120 +
121 +python_configure() {
122 + : echo " ### python_configure ### (${@}) PYTHON=${PYTHON}"
123 +}
124 +
125 +python_compile() {
126 + : echo " ### python_compile ### (${@}) PYTHON=${PYTHON}"
127 + ${PYTHON} setup.py build || die
128 +}
129 +
130 +python_test() {
131 + : echo " ### python_test ### (${@}) PYTHON=${PYTHON}"
132 +}
133 +
134 +python_install() {
135 + : echo " ### python_install ### (${@}) PYTHON=${PYTHON}"
136 + ${PYTHON} setup.py install --no-compile --root="${D}/" || die
137 +}
138 +
139 +python_install_all() {
140 + : echo " ### python_install_all ### (${@}) PYTHON=${PYTHON}"
141 + rm -f "${D}/usr/bin"/*.py || die
142 +
143 + python-distutils-ng_doscript scripts/runxlrd.py
144 +
145 + dohtml xlrd/doc/*.html
146 + if use examples; then
147 + insinto "/usr/share/doc/${PF}"
148 + doins -r xlrd/examples
149 + fi
150 +}