summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Chary <iksaif@gentoo.org>2012-05-08 12:16:31 +0000
committerCorentin Chary <iksaif@gentoo.org>2012-05-08 12:16:31 +0000
commitd17a14fe381c0db409e3100d2935976ceaca5406 (patch)
tree31550003ba11069ba97b2f3f0cb9e4ed8028b966 /dev-python
parentversion bump (diff)
downloadgentoo-2-d17a14fe381c0db409e3100d2935976ceaca5406.tar.gz
gentoo-2-d17a14fe381c0db409e3100d2935976ceaca5406.tar.bz2
gentoo-2-d17a14fe381c0db409e3100d2935976ceaca5406.zip
New ebuild for django-oauth-plus.
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-oauth-plus/ChangeLog10
-rw-r--r--dev-python/django-oauth-plus/django-oauth-plus-2.0.ebuild41
-rw-r--r--dev-python/django-oauth-plus/metadata.xml12
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/django-oauth-plus/ChangeLog b/dev-python/django-oauth-plus/ChangeLog
new file mode 100644
index 000000000000..71443f8d3487
--- /dev/null
+++ b/dev-python/django-oauth-plus/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/django-oauth-plus
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-oauth-plus/ChangeLog,v 1.1 2012/05/08 12:16:31 iksaif Exp $
+
+*django-oauth-plus-2.0 (08 May 2012)
+
+ 08 May 2012; <iksaif@gentoo.org> +django-oauth-plus-2.0.ebuild,
+ +metadata.xml:
+ New ebuild for django-oauth-plus.
+
diff --git a/dev-python/django-oauth-plus/django-oauth-plus-2.0.ebuild b/dev-python/django-oauth-plus/django-oauth-plus-2.0.ebuild
new file mode 100644
index 000000000000..0dbb645208ff
--- /dev/null
+++ b/dev-python/django-oauth-plus/django-oauth-plus-2.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-oauth-plus/django-oauth-plus-2.0.ebuild,v 1.1 2012/05/08 12:16:31 iksaif Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+RESTRICT_PYTHON_ABIS="3.*"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Support of OAuth 1.0a in Django using python-oauth2"
+HOMEPAGE="http://pypi.python.org/pypi/django-oauth-plus http://code.welldev.org/django-oauth-plus/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND=">=dev-python/django-1.2.4
+ >=dev-python/oauth2-1.5.170"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ dev-python/setuptools_hg"
+
+PYTHON_MODNAME="oauth_provider"
+
+src_install() {
+ distutils_src_install
+
+ delete_examples() {
+ rm -fr "${ED}$(python_get_sitedir)/examples"
+ }
+ python_execute_function -q delete_examples
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/*
+ fi
+}
diff --git a/dev-python/django-oauth-plus/metadata.xml b/dev-python/django-oauth-plus/metadata.xml
new file mode 100644
index 000000000000..d226d4554937
--- /dev/null
+++ b/dev-python/django-oauth-plus/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>iksaif@gentoo.org</email>
+ <name>Corentin Chary</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">django-oauth-plus</remote-id>
+ </upstream>
+</pkgmetadata>