summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2010-08-27 17:04:15 +0000
committerTiziano Müller <dev-zero@gentoo.org>2010-08-27 17:04:15 +0000
commit0d5cb7e1f07a06945427b1097858ddc1f5d00bdd (patch)
tree3043535ecb0700c11ac539c1c3af2f0e9aa4df62 /dev-python/django-piston/django-piston-9999.ebuild
parentsparc stable wrt #322859 (diff)
downloadgentoo-2-0d5cb7e1f07a06945427b1097858ddc1f5d00bdd.tar.gz
gentoo-2-0d5cb7e1f07a06945427b1097858ddc1f5d00bdd.tar.bz2
gentoo-2-0d5cb7e1f07a06945427b1097858ddc1f5d00bdd.zip
Initial commit.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/django-piston/django-piston-9999.ebuild')
-rw-r--r--dev-python/django-piston/django-piston-9999.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/django-piston/django-piston-9999.ebuild b/dev-python/django-piston/django-piston-9999.ebuild
new file mode 100644
index 000000000000..3f72495c2ae0
--- /dev/null
+++ b/dev-python/django-piston/django-piston-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-piston/django-piston-9999.ebuild,v 1.1 2010/08/27 17:04:15 dev-zero Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils mercurial
+
+PYTHON_MODNAME="piston"
+
+DESCRIPTION="A mini-framework for Django for creating RESTful APIs."
+HOMEPAGE="http://bitbucket.org/jespern/django-piston/wiki/Home"
+EHG_REPO_URI="http://bitbucket.org/jespern/django-piston/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="examples"
+
+RDEPEND="dev-python/django"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ DOCS="AUTHORS.txt"
+
+ distutils_src_install
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}