32 lines
880 B
Bash
32 lines
880 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/vobject/vobject-0.8.1c.ebuild,v 1.5 2012/01/24 03:04:50 xarthisius Exp $
|
|
|
|
EAPI="3"
|
|
PYTHON_DEPEND="2"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
RESTRICT_PYTHON_ABIS="3.*"
|
|
|
|
inherit distutils
|
|
|
|
DESCRIPTION="A full featured Python package for parsing and generating vCard and vCalendar files"
|
|
HOMEPAGE="http://vobject.skyhouseconsulting.com/ http://pypi.python.org/pypi/vobject"
|
|
SRC_URI="http://vobject.skyhouseconsulting.com/${P}.tar.gz"
|
|
|
|
LICENSE="Apache-1.1"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-python/python-dateutil:python-2"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools"
|
|
|
|
DOCS="ACKNOWLEDGEMENTS.txt"
|
|
|
|
src_test() {
|
|
testing() {
|
|
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test_vobject.py
|
|
}
|
|
python_execute_function testing
|
|
}
|