mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/jaraco-classes: bump to 1.3
Package-Manager: portage-2.2.27
This commit is contained in:
@@ -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
|
||||
|
||||
42
dev-python/jaraco-classes/jaraco-classes-1.3.ebuild
Normal file
42
dev-python/jaraco-classes/jaraco-classes-1.3.ebuild
Normal file
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user