Update to 1.1.0

This commit is contained in:
Carl George 2022-10-14 18:50:58 -05:00
parent 4c2bd48b99
commit b13fb64151
4 changed files with 20 additions and 14 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ iso8601-0.1.4.tar.gz
/iso8601-0.1.12.tar.gz
/iso8601-0.1.13.tar.gz
/iso8601-1.0.2.tar.gz
/iso8601-1.1.0.tar.gz

View File

@ -1,32 +1,34 @@
From bf93b56a7bf0fc6c88508438b2c58452ef0775ef Mon Sep 17 00:00:00 2001
From 7a4731af5837e20667b34dffc89672489ef0e5d9 Mon Sep 17 00:00:00 2001
From: Carl George <carl@george.computer>
Date: Fri, 6 May 2022 15:02:17 -0500
Subject: [PATCH] Add docs and test extras
This makes it easier to install just documentation or test dependencies
without installing all dev dependencies.
(cherry picked from commit 67037a4329fbac0cd143ae9dbaa12bb2a3df73c9)
---
pyproject.toml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index a2ee476..0814537 100644
index fe28bfd..75dda5a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,6 +11,10 @@ documentation = "https://pyiso8601.readthedocs.io/en/latest/"
[tool.poetry.dependencies]
python = ">=3.6.2,<4.0"
+pytest = { version = "^6.2.2", optional = true }
+hypothesis = { version = "^6.1.1", optional = true }
+pytz = { version = "^2021.1", optional = true }
+Sphinx = { version = "^4.2.0", optional = true }
+pytest = { version = "*", optional = true }
+hypothesis = { version = "*", optional = true }
+pytz = { version = "*", optional = true }
+Sphinx = { version = "*", optional = true }
[tool.poetry.dev-dependencies]
mypy = "^0.910"
@@ -24,6 +28,10 @@ pre-commit = "^2.15.0"
nox = "^2021.10.1"
Sphinx = "^4.2.0"
mypy = "*"
@@ -24,6 +28,10 @@ pre-commit = "*"
nox = "*"
Sphinx = "*"
+[tool.poetry.extras]
+docs = ["Sphinx"]
@ -36,5 +38,5 @@ index a2ee476..0814537 100644
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
--
2.35.1
2.37.3

View File

@ -6,8 +6,8 @@ This module parses the most common forms of ISO 8601 date strings \
%bcond_without tests
Name: python-%{srcname}
Version: 1.0.2
Release: 4%{?dist}
Version: 1.1.0
Release: 1%{?dist}
Summary: Simple module to parse ISO 8601 dates
License: MIT
@ -52,6 +52,9 @@ sed -e 's/\^/>=/' -i pyproject.toml
%doc README.rst
%changelog
* Fri Oct 14 2022 Carl George <carl@george.computer> - 1.1.0-1
- Update to 1.1.0
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (iso8601-1.0.2.tar.gz) = f28fbfe82c25575ad73a92df144c108ef3cf4e1a5a9af8362187014904073f26daa3b77dde689a23cfd87cdbf86196b241e925dd8cf5fd81728f0dbeee4836b7
SHA512 (iso8601-1.1.0.tar.gz) = f3f9621863abcbcde467d38416391cd8c98f59b7b863845b670e11060f0f81bcf4979fadc51c19eb55a5fe44ee1af922976b11cc97bf7b2dc090a485ad9979ac