blob: d17af03ddb7c861020ec17f40a248c8d4105ab52 (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxdg/pyxdg-0.17-r2.ebuild,v 1.8 2010/02/07 20:10:02 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils
DESCRIPTION="A Python module to deal with freedesktop.org specifications"
SRC_URI="http://www.freedesktop.org/~lanius/${P}.tar.gz"
HOMEPAGE="http://pyxdg.freedesktop.org/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND=""
RESTRICT_PYTHON_ABIS="3.*"
PYTHON_MODNAME="xdg"
DOCS="AUTHORS"
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}/${PN}-subprocess.patch"
epatch "${FILESDIR}/${P}-respect_XDG_MENU_PREFIX.patch"
}
src_install () {
distutils_src_install
insinto /usr/share/doc/${PF}/tests
insopts -m 755
doins test/*
}
|