dev-python/cheroot: new package
authorZac Medico <zmedico@gentoo.org>
Tue, 9 Jan 2018 23:49:36 +0000 (15:49 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 10 Jan 2018 01:19:29 +0000 (17:19 -0800)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-python/cheroot/Manifest [new file with mode: 0644]
dev-python/cheroot/cheroot-6.0.0.ebuild [new file with mode: 0644]
dev-python/cheroot/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest
new file mode 100644 (file)
index 0000000..dc780ea
--- /dev/null
@@ -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 (file)
index 0000000..5d94442
--- /dev/null
@@ -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 (file)
index 0000000..c844966
--- /dev/null
@@ -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>