diff options
-rw-r--r-- | dev-python/freezegun/Manifest | 1 | ||||
-rw-r--r-- | dev-python/freezegun/freezegun-0.3.6.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest index 7c56ce176813..2bb54fdd7858 100644 --- a/dev-python/freezegun/Manifest +++ b/dev-python/freezegun/Manifest @@ -1 +1,2 @@ DIST freezegun-0.3.5.tar.gz 43439 SHA256 ee59b2eedd4011eeaae8a95eec31aa977ec355df7f4eca1067f402cb79429e0a SHA512 2dfa6c8f06f58b241f4902bf3be838205ced0161a2b56b425eac20b3db1feb797254afabc0b1de5b6be2b79f003b03b7bedc1cc0d9dd7f666c443184a071ec88 WHIRLPOOL d3c7245b916d14d31b7f067741d3297df3c11b97ffde0b9b2ba51036d0cae6d5ab63cccdcfbc0cd1bd145ff23ac0159d948e0d6af42e4c41458e9842e2948bc2 +DIST freezegun-0.3.6.tar.gz 45838 SHA256 44cef08c4b34be212534aec8ab61eccdc75ba9e4d908f99d1fcc7f778b4cbaf8 SHA512 34fc6d21cefac321414cef7c2b9935d43acd8456e475fdbd6426cf3fcf0b4f3cacf2127e29840b72ad55ad7b22be6e6e954955ca345c792895d9726082450ae0 WHIRLPOOL b28a1e09fb3b8d380e5e54519a0754d655b1abfdb4dfa2d45451035b1cc6abdaaa9ec026a9543609c90a7a8b7fd192acb2cda276bb38c97a4ab56aabe3be4c3f diff --git a/dev-python/freezegun/freezegun-0.3.6.ebuild b/dev-python/freezegun/freezegun-0.3.6.ebuild new file mode 100644 index 000000000000..72f34b8e4df7 --- /dev/null +++ b/dev-python/freezegun/freezegun-0.3.6.ebuild @@ -0,0 +1,28 @@ +# 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_3,3_4}) + +inherit distutils-r1 + +DESCRIPTION="Let your Python tests travel through time" +HOMEPAGE="https://github.com/spulec/freezegun" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/python-dateutil + dev-python/six" +DEPEND="${RDEPEND} + test? ( dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + nosetests || die +} |