diff options
Diffstat (limited to 'dev-python/pytest-localserver')
-rw-r--r-- | dev-python/pytest-localserver/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pytest-localserver/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild | 26 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pytest-localserver/Manifest b/dev-python/pytest-localserver/Manifest new file mode 100644 index 000000000000..4f69d93bcde5 --- /dev/null +++ b/dev-python/pytest-localserver/Manifest @@ -0,0 +1,3 @@ +DIST pytest-localserver-0.3.7.tar.gz 19772 BLAKE2B 388bb7c2cfd4867bc028c23dea775ee463d947bc9bcd0a3e671b3c240c025ceed8eac75a2d05011564ff4c8c1e1153759033272cde0ffa9c3b2128156ad1b38f SHA512 48d7e6a27965dafa1d5e5af1efb6118cc1c1c28ac4a46ae2d61b6b804292a126f481295bf13976f66f505789238f3365ff16e6f1207c8bc7fb4b258759fd4d99 +EBUILD pytest-localserver-0.3.7.ebuild 661 BLAKE2B b55af74dcd0104cbfd456bd7e6cb42f04a5bddffe7cb5e00956fec0a0e7a8b8e55b24d5d75a0a1c5d01e5352258726e0f2ee34c9efee9b89871850a600d52032 SHA512 59e44b481ca1633f374792ce7625dd9dea7f15f606e45bcb3a8ca94dab0ce866a16009c0a35a7fc20d65baac8ae6e53d70854ee777df97b79c6a4d93d3ae8751 +MISC metadata.xml 321 BLAKE2B 1965ab8ae78a55b07a92b65e39549bee5e4136a133deaf3c510aa52005dd7e97a030ec30779a8d9223048b90c9146513f761d61b30b78e5f772e2ae4b98f1609 SHA512 db2e0fe334587804689d91759326ad5dabf3aad411c9046943562273f89485b1524b0f62173c9bda2daaaab2e0d09309d23896e91b3e2716e36472c87bf5f883 diff --git a/dev-python/pytest-localserver/metadata.xml b/dev-python/pytest-localserver/metadata.xml new file mode 100644 index 000000000000..1dd74dd642a3 --- /dev/null +++ b/dev-python/pytest-localserver/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pytest-localserver</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild new file mode 100644 index 000000000000..4b309c164f99 --- /dev/null +++ b/dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6} pypy) + +inherit distutils-r1 + +DESCRIPTION="Py.test plugin to test server connections locally" +HOMEPAGE="https://pypi.org/project/pytest-localserver/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="test" + +RDEPEND=">=dev-python/werkzeug-0.10[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] )" + +python_test() { + py.test -v || die +} |