diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-21 13:04:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-21 13:04:20 +0000 |
commit | f5a622ba784bb66ee85eb669a821801c5e135ed8 (patch) | |
tree | b385c400b3bcebc972419f425e15cf34f4d679c2 /dev-python | |
parent | 1ad2c51f9cc380c164b03ed03acda1c3fcc0a476 (diff) |
gentoo auto-resync : 21:11:2022 - 13:04:20
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 261880 -> 262048 bytes | |||
-rw-r--r-- | dev-python/python-multipart/Manifest | 4 | ||||
-rw-r--r-- | dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch | 29 | ||||
-rw-r--r-- | dev-python/python-multipart/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/python-multipart/python-multipart-0.0.5.ebuild | 35 | ||||
-rw-r--r-- | dev-python/starlette/Manifest | 1 | ||||
-rw-r--r-- | dev-python/starlette/starlette-0.21.0-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-python/texttable/Manifest | 2 | ||||
-rw-r--r-- | dev-python/texttable/texttable-1.6.5.ebuild | 29 |
9 files changed, 162 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 862429924aff..70ed8c68a3ab 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest new file mode 100644 index 000000000000..cd55e1387be0 --- /dev/null +++ b/dev-python/python-multipart/Manifest @@ -0,0 +1,4 @@ +AUX python-multipart-0.0.5-pyyaml.patch 987 BLAKE2B a2fe5fcc4bce4df83e86771eecbd1f81e144d3c1ff31bd61777ffaab33564904dff05f8ea741292eceaecb69208cf5b6b97e202e1cdbc9b77fee67f1235f323a SHA512 d7a4a630e38df4abc7858e892457a9d63c982d013f18554b3bec52a48c167bb14a534fccadb718600b17d8a7753b5153eed164c0fe3f8f46228847d0774dc8df +DIST python-multipart-0.0.5.gh.tar.gz 48018 BLAKE2B cfff5c1c57ada3ba3d50da71273435781d62d3907ca1b7e6180cd319f2680258b3e1e278dff760106e7ca9c116f4c5c7adf957601d6d8465bf300e6211b83773 SHA512 c2fabeb77a25119c4bbb71c3faa6de58e27ac2f0c768298eac62b519fc51e5d95fdea05c4f3846ed47205f297802982a001577a73b2feec2d9f585c784d6c3d7 +EBUILD python-multipart-0.0.5.ebuild 654 BLAKE2B dc28079fd2f9809a4821908ff347bbda1156c4a98e3d8d794c060d8b67ee980f354903ea45e69bd32955deb013dfa8392f00b984ce088fe5de3b71a1b3b0936f SHA512 5b0795be783a581bccfc2b05b451011172a0305f3a1a415ec692a7c1f94f09292fa156a4c15dc4326f3484abc2b6fcf5a4e301e213d959f26da7028d37dcf423 +MISC metadata.xml 409 BLAKE2B 3cdcb724c178e87f10b24cbf61160407378e90ae47789e77fd3a87e30513dac08998da154df7836f851a8cc74e6c130dfdd772bdbed2a8403da69eca8b24d4ac SHA512 6403064cacab7dc324278a5fd22f321bd1474542a66fbb2a30b30b8080f221147700f1d12073442bb8ced624b5c18fd4b3ee77cd0db087e0f758405392a92541 diff --git a/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch b/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch new file mode 100644 index 000000000000..5d189dd5f225 --- /dev/null +++ b/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch @@ -0,0 +1,29 @@ +From 4831a3f9b5007145f2cb9e3020e83581523d4079 Mon Sep 17 00:00:00 2001 +From: Carl George <carl@george.computer> +Date: Tue, 19 Apr 2022 20:20:49 -0500 +Subject: [PATCH] Use yaml.safe_load instead of yaml.load (#46) + +yaml.load in PyYAML 6 requires a Loader argument. PyYAML recommends +using SafeLoader, which is implied if you call yaml.safe_load instead. + +https://github.com/yaml/pyyaml/pull/561 +https://msg.pyyaml.org/load + +Fixes #41 +--- + multipart/tests/test_multipart.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/multipart/tests/test_multipart.py b/multipart/tests/test_multipart.py +index 0e38c9c..ab33e7c 100644 +--- a/multipart/tests/test_multipart.py ++++ b/multipart/tests/test_multipart.py +@@ -716,7 +716,7 @@ def test_not_aligned(self): + test_data = f.read() + + with open(yaml_file, 'rb') as f: +- yaml_data = yaml.load(f) ++ yaml_data = yaml.safe_load(f) + + http_tests.append({ + 'name': fname, diff --git a/dev-python/python-multipart/metadata.xml b/dev-python/python-multipart/metadata.xml new file mode 100644 index 000000000000..7efb07682e6c --- /dev/null +++ b/dev-python/python-multipart/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">python-multipart</remote-id> + <remote-id type="github">andrew-d/python-multipart</remote-id> + </upstream> +</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 000000000000..6b9e2b9792cd --- /dev/null +++ b/dev-python/python-multipart/python-multipart-0.0.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A streaming multipart parser for Python" +HOMEPAGE=" + https://github.com/andrew-d/python-multipart/ + https://pypi.org/project/python-multipart/ +" +SRC_URI=" + https://github.com/andrew-d/python-multipart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${P}-pyyaml.patch +) diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index a0d1cb23e002..a0c828762484 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,3 +1,4 @@ DIST starlette-0.21.0.gh.tar.gz 2830353 BLAKE2B 7ff818d4687757ec8699dcd0e2582af78211787b7a0f2110da045eb4f7a8760262cf144b0af7dc9f72140b5dae1e65f7a4207ee3b165db4091c5139ce0bfcc85 SHA512 c246862604ba807141313857321d898d996eaa771ccb197546d0928a75cbb69f0e485fe90d2c817e70323146077c487436516384e1401d815c59c0ac75845e2b +EBUILD starlette-0.21.0-r1.ebuild 1076 BLAKE2B 07737c708f018e5939835a4b79c0d1d0c9cf0d4c767fb4822d79f3e13431b14d51306482fff8cf93ca68fc26bbf459113e0deea96f2b9fd714e816235b4752f5 SHA512 812b6b1b721bbf7e042539e0cf5e84843b96747eda02bb8c1d391b324dd1fcf6ac9cfa6d1bbbd7c22388c2e3d3baf2aeaf88484ee0b45f51c5de005cd267e09f EBUILD starlette-0.21.0.ebuild 1240 BLAKE2B 73a618cfc352aa36f8286914ad4eaf0f086f236e621685ad17fcf3db4510d9732100f113f8fc7739afe21c0d02f1feb33ed0c30297cc184f5f57cbce4863eb3a SHA512 716075254c375f33b18e0c66c4d6de84c0a5c278c1616ed971f3a9aa33731e6a42599cb0019a97afcfb3375577af89a308191dacf2ac48d95e71c043d65cedc8 MISC metadata.xml 324 BLAKE2B cbdb5983f2620f296eed8d81541e6ffbb084fdbcb698e52a6d86a64122834184e71ac423c21fa81d395be5505cb497be9172cd28d8fc633b6d31b844c480f741 SHA512 02c4d176ccc9c1b12e94f25c0de9792b6dc087a5d897bff8a46b2053951afad28b5c40f181ece8209acb3a8db1ec9e21a29af06b55f66efbc0d8f325d6958123 diff --git a/dev-python/starlette/starlette-0.21.0-r1.ebuild b/dev-python/starlette/starlette-0.21.0-r1.ebuild new file mode 100644 index 000000000000..ca1a5dd0fabe --- /dev/null +++ b/dev-python/starlette/starlette-0.21.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +SRC_URI=" + https://github.com/encode/starlette/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/python-multipart[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + test? ( + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py +) + +distutils_enable_tests pytest diff --git a/dev-python/texttable/Manifest b/dev-python/texttable/Manifest index 82827b165cc6..b11e49d69e65 100644 --- a/dev-python/texttable/Manifest +++ b/dev-python/texttable/Manifest @@ -1,3 +1,5 @@ DIST texttable-1.6.4.tar.gz 11611 BLAKE2B a97a9beefc9547fe7487af5b6411effd7391e303a13161d7e1c9304a1b580cf47bb10c8649dfea5c6f8ba05bc6c3fd7595662e8b74b282696d9ee3a110746212 SHA512 300b02f5b682f1c09a3eb5abfd4ee9c724354505a3f9e8f68207fd7d244402f234437807d68b6b526c3d4ade9e527e66c921bcd47a5e86d680698d559da3fe1a +DIST texttable-1.6.5.gh.tar.gz 11720 BLAKE2B e8a1e7c087de92b11954dc657c59d0c2c0b0afc509ab401c54ff9eca0f75952fcb5a0ae96d08241438c369edf820f03e73f76b9b5d9f610455f74e8a7751396e SHA512 63c73cd85be0432d05abde31ef7d7c91efa461b0f7daae3c6f9a29c116771841bbc1b4daf47c8863e32ed001417b96804ece1e976595c527ee5a1f253129028c EBUILD texttable-1.6.4-r1.ebuild 691 BLAKE2B 87a2345c50c2067a8a22973aa0aa7e3ef7311825b629b8f3ec221aea5049862c33fdc6e0b10fce32e5c43e951bb071e3d0e43b13fe7df99eccb1a52498becbff SHA512 6cdd88c38326a5c7890e641752d7a94874e07cdd5447660268ee5e30a1ed90a3fc73d3842d369d4858b6f4632cff9b9e214144e098fa5dc412f28dc40fc5b85e +EBUILD texttable-1.6.5.ebuild 694 BLAKE2B 01f4fcbfad407c3d5cd19ad1c36c7635c16b44e19e7dfa54850e005f50549e1809612febb1564f2078bd60f3e080b9ea540b646a86edbb7b3189535f5989d74b SHA512 ee70c6f639b8f84e3f26b6f42f9b53fd876a897b6ae27ccb6d70711d08b146ab09075f7a25c0b7fe88b78235a9229bdcbac72bb50c591c3bfc66d492bd7a8db1 MISC metadata.xml 416 BLAKE2B 5b62e938b6e8769183d1dfc146896dd74166fd18b04c774de1a0f839803fb7f118298ef10524f8bd64d998beaf3c442381cc5575bbae3d0954ebaa51def0b97f SHA512 679d6e3d889b245f143ae2684e97ff97e79be06f0bdf23df9382798ae9b5ad09995ac9c1d020eff057b50040ef8e90d1c3ef3f9ebb62de91490a3d6bb6a7ee95 diff --git a/dev-python/texttable/texttable-1.6.5.ebuild b/dev-python/texttable/texttable-1.6.5.ebuild new file mode 100644 index 000000000000..f756b0158a00 --- /dev/null +++ b/dev-python/texttable/texttable-1.6.5.ebuild @@ -0,0 +1,29 @@ +# 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_{8..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Module to create simple ASCII tables" +HOMEPAGE="https://github.com/foutaise/texttable https://pypi.org/project/texttable/" +SRC_URI="https://github.com/foutaise/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + pytest -vv tests.py || die +} + +pkg_postinst() { + optfeature "better wrapping of CJK text" dev-python/cjkwrap +} |