From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-httpserver/
Date: Tue, 31 May 2022 11:20:20 +0000 (UTC) [thread overview]
Message-ID: <1653996005.c09a2622f9ea123899e7c94811279a41af146ae6.sam@gentoo> (raw)
commit: c09a2622f9ea123899e7c94811279a41af146ae6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 11:17:56 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 31 11:20:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c09a2622
dev-python/pytest-httpserver: new package, add 1.0.4
Bug: https://bugs.gentoo.org/795165
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pytest-httpserver/Manifest | 1 +
dev-python/pytest-httpserver/metadata.xml | 13 ++++++++
.../pytest-httpserver-1.0.4.ebuild | 35 ++++++++++++++++++++++
3 files changed, 49 insertions(+)
diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest
new file mode 100644
index 000000000000..817f1cc47e15
--- /dev/null
+++ b/dev-python/pytest-httpserver/Manifest
@@ -0,0 +1 @@
+DIST pytest-httpserver-1.0.4.gh.tar.gz 78911 BLAKE2B 425f72438797b55a84662f580dd9bfc1d6dd8a0513587e72b6e1de7e669eee75c777fdd6c2cfcbc92273737dd47568b48a22f12e8a40952f82a599f30705a604 SHA512 e80754910117736fd172d7bd5e5fc41721fab8adc705b72f0ee4cd866c878ed267ad3819645fd567e3af2c9e53deecb3749f1a873d72ff9e234c4fdd7f7cabea
diff --git a/dev-python/pytest-httpserver/metadata.xml b/dev-python/pytest-httpserver/metadata.xml
new file mode 100644
index 000000000000..7c1d1a182b30
--- /dev/null
+++ b/dev-python/pytest-httpserver/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">pytest-httpserver</remote-id>
+ <remote-id type="github">csernazs/pytest-httpserver</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.0.4.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.0.4.ebuild
new file mode 100644
index 000000000000..73fe95f10f4b
--- /dev/null
+++ b/dev-python/pytest-httpserver/pytest-httpserver-1.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="HTTP server for pytest to test HTTP clients"
+HOMEPAGE="https://github.com/csernazs/pytest-httpserver"
+SRC_URI="https://github.com/csernazs/pytest-httpserver/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ test? (
+ dev-python/requests[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -i -e '/tests\//d' pyproject.toml || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ epytest -p no:localserver
+}
next reply other threads:[~2022-05-31 11:20 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-31 11:20 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-31 21:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-httpserver/ Sam James
2022-06-01 12:04 Jakov Smolić
2022-06-07 9:39 Sam James
2022-06-07 9:39 Sam James
2022-07-29 18:02 Michał Górny
2022-07-30 12:35 Arthur Zamarin
2022-08-30 17:08 Jakov Smolić
2022-08-30 18:53 Michał Górny
2022-09-22 12:15 Michał Górny
2022-09-22 18:23 Michał Górny
2022-10-12 18:56 Arthur Zamarin
2022-10-12 18:56 Arthur Zamarin
2022-10-12 18:56 Arthur Zamarin
2022-10-13 0:50 Yixun Lan
2022-10-14 4:19 Arthur Zamarin
2022-10-14 4:20 Arthur Zamarin
2022-10-14 4:20 Arthur Zamarin
2022-10-14 4:20 Arthur Zamarin
2022-10-25 9:49 Sam James
2022-10-25 10:31 Michał Górny
2022-11-18 12:01 Arthur Zamarin
2022-11-27 14:48 James Le Cuirot
2022-11-30 10:18 WANG Xuerui
2022-12-25 16:42 Sam James
2022-12-25 16:50 Sam James
2022-12-25 17:03 Sam James
2022-12-25 17:03 Sam James
2022-12-25 17:11 Arthur Zamarin
2022-12-25 20:20 Arthur Zamarin
2023-02-13 3:25 Matt Turner
2023-05-17 3:40 Michał Górny
2023-05-23 5:07 Michał Górny
2023-05-29 12:00 Michał Górny
2023-06-18 14:47 Sam James
2023-06-18 17:13 Michał Górny
2024-02-14 7:26 Michał Górny
2024-02-25 4:07 Michał Górny
2024-03-13 13:50 Arthur Zamarin
2024-03-13 15:02 Michał Górny
2024-05-28 9:41 Michał Górny
2024-07-06 9:42 Arthur Zamarin
2024-07-20 5:09 Michał Górny
2024-07-22 1:47 Michał Górny
2024-08-03 6:24 Michał Górny
2024-08-03 6:37 Michał Górny
2024-08-10 7:31 Michał Górny
2024-08-12 2:50 Michał Górny
2024-08-31 8:00 Arthur Zamarin
2024-08-31 9:21 Michał Górny
2025-01-22 7:21 Michał Górny
2025-02-08 10:44 Arthur Zamarin
2025-02-08 11:45 Michał Górny
2025-02-25 7:51 Michał Górny
2025-03-15 12:25 Arthur Zamarin
2025-03-15 12:28 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1653996005.c09a2622f9ea123899e7c94811279a41af146ae6.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox