commit:     aecfb482604f5b4b93866177b8a370ac100d25aa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  5 05:34:46 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov  5 05:53:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aecfb482

dev-python/tldextract: Bump to 5.1.3

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

 dev-python/tldextract/Manifest                |  1 +
 dev-python/tldextract/tldextract-5.1.3.ebuild | 45 +++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest
index 17f59e0acca5..eb7c4a00a951 100644
--- a/dev-python/tldextract/Manifest
+++ b/dev-python/tldextract/Manifest
@@ -1 +1,2 @@
 DIST tldextract-5.1.2.tar.gz 116825 BLAKE2B 
ffe10e58e122ac3a0d8851992d791d9525695d987d2c3bfcfe37df043bd532491e21b2e2530feab6d60befad7afb76b5e66d3ce16e909a0cd822a7cb37fa10f9
 SHA512 
79cdab6ec9259109bdee6412206eea1cd1d760e3c8ee3483607e27adc237821ff74039b2b3c886cb21ebd76f9d636e775623d018e06e46b713d76b9e9719fa00
+DIST tldextract-5.1.3.tar.gz 125033 BLAKE2B 
b2557ae29cf049c06bb3b520f11e47e174d23709de7d785cbd78ac184e14635ab9923f9390633246c6342c6c040333bc4cc4dc06d09f0e64a7fbcaefbac9ccc5
 SHA512 
be10b4a6f227af9249f59c3b810a2ba08efb45ca18bbd9cef3f554671bc665ba596d7ee3f2bbfa789dacca6fc4b09c9178e9f658f7c920f8667566652ee5624f

diff --git a/dev-python/tldextract/tldextract-5.1.3.ebuild 
b/dev-python/tldextract/tldextract-5.1.3.ebuild
new file mode 100644
index 000000000000..61f681462df6
--- /dev/null
+++ b/dev-python/tldextract/tldextract-5.1.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Accurately separate the TLD from the registered domain and 
subdomains of a URL"
+HOMEPAGE="
+       https://github.com/john-kurkowski/tldextract/
+       https://pypi.org/project/tldextract/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~x86"
+
+RDEPEND="
+       >=dev-python/filelock-3.0.8[${PYTHON_USEDEP}]
+       dev-python/idna[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-file-1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-python/responses[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       EPYTEST_IGNORE=(
+               # we don't need release tests, also deps
+               tests/test_release.py
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -p pytest_mock
+}

Reply via email to