diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cliff/remove-distribute-dependency.patch | 23 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cliff_1.3.2.bb | 22 |
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 @@ | |||
| 1 | Index: 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 @@ | |||
| 1 | DESCRIPTION = "Command Line Interface Formulation Framework" | ||
| 2 | HOMEPAGE = "https://github.com/dreamhost/cliff" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 6 | |||
| 7 | PR = "r0" | ||
| 8 | SRCNAME = "cliff" | ||
| 9 | |||
| 10 | SRC_URI = "https://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | ||
| 11 | file://remove-distribute-dependency.patch" | ||
| 12 | |||
| 13 | SRC_URI[md5sum] = "a42f7894dbc70f42c0979042175f1b8f" | ||
| 14 | SRC_URI[sha256sum] = "7c0250b5139993d04dcbb8b9d05376094b7271586b3698b4764c7c6f4697e0f8" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 17 | |||
| 18 | inherit setuptools | ||
| 19 | |||
| 20 | RDEPENDS_${PN} += "python-prettytable \ | ||
| 21 | python-cmd2 \ | ||
| 22 | python-pyparsing" | ||
