mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/setuptools-trial: New pkg, dep of buildbot test suite
This commit is contained in:
1
dev-python/setuptools_trial/Manifest
Normal file
1
dev-python/setuptools_trial/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST setuptools_trial-0.6.0.tar.gz 6227 SHA256 14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12 SHA512 9104b98627f57ed53c90d22042346875c5324d7b30e1ec9ba1718b5c59a786915a8fe0a53789a5dbd9318a12b27122661234f5be403365261db6a8728ce39827 WHIRLPOOL b75ae1cadce7353695fa791edab530bc9a4af0acedb783044cc6405736d8fdb309b77d3a703865e22c4c1c8ae786b7ae5e0342a42fd592aa70fe005bafc79d7e
|
||||
22
dev-python/setuptools_trial/metadata.xml
Normal file
22
dev-python/setuptools_trial/metadata.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dolsen@gentoo.org</email>
|
||||
<description>Primary maintainer</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<email>vladimir@rutsky.org</email>
|
||||
<name>Vladimir Rutsky</name>
|
||||
</maintainer>
|
||||
<remote-id type="pypi">setuptools_trial</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
This is a plugin for setuptools that integrates Twisted trial. Once
|
||||
installed, “python ./setup.py trial” will run the package’s unit tests
|
||||
using Twisted trial. The package can also optionally be configured so
|
||||
that “python ./setup.py test” will use Twisted trial instead of pyunit
|
||||
a.k.a. unittest.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
42
dev-python/setuptools_trial/setuptools_trial-0.6.0.ebuild
Normal file
42
dev-python/setuptools_trial/setuptools_trial-0.6.0.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Setuptools plugin that makes unit tests execute with trial instead of pyunit"
|
||||
HOMEPAGE="https://github.com/rutsky/setuptools-trial https://pypi.python.org/pypi/setuptools_trial"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
#IUSE="test"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
# tests fail due to pip install sandbox violations
|
||||
# test? (
|
||||
# dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
||||
# )
|
||||
#"
|
||||
|
||||
#python_test() {
|
||||
#distutils_install_for_testing
|
||||
|
||||
#esetup.py test || die "Tests failed under ${EPYTHON}"
|
||||
#}
|
||||
Reference in New Issue
Block a user