summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-05-17 17:12:00 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:54 -0400
commit61bd8baac61ca5d88fc99d95e5e0f95f924bd3a0 (patch)
treeb594edc927c28987de52e06646f402c55733b31d /meta-openstack/recipes-devtools/python
parentade10a84461c18f23eb4c4f4f7b96c3d8ccd36d8 (diff)
downloadmeta-cloud-services-61bd8baac61ca5d88fc99d95e5e0f95f924bd3a0.tar.gz
python-cliff: added 1.3.2
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cliff/remove-distribute-dependency.patch23
-rw-r--r--meta-openstack/recipes-devtools/python/python-cliff_1.3.2.bb22
2 files changed, 45 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cliff/remove-distribute-dependency.patch b/meta-openstack/recipes-devtools/python/python-cliff/remove-distribute-dependency.patch
new file mode 100644
index 0000000..18aab4c
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-cliff/remove-distribute-dependency.patch
@@ -0,0 +1,23 @@
1Index: cliff-1.3.2/setup.py
2===================================================================
3--- cliff-1.3.2.orig/setup.py
4+++ cliff-1.3.2/setup.py
5@@ -5,10 +5,6 @@ PROJECT = 'cliff'
6 # Change docs/source/conf.py too!
7 VERSION = '1.3.2'
8
9-# Bootstrap installation of Distribute
10-import distribute_setup
11-distribute_setup.use_setuptools()
12-
13 from setuptools import setup, find_packages
14
15 from distutils.util import convert_path
16@@ -22,7 +18,6 @@ except IOError:
17 long_description = ''
18
19 install_requires = [
20- 'distribute',
21 'PrettyTable>=0.6,<0.8',
22 'cmd2==0.6.4',
23 ]
diff --git a/meta-openstack/recipes-devtools/python/python-cliff_1.3.2.bb b/meta-openstack/recipes-devtools/python/python-cliff_1.3.2.bb
new file mode 100644
index 0000000..05de68b
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-cliff_1.3.2.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "Command Line Interface Formulation Framework"
2HOMEPAGE = "https://github.com/dreamhost/cliff"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6
7PR = "r0"
8SRCNAME = "cliff"
9
10SRC_URI = "https://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
11 file://remove-distribute-dependency.patch"
12
13SRC_URI[md5sum] = "a42f7894dbc70f42c0979042175f1b8f"
14SRC_URI[sha256sum] = "7c0250b5139993d04dcbb8b9d05376094b7271586b3698b4764c7c6f4697e0f8"
15
16S = "${WORKDIR}/${SRCNAME}-${PV}"
17
18inherit setuptools
19
20RDEPENDS_${PN} += "python-prettytable \
21 python-cmd2 \
22 python-pyparsing"