diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-10-25 09:58:25 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-10-25 09:59:58 +0100 |
commit | 3187e6aaa966ceb54bf299ce05f1d870215c50e5 (patch) | |
tree | de7512b6e8a365ff147d51456e48c67c508f8e3d /dev-python/expects | |
parent | dev-python/mamba: Remove py3.3 from 0.8.5 to match deps (diff) | |
download | gentoo-3187e6aaa966ceb54bf299ce05f1d870215c50e5.tar.gz gentoo-3187e6aaa966ceb54bf299ce05f1d870215c50e5.tar.bz2 gentoo-3187e6aaa966ceb54bf299ce05f1d870215c50e5.zip |
dev-python/expects: Restore 0.8.0_rc2, as required by mamba
Restore version 0.8.0_rc2 which is explicitly requested by
dev-python/mamba-0.8.5 (via ~-dep).
Reverts: f4d0cf62527e ("dev-python/expects: remove version 0.8.0_rc2")
Diffstat (limited to 'dev-python/expects')
-rw-r--r-- | dev-python/expects/Manifest | 1 | ||||
-rw-r--r-- | dev-python/expects/expects-0.8.0_rc2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/expects/Manifest b/dev-python/expects/Manifest index b53f2a493784..98b3e6145fca 100644 --- a/dev-python/expects/Manifest +++ b/dev-python/expects/Manifest @@ -1,3 +1,4 @@ DIST expects-0.4.2.tar.gz 23813 SHA256 b1e0b27141f784fe81a143153f23d3c8220fe8ec1003eb580b3eeb38eb778007 SHA512 6701a1a3099073c70d8f729b7ca72e4b9b3eb6d6f9e7d6d2d654a3b684c5ab101c343b4c3556f45d763ab1479dbc3eb3db209c4d9f5d2254cc4111e74a4a3c1a WHIRLPOOL 44ef85ca96225c22f91468e8b8b6368a26138f0fb9ee22dc89c282fb91adf4425d177ba62891239515affc639053165c6080f972c9435619c50a47fd81a27894 +DIST expects-0.8.0_rc2.tar.gz 27307 SHA256 c7959a0b0f76a186b1d3687fbdedaf551f8bbbddbd66e5307c3a52c787a779de SHA512 6ae4553838ce4d27993772cec33f1e1a18d539af4a9b0f62f66ef1fb78464a46f5b76a420096d2d36881f4dc581b69e8f6c8783b89d794df753fdffab275cc33 WHIRLPOOL 04a04534571e8a15bcc2e1d7a9fc2b63bb772a8adaaf0b6239d375f1e5f750be7d7fa9fd10f5d84f017c4e3ad6274a7955e5b70928ee6eec7c199181169e5741 DIST expects-0.8.0_rc3.tar.gz 27478 SHA256 a2809c6c51cf18b3316102f21e9d14d195edfd34526cfcad7d959d592deacbd4 SHA512 2566ddfcb83bb3d58dbddcc881f2b743cca061057f77a52da49d3eb6c16dc1fafaca900734d7023550c85dfd0b86d433a9328daf5a989ab91757d83e9eaa4d81 WHIRLPOOL 7e6c81a27c2dd01d261731db6deefe0830515731dc485278bbf2d5de84a726cef7cea2a5ecd514ccda169167f7cb0ca32f7b02de95c6bdcbd23f26faf502b87d DIST expects-0.8.0_rc4.tar.gz 27586 SHA256 3a4f4a5ae2ebd15b387eda0a841a3d61c9ac7c4171263a247776a7bd5f3135e1 SHA512 5c9fa6c9b296aba2a3a907e6e7b49bbb371a3deb0e8eca34a9df51f909dbb5e5700ec9c26a78205e6131c8154b75bb2381cab1b7fcb227edbb103b4c3f5784a5 WHIRLPOOL c9d78385c67ec7cb441159fc223ffc6eb3df14ed4330f17e064eb14ce17fb1201952581007a8f8da31dd1e4c8bb18baccb501345b8dca12eb914c198c1184861 diff --git a/dev-python/expects/expects-0.8.0_rc2.ebuild b/dev-python/expects/expects-0.8.0_rc2.ebuild new file mode 100644 index 000000000000..f96e4611ab67 --- /dev/null +++ b/dev-python/expects/expects-0.8.0_rc2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 vcs-snapshot + +MY_PV=${PV/_/} + +DESCRIPTION="Expressive and extensible TDD/BDD assertion library for Python" +HOMEPAGE="https://github.com/jaimegildesagredo/expects" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/mamba[${PYTHON_USEDEP}] ) +" +RDEPEND="" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + mamba || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |