summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2011-08-31 15:52:24 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2011-08-31 15:52:24 +0000
commitea44e021152c3b872698462fb3bff546e1e338ea (patch)
tree5d8ad0fe0959d81b7e9117fee8ba5181b690f647 /dev-python/icalendar/icalendar-2.2.ebuild
parentversion bump (diff)
downloadgentoo-2-ea44e021152c3b872698462fb3bff546e1e338ea.tar.gz
gentoo-2-ea44e021152c3b872698462fb3bff546e1e338ea.tar.bz2
gentoo-2-ea44e021152c3b872698462fb3bff546e1e338ea.zip
Version bump
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/icalendar/icalendar-2.2.ebuild')
-rw-r--r--dev-python/icalendar/icalendar-2.2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/icalendar/icalendar-2.2.ebuild b/dev-python/icalendar/icalendar-2.2.ebuild
new file mode 100644
index 000000000000..8b2d6c5f39e2
--- /dev/null
+++ b/dev-python/icalendar/icalendar-2.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/icalendar/icalendar-2.2.ebuild,v 1.1 2011/08/31 15:52:23 nixphoeni Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_DEPEND="2"
+
+inherit eutils distutils
+
+MY_PN="collective-${PN}"
+S="${WORKDIR}/${MY_PN}-2354d4f"
+
+DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)."
+HOMEPAGE="http://github.com/collective/icalendar"
+SRC_URI="http://github.com/collective/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+RESTRICT="test"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+RESTRICT_PYTHON_ABIS="3.*"
+
+DOCS="CHANGES.txt CREDITS.txt HISTORY.txt TODO.txt"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ cd docs
+ emake text || die "building documentation"
+ DOCS="${DOCS} docs/_build/text/*.txt"
+ fi
+}