1 |
commit: 7e4402143acbe7cc40812acac1341a63df0786c3 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 19:25:03 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 19:46:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e440214 |
7 |
|
8 |
dev-python/icalendar: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/icalendar/Manifest | 1 + |
13 |
dev-python/icalendar/icalendar-3.9.2.ebuild | 51 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest |
17 |
index b07b5f0..b5b3184 100644 |
18 |
--- a/dev-python/icalendar/Manifest |
19 |
+++ b/dev-python/icalendar/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST icalendar-3.8.4.zip 91925 SHA256 7034e184ef3f9010f074410cea11b68fa93ef847f3fb185be41d6bd261c9cbb8 SHA512 5963112ed5d9aa16c85523c7687f5c23085171b84a3f974f5daa84d76e9af5f7171a6f1c342daddbe15531193c47191103fe0f53589aff41787d7ad58a12e0a0 WHIRLPOOL 7cb352564968a121831b82907386f328b25e718439f65bebf575f906fe00f7cfbf4b8bc578b3f201aaa1c7eaa22f9e70eca68278a81e5d802573a301ede75410 |
22 |
DIST icalendar-3.9.0.tar.gz 62627 SHA256 93d0b94eab23d08f62962542309916a9681f16de3d5eca1c75497f30f1b07792 SHA512 a937882046666212d011cbd5963f43e3c2ebc677c55f1ac425dd77a08201a204498881986208d40e2e93b163f9f51b285cb3a1250f07d01f9b6a968c4e24065d WHIRLPOOL 3cc4fd1ef6170dbb99c1f55e45082374d08931265397df422ee3439ca532f7e2704dd6ed620635b65719f509c4a84682c2f54ef12751e3cd00c4235c116d1336 |
23 |
+DIST icalendar-3.9.2.tar.gz 66283 SHA256 0b2d2610e039404e22a0a72fe5a59614374e7bd15ed824ead6ef6f8d36b41e2f SHA512 da50bba72f7a114263672ebd45cfcca5f7c2eca48538901f595b26ef18bb21a6290da4392c62cc27d1202083fcab7f5bfe6c9a463df38087de0ef764999f7eb1 WHIRLPOOL e5162b46f97a3b86e4e2eb75f2fdba2a3418f3b8e32a239f16f607811fbadd376619e9805336eb272f41aca2c0e6f9d724d92d4740c7910536ad64ef673de7fa |
24 |
|
25 |
diff --git a/dev-python/icalendar/icalendar-3.9.2.ebuild b/dev-python/icalendar/icalendar-3.9.2.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..e664ba7 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/icalendar/icalendar-3.9.2.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI="5" |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="collective-${PN}" |
42 |
+ |
43 |
+DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" |
44 |
+HOMEPAGE="https://github.com/collective/icalendar" |
45 |
+SRC_URI="mirror://pypi/i/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
50 |
+IUSE="doc test" |
51 |
+DOCS="README.rst" |
52 |
+ |
53 |
+RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
57 |
+ test? ( dev-python/python-dateutil:0[${PYTHON_USEDEP}] |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ dev-python/coverage[${PYTHON_USEDEP}] )" |
60 |
+ |
61 |
+python_prepare_all() { |
62 |
+ # reset conf.py to not read version from an installed instance |
63 |
+ sed -e "s:pkg_resources.get_distribution('icalendar').version:'3.9.0':" \ |
64 |
+ -i docs/conf.py || die |
65 |
+ distutils-r1_python_prepare_all |
66 |
+} |
67 |
+ |
68 |
+python_compile_all() { |
69 |
+ if use doc; then |
70 |
+ pushd docs > /dev/null |
71 |
+ emake text |
72 |
+ popd > /dev/null |
73 |
+ DOCS=( ${DOCS} docs/_build/text/*.txt ) |
74 |
+ fi |
75 |
+} |
76 |
+ |
77 |
+python_test() { |
78 |
+ # From tox.ini |
79 |
+ coverage run --source=src/icalendar --omit=*/tests/* --module \ |
80 |
+ pytest src/icalendar || die "test failed under ${EPYTHON}" |
81 |
+} |