aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-04-02 23:16:00 +0200
committerJakub Jirutka <jakub@jirutka.cz>2022-04-04 19:24:22 +0200
commit787df8b578a425427ce2b784f70668d00bba41b2 (patch)
tree047e1dd28b4403cef5280750acfb98cac889f572
parent4e03344e2ea17db595b294df8ffbf08188a9325d (diff)
downloadaports-787df8b578a425427ce2b784f70668d00bba41b2.tar.gz
aports-787df8b578a425427ce2b784f70668d00bba41b2.tar.bz2
aports-787df8b578a425427ce2b784f70668d00bba41b2.tar.xz
main/ruby-typeprof: upgrade to 0.21.2
-rw-r--r--main/ruby-typeprof/APKBUILD6
-rw-r--r--main/ruby-typeprof/gemspec.patch11
2 files changed, 6 insertions, 11 deletions
diff --git a/main/ruby-typeprof/APKBUILD b/main/ruby-typeprof/APKBUILD
index 11c986b3fb..a6db0b4414 100644
--- a/main/ruby-typeprof/APKBUILD
+++ b/main/ruby-typeprof/APKBUILD
@@ -4,7 +4,7 @@ pkgname=ruby-typeprof
_gemname=typeprof
# Keep version in sync with "Bundled gems" (https://stdgems.org) for the
# packaged Ruby version.
-pkgver=0.15.2
+pkgver=0.21.2
pkgrel=0
pkgdesc="A type analysis tool for Ruby code based on abstract interpretation"
url="https://github.com/ruby/typeprof"
@@ -52,6 +52,6 @@ doc() {
}
sha512sums="
-c94b74f0a0f8f87477f80615677a5c6479d3e326564f2d67c17e4e7f7e71ef5817fe6163d14fdd45fc9bb3de2420f8b09f68f0d031962fb5bafc478679cee331 typeprof-0.15.2.tar.gz
-8fdbdf51b076bfe6061c71f40f6d3c3a65d23f82698c806a7f7d1ef4c8971846c90ebdd4c68bd79b15c9d44d6b29d72a83800bcc4e965f2364e8d7bf2287cc9e gemspec.patch
+53e9657ee0c98e131e8ec70400cb775cf643910e8985767742b50fda99285f33f787d810bcad08d9d633265577731a95fcf9a4e7568e4d6b0b603f14a6c10828 typeprof-0.21.2.tar.gz
+fca74df9bec09e886791b18c15a5e9b56ede5e7a980349d22ca49a2420a52b76f784966acd4dad6b230b199fefc8fb1bcaab98f34a9d2fa10a9a751c98b6c8b3 gemspec.patch
"
diff --git a/main/ruby-typeprof/gemspec.patch b/main/ruby-typeprof/gemspec.patch
index 61e1dc7c17..14d34d4b64 100644
--- a/main/ruby-typeprof/gemspec.patch
+++ b/main/ruby-typeprof/gemspec.patch
@@ -1,13 +1,8 @@
--- a/typeprof.gemspec
+++ b/typeprof.gemspec
-@@ -23,9 +23,7 @@
-
- # Specify which files should be added to the gem when it is released.
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
+@@ -25,4 +25 @@
+- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
-- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(doc|test|spec|features|smoke|testbed)/}) }
- end
+ spec.files = Dir["exe/*", "lib/**/*.rb"]
- spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]