commit:     e1400fd8c79b1a2e8fa51c6dc141884bb4a70c2c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 11 20:38:57 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 20:50:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1400fd8

dev-python/elastic-transport: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/elastic-transport/Manifest              |  2 -
 .../elastic-transport-8.4.0.ebuild                 | 55 -------------------
 .../elastic-transport-8.4.1-r1.ebuild              | 64 ----------------------
 3 files changed, 121 deletions(-)

diff --git a/dev-python/elastic-transport/Manifest 
b/dev-python/elastic-transport/Manifest
index 831337d54efb..00992c931f13 100644
--- a/dev-python/elastic-transport/Manifest
+++ b/dev-python/elastic-transport/Manifest
@@ -1,3 +1 @@
-DIST elastic-transport-8.4.0.gh.tar.gz 70975 BLAKE2B 
cec717606a55906da9157a0aaa3c656041201c2b62c77d42a67aabaad387c2e9f139dd1bd39e31b15f51fa2ac1b605d9f98b540000ee03d8aecf118cf972048a
 SHA512 
82d0e0af3992335ce17bdc2a74f80fbf98bc9873d798be65f30d59fa55cb3bf50b55821133ea01d2ced9c27bf4019bac19e76e6853c29b87762ae0a9b593c3f5
 DIST elastic-transport-python-8.10.0.gh.tar.gz 71836 BLAKE2B 
1be9a93b6b8cb9b7987de721e65ce532fb247fca931179f99dcdee197cec314a8b3626e0db569a494bab45a194530abccbfd8946d66d03c6bedfb17252a8fb3b
 SHA512 
a883509ec8f0000c4a8aeb435d4dee1cbc4563157668c5e1378e16be9d1a5f5a16927de4df9c5244ca6f1c6f2f273ad513c2d29beaa081b11b34416da2883359
-DIST elastic-transport-python-8.4.1.gh.tar.gz 71404 BLAKE2B 
9d923362a6880685c6280aa9308089157c82ee570c2b608f2ed1398fec1e7946bad159a9bc74c1369a5042a30885948748014b0f5ee2362da83780b1a42d7f22
 SHA512 
50a3d60c00307659f51468e648a0c2cc7aa9be0b84df8fb2bbfea8c9f2d31fe568cbd9d4040c1aa174acc5d9902f45631a8a55e7950a7cf05fa26e0eef8bbd0e

diff --git a/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild 
b/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild
deleted file mode 100644
index 615ac1efa276..000000000000
--- a/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-DESCRIPTION="Transport classes and utilities shared among Python Elastic 
client libraries"
-HOMEPAGE="
-       https://github.com/elastic/elastic-transport-python
-       https://pypi.org/project/elastic-transport/
-"
-SRC_URI="https://github.com/elastic/elastic-transport-python/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-S="${WORKDIR}/${PN}-python-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-PROPERTIES="test_network"
-RESTRICT="test"
-
-RDEPEND="
-       dev-python/certifi[${PYTHON_USEDEP}]
-       >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] 
<dev-python/urllib3-2[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       test? (
-                 ${RDEPEND}
-                 dev-python/aiohttp[${PYTHON_USEDEP}]
-                 dev-python/mock[${PYTHON_USEDEP}]
-                 dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-                 dev-python/pytest-httpserver[${PYTHON_USEDEP}]
-                 dev-python/pytest-mock[${PYTHON_USEDEP}]
-                 dev-python/requests[${PYTHON_USEDEP}]
-                 dev-python/trustme[${PYTHON_USEDEP}]
-       )
-"
-
-distutils_enable_sphinx docs/sphinx dev-python/furo 
dev-python/sphinx-autodoc-typehints
-distutils_enable_tests pytest
-
-src_prepare() {
-       # Remove extra options from tests. Mainly to avoid dependance on 
coverage
-       sed -i '/[tool:pytest]/,/^$/ d' setup.cfg || die
-       # Pytest options add more warnings and individually ingoring warnings 
would be more hassle than worth
-       # So lets just remove the bit counting warnings, as the test checks if 
there is a specific warning eitherway.
-       sed -i '/test_uses_https_if_verify_certs_is_off/,/def/ { /assert 1 == 
len(w)/ d }' \
-               tests/node/test_http_aiohttp.py || die
-
-       default
-}

diff --git a/dev-python/elastic-transport/elastic-transport-8.4.1-r1.ebuild 
b/dev-python/elastic-transport/elastic-transport-8.4.1-r1.ebuild
deleted file mode 100644
index 772e5c186a36..000000000000
--- a/dev-python/elastic-transport/elastic-transport-8.4.1-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-MY_P=elastic-transport-python-${PV}
-DESCRIPTION="Transport classes and utilities shared among Python Elastic 
client libraries"
-HOMEPAGE="
-       https://github.com/elastic/elastic-transport-python/
-       https://pypi.org/project/elastic-transport/
-"
-SRC_URI="
-       
https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz
-               -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-PROPERTIES="test_network"
-RESTRICT="test"
-
-RDEPEND="
-       dev-python/certifi[${PYTHON_USEDEP}]
-       >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}]
-"
-BDEPEND="
-       test? (
-               dev-python/aiohttp[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-               dev-python/pytest-httpserver[${PYTHON_USEDEP}]
-               dev-python/pytest-mock[${PYTHON_USEDEP}]
-               dev-python/requests[${PYTHON_USEDEP}]
-               dev-python/trustme[${PYTHON_USEDEP}]
-       )
-"
-
-distutils_enable_sphinx docs/sphinx \
-       dev-python/furo \
-       dev-python/sphinx-autodoc-typehints
-distutils_enable_tests pytest
-
-src_prepare() {
-       # unpin deps
-       sed -i -e 's:, *<[0-9.]*::' setup.py || die
-       distutils-r1_src_prepare
-}
-
-python_test() {
-       local EPYTEST_DESELECT=(
-               # fragile to random warnings
-               
tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off
-               
tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain
-       )
-
-       epytest -o addopts=
-}

Reply via email to