diff options
Diffstat (limited to 'dev-python/daphne')
| -rw-r--r-- | dev-python/daphne/Manifest | 5 | ||||
| -rw-r--r-- | dev-python/daphne/daphne-3.0.2.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/daphne/daphne-4.1.2.ebuild | 44 | ||||
| -rw-r--r-- | dev-python/daphne/metadata.xml | 12 |
4 files changed, 99 insertions, 0 deletions
diff --git a/dev-python/daphne/Manifest b/dev-python/daphne/Manifest new file mode 100644 index 000000000000..6e39f855a253 --- /dev/null +++ b/dev-python/daphne/Manifest @@ -0,0 +1,5 @@ +DIST daphne-3.0.2.gh.tar.gz 38533 BLAKE2B b2c8dfd6fd575925262d1d6ecda46e34e45150a94e196b92a3d0014beacc6b9ab7798f448d09e04cb735dcc0cb81d7538d186a7d545ac68fd39533ce1604c7c2 SHA512 b96ef908ee9717ffa09952b2dec287cf32f59d828bda4f69b5fbae7cd815212b685e62d3f2cb8542d9b5a18d17070ca2b454bf6cdf6a55450002ff14d4b91abd +DIST daphne-4.1.2.gh.tar.gz 43121 BLAKE2B 5e858a6444ed7185d0795adea7bae5bc31e3ee655a3f6064fcf056684f5fc3fd79448cec75794bbfee040cee61020a302c5a0c2c0f911d969ab74b4c5885b845 SHA512 2be34cd2474068a31bd88363d4f9a4c0bb1f3209c52e9381e67649c6d4ca4f08186481ee57f59fd70689340e3fda287cc4907c1dc4dccd109b1c37119b30b9f2 +EBUILD daphne-3.0.2.ebuild 863 BLAKE2B 115b69c2bea4998d4a67c86dd5f94a05185efd5638c82c12663ebd2d68e1d345a491ab679cb4e773eb57d5954edc7bf63f567601eaabb5e7df8fa24826a04717 SHA512 938d72a21a1d8e15b02077ebd3891cef42ff62ad98e9837331b8624132902df8f20f1ffc96b8d8706bf77e1880bfbc06d90776cad272011cc56e0511a0eb60ad +EBUILD daphne-4.1.2.ebuild 1110 BLAKE2B cf154e10f0a006f58d83169f03d6419cdcf48fc2dc001693222c45402b1402b4fe8d5ef43bdb9f603e810db538fa4c6dab63aeaf27a92cb387551213627874ef SHA512 da212226aa4a8f56504ccd7f8b5120c8c3fcf09d2982fcc0a1549506881aafa26a094fc99482568bda4fbffd67e45ff49a207cce6fd866f5c9b6c85e3285e288 +MISC metadata.xml 439 BLAKE2B ed90ed24f6799e3b4b320a4b7b6eed42527b25e0af5adf0676c132226b38f6dd5806edbfe80229a9ea7f430bbf2c48b5ca2966da01e7eb323107c48c22d45698 SHA512 be911333f769a9b8826bc956dd061cb6bd347e386bca1981c483eb54d42598eb9ea57ec24306ac323a0824beae7593adc9fd71922cb7437ada0601f64d9d10f0 diff --git a/dev-python/daphne/daphne-3.0.2.ebuild b/dev-python/daphne/daphne-3.0.2.ebuild new file mode 100644 index 000000000000..450c672e208d --- /dev/null +++ b/dev-python/daphne/daphne-3.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="HTTP, HTTP2 and WebSocket protocol server for ASGI and ASGI-HTTP" +HOMEPAGE="https://github.com/django/daphne" +SRC_URI="https://github.com/django/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}] + <dev-python/asgiref-4.0[${PYTHON_USEDEP}] + >=dev-python/autobahn-0.18[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7[ssl,${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +src_test() { + ASGI_THREADS=4 distutils-r1_src_test +} diff --git a/dev-python/daphne/daphne-4.1.2.ebuild b/dev-python/daphne/daphne-4.1.2.ebuild new file mode 100644 index 000000000000..00b644fb879a --- /dev/null +++ b/dev-python/daphne/daphne-4.1.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="HTTP, HTTP2 and WebSocket protocol server for ASGI and ASGI-HTTP" +HOMEPAGE="https://github.com/django/daphne" +SRC_URI="https://github.com/django/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/asgiref-3.5.2[${PYTHON_USEDEP}] + <dev-python/asgiref-4.0[${PYTHON_USEDEP}] + >=dev-python/autobahn-22.4.2[${PYTHON_USEDEP}] + >=dev-python/django-3.2[${PYTHON_USEDEP}] + >=dev-python/twisted-22.4[ssl,${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +EPYTEST_DESELECT=( + # https://github.com/django/daphne/issues/535 + tests/test_http_request.py::TestHTTPRequest::test_bad_requests + tests/test_http_request.py::TestHTTPRequest::test_invalid_header_name +) +distutils_enable_tests pytest + +src_test() { + ASGI_THREADS=4 distutils-r1_src_test +} diff --git a/dev-python/daphne/metadata.xml b/dev-python/daphne/metadata.xml new file mode 100644 index 000000000000..88753631646c --- /dev/null +++ b/dev-python/daphne/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/django/daphne/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
