diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-28 07:56:16 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-28 08:53:19 +0200 |
commit | d0da1252e867a524d98fe1579a3c20fc01bb76cd (patch) | |
tree | c5e00719f1a04fd1a3d4acce6cb3d551a880dc8c /dev-python | |
parent | dev-python/flexmock: Bump to 0.10.8 (diff) | |
download | gentoo-d0da1252e867a524d98fe1579a3c20fc01bb76cd.tar.gz gentoo-d0da1252e867a524d98fe1579a3c20fc01bb76cd.tar.bz2 gentoo-d0da1252e867a524d98fe1579a3c20fc01bb76cd.zip |
dev-python/tldextract: Bump to 3.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/tldextract/Manifest | 1 | ||||
-rw-r--r-- | dev-python/tldextract/tldextract-3.1.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest index ee6ef4a2807f..b0c71b93dbe2 100644 --- a/dev-python/tldextract/Manifest +++ b/dev-python/tldextract/Manifest @@ -1,2 +1,3 @@ DIST tldextract-2.2.1.tar.gz 54538 BLAKE2B 0abfb1982d0b9e9cd767bc64db289da8bf2f58b599eaea7e703adf36934dae0d052170fa9a8205b8ac0b441d8f1ac75648ccc108515586b0bcacf2ecb43fef52 SHA512 db4f14e514c0e68f85f28226343d7ec91ceea2843ee01c9a2950f0972f365bf343640e07cfb118aff52bab975719be71d179fc6b3bd4da7eb62a47b62747cc0b DIST tldextract-3.1.0.tar.gz 101874 BLAKE2B 105f34699de2118126dc0f9d68f25999f99211aa8529c2640dd21d303cfb18cd5388819986881e235b8111a21b74d99c6424ad469a66a0ac45c25a0e7c31a21f SHA512 c6c67598b7dd2c8e85008c5061693182eb075e16390b001eb696fd12a0f5666d0a327667a0fd61e4f270003a8cfc97a8fbf7b53a246bab6f9e9ad95943dac9d8 +DIST tldextract-3.1.1.tar.gz 103195 BLAKE2B e0cdf85e22d58bf68705e9c37cfffaa8a9508316e734adf682b14daa50f02b408cbeda9f4554674f0f582b3246e750bbc46c70d7528c1a4af30b55f05e4bf595 SHA512 caec65beca0b2ba8f294043cf2f64839aef9fe472d1a76619bef1ec6b33ac99ccd08c24601c7fd97fef215621c9ec71a34911d3832febdb36d3f8ac9561b1175 diff --git a/dev-python/tldextract/tldextract-3.1.1.ebuild b/dev-python/tldextract/tldextract-3.1.1.ebuild new file mode 100644 index 000000000000..fe0c1f271c53 --- /dev/null +++ b/dev-python/tldextract/tldextract-3.1.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Accurately separate the TLD from the registered domain and subdomains of a URL." +HOMEPAGE="https://pypi.org/project/tldextract/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-file[${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 + +src_prepare() { + sed -i -e 's:--pylint::' pytest.ini || die + distutils-r1_src_prepare +} |