User Tools

Site Tools


oe_yp_ruby_gems

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
oe_yp_ruby_gems [2021/11/23 09:55]
rpjday removed
— (current)
Line 1: Line 1:
-===== Overview ===== 
- 
-OE/YP processing of Ruby gems, and the layers involved (all master/​dunfell branches). 
- 
-===== Layers ===== 
- 
-==== poky ==== 
- 
-  * meta/ 
-    * recipes-devtools/​ 
-      * ruby/ 
-        * ruby_2.7.0.bb 
-        * ruby.inc 
- 
-==== meta-cloud-services ==== 
- 
-  * classes/ 
-    * ruby.bbclass 
-  * recipes-support/​ 
-    * facter/ 
-      * facter_2.5.0.bb 
-  * meta-openstack/​ 
-    * recipes-devtools/​ 
-      * ruby/ 
-        * bundler_git.bb 
-        * yard_git.bb 
- 
-===== Sample recipes ===== 
- 
-==== facter_2.5.0.bb (meta-cloud-services) ==== 
- 
-<​code>​ 
-SUMMARY = "​Facter gathers basic facts about nodes (systems)"​ 
-HOMEPAGE = "​http://​puppetlabs.com/​facter"​ 
-LICENSE = "​Apache-2.0"​ 
-LIC_FILES_CHKSUM = "​file://​LICENSE;​md5=ce69a88023d6f6ab282865ddef9f1e41"​ 
- 
-SRC_URI = " \ 
-    http://​downloads.puppetlabs.com/​facter/​facter-${PV}.tar.gz \ 
-    file://​add_facter_gemspec.patch \ 
-" 
-SRC_URI[md5sum] = "​58b6b609f19d1c146c600c4dc6e7fa39"​ 
-SRC_URI[sha256sum] = "​47ccbfb8a69e4d48c3c88e47ac1ae754fcc583d4090fa9d838461b3ede7b07cb"​ 
- 
-inherit ruby 
- 
-DEPENDS += " \ 
-        ruby \ 
-" 
- 
-RUBY_INSTALL_GEMS = "​facter-${PV}.gem"​ 
-</​code>​ 
- 
-==== yard_git.bb (meta-openstack) ==== 
- 
-<​code>​ 
-# Copyright (C) 2014 Wind River Systems, Inc. 
-# 
-SUMMARY = "A documentation generation tool for the Ruby programming language."​ 
-DESCRIPTION = "YARD is a documentation generation tool for the Ruby \ 
-programming language. It enables the user to generate consistent, \ 
-usable documentation that can be exported to a number of formats very \ 
-easily, and also supports extending for custom Ruby constructs such as \ 
-custom class level definitions."​ 
- 
-LICENSE = "​MIT"​ 
-LIC_FILES_CHKSUM = "​file://​LICENSE;​md5=b3e127de4b3f2e58562183d9aba9a7f6"​ 
- 
-PR = "​r0"​ 
- 
-BPV = "​0.8.7.6"​ 
-PV = "​${BPV}"​ 
-SRCREV = "​d83194e1a09098ec5be28b616cde3b9a15380873"​ 
- 
-S = "​${WORKDIR}/​git"​ 
- 
-SRC_URI = " \ 
-    git://​github.com/​lsegal/​yard.git \ 
-    " 
- 
-inherit ruby 
- 
-BBCLASSEXTEND = "​native"​ 
-</​code>​