diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2017-04-05 18:19:28 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2017-05-15 19:07:07 -0700 |
commit | 5037e928726da0ad24cba0b046d0f2725db5aab5 (patch) | |
tree | f31724bd7c8cf9529bcb25c58157c6af0e91b00f /dev-python/venusian | |
parent | dev-python/txrequests: rev-bump, add python 3.{4,5,6} (diff) | |
download | gentoo-5037e928726da0ad24cba0b046d0f2725db5aab5.tar.gz gentoo-5037e928726da0ad24cba0b046d0f2725db5aab5.tar.bz2 gentoo-5037e928726da0ad24cba0b046d0f2725db5aab5.zip |
dev-python/venusian: Version bump, fix tests
Update the nosetest command for newer nosetest versions.
Tests now pass correctly.
Bump the package using git commit since upstream doesn't seem to be making releases.
Add python 3.5, 3.6 to PYTHON_COMPAT.
Package-Manager: Portage-2.3.5, Repoman-2.3.2_p30
Diffstat (limited to 'dev-python/venusian')
-rw-r--r-- | dev-python/venusian/Manifest | 1 | ||||
-rw-r--r-- | dev-python/venusian/venusian-1.0_p20161030.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/venusian/Manifest b/dev-python/venusian/Manifest index 8b6c0b42ecef..4bbf68051f11 100644 --- a/dev-python/venusian/Manifest +++ b/dev-python/venusian/Manifest @@ -1 +1,2 @@ DIST venusian-1.0.tar.gz 45747 SHA256 1720cff2ca9c369c840c1d685a7c7a21da1afa687bfe62edd93cae4bf429ca5a SHA512 770780c4e4532b16e119365d3c9531e85aede9c2be2e3a333cfe43856271c7b232ce1b27c1379f677a7191c24e8736bf5307be7a926b613f7b81644d404e8453 WHIRLPOOL 1eedda1a8d6e15caf4af136ddd08298c7201342a841b267a489b8fb483d3d97b330e3adbe75e5bd28fcd3b62d6b6b5de57f5a520923d05195560afbfb682315d +DIST venusian-1.0_p20161030.zip 64972 SHA256 3d9d2b8a6e1f200484902c7d06b3b082b8224e92a25a281e4eebbcc5d94616c6 SHA512 d6e08beb7c6e29e8a30c2c94eb431bc1c2181dbe0a7fb911eb042035998b6c6a0c9fb827d46172916b3dd594335543c2670eb2100eeafac4cc25ec360b8adc57 WHIRLPOOL 21dcc263345e9cb7e3b55ffaaadcffcc4aea204274fd492fa68e2a2b96243ef0c479d413cf0b47f19408bbf9be34221ca2a2dae9d3be54326e8997840872ad19 diff --git a/dev-python/venusian/venusian-1.0_p20161030.ebuild b/dev-python/venusian/venusian-1.0_p20161030.ebuild new file mode 100644 index 000000000000..92b452841a64 --- /dev/null +++ b/dev-python/venusian/venusian-1.0_p20161030.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 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} ) + +COMMIT="ec4032596e3aec987ba29b62cac701608ef3b523" + +inherit distutils-r1 + +DESCRIPTION="A library for deferring decorator actions" +HOMEPAGE="http://www.pylonsproject.org/" +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/Pylons/venusian/archive/${COMMIT}.zip -> ${P}.zip" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + " +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] + >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] ) + " + +S="${WORKDIR}/${PN}-${COMMIT}" + +python_test() { + # copy the zipfile to the fixtures dir, setup.py doesn't + cp "${S}"/venusian/tests/fixtures/zipped.zip "${BUILD_DIR}"/lib/venusian/tests/fixtures/ || die "Failed to cp zipfile.zip" + + cd "${BUILD_DIR}/lib/venusian" + nosetests --exclude-dir=tests/fixtures || die "Tests fail with ${EPYTHON}" +} |