diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-24 19:58:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-24 19:58:07 +0000 |
commit | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (patch) | |
tree | da76713365257a445f3ae3b95470917f59d46728 /dev-python/pytest-runner | |
parent | 4935506e9a5cbfabd37c64093eac5f36c2ff0017 (diff) |
gentoo resync : 24.02.2018
Diffstat (limited to 'dev-python/pytest-runner')
-rw-r--r-- | dev-python/pytest-runner/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pytest-runner/pytest-runner-2.11.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/pytest-runner/pytest-runner-4.0.ebuild | 42 |
3 files changed, 47 insertions, 3 deletions
diff --git a/dev-python/pytest-runner/Manifest b/dev-python/pytest-runner/Manifest index d8b4385f6860..163fb553f078 100644 --- a/dev-python/pytest-runner/Manifest +++ b/dev-python/pytest-runner/Manifest @@ -1,5 +1,7 @@ DIST pytest-runner-2.11.1.tar.gz 9661 BLAKE2B 300b63de61ef36c299a95c60af469b071c27ae483f641c7cad594f7b6f582d9e1e076192f9fd5019850cf9227af183e9f80b4049719d074a180e72c25521bc14 SHA512 5249e0a368bab21bb034a9b0121edbcda635f559cc22ba79c87565dcbc070056bfed47a69c16f4733403f61ea5b73adfd1ccf945700116043cbf3940d37d4067 DIST pytest-runner-2.6.2.tar.gz 6379 BLAKE2B 4f676a4cd59309cdd0e6462c83718482622817781d302ed95a2b7cb9d92a0b0f38b411c1172ecce9003f5781cdb168338bce6f446b1c91069a2024fb75574bfc SHA512 6a993e8729d5e203986f2526d46e96b7ac19e65fc26493a55a98e858304ecde0c47576476864a0ee1817ea1a7b02cfda952fc03f79b84fff249021f140f3d00d -EBUILD pytest-runner-2.11.1.ebuild 960 BLAKE2B 50e81677b62eecd606ae556de059278f2551a03658f2aa015ff4a83cb0b06b494c0d7933ecf973be64bb9919df79cef10803b10f2e289d9a77f2d13618f50c71 SHA512 8f6af8fbd7586d60a288024ec6a726f027f54be0abf45f3663912ef6a3e83fdb5e008e4705c1d2d01527e4d899cc6fd3482078e51aa6cbc86bcd22afe2793fac +DIST pytest-runner-4.0.tar.gz 11401 BLAKE2B 3be4527e68b8c1ae7e1bb5bad111367e459a07cf20de1f3b2d8ab993a7e016f9656618075bf515f576fef457aa86f99990f7dcc4c20a04166703bf9272c395c1 SHA512 a7f3defcc698f43b3b6ceec3f59dbd0e00c651167ddc76a9d1a093d722a013c9ffd2bad3438e49170688d503166cb6d8bf55bbaf7bc6f9e6d80eff049c202b08 +EBUILD pytest-runner-2.11.1.ebuild 972 BLAKE2B befa3699bf1fa2ac215c00b80e9cde46b99c3860e795e39db0b521066f31beced33f7c6fe1f4ed76c7da4552d80ff67c0edb38fef07a12354aeb549af90a1e75 SHA512 72413886ba92f90497b4b5d28de620dcb1803d0b19de595a8a9cb9340490e898c23eac62a05f4e2ce9501659490db60df5932c51e3c54c5e057791026305e0a4 EBUILD pytest-runner-2.6.2.ebuild 1064 BLAKE2B 32014fe6fbac028633bf7efb9d8bed30fd0a3346262ab6add06885f3fafc14fbb3dd1a6bf67d7edd91fc2d43deed3b042d3fda087c5f7f6f3f7ceed8b185ae6b SHA512 14078aeaf287c3d20738c180f58f83ec4a31abc63a66b72bf0b2f907a5cd10a1d0a9ffc65302f80aa93dd06bf9bf4242bc7fd498be9cacd032d4f2f4702cfcc0 +EBUILD pytest-runner-4.0.ebuild 1046 BLAKE2B a50dbcb5d1f0722296948054899f96b7ab6d799c0b77c84e05d7f344d1514845a5a809f1d3fe31c1f8437c09b3218bc195f07de3d483a172e9206d73cfe45a17 SHA512 31fb99db88d55a6eaa529b5ed3397e48a37a5592959ba1ced63eac7dd8e39134bd0aacdba59ea809f02382e63fbdbec42a1e97656054311bbcb27a4ba74b8a64 MISC metadata.xml 611 BLAKE2B 51a4f30d72bd0b3cf396da6272eb95a2d99fb46387619110afe35eb4a3dbfb9871bbe1ec3c657a8265e77d24aadd34db780099000e4e5bde92a9d2bfac554b8b SHA512 b434e0768011ddd2e6d94bc439a4b487ccbca4c50956b81d8c45cc6aca574d46dfb1c6f9c92dab24160104513ff1e16dcf9c78366bb39465196b7ec8b75f0855 diff --git a/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild b/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild index 60af99f60e31..713a15cfd709 100644 --- a/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild +++ b/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ HOMEPAGE="https://pypi.python.org/pypi/pytest-runner https://github.com/pytest-d SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" SLOT="0" IUSE="doc test" diff --git a/dev-python/pytest-runner/pytest-runner-4.0.ebuild b/dev-python/pytest-runner/pytest-runner-4.0.ebuild new file mode 100644 index 000000000000..cff2bd301d4a --- /dev/null +++ b/dev-python/pytest-runner/pytest-runner-4.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Adds support for tests during installation of setup.py files" +HOMEPAGE="https://pypi.python.org/pypi/pytest-runner https://github.com/pytest-dev/pytest-runner" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" +SLOT="0" +IUSE="doc test" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + doc? ( + dev-python/rst-linker[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( ${RDEPEND} ) +" + +# Tests require network access to download packages +RESTRICT="test" + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + fi +} + +python_test() { + esetup.py pytest || die +} |