1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 # Python ABIs are not supported by pkgcore
10 # Python3 is not supported by dbus & gobject
11 RESTRICT_PYTHON_ABIS='2.4 2.5 3.*'
12 DISTUTILS_SRC_TEST=setup.py
14 inherit base distutils
17 EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
18 http://anongit.gentoo.org/git/proj/${PN}.git
19 https://bitbucket.org/mgorny/${PN}.git"
23 DESCRIPTION="A test suite for Package Manager PMS compliance"
24 HOMEPAGE="https://www.gentoo.org/proj/en/qa/pms/pms-test-suite.xml"
25 SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
29 KEYWORDS="~amd64 ~x86"
32 RDEPEND=">=app-portage/gentoopm-0.1.5
33 dev-python/dbus-python
34 dev-python/pygobject:2"
35 DEPEND="doc? ( dev-python/epydoc )
36 test? ( >=sys-apps/portage-2.1.10.3
38 >=sys-apps/paludis-0.64.2[python] )"
40 PYTHON_MODNAME=pmstestsuite
48 python_set_active_version 2
61 "$(PYTHON)" setup.py "${_DISTUTILS_GLOBAL_OPTIONS[@]}" doc || die