# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyxdg/pyxdg-0.25-r1.ebuild,v 1.14 2015/04/08 08:04:59 mgorny Exp $ EAPI=5 # py3.3 removed due to nosetests PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) inherit distutils-r1 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://people.freedesktop.org/~takluyver/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" IUSE="test" DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] x11-themes/hicolor-icon-theme )" DOCS=( AUTHORS ChangeLog README TODO ) PATCHES=( "${FILESDIR}"/sec-patch-CVE-2014-1624.patch ) python_test() { nosetests || die }