From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D17F115808B for ; Wed, 14 Feb 2024 07:26:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B619E2A44; Wed, 14 Feb 2024 07:26:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2250AE2A44 for ; Wed, 14 Feb 2024 07:26:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 50F603430AC for ; Wed, 14 Feb 2024 07:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5CFB14D9 for ; Wed, 14 Feb 2024 07:26:44 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1707895597.14a488598f881cca5f6bf8b7b200b2f9e920ab07.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-httpserver/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-httpserver/Manifest dev-python/pytest-httpserver/metadata.xml dev-python/pytest-httpserver/pytest-httpserver-1.0.9.ebuild X-VCS-Directories: dev-python/pytest-httpserver/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 14a488598f881cca5f6bf8b7b200b2f9e920ab07 X-VCS-Branch: master Date: Wed, 14 Feb 2024 07:26:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e8b28613-2b15-493d-90f8-30f0f5d522b9 X-Archives-Hash: 88cecdd1efe07b9c42eca545a3e4dfa5 commit: 14a488598f881cca5f6bf8b7b200b2f9e920ab07 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 14 07:06:20 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 14 07:26:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14a48859 dev-python/pytest-httpserver: Bump to 1.0.9 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-httpserver/Manifest | 1 + dev-python/pytest-httpserver/metadata.xml | 2 +- .../pytest-httpserver-1.0.9.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/dev-python/pytest-httpserver/Manifest b/dev-python/pytest-httpserver/Manifest index 5d0d51c5091b..248a72a4d8c7 100644 --- a/dev-python/pytest-httpserver/Manifest +++ b/dev-python/pytest-httpserver/Manifest @@ -1 +1,2 @@ DIST pytest_httpserver-1.0.8.tar.gz 60126 BLAKE2B 9da65074aeca7de6a91c7afab7ac83ec8724c0595efe4abe7f3e2951ac37137c48a770ea1b5baeeb7484d647c1a03c20c86ad4de7627fb63beef174a2f7c3925 SHA512 5acff56b1c250c190da6466d398c10f206a24fe4112628ba4ec56bb2e23e21408b13d22ab6ad428e7ad7e685d7f2e73d5fc4b7afe86e7cb88d844a6e8e1a6bb4 +DIST pytest_httpserver-1.0.9.tar.gz 60048 BLAKE2B 1eeecb67624d7ced713f0901c912a559e9e30c1875933cc799c3e6eca1e39941f8c556e053cc8d4a155e9c29f68d659560b0d6f51e57b97ed850b6d4ae9357ad SHA512 64d9ac47de264b0c151b17a52c904451f59e4035ad87b16a534fcccf7725b82d343736366ee3f5be03947c2f05dfb0a52bb7148014aa1a3d179748a6870e49c7 diff --git a/dev-python/pytest-httpserver/metadata.xml b/dev-python/pytest-httpserver/metadata.xml index 7c1d1a182b30..36e3fb944f0e 100644 --- a/dev-python/pytest-httpserver/metadata.xml +++ b/dev-python/pytest-httpserver/metadata.xml @@ -7,7 +7,7 @@ - pytest-httpserver + pytest_httpserver csernazs/pytest-httpserver diff --git a/dev-python/pytest-httpserver/pytest-httpserver-1.0.9.ebuild b/dev-python/pytest-httpserver/pytest-httpserver-1.0.9.ebuild new file mode 100644 index 000000000000..79f60d637991 --- /dev/null +++ b/dev-python/pytest-httpserver/pytest-httpserver-1.0.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP server for pytest to test HTTP clients" +HOMEPAGE=" + https://github.com/csernazs/pytest-httpserver/ + https://pypi.org/project/pytest_httpserver/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/werkzeug[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # tests from building release artifacts + tests/test_release.py + ) + + epytest -p no:localserver +}