summaryrefslogtreecommitdiff
blob: 6c0a964ddd97e540e5b14ee9b6fb5e3b7b8128c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/postr/postr-0.12.4.ebuild,v 1.1 2012/05/14 04:19:43 tetromino Exp $

EAPI="4"

GCONF_DEBUG="no"
GNOME_TARBALL_SUFFIX="bz2"

PYTHON_COMPAT="python2_6 python2_7"

inherit gnome2 python-distutils-ng

DESCRIPTION="Flickr uploader for GNOME"
HOMEPAGE="http://projects.gnome.org/postr/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-python/bsddb3
	dev-python/gconf-python
	dev-python/pygobject:2
	dev-python/pygtk:2
	dev-python/twisted
	dev-python/twisted-web"
DEPEND=""

python_prepare_all() {
	# FIXME: nautilus extension is nautilus-2-only; is it worth enabling for
	# legacy users?
	sed -e '/nautilus\/extensions/ d' -i setup.py || die
}

python_install_all() {
	python-distutils-ng_redoscript "/usr/bin/postr"
}