From: | "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pyclutter-gst: metadata.xml ChangeLog pyclutter-gst-1.0.0.ebuild |
Date: | Fri, 26 Feb 2010 22:56:34 |
Message-Id: | E1Nl96m-0005CJ-On@stork.gentoo.org |
1 | nirbheek 10/02/26 22:56:32 |
2 | |
3 | Added: metadata.xml ChangeLog pyclutter-gst-1.0.0.ebuild |
4 | Log: |
5 | Add initial ebuild for pyclutter-gst, python bindings for clutter-gst |
6 | (Portage version: 2.1.7.17/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-python/pyclutter-gst/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyclutter-gst/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyclutter-gst/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>gnome</herd> |
20 | </pkgmetadata> |
21 | |
22 | |
23 | |
24 | 1.1 dev-python/pyclutter-gst/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyclutter-gst/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyclutter-gst/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for dev-python/pyclutter-gst |
32 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gst/ChangeLog,v 1.1 2010/02/26 22:56:31 nirbheek Exp $ |
34 | |
35 | *pyclutter-gst-1.0.0 (26 Feb 2010) |
36 | |
37 | 26 Feb 2010; Nirbheek Chauhan <nirbheek@g.o> |
38 | +pyclutter-gst-1.0.0.ebuild, +metadata.xml: |
39 | Add initial ebuild for pyclutter-gst, python bindings for clutter-gst |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: pyclutter-gst-1.0.0.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2010 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild,v 1.1 2010/02/26 22:56:31 nirbheek Exp $ |
54 | |
55 | EAPI="2" |
56 | |
57 | inherit python clutter |
58 | |
59 | DESCRIPTION="Python bindings for Clutter" |
60 | |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="examples" |
63 | |
64 | SLOT="1.0" |
65 | RDEPEND=">=dev-lang/python-2.5 |
66 | >=dev-python/pygobject-2.12.1 |
67 | >=dev-python/pyclutter-1.0.0:${SLOT} |
68 | >=media-libs/clutter-1.0.0:${SLOT} |
69 | >=media-libs/clutter-gst-1.0.0:${SLOT} |
70 | |
71 | dev-python/gst-python" |
72 | DEPEND="${RDEPEND}" |
73 | EXAMPLES="examples/*.py" |
74 | DOCS="NEWS AUTHORS README ChangeLog" |
75 | |
76 | src_prepare(){ |
77 | # Don't pre-compile .py |
78 | ln -sf $(type -P true) py-compile |
79 | } |
80 | |
81 | pkg_postinst() { |
82 | python_mod_optimize $(python_get_sitedir)/cluttergst/* |
83 | python_need_rebuild |
84 | } |
85 | |
86 | pkg_postrm() { |
87 | python_mod_cleanup /usr/lib*/python*/site-packages/cluttergst/* |
88 | } |