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 updatediff -r1.8 -r1.9 pkgsrc/net/py-tldextract/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= tldextract-2.2.3 | 3 | DISTNAME= tldextract-3.1.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= net python | 5 | CATEGORIES= net python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=t/tldextract/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=t/tldextract/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/john-kurkowski/tldextract | 9 | HOMEPAGE= https://github.com/john-kurkowski/tldextract | |
10 | COMMENT= Accurately separate the TLD from the registered domain and subdomains | 10 | COMMENT= Accurately separate the TLD from the registered domain and subdomains | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm | 13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm | |
14 | DEPENDS+= ${PYPKGPREFIX}-filelock>=3.0.8:../../devel/py-filelock | |||
14 | DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna | 15 | DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna | |
15 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests | 16 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests | |
16 | DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file | 17 | DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-pylint-[0-9]*:../../devel/py-test-pylint | 19 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-pylint-[0-9]*:../../devel/py-test-pylint | |
19 | 20 | |||
20 | PYTHON_VERSIONED_DEPENDENCIES= test:test | |||
21 | ||||
22 | USE_LANGUAGES= # none | 21 | USE_LANGUAGES= # none | |
23 | 22 | |||
23 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
24 | ||||
24 | post-install: | 25 | post-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 | |||
28 | do-test: | 29 | do-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" |
@@ -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 $ | |
2 | bin/tldextract-${PYVERSSUFFIX} | 2 | bin/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 |
@@ -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 | |||
3 | SHA1 (tldextract-2.2.3.tar.gz) = 4c8c713e2831e535131520b8f2d5f9a0f649b3b1 | 3 | SHA1 (tldextract-3.1.0.tar.gz) = b4ea9266f0fafd2ff232d9d6d4410d46dac795c8 | |
4 | RMD160 (tldextract-2.2.3.tar.gz) = fa66243b27cd3653739034fe1a94a6319b9a4208 | 4 | RMD160 (tldextract-3.1.0.tar.gz) = 4bf31442c98ae5fc68a5b318db016246f4dc516e | |
5 | SHA512 (tldextract-2.2.3.tar.gz) = bc8b00723db7a8908f733f317fdf8ea16411262b93e1b3332446be379bfdeec67efcca9b032f22cada7978c9be44890c246730650aeaa786f240f28a2b57233f | 5 | SHA512 (tldextract-3.1.0.tar.gz) = c6c67598b7dd2c8e85008c5061693182eb075e16390b001eb696fd12a0f5666d0a327667a0fd61e4f270003a8cfc97a8fbf7b53a246bab6f9e9ad95943dac9d8 | |
6 | Size (tldextract-2.2.3.tar.gz) = 64729 bytes | 6 | Size (tldextract-3.1.0.tar.gz) = 101874 bytes |