Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages / 
ruby-rubocop-ast


Commits:
83af8cbd by loqs at 2024-08-28T22:07:22+00:00
Drop use of ruby-bump and ruby-simplecov

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -14,12 +14,10 @@ depends=(
   ruby-parser
 )
 makedepends=(
-  ruby-bump
   ruby-bundler
   ruby-oedipus_lex
   ruby-rake
   ruby-rspec
-  ruby-simplecov
 )
 options=('!emptydirs')
 source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
@@ -30,9 +28,12 @@ prepare() {
   cd "${_gemname}-${pkgver}"
 
   # update gemspec/Gemfile to allow newer version of the dependencies
-  sed --in-place --regexp-extended "s|gem 'simplecov', '~> 0.10', '< 0.18'|gem 
'simplecov', '>= 0.10'|g" Gemfile
   sed --in-place --regexp-extended 's|~>|>=|g' "${_gemname}.gemspec" Gemfile
 
+  # Remove dependency on bump and simplecov
+  sed --in-place --regexp-extended '/bump|simplecov/d' Gemfile
+  rm tasks/cut_release.rake
+
   # we don't build from a git checkout
   sed --in-place --regexp-extended 's|git ls-files|find|' "${_gemname}.gemspec"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-rubocop-ast/-/commit/83af8cbdf86fa1e28cc751d77abf00066b5b426b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-rubocop-ast/-/commit/83af8cbdf86fa1e28cc751d77abf00066b5b426b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to