Skip to contentSkip to conversation

meta-openstack: add required packages and missing dependencies

PATCH New [email protected] 1 participant 12 messages May 13, 2015

lore
Share & tools
lore
#0 lore raw

cover meta-openstack: add required packages and missing dependencies

From: Jackie Huang <[email protected]>

--
The following changes since commit dd04ca6db2993404284679ea04a80d9071f90c2b:

python-cinder: upgrade to 2015.1.0 (2015-05-07 14:13:37 -0400)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib jhuang0/t_add-new-pkgs_150513_0
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/t_add-new-pkgs_150513_0

Jackie Huang (11):
python-repoze.lru: add new recipe
python-routes: add rdepends on python-repoze.lru python-oslo.policy: add new recipe
python-keystone: add missing rdepends on python-oslo.policy
python-django: inherit setuptools instead of distutils python-xstatic-angular-irdragndrop: add new recipe
python-horizon: add rdepends on python-xstatic-angular-irdragndrop
python-enum: add new recipe
python-pyscss: add missing rdepends on python-enum
python-pathlib: add new recipe
python-django-pyscss: add missing rdepends on python-pathlib

 .../python/python-django-pyscss_2.0.1.bb           |  1 +
 .../recipes-devtools/python/python-django_1.7.5.bb |  2 +-
 .../recipes-devtools/python/python-enum_0.4.4.bb   | 25 +++++++++++++++++++
 .../recipes-devtools/python/python-horizon_git.bb  |  1 +
 .../recipes-devtools/python/python-keystone_git.bb |  1 +
 .../python/python-oslo.policy_0.4.0.bb             | 27 ++++++++++++++++++++
 .../python/python-pathlib_1.0.1.bb                 | 29 ++++++++++++++++++++++
 .../recipes-devtools/python/python-pyscss_1.3.4.bb |  1 +
 .../python/python-repoze.lru_0.6.bb                | 20 +++++++++++++++
 .../recipes-devtools/python/python-routes_2.1.bb   |  2 +-
 .../python-xstatic-angular-irdragndrop_1.0.2.2.bb  | 22 ++++++++++++++++
 11 files changed, 129 insertions(+), 2 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-oslo.policy_0.4.0.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-pathlib_1.0.1.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-repoze.lru_0.6.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-angular-irdragndrop_1.0.2.2.bb
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/11 python-repoze.lru: add new recipe

From: Jackie Huang <[email protected]>

It's required by python-routes.

---
 .../recipes-devtools/python/python-repoze.lru_0.6.bb | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-repoze.lru_0.6.bb
meta-openstack/recipes-devtools/python/python-repoze.lru_0.6.bb new file +20 -0
new file mode 100644
index 0000000..60a749f
@@ -0,0 +1,20 @@
+SUMMARY = "A tiny LRU cache implementation and decorator"
+DESCRIPTION = "repoze.lru is a LRU (least recently used) cache implementation. \
+Keys and values that are not used frequently will be evicted from the cache faster \
+than keys and values that are used frequently. \
+"
+HOMEPAGE = "https://pypi.python.org/pypi/repoze.lru"
+SECTION = "devel/python"
+LICENSE = "BSD-derived"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c33cdbc6bc9ae6e5d64152fdb754292"
+
+SRCNAME = "repoze.lru"
+
+SRC_URI = "http://pypi.python.org/packages/source/r/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "2c3b64b17a8e18b405f55d46173e14dd"
+SRC_URI[sha256sum] = "0f7a323bf716d3cb6cb3910cd4fccbee0b3d3793322738566ecce163b01bbd31"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/11 python-routes: add rdepends on python-repoze.lru

In reply to [email protected]

From: Jackie Huang <[email protected]>

Add the missing rdepends on python-repoze.lru or it will fail with:

File "/usr/lib64/python2.7/site-packages/routes/mapper.py", line 5, in <module>
from repoze.lru import LRUCache
ImportError: No module named repoze.lru

---
 meta-openstack/recipes-devtools/python/python-routes_2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-routes_2.1.bb +1 -1
index dbf6e17..ad459c7 100644
@@ -15,4 +15,4 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
 
-
+RDEPENDS_${PN} += "python-repoze.lru"
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/11 python-oslo.policy: add new recipe

In reply to [email protected]

From: Jackie Huang <[email protected]>

It's required by python-keystone.

---
 .../python/python-oslo.policy_0.4.0.bb             | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-oslo.policy_0.4.0.bb
meta-openstack/recipes-devtools/python/python-oslo.policy_0.4.0.bb new file +27 -0
new file mode 100644
index 0000000..2816559
@@ -0,0 +1,27 @@
+SUMMARY = "Oslo Policy library"
+DESCRIPTION = "The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services."
+HOMEPAGE = "https://pypi.python.org/pypi/oslo.policy"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
+
+
+SRCNAME = "oslo.policy"
+SRC_URI = "http://pypi.python.org/packages/source/o/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "a0ddfa5782191c218e1e100234550295"
+SRC_URI[sha256sum] = "7e8a82e617516722043f437825ed5ada422632ee432cc64ede7c4854209cd329"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DEPENDS += " \
+        python-pip \
+"
+
+RDEPENDS_${PN} += " \
+        python-oslo.config \
+        python-oslo.i18n \
+        python-oslo.serialization \
+"
Signature · 1 line
1.9.1
#4 lore raw

PATCH 4/11 python-keystone: add missing rdepends on python-oslo.policy

In reply to [email protected]

From: Jackie Huang <[email protected]>

Add the missing rdepends or it will fail with:
File "/usr/lib64/python2.7/site-packages/keystone/policy/backends/rules.py", line 20, in <module>
from oslo_policy import policy as common_policy
ImportError: No module named oslo_policy

---
 meta-openstack/recipes-devtools/python/python-keystone_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-keystone_git.bb +1 -0
index b13d36b..8fbf996 100644
@@ -281,6 +281,7 @@ RDEPENDS_${PN} += " \
         python-dogpile.cache \
         python-pbr \
         python-pysaml2 \
+        python-oslo.policy \
         python-oslo.utils \
         python-oauthlib \
         python-fixtures \
Signature · 1 line
1.9.1
#5 lore raw

PATCH 5/11 python-django: inherit setuptools instead of distutils

In reply to [email protected]

From: Jackie Huang <[email protected]>

setup.py for this pkg uses setuptools, not distutils.

---
 meta-openstack/recipes-devtools/python/python-django_1.7.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-django_1.7.5.bb +1 -1
index 36302fd..9a815ea 100644
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "6ae69c1dfbfc9d0c44ae80e2fbe48e59bbbbb70e8df66ad2b7029bd399
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
 
 FILES_${PN} += "${datadir}/django/*"
 
Signature · 1 line
1.9.1
#6 lore raw

PATCH 6/11 python-xstatic-angular-irdragndrop: add new recipe

In reply to [email protected]

From: Jackie Huang <[email protected]>

It's required by python-horizon

---
 .../python-xstatic-angular-irdragndrop_1.0.2.2.bb  | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-angular-irdragndrop_1.0.2.2.bb
meta-openstack/recipes-devtools/python/python-xstatic-angular-irdragndrop_1.0.2.2.bb new file +22 -0
new file mode 100644
index 0000000..2ad3e55
@@ -0,0 +1,22 @@
+DESCRIPTION = "IrDragNDrop javascript library packaged for setuptools"
+HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Angular-IrDragNDrop"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9acc2dfc3a0345c175df08104bd22298"
+
+SRCNAME = "XStatic-Angular-IrDragNDrop"
+SRC_URI = "http://pypi.python.org/packages/source/X/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "6ea8809bae94014aef699d58836dba84"
+SRC_URI[sha256sum] = "5595f4a98ac8f8468f7e56dc916e10c0fc5f0197567899a75755f99fe8b5bd6d"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DEPENDS += " \
+        python-pip \
+        "
+
+RDEPENDS_${PN} += " \
+        "
Signature · 1 line
1.9.1
#7 lore raw

PATCH 7/11 python-horizon: add rdepends on python-xstatic-angular-irdragndrop

In reply to [email protected]

From: Jackie Huang <[email protected]>

---
 meta-openstack/recipes-devtools/python/python-horizon_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-horizon_git.bb +1 -0
index 55a2a38..9dd764f 100644
@@ -39,6 +39,7 @@ RDEPENDS_${PN} += " python-django \
     python-xstatic-angular-cookies \
     python-xstatic-angular-mock \
     python-xstatic-angular-bootstrap \
+    python-xstatic-angular-irdragndrop \
     python-xstatic-d3 \
     python-xstatic-hogan \
     python-xstatic-jasmine \
Signature · 1 line
1.9.1
#8 lore raw

PATCH 8/11 python-enum: add new recipe

In reply to [email protected]

From: Jackie Huang <[email protected]>

It's required by python-pyscss.

---
 .../recipes-devtools/python/python-enum_0.4.4.bb   | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb
meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb new file +25 -0
new file mode 100644
index 0000000..4671a59
@@ -0,0 +1,25 @@
+SUMMARY = "Robust enumerated type support in Python"
+DESCRIPTION = "This package provides a module for robust enumerations in Python."
+HOMEPAGE = "https://pypi.python.org/pypi/enum"
+SECTION = "devel/python"
+LICENSE = "GPLv2 | PSFv2"
+LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=4325afd396febcb659c36b49533135d4 \
+                    file://LICENSE.PSF;md5=1ad8a43fc3bbfea1585223c99f4c3e6f \
+"
+
+SRCNAME = "enum"
+SRC_URI = "http://pypi.python.org/packages/source/e/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "ce75c7c3c86741175a84456cc5bd531e"
+SRC_URI[sha256sum] = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DEPENDS += " \
+        python-pip \
+"
+
+RDEPENDS_${PN} += " \
+"
Signature · 1 line
1.9.1
#9 lore raw

PATCH 9/11 python-pyscss: add missing rdepends on python-enum

In reply to [email protected]

From: Jackie Huang <[email protected]>

Add missing rdepends on python-enum or it fails with:
File "/usr/lib64/python2.7/site-packages/scss/compiler.py", line 7, in <module>
from enum import Enum
ImportError: No module named enum

---
 meta-openstack/recipes-devtools/python/python-pyscss_1.3.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-pyscss_1.3.4.bb +1 -0
index f26352a..72ea639 100644
@@ -25,6 +25,7 @@ DEPENDS += " \
 
 # RDEPENDS_default: 
 RDEPENDS_${PN} += " \
+        python-enum \
         "
 
 CLEANBROKEN = "1"
Signature · 1 line
1.9.1
#10 lore raw

PATCH 10/11 python-pathlib: add new recipe

In reply to [email protected]

From: Jackie Huang <[email protected]>

It's required by python-django-pyscss.

---
 .../python/python-pathlib_1.0.1.bb                 | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-pathlib_1.0.1.bb
meta-openstack/recipes-devtools/python/python-pathlib_1.0.1.bb new file +29 -0
new file mode 100644
index 0000000..ae26da1
@@ -0,0 +1,29 @@
+SUMMARY = "Object-oriented filesystem paths"
+DESCRIPTION = "pathlib offers a set of classes to handle filesystem paths. \
+It offers the following advantages over using string objects: \
+- No more cumbersome use of os and os.path functions. \
+- Embodies the semantics of different path types. \
+- Well-defined semantics, eliminating any warts or ambiguities. \
+"
+HOMEPAGE = "https://pypi.python.org/pypi/pathlib"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b6557c860f0fc867aeab30afd649753"
+
+
+SRCNAME = "pathlib"
+SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "5099ed48be9b1ee29b31c82819240537"
+SRC_URI[sha256sum] = "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DEPENDS += " \
+        python-pip \
+"
+
+RDEPENDS_${PN} += " \
+"
Signature · 1 line
1.9.1
#11 lore raw

PATCH 11/11 python-django-pyscss: add missing rdepends on python-pathlib

In reply to [email protected]

From: Jackie Huang <[email protected]>

Add missing rdepends on python-pathlib or it fails with:
File "/usr/lib64/python2.7/site-packages/django_pyscss/compiler.py", line 4, in <module>
from pathlib import PurePath
ImportError: No module named pathlib

---
 meta-openstack/recipes-devtools/python/python-django-pyscss_2.0.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-django-pyscss_2.0.1.bb +1 -0
index f665d00..43dbc9f 100644
@@ -25,4 +25,5 @@ DEPENDS += " \
 RDEPENDS_${PN} += " \
         python-django \
         python-pyscss \        
+        python-pathlib \
         "
Signature · 1 line
1.9.1