Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

new 4-pythone EAPI passlib ebuild, and keystone doc and dep updates

  • Loading branch information...
commit 0da801f47626984aee5e79c32a3b1803d988afe3 1 parent a588666
Daniel Robbins authored April 10, 2012
1  dev-python/passlib/Manifest
... ...
@@ -0,0 +1 @@
  1
+DIST passlib-1.3.1.tar.gz 151494 RMD160 b67db450f19fafa3902970ff4b9e70f1d213b41b SHA1 738395634bf1ef85bff862c3cb6ccceb7dbadc83 SHA256 4cb312e18ee2c0f107a36799107dfd2e05c51faa54c5678397c38d89f35f1328
29  dev-python/passlib/passlib-1.3.1.ebuild
... ...
@@ -0,0 +1,29 @@
  1
+# Copyright 1999-2012 Gentoo Foundation, Funtoo Technologies
  2
+# Distributed under the terms of the GNU General Public License v2
  3
+
  4
+EAPI=4-python
  5
+PYTHON_MULTIPLE_ABIS=1
  6
+PYTHON_RESTRICTED_ABIS="3.*"
  7
+
  8
+inherit distutils
  9
+
  10
+DESCRIPTION="comprehensive password hashing framework supporting over 20 schemes"
  11
+HOMEPAGE="http://code.google.com/p/passlib/"
  12
+SRC_URI="http://pypi.python.org/packages/source/p/passlib/${P}.tar.gz"
  13
+LICENSE="BSD-2"
  14
+KEYWORDS="*"
  15
+SLOT="0"
  16
+IUSE="test doc"
  17
+DEPEND="$(python_abi_depend dev-python/setuptools ) test? ( $(python_abi_depend dev-python/nose ) )"
  18
+
  19
+src_install() {
  20
+	distutils_src_install
  21
+	if use doc; then
  22
+		dodoc "${S}"/docs/*
  23
+	fi
  24
+}
  25
+
  26
+src_test() {
  27
+	PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
  28
+}
  29
+
1  sys-auth/keystone/keystone-2012.1.ebuild
39  sys-auth/keystone/keystone-2012.1.ebuild
... ...
@@ -1,39 +0,0 @@
1  
-# Copyright 1999-2011 Gentoo Foundation
2  
-# Distributed under the terms of the GNU General Public License v2
3  
-# $Header: $
4  
-
5  
-EAPI=4-python
6  
-
7  
-PYTHON_MULTIPLE_ABIS=1
8  
-PYTHON_RESTRICTED_ABIS="2.[45] 3.*"
9  
-
10  
-inherit distutils
11  
-
12  
-DESCRIPTIOn="Keystone is a cloud identity service written in Python, which
13  
-provides authentication, authorization, and an OpenStack service catalog. It
14  
-implements OpenStac's Identity API."
15  
-HOMEPAGE="https://launchpad.net/keystone"
16  
-SRC_URI="http://launchpad.net/${PN}/essex/${PV}/+download/${P}.tar.gz"
17  
-
18  
-LICENSE="Apache-2.0"
19  
-SLOT="0"
20  
-KEYWORDS="*"
21  
-IUSE=""
22  
-
23  
-DEPEND="dev-python/setuptools
24  
-		dev-python/pep8
25  
-		dev-python/lxml
26  
-		dev-python/python-daemon"
27  
-RDEPEND="${DEPEND}
28  
-		 dev-python/python-novaclient
29  
-		 dev-python/python-ldap
30  
-		 dev-python/passlib"
31  
-
32  
-src_install() {
33  
-	distutils_src_install
34  
-	newconfd "${FILESDIR}/keystone.confd" keystone
35  
-	newinitd "${FILESDIR}/keystone.initd" keystone
36  
-
37  
-	diropts -m 0750
38  
-	dodir /var/run/keystone /var/log/keystone
39  
-}
44  sys-auth/keystone/keystone-9999.ebuild
@@ -5,30 +5,37 @@
5 5
 EAPI=4-python
6 6
 
7 7
 PYTHON_MULTIPLE_ABIS=1
8  
-PYTHON_RESTRICTED_ABIS="2.[45] 3.*"
  8
+PYTHON_RESTRICTED_ABIS="2.[45] 3.* *-jython *-pypy-*"
9 9
 
10  
-inherit git-2 distutils
  10
+inherit distutils
11 11
 
12  
-DESCRIPTIOn="Keystone is a cloud identity service written in Python, which
  12
+if [ "$PV" = "9999" ]; then
  13
+	inherit git-2
  14
+	EGIT_REPO_URI="https://github.com/openstack/keystone.git"
  15
+else
  16
+	SRC_URI="http://launchpad.net/${PN}/essex/${PV}/+download/${P}.tar.gz"
  17
+fi
  18
+
  19
+DESCRIPTION="Keystone is a cloud identity service written in Python, which
13 20
 provides authentication, authorization, and an OpenStack service catalog. It
14 21
 implements OpenStac's Identity API."
15 22
 HOMEPAGE="https://launchpad.net/keystone"
16  
-EGIT_REPO_URI="https://github.com/openstack/keystone.git"
17 23
 
18 24
 LICENSE="Apache-2.0"
19 25
 SLOT="0"
20 26
 KEYWORDS="~*"
21  
-IUSE=""
22  
-
23  
-DEPEND="dev-python/setuptools
24  
-		dev-python/pep8
25  
-		dev-python/lxml
26  
-		dev-python/python-daemon
27  
-		!dev-python/keystoneclient"
28  
-RDEPEND="${DEPEND}
29  
-		 dev-python/python-novaclient
30  
-		 dev-python/python-ldap
31  
-		 dev-python/passlib"
  27
+IUSE="+doc"
  28
+
  29
+DEPEND="$( python_abi_depend dev-python/setuptools dev-python/pep8 dev-python/lxml dev-python/python-daemon !dev-python/keystoneclient ) doc? ( dev-python/sphinx )"
  30
+RDEPEND="${DEPEND} $( python_abi_depend dev-python/python-novaclient dev-python/python-ldap dev-python/passlib )"
  31
+
  32
+src_compile() {
  33
+	distutils_src_compile
  34
+	if use doc; then
  35
+		cd ${S}/doc || die
  36
+		make man singlehtml || die
  37
+	fi
  38
+}
32 39
 
33 40
 src_install() {
34 41
 	distutils_src_install
@@ -37,5 +44,12 @@ src_install() {
37 44
 
38 45
 	diropts -m 0750
39 46
 	dodir /var/run/keystone /var/log/keystone
  47
+
  48
+	dodoc -r ${S}/etc
  49
+	if use doc; then
  50
+		doman ${S}/doc/build/man/keystone.1
  51
+		dodoc -r ${S}/doc/build/singlehtml
  52
+	fi
  53
+
40 54
 }
41 55
 

0 notes on commit 0da801f

Please sign in to comment.
Something went wrong with that request. Please try again.