Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/ultrabug:master commit in: dev-python/uasparser/
Date: Fri, 23 Dec 2011 15:01:29
Message-Id: 4b1e37692c05f2c697da3df263735d6e4a54e179.ultrabug@gentoo
1 commit: 4b1e37692c05f2c697da3df263735d6e4a54e179
2 Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 23 15:01:11 2011 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 23 15:01:11 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=commit;h=4b1e3769
7
8 uasparser for python ebuild
9
10 ---
11 dev-python/uasparser/Manifest | 2 +
12 dev-python/uasparser/uasparser-999.ebuild | 33 +++++++++++++++++++++++++++++
13 2 files changed, 35 insertions(+), 0 deletions(-)
14
15 diff --git a/dev-python/uasparser/Manifest b/dev-python/uasparser/Manifest
16 new file mode 100644
17 index 0000000..13a6a14
18 --- /dev/null
19 +++ b/dev-python/uasparser/Manifest
20 @@ -0,0 +1,2 @@
21 +DIST uasparser.py.zip 3326 RMD160 62dc3b9b1b51f350d6b74f13f0f9f7493768900a SHA1 afb2680c186d8cd684ad81cd8489ae3204a483b3 SHA256 7cedcefa586095494a3f217a744c40d4c44c21b824bf67d4a271eddef2739b70
22 +EBUILD uasparser-999.ebuild 551 RMD160 f338f0efc2f3c86ecd0b300e55e7c451cea20d0f SHA1 8a38639224d673422fe0393cea1bd7925fcd4847 SHA256 ed65953dbc2e769f13b4c21408841ac395adab62fc858ff747aa085652a3298d
23
24 diff --git a/dev-python/uasparser/uasparser-999.ebuild b/dev-python/uasparser/uasparser-999.ebuild
25 new file mode 100644
26 index 0000000..2965d88
27 --- /dev/null
28 +++ b/dev-python/uasparser/uasparser-999.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2011 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Header: $
33 +
34 +EAPI=3
35 +
36 +PYTHON_DEPEND="2"
37 +
38 +inherit python
39 +
40 +DESCRIPTION="Python User Agent parser library"
41 +HOMEPAGE="http://user-agent-string.info"
42 +SRC_URI="http://user-agent-string.info/ua_rep/${PN}.py.zip"
43 +
44 +LICENSE="GPL-1"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE=""
48 +
49 +RDEPEND=""
50 +DEPEND="${RDEPEND}"
51 +
52 +S="${WORKDIR}/"
53 +
54 +pkg_setup() {
55 + python_set_active_version 2
56 + python_pkg_setup
57 +}
58 +
59 +src_install() {
60 + insinto "$(python_get_sitedir)"
61 + doins *.py
62 +}
63 \ No newline at end of file