diff options
Diffstat (limited to 'dev-python/pyxdg/pyxdg-0.26.ebuild')
-rw-r--r-- | dev-python/pyxdg/pyxdg-0.26.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pyxdg/pyxdg-0.26.ebuild b/dev-python/pyxdg/pyxdg-0.26.ebuild new file mode 100644 index 000000000000..865cf22122e7 --- /dev/null +++ b/dev-python/pyxdg/pyxdg-0.26.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) +inherit distutils-r1 + +MY_P=${PN}-rel-${PV} +DESCRIPTION="A Python module to deal with freedesktop.org specifications" +HOMEPAGE="https://freedesktop.org/wiki/Software/pyxdg https://cgit.freedesktop.org/xdg/pyxdg/" +# official mirror of the git repo +SRC_URI="https://github.com/takluyver/pyxdg/archive/rel-${PV}.tar.gz -> ${MY_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 + )" + +S=${WORKDIR}/${MY_P} + +python_test() { + nosetests -v || die +} |