summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-18 22:08:27 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-18 22:23:09 +0100
commitefdaf79ff37c4428e05da8ac8daa7faca16cd5d3 (patch)
treef8fbfecbf7c93ed63cbb477bef56a583f787999a /dev-python/test_server
parentnet-fs/sshfs: drop myself as a maintainer (diff)
downloadgentoo-efdaf79ff37c4428e05da8ac8daa7faca16cd5d3.tar.gz
gentoo-efdaf79ff37c4428e05da8ac8daa7faca16cd5d3.tar.bz2
gentoo-efdaf79ff37c4428e05da8ac8daa7faca16cd5d3.zip
dev-python/test_server: New package
Server used for tests, needed by dev-python/PySocks. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/test_server')
-rw-r--r--dev-python/test_server/Manifest1
-rw-r--r--dev-python/test_server/metadata.xml7
-rw-r--r--dev-python/test_server/test_server-0.0.31.ebuild24
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/test_server/Manifest b/dev-python/test_server/Manifest
new file mode 100644
index 000000000000..6066d1f6c516
--- /dev/null
+++ b/dev-python/test_server/Manifest
@@ -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
index 000000000000..266e3f19ca59
--- /dev/null
+++ b/dev-python/test_server/metadata.xml
@@ -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
index 000000000000..37e2a350c72d
--- /dev/null
+++ b/dev-python/test_server/test_server-0.0.31.ebuild
@@ -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