Tim Meusel pushed to branch main at Arch Linux / Packaging / Packages /
ruby-json-schema
Commits:
53786343 by Tim Meusel at 2024-10-03T09:25:07+02:00
upgpkg: 5.0.1-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- − ruby-json-schema_remove-rubocop.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = ruby-json-schema
pkgdesc = Interface for validating JSON objects against a JSON schema
conforming to JSON Schema Draft 4.
- pkgver = 5.0.0
- pkgrel = 2
+ pkgver = 5.0.1
+ pkgrel = 1
url = https://github.com/voxpupuli/json-schema
arch = any
license = MIT
@@ -14,9 +14,7 @@ pkgbase = ruby-json-schema
depends = ruby
depends = ruby-addressable
options = !emptydirs
- source =
https://github.com/voxpupuli/json-schema/archive/v5.0.0/ruby-json-schema-v5.0.0.tar.gz
- source = ruby-json-schema_remove-rubocop.patch
- sha512sums =
2f8c7aaa6b5e53b73c804ebccff1d5b33057d3a27d5de02392a51f0d563376fca6de24d23df659b7afce1f0bb719e5fbcae515043bebd8225586f010ca8b0962
- sha512sums =
b02d99c1773ebe61275be07558a53e0e7087db9c9e8aa9d2738d07b5aabff6fd11936b166d55d72496da16626f1e1e87fa9ce9483ba52b461a8c4bb86c2e2a04
+ source =
https://github.com/voxpupuli/json-schema/archive/v5.0.1/ruby-json-schema-v5.0.1.tar.gz
+ sha512sums =
a1fc5cf8fd26e98e70383b7f1a8d2b8a0042513dace852e095000b7010639b0ede3283a37fa0773a91c0c15062e46200bfaf760addcc8d0053776fd45c292e75
pkgname = ruby-json-schema
=====================================
PKGBUILD
=====================================
@@ -4,8 +4,8 @@
_gemname='json-schema'
pkgname="ruby-${_gemname}"
-pkgver=5.0.0
-pkgrel=2
+pkgver=5.0.1
+pkgrel=1
pkgdesc='Interface for validating JSON objects against a JSON schema
conforming to JSON Schema Draft 4.'
arch=('any')
url='https://github.com/voxpupuli/json-schema'
@@ -27,10 +27,8 @@ checkdepends=(
options=(!emptydirs)
source=(
"${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz"
- "${pkgname}_remove-rubocop.patch"
)
-sha512sums=('2f8c7aaa6b5e53b73c804ebccff1d5b33057d3a27d5de02392a51f0d563376fca6de24d23df659b7afce1f0bb719e5fbcae515043bebd8225586f010ca8b0962'
-
'b02d99c1773ebe61275be07558a53e0e7087db9c9e8aa9d2738d07b5aabff6fd11936b166d55d72496da16626f1e1e87fa9ce9483ba52b461a8c4bb86c2e2a04')
+sha512sums=('a1fc5cf8fd26e98e70383b7f1a8d2b8a0042513dace852e095000b7010639b0ede3283a37fa0773a91c0c15062e46200bfaf760addcc8d0053776fd45c292e75')
prepare() {
cd "${srcdir}/${_gemname}-${pkgver}"
@@ -38,7 +36,8 @@ prepare() {
# replace upper version boundaries for ruby gems
sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
- patch --verbose --strip=1 --input="../${pkgname}_remove-rubocop.patch"
+ sed --in-place '/development/g' "${_gemname}.gemspec"
+ rm -f Gemfile
}
build() {
=====================================
ruby-json-schema_remove-rubocop.patch deleted
=====================================
@@ -1,23 +0,0 @@
-diff --git a/Rakefile b/Rakefile
-index ae52692..422db77 100644
---- a/Rakefile
-+++ b/Rakefile
-@@ -57,18 +57,6 @@ end
-
- task update: %i[update_common_tests update_meta_schemas]
-
--require 'rubocop/rake_task'
--RuboCop::RakeTask.new(:rubocop) do |task|
-- # These make the rubocop experience maybe slightly less terrible
-- task.options = ['-D', '-S', '-E']
--
-- # Use Rubocop's Github Actions formatter if possible
-- if ENV['GITHUB_ACTIONS'] == 'true'
-- rubocop_spec = Gem::Specification.find_by_name('rubocop')
-- task.formatters << 'github' if Gem::Version.new(rubocop_spec.version) >=
Gem::Version.new('1.2')
-- end
--end
--
- task default: :test
-
- begin
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-json-schema/-/commit/5378634306cdca00d67a1641e01f7edb5b6ac637
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-json-schema/-/commit/5378634306cdca00d67a1641e01f7edb5b6ac637
You're receiving this email because of your account on gitlab.archlinux.org.