Fri Nov 27 19:36:27 2020 UTC ()
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


(adam)
diff -r1.8 -r1.9 pkgsrc/net/py-tldextract/Makefile
diff -r1.4 -r1.5 pkgsrc/net/py-tldextract/PLIST
diff -r1.6 -r1.7 pkgsrc/net/py-tldextract/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/net/py-tldextract/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-tldextract/Makefile 2020/08/24 05:20:00 1.8
+++ pkgsrc/net/py-tldextract/Makefile 2020/11/27 19:36:27 1.9
@@ -1,33 +1,33 @@ @@ -1,33 +1,33 @@
1# $NetBSD: Makefile,v 1.8 2020/08/24 05:20:00 tnn Exp $ 1# $NetBSD: Makefile,v 1.9 2020/11/27 19:36:27 adam Exp $
2 2
3DISTNAME= tldextract-2.2.3 3DISTNAME= tldextract-3.1.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= net python 5CATEGORIES= net python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/tldextract/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/tldextract/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/john-kurkowski/tldextract 9HOMEPAGE= https://github.com/john-kurkowski/tldextract
10COMMENT= Accurately separate the TLD from the registered domain and subdomains 10COMMENT= Accurately separate the TLD from the registered domain and subdomains
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm 13BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
 14DEPENDS+= ${PYPKGPREFIX}-filelock>=3.0.8:../../devel/py-filelock
14DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna 15DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
15DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests 16DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
16DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file 17DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file
17TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses 18TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
18TEST_DEPENDS+= ${PYPKGPREFIX}-test-pylint-[0-9]*:../../devel/py-test-pylint 19TEST_DEPENDS+= ${PYPKGPREFIX}-test-pylint-[0-9]*:../../devel/py-test-pylint
19 20
20PYTHON_VERSIONED_DEPENDENCIES= test:test 
21 
22USE_LANGUAGES= # none 21USE_LANGUAGES= # none
23 22
 23PYTHON_VERSIONS_INCOMPATIBLE= 27
 24
24post-install: 25post-install:
25 cd ${DESTDIR}${PREFIX}/bin && \ 26 cd ${DESTDIR}${PREFIX}/bin && \
26 ${MV} tldextract tldextract-${PYVERSSUFFIX} || ${TRUE} 27 ${MV} tldextract tldextract-${PYVERSSUFFIX} || ${TRUE}
27 28
28do-test: 29do-test:
29 cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests 30 cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
30 31
31.include "../../lang/python/egg.mk" 32.include "../../lang/python/egg.mk"
32.include "../../lang/python/versioned_dependencies.mk" 
33.include "../../mk/bsd.pkg.mk" 33.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/net/py-tldextract/PLIST (expand / switch to unified diff)

--- pkgsrc/net/py-tldextract/PLIST 2020/08/21 12:37:48 1.4
+++ pkgsrc/net/py-tldextract/PLIST 2020/11/27 19:36:27 1.5
@@ -1,27 +1,33 @@ @@ -1,27 +1,33 @@
1@comment $NetBSD: PLIST,v 1.4 2020/08/21 12:37:48 adam Exp $ 1@comment $NetBSD: PLIST,v 1.5 2020/11/27 19:36:27 adam Exp $
2bin/tldextract-${PYVERSSUFFIX} 2bin/tldextract-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7${PYSITELIB}/${EGG_INFODIR}/requires.txt 7${PYSITELIB}/${EGG_INFODIR}/requires.txt
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
9${PYSITELIB}/tldextract/.tld_set_snapshot 9${PYSITELIB}/tldextract/.tld_set_snapshot
10${PYSITELIB}/tldextract/__init__.py 10${PYSITELIB}/tldextract/__init__.py
11${PYSITELIB}/tldextract/__init__.pyc 11${PYSITELIB}/tldextract/__init__.pyc
12${PYSITELIB}/tldextract/__init__.pyo 12${PYSITELIB}/tldextract/__init__.pyo
13${PYSITELIB}/tldextract/__main__.py 13${PYSITELIB}/tldextract/__main__.py
14${PYSITELIB}/tldextract/__main__.pyc 14${PYSITELIB}/tldextract/__main__.pyc
15${PYSITELIB}/tldextract/__main__.pyo 15${PYSITELIB}/tldextract/__main__.pyo
16${PYSITELIB}/tldextract/_version.py 16${PYSITELIB}/tldextract/_version.py
17${PYSITELIB}/tldextract/_version.pyc 17${PYSITELIB}/tldextract/_version.pyc
18${PYSITELIB}/tldextract/_version.pyo 18${PYSITELIB}/tldextract/_version.pyo
 19${PYSITELIB}/tldextract/cache.py
 20${PYSITELIB}/tldextract/cache.pyc
 21${PYSITELIB}/tldextract/cache.pyo
19${PYSITELIB}/tldextract/cli.py 22${PYSITELIB}/tldextract/cli.py
20${PYSITELIB}/tldextract/cli.pyc 23${PYSITELIB}/tldextract/cli.pyc
21${PYSITELIB}/tldextract/cli.pyo 24${PYSITELIB}/tldextract/cli.pyo
22${PYSITELIB}/tldextract/remote.py 25${PYSITELIB}/tldextract/remote.py
23${PYSITELIB}/tldextract/remote.pyc 26${PYSITELIB}/tldextract/remote.pyc
24${PYSITELIB}/tldextract/remote.pyo 27${PYSITELIB}/tldextract/remote.pyo
 28${PYSITELIB}/tldextract/suffix_list.py
 29${PYSITELIB}/tldextract/suffix_list.pyc
 30${PYSITELIB}/tldextract/suffix_list.pyo
25${PYSITELIB}/tldextract/tldextract.py 31${PYSITELIB}/tldextract/tldextract.py
26${PYSITELIB}/tldextract/tldextract.pyc 32${PYSITELIB}/tldextract/tldextract.pyc
27${PYSITELIB}/tldextract/tldextract.pyo 33${PYSITELIB}/tldextract/tldextract.pyo

cvs diff -r1.6 -r1.7 pkgsrc/net/py-tldextract/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-tldextract/distinfo 2020/08/21 12:37:48 1.6
+++ pkgsrc/net/py-tldextract/distinfo 2020/11/27 19:36:27 1.7
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.6 2020/08/21 12:37:48 adam Exp $ 1$NetBSD: distinfo,v 1.7 2020/11/27 19:36:27 adam Exp $
2 2
3SHA1 (tldextract-2.2.3.tar.gz) = 4c8c713e2831e535131520b8f2d5f9a0f649b3b1 3SHA1 (tldextract-3.1.0.tar.gz) = b4ea9266f0fafd2ff232d9d6d4410d46dac795c8
4RMD160 (tldextract-2.2.3.tar.gz) = fa66243b27cd3653739034fe1a94a6319b9a4208 4RMD160 (tldextract-3.1.0.tar.gz) = 4bf31442c98ae5fc68a5b318db016246f4dc516e
5SHA512 (tldextract-2.2.3.tar.gz) = bc8b00723db7a8908f733f317fdf8ea16411262b93e1b3332446be379bfdeec67efcca9b032f22cada7978c9be44890c246730650aeaa786f240f28a2b57233f 5SHA512 (tldextract-3.1.0.tar.gz) = c6c67598b7dd2c8e85008c5061693182eb075e16390b001eb696fd12a0f5666d0a327667a0fd61e4f270003a8cfc97a8fbf7b53a246bab6f9e9ad95943dac9d8
6Size (tldextract-2.2.3.tar.gz) = 64729 bytes 6Size (tldextract-3.1.0.tar.gz) = 101874 bytes