aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Staroszczyk <piotr.staroszczyk@get24.org>2020-03-18 12:05:47 +0100
committerPiotr Staroszczyk <piotr.staroszczyk@get24.org>2020-03-18 12:05:47 +0100
commit67adc1d0d2dfbd6a7d2d481da244e664fb5113cc (patch)
treedef94c5e4f5d3b463e30c9ebc18f362c2ed2a4d0
parentdev-python/databases: new package with deps dev-python/aiomysql dev-python/ai... (diff)
downloadguru-67adc1d0d2dfbd6a7d2d481da244e664fb5113cc.tar.gz
guru-67adc1d0d2dfbd6a7d2d481da244e664fb5113cc.tar.bz2
guru-67adc1d0d2dfbd6a7d2d481da244e664fb5113cc.zip
dev-python/starlette: new package with optional deps dev-python/sse-starlette dev-python/python-multipart
Signed-off-by: Piotr Staroszczyk <piotr.staroszczyk@get24.org>
-rw-r--r--dev-python/python-multipart/Manifest2
-rw-r--r--dev-python/python-multipart/metadata.xml9
-rw-r--r--dev-python/python-multipart/python-multipart-0.0.5.ebuild16
-rw-r--r--dev-python/sse-starlette/Manifest2
-rw-r--r--dev-python/sse-starlette/metadata.xml9
-rw-r--r--dev-python/sse-starlette/sse-starlette-0.2.2.ebuild19
-rw-r--r--dev-python/starlette/Manifest1
-rw-r--r--dev-python/starlette/metadata.xml9
-rw-r--r--dev-python/starlette/starlette-0.13.2.ebuild44
9 files changed, 111 insertions, 0 deletions
diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest
new file mode 100644
index 0000000000..2e9ee3fc4a
--- /dev/null
+++ b/dev-python/python-multipart/Manifest
@@ -0,0 +1,2 @@
+DIST python-multipart-0.0.5.tar.gz 32581 BLAKE2B 79a55b620d45f529f3c823b5452f7a100934ae2f1229e02344c5e8e4ac251225b66ea5505773a0f639cab2f1596e4b6d7a77f3919e56bab2ea9a2e2b04fec796 SHA512 159472175c7b21ddcfb6d026d2efe1dc68ceacb6b30afef7f2aab078542eef6faf61d7e40abb2d22d18346c88e2fbee12283795f3e4a8b1f36673a5dd9163a8e
+EBUILD python-multipart-0.0.5.ebuild 520 BLAKE2B bae6b7341b9da9abf846a6965123887e744ab826a46463d685c2feba3184a558d004ae28220dbb064e0aee603d8da9094834e92ff41c833fc28d549a436343d9 SHA512 58658c21e11313da1be52fc3e82487ed39874f1765c08717dc186377a12f25a20d57c44efcc70f4c629c3c40abda8d04fa56e8706001a9c5340d5d3cc376a747
diff --git a/dev-python/python-multipart/metadata.xml b/dev-python/python-multipart/metadata.xml
new file mode 100644
index 0000000000..a507be0a78
--- /dev/null
+++ b/dev-python/python-multipart/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>piotr.staroszczyk@get24.org</email>
+ <name>Piotr Staroszczyk</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/python-multipart/python-multipart-0.0.5.ebuild b/dev-python/python-multipart/python-multipart-0.0.5.ebuild
new file mode 100644
index 0000000000..c541ab64f4
--- /dev/null
+++ b/dev-python/python-multipart/python-multipart-0.0.5.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A streaming multipart parser for Python."
+HOMEPAGE="https://andrew-d.github.io/python-multipart/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
diff --git a/dev-python/sse-starlette/Manifest b/dev-python/sse-starlette/Manifest
new file mode 100644
index 0000000000..d46f82f8bd
--- /dev/null
+++ b/dev-python/sse-starlette/Manifest
@@ -0,0 +1,2 @@
+DIST sse-starlette-0.2.2.tar.gz 4475 BLAKE2B 1455e7f56c2807c528c92eb17d44a931d9c647652e415b30c62ecb95474070b9b0e1178a7c94cf02406d90aee0eca25fbc9c4285a99e30f2c8359d934ec6fc40 SHA512 f42b32c460e184af084c4f8728602f747cfbc6b3e3895a923df2f51a3278b3bfac15af78fbf1f70a3aa820d4a4e5d47f8a508c8b698b41e4abfa4bbd0e1ff815
+EBUILD sse-starlette-0.2.2.ebuild 468 BLAKE2B 4800e3a695cb885f35f756e3072d94a507533d1ca5c8efc6e48ad4839d095253786c371240db7cdf4c3f975be76b167cee622e76d4866c8f0b228e73550e0b98 SHA512 89c49a4652f6684e5f3e13ef05e005232c199e5b1a9793be2d4f2e5cc7641e528957f7e2fefc6a4393aa1df9b2369b90318196f7712015ccd0775467816a0dad
diff --git a/dev-python/sse-starlette/metadata.xml b/dev-python/sse-starlette/metadata.xml
new file mode 100644
index 0000000000..a507be0a78
--- /dev/null
+++ b/dev-python/sse-starlette/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>piotr.staroszczyk@get24.org</email>
+ <name>Piotr Staroszczyk</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/sse-starlette/sse-starlette-0.2.2.ebuild b/dev-python/sse-starlette/sse-starlette-0.2.2.ebuild
new file mode 100644
index 0000000000..66af94f767
--- /dev/null
+++ b/dev-python/sse-starlette/sse-starlette-0.2.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Server Sent Events for Starlette"
+HOMEPAGE="
+ https://pypi.org/project/sse-starlette/
+ https://github.com/sysid/sse-starlette
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest
new file mode 100644
index 0000000000..9b3908d7a4
--- /dev/null
+++ b/dev-python/starlette/Manifest
@@ -0,0 +1 @@
+DIST starlette-0.13.2.tar.gz 48335 BLAKE2B 10241c501989ececf33d11f98fbaee09ad141bc3baee92373cdc134941ef2f0260af7812888d1c3a124ec803ad978f6cb24a88e053439fff2cd9308bb9e83ee8 SHA512 ff312536bc28fa2d2c7b0bc81ce4c47fdfef885a0c6a9fe39cd02407ea4c334b0506f1d1fd0a31fa51353255024a9090ad31ce560426362e471312aa0b09c3a3
diff --git a/dev-python/starlette/metadata.xml b/dev-python/starlette/metadata.xml
new file mode 100644
index 0000000000..a507be0a78
--- /dev/null
+++ b/dev-python/starlette/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>piotr.staroszczyk@get24.org</email>
+ <name>Piotr Staroszczyk</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/starlette/starlette-0.13.2.ebuild b/dev-python/starlette/starlette-0.13.2.ebuild
new file mode 100644
index 0000000000..255b3940a8
--- /dev/null
+++ b/dev-python/starlette/starlette-0.13.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python3_{6,7,8} pypy3 )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="The little ASGI framework that shines."
+HOMEPAGE="
+ https://www.starlette.io/
+ https://github.com/encode/starlette
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="test? ( dev-python/black[${PYTHON_USEDEP}]
+ dev-python/databases[${PYTHON_USEDEP}]
+ dev-python/isort[${PYTHON_USEDEP}]
+ dev-python/mypy[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ # do not install LICENSE to /usr/
+ sed -i -e '/data_files/d' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+ optfeature "Required if you want to use FileResponse or StaticFiles" dev-python/aiofiles
+ optfeature "Required if you want to use Jinja2Templates" dev-python/jinja2
+ optfeature "Required if you want to support form parsing, with request.form()" dev-python/python-multipart
+ optfeature "Required for SessionMiddleware support." dev-python/itsdangerous
+ optfeature "Required for SchemaGenerator support." dev-python/pyyaml
+ optfeature "Required for GraphQLApp support" media-libs/graphene
+ optfeature "Required if you want to use UJSONResponse." dev-python/ujson
+ optfeature "Server Sent Events" dev-python/sse-starlette
+}
+
+distutils_enable_tests pytest