commit: 42c85c13d9afc619f0374133e008bd6e6b83a3de
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 28 12:50:20 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 12:51:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c85c13
dev-python/icalendar: Bump to 6.1.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/icalendar/Manifest | 1 +
dev-python/icalendar/icalendar-6.1.3.ebuild | 48 +++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest
index 8473695d82d2..58bcfb1a6d4f 100644
--- a/dev-python/icalendar/Manifest
+++ b/dev-python/icalendar/Manifest
@@ -1,2 +1,3 @@
DIST icalendar-6.1.1.tar.gz 145256 BLAKE2B
cf3cf5a79f25f6c2820e4a04fc02a1546949e99c4e3fa9e6a204b0e4eb13e475b0c5a1f3179009b77437a33ab360b561cdff59453bcd77b771fc223ad14a2494
SHA512
3afb10dcfd07d0348bb404e2bfef3b790e312764bed1147999a3322255d7c881a1513077b49b3ed6cfc03a22afa81a3211823d94a2414b00bc2c4503bed73264
DIST icalendar-6.1.2.tar.gz 151266 BLAKE2B
3f6fd1074f48f9e7fbd6b91b1fc73c592752fe8d6885c460ac9278e715a7812022a606f89d32eaf67f214ae35641677330e8ee9b0f7106946c6c3872a875343a
SHA512
6dfb0480894f107abe6d676c8addf437c114088491e55d253334bdda9b37c758c4d7943e98a16196b2f8811e67aef81f527d57b78fe86a279b76b7f5c8c91e6f
+DIST icalendar-6.1.3.tar.gz 152131 BLAKE2B
f1315537dee85282073d4b67b06fbb823ba6642247449e950243d44fc8c8e3147c703095b1370bec9458a1fa0d01b5e1bb0f4cdc04ffb4b721100a8d68eb5ba1
SHA512
aa0e92c0fcf6a394cca608391defd67616752b12984b5848eb56b89337537e3761fdbfc731838db2c565603ddcc845b034c4592b3be736d68c6f435726ed2977
diff --git a/dev-python/icalendar/icalendar-6.1.3.ebuild
b/dev-python/icalendar/icalendar-6.1.3.ebuild
new file mode 100644
index 000000000000..edee634eaf9b
--- /dev/null
+++ b/dev-python/icalendar/icalendar-6.1.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Package used for parsing and generating iCalendar files (RFC
2445)"
+HOMEPAGE="
+ https://github.com/collective/icalendar/
+ https://pypi.org/project/icalendar/
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/tzdata[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx-copybutton \
+ dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # reset conf.py to not read version from an installed instance
+ sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':"
\
+ -i docs/conf.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}