You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/icalendar/icalendar-2.2.ebuild

41 lines
957 B

# Copyright 1999-2014 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.6 2014/08/10 21:12:06 slyfox Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
inherit 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 ~x86-fbsd"
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
}