Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
python-pyrfc3339
Commits:
7825d118 by Antonio Rojas at 2025-12-26T19:57:49+01:00
upgpkg: 1.1-16: Python 3.14 rebuild
- - - - -
5 changed files:
- .SRCINFO
- + 4fa081a3.patch
- + LICENSES/MIT.txt
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-pyrfc3339
pkgdesc = Parses and generates RFC 3339-compliant timestamps using
Python datetime.datetime objects.
pkgver = 1.1
- pkgrel = 15
+ pkgrel = 16
url = https://pypi.python.org/pypi/pyRFC3339
arch = any
license = MIT
@@ -12,8 +12,10 @@ pkgbase = python-pyrfc3339
makedepends = python-wheel
depends = python-pytz
source =
https://pypi.python.org/packages/source/p/pyRFC3339/pyRFC3339-1.1.tar.gz
+ source = 4fa081a3.patch
source = LICENSE.txt
sha512sums =
958b7761fab590aa42bb57a955c5d834441f717796a452b60df21663099dcf2fc046afe60f8157fd0f1edfd95c5e9c9c5349ab10ca4078d210fc63d848496a2f
+ sha512sums =
10b5e4661509f14452146470c536cae20ba9b183da1883581c6ef6c8d65e86df2cecf593c6b8841bc927294cb501a6231e4ef6ca769c944e98d01be577d04bd6
sha512sums =
73c58b87e14593ee283cc323a93820c18a00e9af4e5027687fc8f6cd5735c98f341c6ac1aa90c040d0899766cabb976a85201b171874b4b81934ff02a9728f2d
pkgname = python-pyrfc3339
=====================================
4fa081a3.patch
=====================================
@@ -0,0 +1,24 @@
+From 4fa081a3972c4975e74f5a194733a585a6b76db4 Mon Sep 17 00:00:00 2001
+From: Kurt Raschke <[email protected]>
+Date: Sun, 12 Oct 2025 21:48:15 -0400
+Subject: [PATCH] Begin testing on Python 3.14.
+
+Support for Python 3.9 is expected to be dropped at the end of the month.
+---
+ pyproject.toml | 6 ++++--
+ pyrfc3339/parser.py | 2 +-
+ 2 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/pyrfc3339/parser.py b/pyrfc3339/parser.py
+index e9eceaa..7bd519d 100644
+--- a/pyrfc3339/parser.py
++++ b/pyrfc3339/parser.py
+@@ -36,7 +36,7 @@ def parse(timestamp: str, utc: bool = False, produce_naive:
bool = False) -> dat
+
+ Exceptions will, however, be thrown for blatantly invalid input:
+
+- >>> parse('2009-01-01T25:01:02Z')
++ >>> parse('2009-01-01T25:01:02Z') # doctest: +IGNORE_EXCEPTION_DETAIL
+ Traceback (most recent call last):
+ ...
+ ValueError: hour must be in 0..23
=====================================
LICENSES/MIT.txt
=====================================
@@ -0,0 +1,18 @@
+MIT License
+
+Copyright (c) <year> <copyright holders>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and
+associated documentation files (the "Software"), to deal in the Software
without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the
+following conditions:
+
+The above copyright notice and this permission notice shall be included in all
copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT
+LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
AND NONINFRINGEMENT. IN NO
+EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE
+USE OR OTHER DEALINGS IN THE SOFTWARE.
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=python-pyrfc3339
pkgver=1.1
-pkgrel=15
+pkgrel=16
pkgdesc="Parses and generates RFC 3339-compliant timestamps using Python
datetime.datetime objects."
arch=('any')
license=('MIT')
@@ -12,10 +12,17 @@ depends=('python-pytz')
makedepends=('python-setuptools' 'python-build' 'python-installer'
'python-wheel')
checkdepends=('python-pytest')
source=("https://pypi.python.org/packages/source/p/pyRFC3339/pyRFC3339-${pkgver}.tar.gz"
+ 4fa081a3.patch
LICENSE.txt)
sha512sums=('958b7761fab590aa42bb57a955c5d834441f717796a452b60df21663099dcf2fc046afe60f8157fd0f1edfd95c5e9c9c5349ab10ca4078d210fc63d848496a2f'
+
'10b5e4661509f14452146470c536cae20ba9b183da1883581c6ef6c8d65e86df2cecf593c6b8841bc927294cb501a6231e4ef6ca769c944e98d01be577d04bd6'
'73c58b87e14593ee283cc323a93820c18a00e9af4e5027687fc8f6cd5735c98f341c6ac1aa90c040d0899766cabb976a85201b171874b4b81934ff02a9728f2d')
+prepare() {
+ cd "$srcdir/pyRFC3339-$pkgver"
+ patch -p1 -i ../4fa081a3.patch # Fix tests with Python 3.14
+}
+
build() {
cd "$srcdir/pyRFC3339-$pkgver"
python -m build --wheel --no-isolation
=====================================
REUSE.toml
=====================================
@@ -20,3 +20,10 @@ path = [
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
+
+[[annotations]]
+path = [
+ "4fa081a3.patch",
+]
+SPDX-FileCopyrightText = "python-pyrfc3339 contributors"
+SPDX-License-Identifier = "MIT"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyrfc3339/-/commit/7825d118ad7fa506cdad37fddbd6af8b350f1e59
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyrfc3339/-/commit/7825d118ad7fa506cdad37fddbd6af8b350f1e59
You're receiving this email because of your account on gitlab.archlinux.org.