summaryrefslogtreecommitdiff
blob: afbd5d5eb12d86db0c2f31acce7407a2ae913445 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3
PYTHON_DEPEND="2"

inherit distutils python

DESCRIPTION="Open files using MIME-type associations."
HOMEPAGE="http://xyne.archlinux.ca/projects/mimeo"
SRC_URI="http://xyne.archlinux.ca/projects/mimeo/src/${P}.tar.xz"

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

DEPEND=""
RDEPEND="sys-apps/file dev-python/pyxdg"

pkg_setup() {
	python_set_active_version 2
}

src_install() {
	python_convert_shebangs -r 2 .
	distutils_src_install

	dobin ${PN}
}