1 |
commit: 9bb5a5bd7f3cd870b669e8336d8d7fd19369aebf |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Mar 29 09:36:20 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sun Mar 29 09:36:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bb5a5bd |
7 |
|
8 |
dev-python/sanic: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
dev-python/sanic/Manifest | 1 + |
14 |
dev-python/sanic/metadata.xml | 15 +++++++++++ |
15 |
dev-python/sanic/sanic-19.12.2.ebuild | 51 +++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 67 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/sanic/Manifest b/dev-python/sanic/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..c4f1f4d |
21 |
--- /dev/null |
22 |
+++ b/dev-python/sanic/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST sanic-19.12.2.tar.gz 195755 BLAKE2B 0d903b06403f28a901d21bfc685219064d0ec2b11576baf714aa3250cc3474928da03c34f0a5a25bf92191242b0a41f76d41aabe92a805bea1801e569c892e9a SHA512 93e416ceea5577db4c443dd6dd03cc5e990d4f987d49821b70d5602421d38401e155e2aad166c88ec57fc5361350c641f087b461a6d92acde34455db81429c5c |
25 |
|
26 |
diff --git a/dev-python/sanic/metadata.xml b/dev-python/sanic/metadata.xml |
27 |
new file mode 100644 |
28 |
index 0000000..2208048 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/sanic/metadata.xml |
31 |
@@ -0,0 +1,15 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>lssndrbarbieri@×××××.com</email> |
37 |
+ <name>Alessandro Barbieri</name> |
38 |
+ </maintainer> |
39 |
+ <longdescription lang="en"> |
40 |
+Sanic is a Python 3.6+ web server and web framework that’s written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy. |
41 |
+ |
42 |
+The goal of the project is to provide a simple way to get up and running a highly performant HTTP server that is easy to build, to expand, and ultimately to scale. </longdescription> |
43 |
+ <upstream> |
44 |
+ <remote-id type="github">huge-success/sanic</remote-id> |
45 |
+ </upstream> |
46 |
+</pkgmetadata> |
47 |
|
48 |
diff --git a/dev-python/sanic/sanic-19.12.2.ebuild b/dev-python/sanic/sanic-19.12.2.ebuild |
49 |
new file mode 100644 |
50 |
index 0000000..a9e22cc |
51 |
--- /dev/null |
52 |
+++ b/dev-python/sanic/sanic-19.12.2.ebuild |
53 |
@@ -0,0 +1,51 @@ |
54 |
+# Copyright 1999-2020 Gentoo Authors |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+ |
57 |
+EAPI="7" |
58 |
+ |
59 |
+PYTHON_COMPAT=( python3_6 ) |
60 |
+ |
61 |
+inherit distutils-r1 |
62 |
+ |
63 |
+DESCRIPTION="Async Python 3.6+ web server/framework | Build fast. Run fast." |
64 |
+HOMEPAGE=" |
65 |
+ https://pypi.python.org/pypi/sanic |
66 |
+ https://github.com/huge-success/sanic |
67 |
+" |
68 |
+SRC_URI="https://github.com/huge-success/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
69 |
+ |
70 |
+LICENSE="MIT" |
71 |
+SLOT="0" |
72 |
+KEYWORDS="~amd64 ~x86" |
73 |
+ |
74 |
+RDEPEND=" |
75 |
+ dev-python/aiofiles[${PYTHON_USEDEP}] |
76 |
+ ~dev-python/httpx-0.9.3[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/httptools-0.0.10[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/multidict-4.0[${PYTHON_USEDEP}] |
79 |
+ <dev-python/multidict-5.0[${PYTHON_USEDEP}] |
80 |
+ dev-python/uvloop[${PYTHON_USEDEP}] |
81 |
+ dev-python/ujson[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/websockets-7.0[${PYTHON_USEDEP}] |
83 |
+ <dev-python/websockets-9.0[${PYTHON_USEDEP}] |
84 |
+" |
85 |
+DEPEND=" |
86 |
+ ${RDEPEND} |
87 |
+ test? ( |
88 |
+ dev-python/beautifulsoup[${PYTHON_USEDEP}] |
89 |
+ dev-python/httpcore[${PYTHON_USEDEP}] |
90 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
91 |
+ dev-python/pytest-benchmark[${PYTHON_USEDEP}] |
92 |
+ dev-python/pytest-sanic[${PYTHON_USEDEP}] |
93 |
+ dev-python/pytest-sugar[${PYTHON_USEDEP}] |
94 |
+ www-servers/gunicorn[${PYTHON_USEDEP}] |
95 |
+ ) |
96 |
+" |
97 |
+ |
98 |
+distutils_enable_tests pytest |
99 |
+distutils_enable_sphinx docs \ |
100 |
+ dev-python/docutils \ |
101 |
+ dev-python/pygments \ |
102 |
+ ">=dev-python/sphinx-2.1.2" \ |
103 |
+ dev-python/sphinx_rtd_theme \ |
104 |
+ ">=dev-python/recommonmark-0.5.0" |