Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2024 06:19:18 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f564516dcd9a - main - devel/py-ciso8601: Update to 2.3.1
Message-ID:  <202409180619.48I6JIa8033184@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f564516dcd9afb5318b7b1d941f7bebfe4be33a3

commit f564516dcd9afb5318b7b1d941f7bebfe4be33a3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:56:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:12 +0000

    devel/py-ciso8601: Update to 2.3.1
    
    - Change MASTER_SITES to PYPI
    - Convert to USE_PYTHON=pep517
    - Convert to USE_PYTHON=unittest
    - Update pkg-descr
    
    Changes:        https://github.com/closeio/ciso8601/releases
---
 devel/py-ciso8601/Makefile  | 20 +++++++-------------
 devel/py-ciso8601/distinfo  |  6 +++---
 devel/py-ciso8601/pkg-descr | 12 +++++++-----
 3 files changed, 17 insertions(+), 21 deletions(-)

diff --git a/devel/py-ciso8601/Makefile b/devel/py-ciso8601/Makefile
index 3a04ac01c52d..792ac174b38b 100644
--- a/devel/py-ciso8601/Makefile
+++ b/devel/py-ciso8601/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	ciso8601
-DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.0
+PORTVERSION=	2.3.1
 CATEGORIES=	devel python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -11,20 +11,14 @@ WWW=		https://github.com/closeio/ciso8601
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	closeio
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ciso8601*.so
-
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>
diff --git a/devel/py-ciso8601/distinfo b/devel/py-ciso8601/distinfo
index dae0d16c2865..7d05c78e648b 100644
--- a/devel/py-ciso8601/distinfo
+++ b/devel/py-ciso8601/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672648293
-SHA256 (closeio-ciso8601-v2.3.0_GH0.tar.gz) = 37853b535ea4f94b35932de78417a2a363d8b1bac4db1dc36a2b4d811e69d304
-SIZE (closeio-ciso8601-v2.3.0_GH0.tar.gz) = 46724
+TIMESTAMP = 1726487346
+SHA256 (ciso8601-2.3.1.tar.gz) = 3212c7ffe5d8080270548b5f2692ffd2039683b6628a8d2ad456122cc5793c4c
+SIZE (ciso8601-2.3.1.tar.gz) = 31225
diff --git a/devel/py-ciso8601/pkg-descr b/devel/py-ciso8601/pkg-descr
index 3f7222b9c9f4..9c17bc232d98 100644
--- a/devel/py-ciso8601/pkg-descr
+++ b/devel/py-ciso8601/pkg-descr
@@ -1,6 +1,8 @@
-ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python
-datetime objects. Since it's written as a C module, it is much faster
-than other Python libraries.
+ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python datetime
+objects.
 
-Note: ciso8601 doesn't support the entirety of the ISO 8601 spec,
-only a popular subset.
+Since it's written as a C module, it is much faster than other Python libraries.
+
+ciso8601 only supports a subset of ISO 8601, but supports a superset of what is
+supported by Python itself (datetime.fromisoformat), and supports the entirety
+of the RFC 3339 specification.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409180619.48I6JIa8033184>