diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-11 22:48:59 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-11 22:48:59 +0300 |
commit | a5bc640a153eae94cf01b038cdf0527c88b93360 (patch) | |
tree | e820071b4e7d74236ebc8c8ab9c9e074bf9f4b0b /dev-python/icalendar | |
parent | dev-python/botocore: add 1.27.27 (diff) | |
download | gentoo-a5bc640a153eae94cf01b038cdf0527c88b93360.tar.gz gentoo-a5bc640a153eae94cf01b038cdf0527c88b93360.tar.bz2 gentoo-a5bc640a153eae94cf01b038cdf0527c88b93360.zip |
dev-python/icalendar: add 4.1.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/icalendar')
-rw-r--r-- | dev-python/icalendar/Manifest | 1 | ||||
-rw-r--r-- | dev-python/icalendar/icalendar-4.1.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 983bb8771ffc..834f1fe6e7eb 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1 +1,2 @@ DIST icalendar-4.0.9.tar.gz 84254 BLAKE2B c1ca7a7730404f7079e8fac8270f98a60ecd4e657f2b2b3d376d620f12c11a0db6dcd5713f7d2d4935c859d544497fa544b22ffb1a83be9c11ec2ea3923da93b SHA512 2eeb69da89207fe91661dfa6e9c2a623eb3be2fb5a48e999e87a881d7fecc1f339764124601b0610a14ce809f238c6731f30f2071bb4706206de10181365d1dd +DIST icalendar-4.1.0.tar.gz 78706 BLAKE2B a676b938101e901c45cfeceba031c35f26dc361832ca24877acefcbe9158e111d883b757a133d72901579f73b32e34adbcb47db6d8ccbaa49f013106c282401e SHA512 15bdf4fd22394836d120d7d7ee029e218247d731c51bd99d4e6df7dd6046b91ea0874b8a81bd6090d366fff035329eac98cabdf0ba5aead43efc82c1e6566b23 diff --git a/dev-python/icalendar/icalendar-4.1.0.ebuild b/dev-python/icalendar/icalendar-4.1.0.ebuild new file mode 100644 index 000000000000..eac5ba78fabc --- /dev/null +++ b/dev-python/icalendar/icalendar-4.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +HOMEPAGE="https://github.com/collective/icalendar" +SRC_URI="mirror://pypi/i/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs +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 +} |