diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-02-18 07:31:24 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-02-18 07:31:24 +0000 |
commit | b424f19126e901495e2a140d3abd363e72e4b5ae (patch) | |
tree | fe7e7350acaf607d3ce86edf04fa8b9ad419d531 /dev-python | |
parent | Remove broken version (#353582) (diff) | |
download | gentoo-2-b424f19126e901495e2a140d3abd363e72e4b5ae.tar.gz gentoo-2-b424f19126e901495e2a140d3abd363e72e4b5ae.tar.bz2 gentoo-2-b424f19126e901495e2a140d3abd363e72e4b5ae.zip |
Fix bug 345513
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyclutter-gst/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pyclutter-gst/pyclutter-gst-1.0.0-r1.ebuild | 45 |
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-python/pyclutter-gst/ChangeLog b/dev-python/pyclutter-gst/ChangeLog index d108ea17d23e..f60d15a7d8d8 100644 --- a/dev-python/pyclutter-gst/ChangeLog +++ b/dev-python/pyclutter-gst/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyclutter-gst -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gst/ChangeLog,v 1.1 2010/02/26 22:56:31 nirbheek Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gst/ChangeLog,v 1.2 2011/02/18 07:31:24 nirbheek Exp $ + +*pyclutter-gst-1.0.0-r1 (18 Feb 2011) + + 18 Feb 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + +pyclutter-gst-1.0.0-r1.ebuild: + Fix bug 345513 *pyclutter-gst-1.0.0 (26 Feb 2010) diff --git a/dev-python/pyclutter-gst/pyclutter-gst-1.0.0-r1.ebuild b/dev-python/pyclutter-gst/pyclutter-gst-1.0.0-r1.ebuild new file mode 100644 index 000000000000..4040767ca294 --- /dev/null +++ b/dev-python/pyclutter-gst/pyclutter-gst-1.0.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gst/pyclutter-gst-1.0.0-r1.ebuild,v 1.1 2011/02/18 07:31:24 nirbheek Exp $ + +EAPI="2" +PYTHON_DEPEND="2:2.6" + +inherit python clutter + +DESCRIPTION="Python bindings for Clutter" + +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +SLOT="1.0" +RDEPEND=" + >=dev-python/pygobject-2.12.1 + >=dev-python/pyclutter-1.0.0:${SLOT} + >=media-libs/clutter-1.0.0:${SLOT} + >=media-libs/clutter-gst-1.0.0:${SLOT} + + dev-python/gst-python" +DEPEND="${RDEPEND}" +EXAMPLES="examples/*.py" +DOCS="NEWS AUTHORS README ChangeLog" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare(){ + # Don't pre-compile .py + ln -sf $(type -P true) py-compile + python_convert_shebangs --recursive 2 examples + default_src_prepare +} + +pkg_postinst() { + python_mod_optimize $(python_get_sitedir)/cluttergst + python_need_rebuild +} + +pkg_postrm() { + python_mod_cleanup /usr/lib*/python*/site-packages/cluttergst +} |