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  3 08:17:33 UTC 2023

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

Log Message:
py-tldextract: updated to 5.0.1

5.0.1 (2023-10-17)

* Bugfixes
   * Indicate MD5 not used in a security context (FIPS compliance)
* Misc.
   * Increase typecheck aggression

5.0.0 (2023-10-11)

* Breaking Changes
   * Migrate `ExtractResult` from `namedtuple` to `dataclass`
       * This means no more iterating/indexing/slicing/unpacking the result
         object returned by this library. It is no longer a tuple. You must
         directly reference the fields you're interested in.

         For example, the
         following will no longer work.
         ```python
         tldextract.extract("example.com")[1:3]
         # TypeError: 'ExtractResult' object is not subscriptable
         ```
         Instead, use the following.
         ```python
         ext = tldextract.extract("example.com")
         (ext.domain, ext.suffix)
         ```
* Bugfixes
   * Drop support for EOL Python 3.7
* Misc.
   * Switch from pycodestyle and Pylint to Ruff
   * Consolidate config files
   * Type tests
   * Require docstrings in tests
   * Remove obsolete tests

4.0.0 (2023-10-11)

* **Breaking** bugfixes
   * Always include suffix if private suffix enabled and private suffix exists
       * Add a 4th field `is_private: bool`, to the `ExtractResult`
         `namedtuple`, indicating whether the extraction came from the PSL's
         private domains or not.
       * **This could cause issues when iterating over the tuple and assuming
         only 3 fields.**
       * Previously, the docs promoted iteration to rejoin parts of the tuple.
         This is better achieved by individual access of fields of interest
         (e.g. `ExtractResult.subdomain`) or convenience properties (e.g.
         `ExtractResult.{fqdn,registered_domain}`).

This is the same content as version 3.6.0, originally released 2023-09-19,
which was yanked.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/net/py-tldextract/Makefile
cvs rdiff -u -r1.20 -r1.21 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.24 pkgsrc/net/py-tldextract/Makefile:1.25
--- pkgsrc/net/py-tldextract/Makefile:1.24      Sat Oct 28 19:57:13 2023
+++ pkgsrc/net/py-tldextract/Makefile   Fri Nov  3 08:17:32 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2023/10/28 19:57:13 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2023/11/03 08:17:32 adam Exp $
 
-DISTNAME=      tldextract-3.6.0
+DISTNAME=      tldextract-5.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tldextract/}
 
@@ -29,8 +28,5 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} tldextract tldextract-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-tldextract/distinfo
diff -u pkgsrc/net/py-tldextract/distinfo:1.20 pkgsrc/net/py-tldextract/distinfo:1.21
--- pkgsrc/net/py-tldextract/distinfo:1.20      Wed Sep 20 07:30:28 2023
+++ pkgsrc/net/py-tldextract/distinfo   Fri Nov  3 08:17:32 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2023/09/20 07:30:28 adam Exp $
+$NetBSD: distinfo,v 1.21 2023/11/03 08:17:32 adam Exp $
 
-BLAKE2s (tldextract-3.6.0.tar.gz) = 89fde54d1f9c65f03f7d66b4435dfcd88ad026406a88fda704f9f83154c350d7
-SHA512 (tldextract-3.6.0.tar.gz) = 5cfae8bc293d5ce774f648186a4256477049ef2f6b916d4895636fdd50067cecf4ddea11962d9d4557c29c9ab6e62ba6306062c6219178573c9747a56036318d
-Size (tldextract-3.6.0.tar.gz) = 110460 bytes
+BLAKE2s (tldextract-5.0.1.tar.gz) = 197da474f262ac13a70863bc25d085e74c3cd27aafdca20703db730529c87c51
+SHA512 (tldextract-5.0.1.tar.gz) = 3fe148e2893b09dcdc7e1f16b39d6da5a1ca3cc33ca6b5a473d3479e177de451522773211e6cd2335a6864506b85e06b3f4ce7fdd7dce3f541f099d7da975b78
+Size (tldextract-5.0.1.tar.gz) = 111023 bytes



Home | Main Index | Thread Index | Old Index