diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-11-15 17:41:26 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-16 12:00:52 +0100 |
commit | 9a4db0032f1c1ff91591e04c1c87ae840e357053 (patch) | |
tree | ba2b56916ad36e7c4c6964c70cbe7d1d993769bb /dev-python/PyContracts | |
parent | dev-python/pyparsing: Enable py3.8 (diff) | |
download | gentoo-9a4db0032f1c1ff91591e04c1c87ae840e357053.tar.gz gentoo-9a4db0032f1c1ff91591e04c1c87ae840e357053.tar.bz2 gentoo-9a4db0032f1c1ff91591e04c1c87ae840e357053.zip |
dev-python/PyContracts: Bump to 1.8.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyContracts')
-rw-r--r-- | dev-python/PyContracts/Manifest | 1 | ||||
-rw-r--r-- | dev-python/PyContracts/PyContracts-1.8.12.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/PyContracts/Manifest b/dev-python/PyContracts/Manifest index 6bc965e4e1dc..a086d948ef8b 100644 --- a/dev-python/PyContracts/Manifest +++ b/dev-python/PyContracts/Manifest @@ -1,2 +1,3 @@ DIST PyContracts-1.7.9.tar.gz 61033 BLAKE2B 5202d39c91d7dff6e07058f3f7dcc29baa750f69ed9b4abb059de67f3be98e568270eb3d977a6e7a18f232880225fcc532fbd576e94dc3483bde9b8fbe68d526 SHA512 1db6491d4be3df96753dcdd6f85329d47409a2424177a52d1e35f5a1d58f671290d22d807b70f632f0376c86c58c093118f7223b7ad59893a85dccdb91d29f50 DIST PyContracts-1.8.0.tar.gz 90577 BLAKE2B 988662274e3bbea1ede6d00f4a69b3eb23dad439f5355a9b0a2c5a2f76a6250254303b060ef720d13d9a297ded77f7713271a79a810227aa883dc6d4d46ea725 SHA512 7de933dc8b5992be670b4b34fce7d6f51769d3d2dd02a2400eff5991e9e686e36791234588d2dbdeccf437fd5d6abc6461240645e6d3f665394f390bb727413a +DIST PyContracts-1.8.12.tar.gz 91393 BLAKE2B 083c836a547540f2505cbc02c8696ad2ae236a9ba46529cc60d237c01bd113cb5a9d2729a70038e28f4a6f776cb17b119bdf9ae8dcd6269cbcd05412413aa758 SHA512 9abd5ab5203687ddd8a738998e63e8f3e397b9ba9b9ee22bda945dab4f0d460115ed8e825c9c551d4c067b0f39dbb5b8ca51d365623b10ee8e210efc4edcbf15 diff --git a/dev-python/PyContracts/PyContracts-1.8.12.ebuild b/dev-python/PyContracts/PyContracts-1.8.12.ebuild new file mode 100644 index 000000000000..a52c8e427126 --- /dev/null +++ b/dev-python/PyContracts/PyContracts-1.8.12.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Declare constraints on function parameters and return values" +HOMEPAGE="https://andreacensi.github.com/contracts/ https://pypi.org/project/PyContracts/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +python_test() { + nosetests -v \ + $(python_is_python3 || echo "--ignore-files=test_py3k_annotations.py") \ + || die +} |