summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-01-09 15:49:36 -0800
committerZac Medico <zmedico@gentoo.org>2018-01-09 17:19:29 -0800
commit1bf19530ae5772c77097ca961a5a0fbcad1cceef (patch)
tree3697a859f113b1ead27a6f6239d83750adff4683 /dev-python/cheroot
parentdev-python/portend: new package (diff)
downloadgentoo-1bf19530ae5772c77097ca961a5a0fbcad1cceef.tar.gz
gentoo-1bf19530ae5772c77097ca961a5a0fbcad1cceef.tar.bz2
gentoo-1bf19530ae5772c77097ca961a5a0fbcad1cceef.zip
dev-python/cheroot: new package
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python/cheroot')
-rw-r--r--dev-python/cheroot/Manifest1
-rw-r--r--dev-python/cheroot/cheroot-6.0.0.ebuild30
-rw-r--r--dev-python/cheroot/metadata.xml12
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest
new file mode 100644
index 000000000000..dc780ea428b2
--- /dev/null
+++ b/dev-python/cheroot/Manifest
@@ -0,0 +1 @@
+DIST cheroot-6.0.0.tar.gz 62763 BLAKE2B 0946c01c6a6233dc60ca3dd896c3d1dbc0feb97d5099d88598db340a8812b2be4cb076383c0e39d30cd2c6fd3402e048b716a02e82bec8ce08d5b8fca4b1be0f SHA512 0109fbf3b73ed3f12261eaa3c6d86b6c6b80a1ba3564548ba3288aa6c61a1c08db60886e677991bf7997e6a5b1ec7767a3e06098ec1748453e72c40fda7b82a7
diff --git a/dev-python/cheroot/cheroot-6.0.0.ebuild b/dev-python/cheroot/cheroot-6.0.0.ebuild
new file mode 100644
index 000000000000..5d94442756cd
--- /dev/null
+++ b/dev-python/cheroot/cheroot-6.0.0.ebuild
@@ -0,0 +1,30 @@
+# 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 pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Cheroot is the high-performance, pure-Python HTTP server used by CherryPy."
+HOMEPAGE="http://www.cherrypy.org/ https://pypi.python.org/pypi/Cheroot https://github.com/cherrypy/cheroot"
+SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
+ >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
+ test? (
+ dev-python/portend[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ py.test -v || die "tests failed under ${EPTYHON}"
+}
diff --git a/dev-python/cheroot/metadata.xml b/dev-python/cheroot/metadata.xml
new file mode 100644
index 000000000000..c8449665a6e4
--- /dev/null
+++ b/dev-python/cheroot/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Cheroot</remote-id>
+ <remote-id type="github">cherrypy/cheroot</remote-id>
+ </upstream>
+</pkgmetadata>