1 |
commit: 04b26feb42ad82148d35d2de68b077c4e2e792cd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 21:26:28 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 21:26:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b26feb |
7 |
|
8 |
dev-python/icalendar: Bump to 4.0.8 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/icalendar/Manifest | 1 + |
13 |
dev-python/icalendar/icalendar-4.0.8.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest |
17 |
index 7c4030891ab..98e286b300d 100644 |
18 |
--- a/dev-python/icalendar/Manifest |
19 |
+++ b/dev-python/icalendar/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST icalendar-4.0.7.tar.gz 78569 BLAKE2B b5d980335b1a9d8135ad9ec037e140f3ae49c3e8db6736b9e469748e3bd51c43f39fc5f9dc443de46d4d4c5856ec74bb548a8d1b47b7e52278fdc2e269be0cbe SHA512 97f7184ddc42ade2a447af5112f5bd18ea9a89ef25ea3983cc2213fefe2c59255102b7babcd49b3e04cbe435d75d2712dd57eebc1bf1c20c54aae7081ba24379 |
22 |
+DIST icalendar-4.0.8.tar.gz 78761 BLAKE2B b1e9aa01319eab769f5b93635e6ff019ed2cf4b7d00bf4a68b9cabe76c70fb18c64fbb8851e0f4920d53dc444fd0ba7518b84f6ca424488a89377f35c133ea12 SHA512 0cc636d7009f808d64cd3255757974d4d52b79139f79db09124ef3e7f9ce1d29eb3e007428e884a58ee3434dbbca8289a05692c593ea3cc68ae10c7c4320a9c3 |
23 |
|
24 |
diff --git a/dev-python/icalendar/icalendar-4.0.8.ebuild b/dev-python/icalendar/icalendar-4.0.8.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..1baac6524fe |
27 |
--- /dev/null |
28 |
+++ b/dev-python/icalendar/icalendar-4.0.8.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" |
39 |
+HOMEPAGE="https://github.com/collective/icalendar" |
40 |
+SRC_URI="mirror://pypi/i/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
48 |
+ dev-python/pytz[${PYTHON_USEDEP}]" |
49 |
+ |
50 |
+distutils_enable_sphinx docs |
51 |
+distutils_enable_tests pytest |
52 |
+ |
53 |
+python_prepare_all() { |
54 |
+ # reset conf.py to not read version from an installed instance |
55 |
+ sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \ |
56 |
+ -i docs/conf.py || die |
57 |
+ distutils-r1_python_prepare_all |
58 |
+} |