pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-tldextract py-tldextract: updated to 3.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/cde2de7b63a5
branches: trunk
changeset: 442654:cde2de7b63a5
user: adam <adam%pkgsrc.org@localhost>
date: Fri Nov 27 19:36:27 2020 +0000
description:
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:
net/py-tldextract/Makefile | 10 +++++-----
net/py-tldextract/PLIST | 8 +++++++-
net/py-tldextract/distinfo | 10 +++++-----
3 files changed, 17 insertions(+), 11 deletions(-)
diffs (80 lines):
diff -r ab6305a4963a -r cde2de7b63a5 net/py-tldextract/Makefile
--- a/net/py-tldextract/Makefile Fri Nov 27 19:30:31 2020 +0000
+++ b/net/py-tldextract/Makefile Fri Nov 27 19:36:27 2020 +0000
@@ -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,15 +11,16 @@
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
-USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
@@ -29,5 +30,4 @@
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ab6305a4963a -r cde2de7b63a5 net/py-tldextract/PLIST
--- a/net/py-tldextract/PLIST Fri Nov 27 19:30:31 2020 +0000
+++ b/net/py-tldextract/PLIST Fri Nov 27 19:36:27 2020 +0000
@@ -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/_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 -r ab6305a4963a -r cde2de7b63a5 net/py-tldextract/distinfo
--- a/net/py-tldextract/distinfo Fri Nov 27 19:30:31 2020 +0000
+++ b/net/py-tldextract/distinfo Fri Nov 27 19:36:27 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index