1 |
commit: 1bf19530ae5772c77097ca961a5a0fbcad1cceef |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 9 23:49:36 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 10 01:19:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf19530 |
7 |
|
8 |
dev-python/cheroot: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-python/cheroot/Manifest | 1 + |
13 |
dev-python/cheroot/cheroot-6.0.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
14 |
dev-python/cheroot/metadata.xml | 12 ++++++++++++ |
15 |
3 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..dc780ea428b |
20 |
--- /dev/null |
21 |
+++ b/dev-python/cheroot/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST cheroot-6.0.0.tar.gz 62763 BLAKE2B 0946c01c6a6233dc60ca3dd896c3d1dbc0feb97d5099d88598db340a8812b2be4cb076383c0e39d30cd2c6fd3402e048b716a02e82bec8ce08d5b8fca4b1be0f SHA512 0109fbf3b73ed3f12261eaa3c6d86b6c6b80a1ba3564548ba3288aa6c61a1c08db60886e677991bf7997e6a5b1ec7767a3e06098ec1748453e72c40fda7b82a7 |
24 |
|
25 |
diff --git a/dev-python/cheroot/cheroot-6.0.0.ebuild b/dev-python/cheroot/cheroot-6.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5d94442756c |
28 |
--- /dev/null |
29 |
+++ b/dev-python/cheroot/cheroot-6.0.0.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Cheroot is the high-performance, pure-Python HTTP server used by CherryPy." |
40 |
+HOMEPAGE="http://www.cherrypy.org/ https://pypi.python.org/pypi/Cheroot https://github.com/cherrypy/cheroot" |
41 |
+SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/portend[${PYTHON_USEDEP}] |
55 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
56 |
+ )" |
57 |
+ |
58 |
+python_test() { |
59 |
+ py.test -v || die "tests failed under ${EPTYHON}" |
60 |
+} |
61 |
|
62 |
diff --git a/dev-python/cheroot/metadata.xml b/dev-python/cheroot/metadata.xml |
63 |
new file mode 100644 |
64 |
index 00000000000..c8449665a6e |
65 |
--- /dev/null |
66 |
+++ b/dev-python/cheroot/metadata.xml |
67 |
@@ -0,0 +1,12 @@ |
68 |
+<?xml version="1.0" encoding="UTF-8"?> |
69 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
70 |
+<pkgmetadata> |
71 |
+ <maintainer type="person"> |
72 |
+ <email>zmedico@g.o</email> |
73 |
+ <name>Zac Medico</name> |
74 |
+ </maintainer> |
75 |
+ <upstream> |
76 |
+ <remote-id type="pypi">Cheroot</remote-id> |
77 |
+ <remote-id type="github">cherrypy/cheroot</remote-id> |
78 |
+ </upstream> |
79 |
+</pkgmetadata> |