summaryrefslogtreecommitdiff
path: root/dev-python/tldextract
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-06 03:03:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-06 03:03:24 +0000
commit2ceda67569b0a59d190a0f6afe73c18336b54268 (patch)
treeb769c1b06703783b963015c2c528fd5a50d2046b /dev-python/tldextract
parent564cd64dc5f2727c4df6aeb1bb51327503c84e78 (diff)
gentoo auto-resync : 06:11:2024 - 03:03:24
Diffstat (limited to 'dev-python/tldextract')
-rw-r--r--dev-python/tldextract/Manifest2
-rw-r--r--dev-python/tldextract/tldextract-5.1.3.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest
index 0e78de9a9418..05fef1902d15 100644
--- a/dev-python/tldextract/Manifest
+++ b/dev-python/tldextract/Manifest
@@ -1,3 +1,5 @@
DIST tldextract-5.1.2.tar.gz 116825 BLAKE2B ffe10e58e122ac3a0d8851992d791d9525695d987d2c3bfcfe37df043bd532491e21b2e2530feab6d60befad7afb76b5e66d3ce16e909a0cd822a7cb37fa10f9 SHA512 79cdab6ec9259109bdee6412206eea1cd1d760e3c8ee3483607e27adc237821ff74039b2b3c886cb21ebd76f9d636e775623d018e06e46b713d76b9e9719fa00
+DIST tldextract-5.1.3.tar.gz 125033 BLAKE2B b2557ae29cf049c06bb3b520f11e47e174d23709de7d785cbd78ac184e14635ab9923f9390633246c6342c6c040333bc4cc4dc06d09f0e64a7fbcaefbac9ccc5 SHA512 be10b4a6f227af9249f59c3b810a2ba08efb45ca18bbd9cef3f554671bc665ba596d7ee3f2bbfa789dacca6fc4b09c9178e9f658f7c920f8667566652ee5624f
EBUILD tldextract-5.1.2.ebuild 919 BLAKE2B e2bfd5aec88305a1a31f701aa7fcbc82df3ff57bd16480961634522417065d8d033b6cfb5b60fb3f3b4e2692d1253fe51d3027718d88f4939f52428d096e3d06 SHA512 8cab3a01cd0e8b83f4e56d28c75675b30e5197a68d6d534e23d19a1c2a98cfdddb26a467f194ea6dbf40bb3f2350cb6b52e2c851d73f87013409a48b88e22ff5
+EBUILD tldextract-5.1.3.ebuild 1011 BLAKE2B f6e44c13e978c034f39371c41e1fe07e304badd6dd11757865c3436b1338ddd7e462a0348efffd95004b38dafb1005c33bbef72fb3d269219ede27c45465da82 SHA512 edf20fdbaeec1cbde5278c1890a00bbb9a803be7b37300d78d197f151e025d85d88bf545cd8b38fb32d4f10ca3c145acdeba703bffd7b70a128c133a93f58bee
MISC metadata.xml 584 BLAKE2B 31a6a6be901dc1121de0b72e6afea76e30eff37127039c0c1790a66835346cc49bd7eb4ee373feafb22c3b1a8452033012261dba7cf4ade38fafa327537efe07 SHA512 1f1806e7e327b2f5a7644793bc88a182991135d33d9e18472a63d58bcb1307b639b5809965c2531b2d13e1944d1cd7ac5570b14f04b58a72e1576627ff5540ca
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
+}