diff options
author | adam <adam@pkgsrc.org> | 2020-11-27 19:36:27 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-11-27 19:36:27 +0000 |
commit | 0eb2b9551233488cf4c1d190a98ce8e50d73a443 (patch) | |
tree | 2899dfb72dc9e1d9244a731c12e158b3be5ecb86 /net | |
parent | bcfab744bd480f4b0f04c798abcea3773e761191 (diff) | |
download | pkgsrc-0eb2b9551233488cf4c1d190a98ce8e50d73a443.tar.gz |
py-tldextract: updated to 3.1.0
3.1.0 (2020-11-22)
* Features
* Prefer to cache in XDG cache directory in user folder, vs. in Python install folder
* Bugfixes
* Fix `AttributeError` on `--update`
3.0.2 (2020-10-24)
* Bugfixes
* Catch permission error when making cache dir, as well as cache file
3.0.1 (2020-10-21)
* Bugfixes
* Fix `tlds` property `AttributeError`
* Allow `include_psl_private_domains` in global `extract` too
3.0.0 (2020-10-20)
No changes since 3.0.0.rc1.
3.0.0.rc1 (2020-10-12)
This release fixes the long standing bug that public and private suffixes were
generated separately and could not be switched at runtime,
* Breaking Changes
* Rename `cache_file` to `cache_dir` as it is no longer a single file but a directory
* Rename CLI arg also, from `--cache_file` to `--cache_dir`
* Remove Python 2.7 support
* Features
* Can pass `include_psl_private_domains` on call, not only on construction
* Use filelocking to support multi-processing and multithreading environments
* Bugfixes
* Select public or private suffixes at runtime
* Removals
* Do not `debug` log the diff during update
Diffstat (limited to 'net')
-rw-r--r-- | net/py-tldextract/Makefile | 10 | ||||
-rw-r--r-- | net/py-tldextract/PLIST | 8 | ||||
-rw-r--r-- | net/py-tldextract/distinfo | 10 |
3 files changed, 17 insertions, 11 deletions
diff --git a/net/py-tldextract/Makefile b/net/py-tldextract/Makefile index ff86ce8863c..223aade10d8 100644 --- a/net/py-tldextract/Makefile +++ b/net/py-tldextract/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2020/08/24 05:20:00 tnn Exp $ +# $NetBSD: Makefile,v 1.9 2020/11/27 19:36:27 adam Exp $ -DISTNAME= tldextract-2.2.3 +DISTNAME= tldextract-3.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=t/tldextract/} @@ -11,16 +11,17 @@ COMMENT= Accurately separate the TLD from the registered domain and subdomains LICENSE= modified-bsd BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm +DEPENDS+= ${PYPKGPREFIX}-filelock>=3.0.8:../../devel/py-filelock DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses TEST_DEPENDS+= ${PYPKGPREFIX}-test-pylint-[0-9]*:../../devel/py-test-pylint -PYTHON_VERSIONED_DEPENDENCIES= test:test - USE_LANGUAGES= # none +PYTHON_VERSIONS_INCOMPATIBLE= 27 + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} tldextract tldextract-${PYVERSSUFFIX} || ${TRUE} @@ -29,5 +30,4 @@ do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/py-tldextract/PLIST b/net/py-tldextract/PLIST index 04d7a1b58da..a5c23e37aab 100644 --- a/net/py-tldextract/PLIST +++ b/net/py-tldextract/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2020/08/21 12:37:48 adam Exp $ +@comment $NetBSD: PLIST,v 1.5 2020/11/27 19:36:27 adam Exp $ bin/tldextract-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -16,12 +16,18 @@ ${PYSITELIB}/tldextract/__main__.pyo ${PYSITELIB}/tldextract/_version.py ${PYSITELIB}/tldextract/_version.pyc ${PYSITELIB}/tldextract/_version.pyo +${PYSITELIB}/tldextract/cache.py +${PYSITELIB}/tldextract/cache.pyc +${PYSITELIB}/tldextract/cache.pyo ${PYSITELIB}/tldextract/cli.py ${PYSITELIB}/tldextract/cli.pyc ${PYSITELIB}/tldextract/cli.pyo ${PYSITELIB}/tldextract/remote.py ${PYSITELIB}/tldextract/remote.pyc ${PYSITELIB}/tldextract/remote.pyo +${PYSITELIB}/tldextract/suffix_list.py +${PYSITELIB}/tldextract/suffix_list.pyc +${PYSITELIB}/tldextract/suffix_list.pyo ${PYSITELIB}/tldextract/tldextract.py ${PYSITELIB}/tldextract/tldextract.pyc ${PYSITELIB}/tldextract/tldextract.pyo diff --git a/net/py-tldextract/distinfo b/net/py-tldextract/distinfo index b24fd7439bc..a135d962bc3 100644 --- a/net/py-tldextract/distinfo +++ b/net/py-tldextract/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2020/08/21 12:37:48 adam Exp $ +$NetBSD: distinfo,v 1.7 2020/11/27 19:36:27 adam Exp $ -SHA1 (tldextract-2.2.3.tar.gz) = 4c8c713e2831e535131520b8f2d5f9a0f649b3b1 -RMD160 (tldextract-2.2.3.tar.gz) = fa66243b27cd3653739034fe1a94a6319b9a4208 -SHA512 (tldextract-2.2.3.tar.gz) = bc8b00723db7a8908f733f317fdf8ea16411262b93e1b3332446be379bfdeec67efcca9b032f22cada7978c9be44890c246730650aeaa786f240f28a2b57233f -Size (tldextract-2.2.3.tar.gz) = 64729 bytes +SHA1 (tldextract-3.1.0.tar.gz) = b4ea9266f0fafd2ff232d9d6d4410d46dac795c8 +RMD160 (tldextract-3.1.0.tar.gz) = 4bf31442c98ae5fc68a5b318db016246f4dc516e +SHA512 (tldextract-3.1.0.tar.gz) = c6c67598b7dd2c8e85008c5061693182eb075e16390b001eb696fd12a0f5666d0a327667a0fd61e4f270003a8cfc97a8fbf7b53a246bab6f9e9ad95943dac9d8 +Size (tldextract-3.1.0.tar.gz) = 101874 bytes |