/[gentoo-x86]/dev-python/icalendar/icalendar-2.2.ebuild
Gentoo

Contents of /dev-python/icalendar/icalendar-2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Aug 31 15:52:23 2011 UTC (9 years ago) by nixphoeni
Branch: MAIN
Version bump

(Portage version: 2.1.10.11/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/icalendar/icalendar-2.1_p20100409.ebuild,v 1.6 2011/04/12 18:56:04 tomka Exp $
4
5 EAPI="3"
6 SUPPORT_PYTHON_ABIS="1"
7 PYTHON_DEPEND="2"
8
9 inherit eutils distutils
10
11 MY_PN="collective-${PN}"
12 S="${WORKDIR}/${MY_PN}-2354d4f"
13
14 DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)."
15 HOMEPAGE="http://github.com/collective/icalendar"
16 SRC_URI="http://github.com/collective/${PN}/tarball/${PV} -> ${P}.tar.gz"
17
18 LICENSE="LGPL-2.1"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="doc"
22 RESTRICT="test"
23
24 RDEPEND=""
25 DEPEND="dev-python/setuptools
26 doc? ( dev-python/sphinx )"
27 RESTRICT_PYTHON_ABIS="3.*"
28
29 DOCS="CHANGES.txt CREDITS.txt HISTORY.txt TODO.txt"
30
31 src_compile() {
32 distutils_src_compile
33
34 if use doc; then
35 cd docs
36 emake text || die "building documentation"
37 DOCS="${DOCS} docs/_build/text/*.txt"
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20