Skip to contentSkip to conversation

concurrent-ruby: 1.1.6 -> 1.1.9

PATCH In review kai 2 participants 2 messages Nov 22, 2021 – Nov 24, 2021

lore
Share & tools
lore

kai

author
#0 lore raw

PATCH 1/1 concurrent-ruby: 1.1.6 -> 1.1.9

From: Kai Kang <[email protected]>

Upgrade concurrent-ruby from 1.1.6 to 1.1.9:

* it changed license file to txt, so the license file name and checksum changed
* remove 'tag=' from SRC_URI and use SRCREV instead

---
 ...urrent-ruby_1.1.6.bb => concurrent-ruby_1.1.9.bb} | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
 rename meta-openstack/recipes-devtools/ruby/{concurrent-ruby_1.1.6.bb => concurrent-ruby_1.1.9.bb} (50%)
meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.9.bb renamed from meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.6.bb +9 -3
similarity index 50%
rename from meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.6.bb
rename to meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.9.bb
index a328203e..e2c99d7d 100644
@@ -2,11 +2,17 @@ SUMMARY = "Modern concurrency tools including agents, futures, promises, thread
 HOMEPAGE = "http://www.concurrent-ruby.com"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fde65ae93d18826f70c6fe125aa04297"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e319104fe1435b64fc0a67032db44f02"
 
-SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;tag=v1.1.6\
-	   file://0001-Removed-check-for-concurrent_ruby.jar.patch"
+SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;branch=master \
+           file://0001-Removed-check-for-concurrent_ruby.jar.patch \
+           "
+SRCREV = "52c08fca13cc3811673ea2f6fdb244a0e42e0ebe"
 
 S = "${WORKDIR}/git"
 
+do_install:append () {
+    rmdir --ignore-fail-on-non-empty ${D}${libdir}/ruby/gems/${RUBY_GEM_VERSION}/plugins
+}
+
 inherit ruby
Signature · 1 line
2.17.1
#1 lore raw

merged.

Bruce

In message: [meta-virtualization][m-c-s][PATCH] concurrent-ruby: 1.1.6 -> 1.1.9

Quoted 48 lines · on 22/11/2021 kai wrote:

From: Kai Kang <[email protected]>

Upgrade concurrent-ruby from 1.1.6 to 1.1.9:

* it changed license file to txt, so the license file name and checksum changed
* remove 'tag=' from SRC_URI and use SRCREV instead

---
 ...urrent-ruby_1.1.6.bb => concurrent-ruby_1.1.9.bb} | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
 rename meta-openstack/recipes-devtools/ruby/{concurrent-ruby_1.1.6.bb => concurrent-ruby_1.1.9.bb} (50%)
meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.9.bb renamed from meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.6.bb +9 -3
similarity index 50%
rename from meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.6.bb
rename to meta-openstack/recipes-devtools/ruby/concurrent-ruby_1.1.9.bb
index a328203e..e2c99d7d 100644
@@ -2,11 +2,17 @@ SUMMARY = "Modern concurrency tools including agents, futures, promises, thread
 HOMEPAGE = "http://www.concurrent-ruby.com"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fde65ae93d18826f70c6fe125aa04297"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e319104fe1435b64fc0a67032db44f02"
 
-SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;tag=v1.1.6\
-	   file://0001-Removed-check-for-concurrent_ruby.jar.patch"
+SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;branch=master \
+           file://0001-Removed-check-for-concurrent_ruby.jar.patch \
+           "
+SRCREV = "52c08fca13cc3811673ea2f6fdb244a0e42e0ebe"
 
 S = "${WORKDIR}/git"
 
+do_install:append () {
+    rmdir --ignore-fail-on-non-empty ${D}${libdir}/ruby/gems/${RUBY_GEM_VERSION}/plugins
+}
+
 inherit ruby
Signature · 1 line
2.17.1