diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 20:25:03 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 20:46:11 +0100 |
commit | 7e4402143acbe7cc40812acac1341a63df0786c3 (patch) | |
tree | 4b5b5ad3f32e2025ebdf1bbed350f3211ee59ec1 /dev-python/icalendar | |
parent | Merge remote-tracking branch 'github/pr/851'. (diff) | |
download | gentoo-7e4402143acbe7cc40812acac1341a63df0786c3.tar.gz gentoo-7e4402143acbe7cc40812acac1341a63df0786c3.tar.bz2 gentoo-7e4402143acbe7cc40812acac1341a63df0786c3.zip |
dev-python/icalendar: Bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/icalendar')
-rw-r--r-- | dev-python/icalendar/Manifest | 1 | ||||
-rw-r--r-- | dev-python/icalendar/icalendar-3.9.2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index b07b5f045cc8..b5b318404ca4 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,2 +1,3 @@ DIST icalendar-3.8.4.zip 91925 SHA256 7034e184ef3f9010f074410cea11b68fa93ef847f3fb185be41d6bd261c9cbb8 SHA512 5963112ed5d9aa16c85523c7687f5c23085171b84a3f974f5daa84d76e9af5f7171a6f1c342daddbe15531193c47191103fe0f53589aff41787d7ad58a12e0a0 WHIRLPOOL 7cb352564968a121831b82907386f328b25e718439f65bebf575f906fe00f7cfbf4b8bc578b3f201aaa1c7eaa22f9e70eca68278a81e5d802573a301ede75410 DIST icalendar-3.9.0.tar.gz 62627 SHA256 93d0b94eab23d08f62962542309916a9681f16de3d5eca1c75497f30f1b07792 SHA512 a937882046666212d011cbd5963f43e3c2ebc677c55f1ac425dd77a08201a204498881986208d40e2e93b163f9f51b285cb3a1250f07d01f9b6a968c4e24065d WHIRLPOOL 3cc4fd1ef6170dbb99c1f55e45082374d08931265397df422ee3439ca532f7e2704dd6ed620635b65719f509c4a84682c2f54ef12751e3cd00c4235c116d1336 +DIST icalendar-3.9.2.tar.gz 66283 SHA256 0b2d2610e039404e22a0a72fe5a59614374e7bd15ed824ead6ef6f8d36b41e2f SHA512 da50bba72f7a114263672ebd45cfcca5f7c2eca48538901f595b26ef18bb21a6290da4392c62cc27d1202083fcab7f5bfe6c9a463df38087de0ef764999f7eb1 WHIRLPOOL e5162b46f97a3b86e4e2eb75f2fdba2a3418f3b8e32a239f16f607811fbadd376619e9805336eb272f41aca2c0e6f9d724d92d4740c7910536ad64ef673de7fa diff --git a/dev-python/icalendar/icalendar-3.9.2.ebuild b/dev-python/icalendar/icalendar-3.9.2.ebuild new file mode 100644 index 000000000000..e664ba79fd60 --- /dev/null +++ b/dev-python/icalendar/icalendar-3.9.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +MY_PN="collective-${PN}" + +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 ~x86 ~x86-fbsd" +IUSE="doc test" +DOCS="README.rst" + +RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/python-dateutil:0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # reset conf.py to not read version from an installed instance + sed -e "s:pkg_resources.get_distribution('icalendar').version:'3.9.0':" \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + pushd docs > /dev/null + emake text + popd > /dev/null + DOCS=( ${DOCS} docs/_build/text/*.txt ) + fi +} + +python_test() { + # From tox.ini + coverage run --source=src/icalendar --omit=*/tests/* --module \ + pytest src/icalendar || die "test failed under ${EPYTHON}" +} |