summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-07 08:56:57 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-07 09:00:30 +0200
commit88e9b7fa870662cdd4ca30f00690b8c9f33b868d (patch)
tree943bdcd2578e412a092f18d662fe8392a897b058 /dev-python/tld
parentmail-client/thunderbird: amd64 & x86 (diff)
downloadgentoo-88e9b7fa870662cdd4ca30f00690b8c9f33b868d.tar.gz
gentoo-88e9b7fa870662cdd4ca30f00690b8c9f33b868d.tar.bz2
gentoo-88e9b7fa870662cdd4ca30f00690b8c9f33b868d.zip
dev-python/tld: Bump to 0.12.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tld')
-rw-r--r--dev-python/tld/Manifest1
-rw-r--r--dev-python/tld/tld-0.12.6.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/tld/Manifest b/dev-python/tld/Manifest
index f220f98005e6..43d99b2da3df 100644
--- a/dev-python/tld/Manifest
+++ b/dev-python/tld/Manifest
@@ -1,3 +1,4 @@
DIST tld-0.12.2.tar.gz 1347015 BLAKE2B d284581917a9ddee026d316961f2cdc6efc8a3c8dee8112c7266d55a9493f1aca831db0635db02b737bb3e02b3910a8822e121a5317ab02f5078075839e02c91 SHA512 b997bd3cdf22f65862c9b3e7d446014325d9538dd06eeed86f4b9b6c6ba440829b5d611cc19fed9bf8bf039ef01c4258c71b5c765bbecdfc345dd00e73c7fca1
DIST tld-0.12.3.tar.gz 1498596 BLAKE2B 7a1d33c3527bc1dfeb18bfcc5af4d153f9cc39b52e858f4ac5907d0edece67da6bb6f900d028937bafb468b31534ed284a54effae6d97397dd33e27261af3730 SHA512 fe33bb18bceea6e1eb4ba3ca46dc54c81a8d3a1f4187078488676b951e6734a885a44525f6f5c4dc8c2fea1b0f4ffd8060244fbf33f9b1bd9dfafbec12876711
DIST tld-0.12.5.tar.gz 1500013 BLAKE2B d6b51e144f9c1305212ccb537b3488b7643190598674103e8fc7772c34f1e5a6eefb09d957a6ecd1ffa3e9ab0cc41b07dd97ef70f031259393c7410cd05e0b29 SHA512 90fa3911f64368e3c75d034b5854d4460ac41b603b431ef94bb0b49bbd37f5fadb0a084f24849aa8fa2a74608ea9555eec2d4372641bc4d135e1cb4fd3ad23ed
+DIST tld-0.12.6.tar.gz 358405 BLAKE2B cf7bd68f26507cd4ac1c681705d8c495131a8b3aa64115e0259f7ef33f61c5db4911cc8cb1493e901237d401bd4eff4bda9cd687d19d9e1e275c3d87980069ae SHA512 ff10041178976af97c920a519ce3bb5a0a46f4299c24419db9a0502e89296e2bd66885dac5927e940c3abc22d6b390336916622cab771a57ba1c8f0960de2583
diff --git a/dev-python/tld/tld-0.12.6.ebuild b/dev-python/tld/tld-0.12.6.ebuild
new file mode 100644
index 000000000000..e969ca8f57ba
--- /dev/null
+++ b/dev-python/tld/tld-0.12.6.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Extract the top level domain (TLD) from the URL given"
+HOMEPAGE="https://github.com/barseghyanartur/tld"
+SRC_URI="https://github.com/barseghyanartur/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/Faker[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests --install pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ sed -i -e '/--cov/d' pytest.ini || die
+}