diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/txrequests | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/txrequests')
| -rw-r--r-- | dev-python/txrequests/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/txrequests/metadata.xml | 22 | ||||
| -rw-r--r-- | dev-python/txrequests/txrequests-0.9.6-r1.ebuild | 37 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/txrequests/Manifest b/dev-python/txrequests/Manifest new file mode 100644 index 000000000000..cb2c0875bc50 --- /dev/null +++ b/dev-python/txrequests/Manifest @@ -0,0 +1 @@ +DIST txrequests-0.9.6.tar.gz 5306 BLAKE2B c1b55835c360f27c519371834de6cce0760e201a746d960425d7bef98e10cdb421d4db90b93bccdfa05b1fa2d5d6258fea4cce93fe62c7e9ad75780f1a5a89e6 SHA512 3892e121417b8346a2a2db02f8f4143b8f87c060cb4d48dbd07fa77559cfb0caf5742b257377ec0a746f2b995eba36f419a1a5b19d83a0c343cd39057dd34fb1 diff --git a/dev-python/txrequests/metadata.xml b/dev-python/txrequests/metadata.xml new file mode 100644 index 000000000000..a6bbaad83980 --- /dev/null +++ b/dev-python/txrequests/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <maintainer> + <email>tardyp@gmail.com</email> + <name>Pierre Tardy</name> + </maintainer> + </upstream> + <longdescription> + Small add-on for the python requests http library. + Makes use twisted's ThreadPool, so that the requests'API returns + deferred. The additional API and changes are minimal and strives + to avoid surprises. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/txrequests/txrequests-0.9.6-r1.ebuild b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild new file mode 100644 index 000000000000..f0fe41cf76dc --- /dev/null +++ b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 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 pypi + +DESCRIPTION="Asynchronous Python HTTP for Humans" +HOMEPAGE=" + https://github.com/tardyp/txrequests/ + https://pypi.org/project/txrequests/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~riscv ~x86" +IUSE="test" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/requests-1.2.0[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +python_test() { + "${EPYTHON}" -m twisted.trial test_txrequests || + die "Tests failed for ${EPYTHON}" +} |
