commit:     352e564b14c7ff0b0a92d07b4651408b83d0c67c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 20 06:03:26 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 20 06:49:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352e564b

dev-python/icalendar: Bump to 6.1.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/icalendar/Manifest               |  1 +
 dev-python/icalendar/icalendar-6.1.2.ebuild | 54 +++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest
index ebd4c8facb8f..8473695d82d2 100644
--- a/dev-python/icalendar/Manifest
+++ b/dev-python/icalendar/Manifest
@@ -1 +1,2 @@
 DIST icalendar-6.1.1.tar.gz 145256 BLAKE2B 
cf3cf5a79f25f6c2820e4a04fc02a1546949e99c4e3fa9e6a204b0e4eb13e475b0c5a1f3179009b77437a33ab360b561cdff59453bcd77b771fc223ad14a2494
 SHA512 
3afb10dcfd07d0348bb404e2bfef3b790e312764bed1147999a3322255d7c881a1513077b49b3ed6cfc03a22afa81a3211823d94a2414b00bc2c4503bed73264
+DIST icalendar-6.1.2.tar.gz 151266 BLAKE2B 
3f6fd1074f48f9e7fbd6b91b1fc73c592752fe8d6885c460ac9278e715a7812022a606f89d32eaf67f214ae35641677330e8ee9b0f7106946c6c3872a875343a
 SHA512 
6dfb0480894f107abe6d676c8addf437c114088491e55d253334bdda9b37c758c4d7943e98a16196b2f8811e67aef81f527d57b78fe86a279b76b7f5c8c91e6f

diff --git a/dev-python/icalendar/icalendar-6.1.2.ebuild 
b/dev-python/icalendar/icalendar-6.1.2.ebuild
new file mode 100644
index 000000000000..28a70aa7375d
--- /dev/null
+++ b/dev-python/icalendar/icalendar-6.1.2.ebuild
@@ -0,0 +1,54 @@
+# 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 EPYTEST_DESELECT=(
+               # https://github.com/collective/icalendar/issues/791
+               
'src/icalendar/tests/test_issue_722_generate_vtimezone.py::test_we_can_identify_dateutil_timezones[Asia/Manila]'
+               
'src/icalendar/tests/test_timezone_identification.py::test_can_identify_dateutil[Asia/Manila]'
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to