You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pyxdg/pyxdg-0.20_rc1.ebuild

36 lines
955 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxdg/pyxdg-0.20_rc1.ebuild,v 1.4 2012/06/20 17:55:42 marienz Exp $
EAPI=4
PYTHON_DEPEND="2:2.6 3:3.2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="2.5 3.1 *-jython 2.7-pypy-*"
inherit distutils
DESCRIPTION="A Python module to deal with freedesktop.org specifications"
HOMEPAGE="http://freedesktop.org/wiki/Software/pyxdg http://cgit.freedesktop.org/xdg/pyxdg/"
SRC_URI="http://dev.gentoo.org/~marienz/distfiles/${P}-snapshot.tar.gz"
LICENSE="GPL-2 LGPL-2" # xdg/Menu.py says GPL-2 but COPYING says LGPL-2
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="examples"
PYTHON_MODNAME=xdg
DOCS="AUTHORS ChangeLog README TODO"
S=${WORKDIR}/rel-${PV/_}
src_install() {
distutils_src_install
if use examples; then
docinto examples
dodoc test/*.py
fi
}