commit:     9bb5a5bd7f3cd870b669e8336d8d7fd19369aebf
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 29 09:36:20 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 29 09:36:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bb5a5bd

dev-python/sanic: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/sanic/Manifest             |  1 +
 dev-python/sanic/metadata.xml         | 15 +++++++++++
 dev-python/sanic/sanic-19.12.2.ebuild | 51 +++++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/dev-python/sanic/Manifest b/dev-python/sanic/Manifest
new file mode 100644
index 0000000..c4f1f4d
--- /dev/null
+++ b/dev-python/sanic/Manifest
@@ -0,0 +1 @@
+DIST sanic-19.12.2.tar.gz 195755 BLAKE2B 
0d903b06403f28a901d21bfc685219064d0ec2b11576baf714aa3250cc3474928da03c34f0a5a25bf92191242b0a41f76d41aabe92a805bea1801e569c892e9a
 SHA512 
93e416ceea5577db4c443dd6dd03cc5e990d4f987d49821b70d5602421d38401e155e2aad166c88ec57fc5361350c641f087b461a6d92acde34455db81429c5c

diff --git a/dev-python/sanic/metadata.xml b/dev-python/sanic/metadata.xml
new file mode 100644
index 0000000..2208048
--- /dev/null
+++ b/dev-python/sanic/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription lang="en">
+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.
+
+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>
+  <upstream>
+    <remote-id type="github">huge-success/sanic</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/sanic/sanic-19.12.2.ebuild 
b/dev-python/sanic/sanic-19.12.2.ebuild
new file mode 100644
index 0000000..a9e22cc
--- /dev/null
+++ b/dev-python/sanic/sanic-19.12.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_6 )
+
+inherit distutils-r1
+
+DESCRIPTION="Async Python 3.6+ web server/framework | Build fast. Run fast."
+HOMEPAGE="
+       https://pypi.python.org/pypi/sanic
+       https://github.com/huge-success/sanic
+"
+SRC_URI="https://github.com/huge-success/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/aiofiles[${PYTHON_USEDEP}]
+       ~dev-python/httpx-0.9.3[${PYTHON_USEDEP}]
+       >=dev-python/httptools-0.0.10[${PYTHON_USEDEP}]
+       >=dev-python/multidict-4.0[${PYTHON_USEDEP}]
+       <dev-python/multidict-5.0[${PYTHON_USEDEP}]
+       dev-python/uvloop[${PYTHON_USEDEP}]
+       dev-python/ujson[${PYTHON_USEDEP}]
+       >=dev-python/websockets-7.0[${PYTHON_USEDEP}]
+       <dev-python/websockets-9.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       test? (
+               dev-python/beautifulsoup[${PYTHON_USEDEP}]
+               dev-python/httpcore[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+               dev-python/pytest-benchmark[${PYTHON_USEDEP}]
+               dev-python/pytest-sanic[${PYTHON_USEDEP}]
+               dev-python/pytest-sugar[${PYTHON_USEDEP}]
+               www-servers/gunicorn[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+                               dev-python/docutils \
+                               dev-python/pygments \
+                               ">=dev-python/sphinx-2.1.2" \
+                               dev-python/sphinx_rtd_theme \
+                               ">=dev-python/recommonmark-0.5.0"

Reply via email to