mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-02 11:40:51 +02:00
tldextract: remove in Gentoo's favour
This commit is contained in:
parent
c3fe3116d9
commit
7e399d6d98
5 changed files with 0 additions and 59 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST tldextract-2.2.1.tar.gz 54538 BLAKE2B 0abfb1982d0b9e9cd767bc64db289da8bf2f58b599eaea7e703adf36934dae0d052170fa9a8205b8ac0b441d8f1ac75648ccc108515586b0bcacf2ecb43fef52 SHA512 db4f14e514c0e68f85f28226343d7ec91ceea2843ee01c9a2950f0972f365bf343640e07cfb118aff52bab975719be71d179fc6b3bd4da7eb62a47b62747cc0b
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -ur a/tldextract/tldextract.py b/tldextract/tldextract.py
|
||||
--- a/tldextract/tldextract.py 2019-03-05 20:09:22.000000000 +0300
|
||||
+++ b/tldextract/tldextract.py 2019-07-21 18:31:25.553036135 +0300
|
||||
@@ -91,7 +91,7 @@
|
||||
|
||||
LOG = logging.getLogger("tldextract")
|
||||
|
||||
-CACHE_FILE_DEFAULT = os.path.join(os.path.dirname(__file__), '.tld_set')
|
||||
+CACHE_FILE_DEFAULT = os.path.join('/tmp/.tld_set')
|
||||
CACHE_FILE = os.path.expanduser(os.environ.get("TLDEXTRACT_CACHE", CACHE_FILE_DEFAULT))
|
||||
CACHE_TIMEOUT = os.environ.get('TLDEXTRACT_CACHE_TIMEOUT')
|
||||
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Accurately separate the TLD from the registered domain and subdomains"
|
||||
HOMEPAGE="https://github.com/john-kurkowski/tldextract"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/requests-file[${PYTHON_USEDEP}]"
|
||||
|
||||
# https://github.com/john-kurkowski/tldextract#note-about-caching
|
||||
# https://bugs.gentoo.org/698202
|
||||
PATCHES=( "${FILESDIR}/${P}_change_tldextract_cache_defaults.patch" )
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "\nBeware when first running the module, it updates its TLD list with a live HTTP request."
|
||||
einfo "This updated TLD set is cached indefinitely in /path/to/tldextract/.tld_set.\n"
|
||||
einfo "To avoid this fetch or control the cache's location, use your own extract"
|
||||
einfo "callable by setting 'TLDEXTRACT_CACHE' environment variable or by setting the cache_file path"
|
||||
einfo "in TLDExtract initialization.\n"
|
||||
einfo "If you want to stay fresh with the TLD definitions--though they"
|
||||
einfo "don't change often--delete the cache file occasionally, or run:"
|
||||
einfo " ~$ env TLDEXTRACT_CACHE=\"~/tldextract.cache\" tldextract --update\n"
|
||||
}
|
||||
|
|
@ -75,7 +75,6 @@ dev-python/protobuf-python amd64
|
|||
#https://github.com/matplotlib/matplotlib/commit/655c513a5e5440014677ee5afb08b0efa39f8e16
|
||||
~media-libs/qhull-2015.2
|
||||
~dev-python/cycler-0.10.0
|
||||
~dev-python/versioneer-0.16
|
||||
~dev-python/subprocess32-3.2.7
|
||||
|
||||
#required by net-analyzer/recon-ng
|
||||
|
|
@ -233,7 +232,6 @@ dev-python/Protego
|
|||
#~dev-python/pandas-0.24.1
|
||||
#=dev-python/urllib3-1.25*
|
||||
~dev-python/requests-file-1.4.3
|
||||
~dev-python/tldextract-2.2.1
|
||||
|
||||
#nessus api
|
||||
dev-python/nessrest
|
||||
|
|
|
|||
Loading…
Reference in a new issue