diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2019-04-12 14:14:30 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2019-04-12 14:43:49 -0500 |
commit | b200352eb02fcb56c2a5a3fc1a694e1819165ee8 (patch) | |
tree | ceb3da592f1c00b40607c46a3aa3f29d19472fc2 /dev-python | |
parent | dev-python/ovs: add py37 support to 2.10.0 (diff) | |
download | gentoo-b200352eb02fcb56c2a5a3fc1a694e1819165ee8.tar.gz gentoo-b200352eb02fcb56c2a5a3fc1a694e1819165ee8.tar.bz2 gentoo-b200352eb02fcb56c2a5a3fc1a694e1819165ee8.zip |
dev-python/os-ken: initial add for neutron
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/os-ken/Manifest | 1 | ||||
-rw-r--r-- | dev-python/os-ken/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/os-ken/os-ken-0.3.1.ebuild | 43 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/os-ken/Manifest b/dev-python/os-ken/Manifest new file mode 100644 index 000000000000..84c6a583ce57 --- /dev/null +++ b/dev-python/os-ken/Manifest @@ -0,0 +1 @@ +DIST os-ken-0.3.1.tar.gz 1440173 BLAKE2B 1b861e79e3aa324ac24b0a120b1edc06ce3b9916f2863538a95ecd96d618cbf416c2633af6a89e923d346d6092dcf72f25bf486b5e46d2d7a18774c58f839efc SHA512 ddf3309165614a9d25046623cefbb0e961452eefd43a9260ad3e1bdeb9999200624848d14bf5ef318b53dee786374131bcaf14d9798d7b7a8cd581bc47aaf9ed diff --git a/dev-python/os-ken/metadata.xml b/dev-python/os-ken/metadata.xml new file mode 100644 index 000000000000..ebb9be04bc89 --- /dev/null +++ b/dev-python/os-ken/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <upstream> + <remote-id type="github">openstack/os-ken</remote-id> + <remote-id type="pypi">os-ken</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/os-ken/os-ken-0.3.1.ebuild b/dev-python/os-ken/os-ken-0.3.1.ebuild new file mode 100644 index 000000000000..8da122e4c1c9 --- /dev/null +++ b/dev-python/os-ken/os-ken-0.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="OpenStack Cinder brick library for managing local volume attaches" +HOMEPAGE="https://github.com/openstack/os-ken" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/os-ken-${PV}.tar.gz" +S="${WORKDIR}/os_vif-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND}" +RDEPEND=" + ${CDEPEND} + >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.18.3[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/oslo-config-2.5.0[${PYTHON_USEDEP}] + >=dev-python/ovs-2.6.0[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tinyrpc-0.6[${PYTHON_USEDEP}] + >=dev-python/webob-1.2[${PYTHON_USEDEP}]" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + sed -i '/^pbr/d' requirements.txt || die # pbr should be uncapped in stable/ocata + distutils-r1_python_prepare_all +} |