commit: e87b43f248a1925cde8009e427bb640906f00338 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Oct 13 17:02:40 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Oct 13 17:42:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e87b43f2
dev-python/icalendar: Bump to 6.0.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/icalendar/Manifest | 1 + dev-python/icalendar/icalendar-6.0.1.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index fb7ca1bb5883..6e743c2efa4f 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.0a0.tar.gz 133899 BLAKE2B 33cc480e4c5422223837094f341b4057b374c0ec54ff56a27f9ade09a9dfe4f9c8c0ba295a811a9e2c457229183d5b4e335eff1fdd2f70d323664c4ba7203967 SHA512 79d7e4a634bbb68fbac1eccfb208f11bcf1ecfc061fd764e7370c0a33f8ae660e82d5d729404e87e6b1f8c5b3b35f1dbd1c2d22eb27ae5305efdd20177791fec +DIST icalendar-6.0.1.tar.gz 98425 BLAKE2B 7f528b4f4be9ddbc3b3de5ed6f34c074d8dd43647e0d229941ed9f2fd7bbfd5ed4e44685b0ad9657c61aaa018153ebc370f2ca8fd56cb22e3b36a31d6671b696 SHA512 cc9806dd16f3b1fef875ffaac8e1d543e5ee6b133f4399d5ae8644500f63076a10f0e2fd7703c37b84bf0369e1a57b616b0c9b3f24559e4be944d821c83f1200 diff --git a/dev-python/icalendar/icalendar-6.0.1.ebuild b/dev-python/icalendar/icalendar-6.0.1.ebuild new file mode 100644 index 000000000000..9f07a317b78d --- /dev/null +++ b/dev-python/icalendar/icalendar-6.0.1.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 ~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 +}