summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2013-09-13 20:36:10 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2013-09-13 20:36:10 +0000
commitd9e6daf398376c2c7ce6d23dd33276bc5755ed88 (patch)
tree224fe43360aea1189d5a19355c21556b1d6d650d /dev-python/python-neutronclient
parentversion bump (diff)
downloadgentoo-2-d9e6daf398376c2c7ce6d23dd33276bc5755ed88.tar.gz
gentoo-2-d9e6daf398376c2c7ce6d23dd33276bc5755ed88.tar.bz2
gentoo-2-d9e6daf398376c2c7ce6d23dd33276bc5755ed88.zip
hopefully going to be able to delete python-quantumclient
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'dev-python/python-neutronclient')
-rw-r--r--dev-python/python-neutronclient/ChangeLog12
-rw-r--r--dev-python/python-neutronclient/python-neutronclient-2.2.3.ebuild46
-rw-r--r--dev-python/python-neutronclient/python-neutronclient-2.2.6-r1.ebuild (renamed from dev-python/python-neutronclient/python-neutronclient-2.2.6.ebuild)10
-rw-r--r--dev-python/python-neutronclient/python-neutronclient-2.3.0-r1.ebuild (renamed from dev-python/python-neutronclient/python-neutronclient-2.3.0.ebuild)10
4 files changed, 75 insertions, 3 deletions
diff --git a/dev-python/python-neutronclient/ChangeLog b/dev-python/python-neutronclient/ChangeLog
index bd7ba7c4f0d5..8c83c06a1696 100644
--- a/dev-python/python-neutronclient/ChangeLog
+++ b/dev-python/python-neutronclient/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-python/python-neutronclient
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v 1.2 2013/09/05 20:40:46 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v 1.3 2013/09/13 20:36:10 prometheanfire Exp $
+
+*python-neutronclient-2.3.0-r1 (13 Sep 2013)
+*python-neutronclient-2.2.3 (13 Sep 2013)
+*python-neutronclient-2.2.6-r1 (13 Sep 2013)
+
+ 13 Sep 2013; Matthew Thode <prometheanfire@gentoo.org>
+ +python-neutronclient-2.2.3.ebuild, +python-neutronclient-2.2.6-r1.ebuild,
+ +python-neutronclient-2.3.0-r1.ebuild, -python-neutronclient-2.2.6.ebuild,
+ -python-neutronclient-2.3.0.ebuild:
+ hopefully going to be able to delete python-quantumclient
*python-neutronclient-2.3.0 (05 Sep 2013)
diff --git a/dev-python/python-neutronclient/python-neutronclient-2.2.3.ebuild b/dev-python/python-neutronclient/python-neutronclient-2.2.3.ebuild
new file mode 100644
index 000000000000..93bcd41bfa0b
--- /dev/null
+++ b/dev-python/python-neutronclient/python-neutronclient-2.2.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.2.3.ebuild,v 1.1 2013/09/13 20:36:10 prometheanfire Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A client for the OpenStack Quantum API"
+HOMEPAGE="https://launchpad.net/neutron"
+MY_PN="python-quantumclient"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
+ >=dev-python/pbr-0.5.16[${PYTHON_USEDEP}]
+ <dev-python/pbr-0.6[${PYTHON_USEDEP}]
+ >=dev-python/cliff-1.4[${PYTHON_USEDEP}]
+ dev-python/httplib2[${PYTHON_USEDEP}]
+ >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
+ >=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
+ >=dev-python/d2to1-0.2.10[${PYTHON_USEDEP}]
+ <dev-python/d2to1-0.3[${PYTHON_USEDEP}]
+ >=dev-python/prettytable-0.6[${PYTHON_USEDEP}]
+ <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]"
+
+src_prepare() {
+ sed -i '/pyparsing/d' "${S}/requirements.txt"
+ distutils-r1_python_prepare_all
+}
+
+python_install() {
+ distutils-r1_python_install
+ cd "${D%/}$(python_get_sitedir)" || die
+ local egg=( python_quantumclient*.egg-info )
+ #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
+ ln -s "${egg[0]}" "${egg[0]/quantum/neutron}" || die
+}
diff --git a/dev-python/python-neutronclient/python-neutronclient-2.2.6.ebuild b/dev-python/python-neutronclient/python-neutronclient-2.2.6-r1.ebuild
index 1f46614e0b8d..72705cb7f241 100644
--- a/dev-python/python-neutronclient/python-neutronclient-2.2.6.ebuild
+++ b/dev-python/python-neutronclient/python-neutronclient-2.2.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.2.6.ebuild,v 1.1 2013/08/20 18:37:30 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.2.6-r1.ebuild,v 1.1 2013/09/13 20:36:10 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -24,3 +24,11 @@ RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]"
+
+python_install() {
+ distutils-r1_python_install
+ cd "${D%/}$(python_get_sitedir)" || die
+ local egg=( python_neutronclient*.egg-info )
+ #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
+ ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
+}
diff --git a/dev-python/python-neutronclient/python-neutronclient-2.3.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-2.3.0-r1.ebuild
index 72206ffda79f..001587b42d7b 100644
--- a/dev-python/python-neutronclient/python-neutronclient-2.3.0.ebuild
+++ b/dev-python/python-neutronclient/python-neutronclient-2.3.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.0.ebuild,v 1.1 2013/09/05 20:40:46 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.0-r1.ebuild,v 1.1 2013/09/13 20:36:10 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -26,3 +26,11 @@ RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]"
+
+python_install() {
+ distutils-r1_python_install
+ cd "${D%/}$(python_get_sitedir)" || die
+ local egg=( python_neutronclient*.egg-info )
+ #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
+ ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
+}