commit: 91184b6f21c41a7d0bf9962e24dffea67157e166
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 06:44:20 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 07:09:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91184b6f
dev-python/icalendar: Bump to 6.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/icalendar/Manifest | 1 +
dev-python/icalendar/icalendar-6.1.0.ebuild | 43 +++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest
index fc01f9add1a9..77304e2ad45a 100644
--- a/dev-python/icalendar/Manifest
+++ b/dev-python/icalendar/Manifest
@@ -1,2 +1,3 @@
DIST icalendar-5.0.13.tar.gz 119371 BLAKE2B
ab0673af636b76682f1b0409df4333511c9cb19623dbdc639d84f46dcb9c14580ebfc1ea0465aa22b729852d5eaf76b12aa76041d189bcb3099f205caf43fac4
SHA512
df688298acc0bf3cf25aa08b16e149abab696e44540f11695a654065b90316189460481bde17d68e7c6760c1c4bfbbc74e9d7c7e3e640b5a1978d2c6faafbb78
DIST icalendar-6.0.1.tar.gz 98425 BLAKE2B
7f528b4f4be9ddbc3b3de5ed6f34c074d8dd43647e0d229941ed9f2fd7bbfd5ed4e44685b0ad9657c61aaa018153ebc370f2ca8fd56cb22e3b36a31d6671b696
SHA512
cc9806dd16f3b1fef875ffaac8e1d543e5ee6b133f4399d5ae8644500f63076a10f0e2fd7703c37b84bf0369e1a57b616b0c9b3f24559e4be944d821c83f1200
+DIST icalendar-6.1.0.tar.gz 142307 BLAKE2B
fb5b6e6c337aaf4f18b1d2237d3523cbd4502e61255ee3d3de0f335ca90da384119c1cda5843b455f3eb93540c17d9448a3745e6a09e27b35158b26ab6f7e01f
SHA512
dbab2542371d038060be9e9d2ecccdf6db7d51c4ca80515e02798db1a0f96fc9b4a7eb8e098831d7da97c2c8ba715da2836badf872a0d5c206299fb78923b864
diff --git a/dev-python/icalendar/icalendar-6.1.0.ebuild
b/dev-python/icalendar/icalendar-6.1.0.ebuild
new file mode 100644
index 000000000000..bc5a06104b5a
--- /dev/null
+++ b/dev-python/icalendar/icalendar-6.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 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
+}