dev-python/test_server: New package
authorMichał Górny <mgorny@gentoo.org>
Mon, 18 Nov 2019 21:08:27 +0000 (22:08 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 18 Nov 2019 21:23:09 +0000 (22:23 +0100)
Server used for tests, needed by dev-python/PySocks.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/test_server/Manifest [new file with mode: 0644]
dev-python/test_server/metadata.xml [new file with mode: 0644]
dev-python/test_server/test_server-0.0.31.ebuild [new file with mode: 0644]

diff --git a/dev-python/test_server/Manifest b/dev-python/test_server/Manifest
new file mode 100644 (file)
index 0000000..6066d1f
--- /dev/null
@@ -0,0 +1 @@
+DIST test_server-0.0.31.tar.gz 18578 BLAKE2B a08c23a7db43f1c99a0cd270852d9ea841e0c0e9888d1d4a95b8879b436f8c016d1d10222127fc8024fe3560340fd65dc629677106a18c7bc01a565c85a6702e SHA512 f245165f6326e63fae6e51ae247cedade41a391c505d9899c00b886df192326aac32f2a479d322de079f77b252cf199746a7ea3e06089cab105646d194d4d775
diff --git a/dev-python/test_server/metadata.xml b/dev-python/test_server/metadata.xml
new file mode 100644 (file)
index 0000000..266e3f1
--- /dev/null
@@ -0,0 +1,7 @@
+<?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>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/test_server/test_server-0.0.31.ebuild b/dev-python/test_server/test_server-0.0.31.ebuild
new file mode 100644 (file)
index 0000000..37e2a35
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+inherit distutils-r1
+
+DESCRIPTION="Server to test HTTP clients"
+HOMEPAGE="https://github.com/lorien/test_server https://pypi.org/project/test-server/"
+SRC_URI="https://github.com/lorien/test_server/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       >=dev-python/bottle-0.12.13[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+       dev-python/webtest[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest