diff options
Diffstat (limited to 'dev-python/django-tastypie/django-tastypie-0.9.11.ebuild')
-rw-r--r-- | dev-python/django-tastypie/django-tastypie-0.9.11.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/django-tastypie/django-tastypie-0.9.11.ebuild b/dev-python/django-tastypie/django-tastypie-0.9.11.ebuild new file mode 100644 index 000000000..76a24c196 --- /dev/null +++ b/dev-python/django-tastypie/django-tastypie-0.9.11.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS=1 +RESTRICT_PYTHON_ABIS="2.[4-5] 3.*" +inherit distutils + +DESCRIPTION="A flexible and capable API layer for django" +HOMEPAGE="http://pypi.python.org/pypi/django-tastypie/ https://github.com/toastdriven/django-tastypie" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +KEYWORDS="~amd64" +IUSE="doc" + +LICENSE="BSD" +SLOT="0" +PYTHON_MODNAME="tastypie" + +RDEPEND=">=dev-python/mimeparse-0.1.3 + dev-python/python-dateutil" +DEPEND="${RDEPEND} >=dev-python/django-1.2.5 + dev-python/setuptools" + +src_install() { + distutils_src_install + if use doc; then + rm -r docs/_build/html/_sources/ || die + dohtml -A txt -r docs/_build/html/* + fi +} + +pkg_postinst() { + distutils_pkg_postinst + elog "" + elog "django-tastypie offers the options of utilising the" + elog "XML serializer, requiring package dev-python/lxml," + elog "the YAML serializer, requiring the package dev-python/pyyaml" + elog "and a biplist serializer that is not in the gentoo portage package list" +} |