From nobody Wed Sep 18 06:19:18 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X7pQH4NcJz5W00V; Wed, 18 Sep 2024 06:19:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7pQH1P0hz4Fqr; Wed, 18 Sep 2024 06:19:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726640359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=996uRYzGGLcHujjzX4xxzXmWROehqdFL634Te6HCyio=; b=hkzbVbOuS0RUPRZs94dn3hLanX6lgaF7DHXAwErJ8BrZlTecg4+IqpuUDCahgG4Lp9HvhN AGBaE8aGK8gTQ1c3eOeixSo4DrnTQOouYdgOQzE+bzLPtzsGk+fBylInrQjDThhYI4DGQu WT+CNejTK2E13evyh6JC0s0Aq4nVx8xUxbWOv55skc2+tOTwM9jnL4y7TeG9xiKC1xUfId q/Y708lSAnVv+jbbzS6q34wX1cGVMYH+nKJP57MAdQF11XL6ulI4aLYXm5BWRulGxFsnh7 TJtycBLcfEGn8hn5C6cdqhmK7upgQB3NcNUs1i8K6QpDvkKwcKrTIPGg+k8MVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726640359; a=rsa-sha256; cv=none; b=X0eGVVUEIjWXk6AqtgK0pzgk1Roa1kN4z7tHa/365BUFnOcPXiMpeY2r5GOCIo4uRZyjye Vr/Opu4uRq+0ZZgF70p40yqaDyyygJ2fkHz3ei93+aHKm+p6Ayj26TJ2m7DRH/n46zqzwV b5K0iCfTbbJZmLqCrV5UTK1sO9FXiZJO68rjdMNR7OGs64kt0ZRp1ve2KBmeLAo+nBM2Bv H82R6kGHvHTmnNC7b0xBYFiFE1BldoxkeqQYq6kaIAdhODNHf4R/3U9jYXLFCRLhnVhZ4a 8rBHQ3CC/3McaTtl5E/5QxJOTVS+/9csPQMeXNV31zWLWFlkV+ueo4Jlrm4nlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726640359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=996uRYzGGLcHujjzX4xxzXmWROehqdFL634Te6HCyio=; b=G4GJ+3gVu1RSD3UWbMTuDaeLUEtVwYeq0aovFW0oGmjcnh4Ij9t5I8EuBxxZl/Ht5AAzts gGL74lPd/PPH8ZnhN/SZ5zezrRb8f/tFJbGTNHzljImTlNpYXDmXQbbnvZ6xTtnwZxz5mG fbz1xedzn6DFrE8JDfw+4UefNGi1Moopf/dAxyoKGCXI7Pr2DHTvNiYOwaonkySxoyNcYT dMEkFGZtHTuBisUBZdzqUDKFhimAWqAsGTUAzFNzIizADMXLcrSr2VPE4PvZmJff6mrTYU ZmLkblgO53c7dINwTAQWOPrAj7n3pBWHo3Zp53/b95AyzOgEojxvFAxwrw151Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X7pQG73gcz1919; Wed, 18 Sep 2024 06:19:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48I6JIbs033187; Wed, 18 Sep 2024 06:19:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I6JIa8033184; Wed, 18 Sep 2024 06:19:18 GMT (envelope-from git) Date: Wed, 18 Sep 2024 06:19:18 GMT Message-Id: <202409180619.48I6JIa8033184@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f564516dcd9a - main - devel/py-ciso8601: Update to 2.3.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f564516dcd9afb5318b7b1d941f7bebfe4be33a3 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f564516dcd9afb5318b7b1d941f7bebfe4be33a3 commit f564516dcd9afb5318b7b1d941f7bebfe4be33a3 Author: Po-Chuan Hsieh AuthorDate: 2024-09-18 05:56:21 +0000 Commit: Po-Chuan Hsieh 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 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.