diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2016-01-20 13:40:51 +0100 |
---|---|---|
committer | Louis Sautier <sautier.louis@gmail.com> | 2016-01-20 13:41:51 +0100 |
commit | e81770898515e224f67480366ed70ea0f7211500 (patch) | |
tree | f93099cb4782b3fb9bd847c267e4d1db10439739 /dev-python/jaraco-classes | |
parent | kde-apps: version bump kdeaccessibility 15.12.1 (diff) | |
download | gentoo-e81770898515e224f67480366ed70ea0f7211500.tar.gz gentoo-e81770898515e224f67480366ed70ea0f7211500.tar.bz2 gentoo-e81770898515e224f67480366ed70ea0f7211500.zip |
dev-python/jaraco-classes: bump to 1.3
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/jaraco-classes')
-rw-r--r-- | dev-python/jaraco-classes/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jaraco-classes/jaraco-classes-1.3.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/jaraco-classes/Manifest b/dev-python/jaraco-classes/Manifest index 740eaa44f878..95ad1db809cf 100644 --- a/dev-python/jaraco-classes/Manifest +++ b/dev-python/jaraco-classes/Manifest @@ -1 +1,2 @@ DIST jaraco.classes-1.2.zip 7366 SHA256 656ae3efdf65405fdafff2efd913ef7aece61701271ebfe145d8c1a3b5bf5777 SHA512 7f4ec185c55fda7604146b0891de84e7ed433f1ea52f0b381c91ee36be6ae8ee44ebcb709ecd453481a28db99694f6807cd310aa64de3fddbfe495449772b08b WHIRLPOOL c44131060a1fc39aba5000751e3e9d6ea4a747e4e9d2a8bbeb79402adccc13770649705eb032b63b4ed336330dc7a22dc1dbd2d358162be0285e2a9ca4349ca9 +DIST jaraco.classes-1.3.tar.gz 4095 SHA256 8d7333a8930efd10a934d5a1b5984f81f0c08e483c5d39a604660c9715c64522 SHA512 abd60444066b39894f21032004010eea9b3b56718eaadffa1c66fc7d66d281d34d0ae76445dc6174e0a07e0d4dfca97e181048a4eea47ee20dae1d902265c32a WHIRLPOOL 8992eedc077f7d03480c00384ef994770584cb9b3266f4f19f68e5f109fe14c8c70bd416a9a094bb42b0d97d4fd7c0b450636bc90c7a4e6b46d9653959ca84f3 diff --git a/dev-python/jaraco-classes/jaraco-classes-1.3.ebuild b/dev-python/jaraco-classes/jaraco-classes-1.3.ebuild new file mode 100644 index 000000000000..b047002f685e --- /dev/null +++ b/dev-python/jaraco-classes/jaraco-classes-1.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Classes used by other projects by developer jaraco" +HOMEPAGE="https://github.com/jaraco/jaraco.classes" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/hgtools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_prepare_all() { + if use test && has_version "${CATEGORY}/${PN}"; then + die "Ensure $PN is not already installed or the test suite will fail" + fi + distutils-r1_python_prepare_all +} + +python_test() { + PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" +} |