summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strata/openstack-services.morph1
-rw-r--r--strata/openstack-services/cryptography.morph8
2 files changed, 9 insertions, 0 deletions
diff --git a/strata/openstack-services.morph b/strata/openstack-services.morph
index abc6def6..92f64711 100644
--- a/strata/openstack-services.morph
+++ b/strata/openstack-services.morph
@@ -449,6 +449,7 @@ chunks:
repo: upstream:python-packages/xattr
- build-depends: [pbr, cffi]
name: cryptography
+ morph: strata/openstack-services/cryptography.morph
ref: master
repo: upstream:python-packages/cryptography
- build-depends: [jsonschema, python-json-patch, pbr]
diff --git a/strata/openstack-services/cryptography.morph b/strata/openstack-services/cryptography.morph
new file mode 100644
index 00000000..789d0077
--- /dev/null
+++ b/strata/openstack-services/cryptography.morph
@@ -0,0 +1,8 @@
+name: cryptography
+kind: chunk
+configure-commands:
+- cp -r /usr/lib/python2.7/site-packages/cffi .
+build-commands:
+- python setup.py build
+install-commands:
+- python setup.py install --prefix "$PREFIX" --root "$DESTDIR"