Bert Peters pushed to branch main at Arch Linux / Packaging / Packages /
ruby-sass-embedded
Commits:
98bbd99f by Bert Peters at 2025-01-26T13:33:10+01:00
upgpkg: 1.83.4-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + no-rubocop-build.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = ruby-sass-embedded
pkgdesc = Embedded Sass Host for Ruby
- pkgver = 1.79.4
+ pkgver = 1.83.4
pkgrel = 1
url = https://github.com/sass-contrib/sass-embedded-host-ruby
arch = any
@@ -13,7 +13,9 @@ pkgbase = ruby-sass-embedded
depends = dart-sass
depends = ruby
depends = ruby-google-protobuf
- source =
ruby-sass-embedded-1.79.4::https://github.com/sass-contrib/sass-embedded-host-ruby/archive/refs/tags/v1.79.4.tar.gz
- sha256sums =
9fde7e0a9b40a99d78569df17fc1389863e8503aa9a0f849e3483c85f75bdf19
+ source =
ruby-sass-embedded-1.83.4::https://github.com/sass-contrib/sass-embedded-host-ruby/archive/refs/tags/v1.83.4.tar.gz
+ source = no-rubocop-build.patch
+ sha256sums =
2a0f48053c6427caef500a4cc8712dbec924987bf9c96f038d79ac39739fc06f
+ sha256sums =
73586a9f570cb52f04a0afe428ad33a0e080f9847ff9b45ba74af3a40bfcc873
pkgname = ruby-sass-embedded
=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
# Maintainer: Bert Peters <[email protected]>
_name="sass-embedded"
pkgname="ruby-$_name"
-pkgver=1.79.4
+pkgver=1.83.4
pkgrel=1
pkgdesc="Embedded Sass Host for Ruby"
arch=("any")
@@ -10,8 +10,10 @@ license=('MIT')
depends=("dart-sass" "ruby" "ruby-google-protobuf")
makedepends=("ruby-rake" "ruby-rdoc" "protobuf")
checkdepends=("ruby-bundler" "ruby-rspec")
-source=("$pkgname-$pkgver::https://github.com/sass-contrib/sass-embedded-host-ruby/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('9fde7e0a9b40a99d78569df17fc1389863e8503aa9a0f849e3483c85f75bdf19')
+source=("$pkgname-$pkgver::https://github.com/sass-contrib/sass-embedded-host-ruby/archive/refs/tags/v$pkgver.tar.gz"
+ "no-rubocop-build.patch")
+sha256sums=('2a0f48053c6427caef500a4cc8712dbec924987bf9c96f038d79ac39739fc06f'
+ '73586a9f570cb52f04a0afe428ad33a0e080f9847ff9b45ba74af3a40bfcc873')
prepare() {
cd "${_name}-host-ruby-${pkgver}"
@@ -28,9 +30,8 @@ prepare() {
# update gemspec/Gemfile to allow newer version of the dependencies
sed --in-place --regexp-extended 's|~>|>=|g' "${_name}.gemspec"
- # remove rubocop dep as it's only a linter
- sed --in-place '/rubocop/Id' Rakefile
-
+ # remove check dep on rubocop as it's just a linter
+ patch -p1 < "$srcdir/no-rubocop-build.patch"
}
build() {
=====================================
no-rubocop-build.patch
=====================================
@@ -0,0 +1,24 @@
+diff --git a/Rakefile b/Rakefile
+index d8782f9..f7c5c96 100644
+--- a/Rakefile
++++ b/Rakefile
+@@ -2,9 +2,8 @@
+
+ require 'bundler/gem_tasks'
+ require 'rspec/core/rake_task'
+-require 'rubocop/rake_task'
+
+-task default: %i[compile rubocop spec]
++task default: %i[compile spec]
+
+ desc 'Compile all the extensions'
+ task :compile do
+@@ -22,8 +21,3 @@ task :compile do
+ end
+
+ RSpec::Core::RakeTask.new
+-
+-RuboCop::RakeTask.new do |task|
+- task.formatters = ['progress']
+- task.formatters << 'github' if ENV.key?('GITHUB_ACTIONS')
+-end
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-sass-embedded/-/commit/98bbd99f0affa8ca2d404e8383020fbce83ec20f
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-sass-embedded/-/commit/98bbd99f0affa8ca2d404e8383020fbce83ec20f
You're receiving this email because of your account on gitlab.archlinux.org.