pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-tldextract



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Nov 27 19:36:27 UTC 2020

Modified Files:
        pkgsrc/net/py-tldextract: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/py-tldextract/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-tldextract/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/py-tldextract/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-tldextract/Makefile
diff -u pkgsrc/net/py-tldextract/Makefile:1.8 pkgsrc/net/py-tldextract/Makefile:1.9
--- pkgsrc/net/py-tldextract/Makefile:1.8       Mon Aug 24 05:20:00 2020
+++ pkgsrc/net/py-tldextract/Makefile   Fri Nov 27 19:36:27 2020
@@ -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 fro
 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"

Index: pkgsrc/net/py-tldextract/PLIST
diff -u pkgsrc/net/py-tldextract/PLIST:1.4 pkgsrc/net/py-tldextract/PLIST:1.5
--- pkgsrc/net/py-tldextract/PLIST:1.4  Fri Aug 21 12:37:48 2020
+++ pkgsrc/net/py-tldextract/PLIST      Fri Nov 27 19:36:27 2020
@@ -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

Index: pkgsrc/net/py-tldextract/distinfo
diff -u pkgsrc/net/py-tldextract/distinfo:1.6 pkgsrc/net/py-tldextract/distinfo:1.7
--- pkgsrc/net/py-tldextract/distinfo:1.6       Fri Aug 21 12:37:48 2020
+++ pkgsrc/net/py-tldextract/distinfo   Fri Nov 27 19:36:27 2020
@@ -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