From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/http-parser: metadata.xml ChangeLog http-parser-0.7.5.ebuild |
Date: | Thu, 07 Jun 2012 18:09:47 |
Message-Id: | 20120607180936.239DB2004B@flycatcher.gentoo.org |
1 | xarthisius 12/06/07 18:09:36 |
2 | |
3 | Added: metadata.xml ChangeLog http-parser-0.7.5.ebuild |
4 | Log: |
5 | Initial import. Ebuild written by Ian Delaney <johneed@×××××××.com>. Fixes bug 416879 |
6 | |
7 | (Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/http-parser/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/http-parser/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/http-parser/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>python</herd> |
21 | <upstream> |
22 | <remote-id type="pypi">http-parser</remote-id> |
23 | </upstream> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 dev-python/http-parser/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/http-parser/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/http-parser/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for dev-python/http-parser |
36 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/ChangeLog,v 1.1 2012/06/07 18:09:36 xarthisius Exp $ |
38 | |
39 | *http-parser-0.7.5 (07 Jun 2012) |
40 | |
41 | 07 Jun 2012; Kacper Kowalik <xarthisius@g.o> |
42 | +http-parser-0.7.5.ebuild, +metadata.xml: |
43 | Initial import. Ebuild written by Ian Delaney <johneed@×××××××.com>. Fixes |
44 | bug 416879 |
45 | |
46 | |
47 | |
48 | |
49 | 1.1 dev-python/http-parser/http-parser-0.7.5.ebuild |
50 | |
51 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/http-parser/http-parser-0.7.5.ebuild?rev=1.1&view=markup |
52 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/http-parser/http-parser-0.7.5.ebuild?rev=1.1&content-type=text/plain |
53 | |
54 | Index: http-parser-0.7.5.ebuild |
55 | =================================================================== |
56 | # Copyright 1999-2012 Gentoo Foundation |
57 | # Distributed under the terms of the GNU General Public License v2 |
58 | # $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.7.5.ebuild,v 1.1 2012/06/07 18:09:36 xarthisius Exp $ |
59 | |
60 | EAPI=4 |
61 | |
62 | SUPPORT_PYTHON_ABIS=1 |
63 | RESTRICT_PYTHON_ABIS="*-jython" |
64 | |
65 | inherit distutils |
66 | |
67 | DESCRIPTION="HTTP request/response parser for python in C" |
68 | HOMEPAGE="http://github.com/benoitc/http-parser" |
69 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
70 | |
71 | LICENSE="MIT" |
72 | SLOT="0" |
73 | KEYWORDS="~amd64 ~x86" |
74 | IUSE="examples" |
75 | |
76 | RDEPEND="" |
77 | DEPEND="${RDEPEND} |
78 | dev-python/setuptools |
79 | dev-python/cython" |
80 | |
81 | PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") |
82 | |
83 | src_install() { |
84 | distutils_src_install |
85 | if use examples; then |
86 | docompress -x usr/share/doc/${P}/examples |
87 | insinto usr/share/doc/${P} |
88 | doins -r examples/ |
89 | fi |
90 | } |