diff options
Diffstat (limited to 'dev-ruby/sass-listen')
-rw-r--r-- | dev-ruby/sass-listen/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sass-listen/sass-listen-4.0.0-r1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/sass-listen/Manifest b/dev-ruby/sass-listen/Manifest index 1ae17a8d2360..090b859368e1 100644 --- a/dev-ruby/sass-listen/Manifest +++ b/dev-ruby/sass-listen/Manifest @@ -1,4 +1,5 @@ AUX listen-3.1.5-ruby26.patch 1069 BLAKE2B f2b661959f36f919116568fce83c867aea45eb219f63c7549855936ff818ab5d3a22fbb76595ea3e1fed995a436521acb621475b3562f09bed640ab40698d692 SHA512 4828b97d0a970fd7a8432d999f566f89a817775c77a3c4f7261e90b146d50fc0f4791fbcd343fae84fc56bcac4ea2616d1ce46c5cb65fb0e149175b02f74b5c9 DIST sass-listen-4.0.0.tar.gz 49449 BLAKE2B bb44a91a6fbdca1b6d1b8b2253efd1709fb89713631d9772ce91dab9bc701b197a6551391699f5566d3a75ae42f9958d5d6d8346de9f74b45d7b60d88cca5ee7 SHA512 799e1e70f86b4be671c3286ae860cbcec83d8a1311d67fb37956dc527e2961888094439fd8377d50c78798c494f19ddbed3a412f02e76e429dcc1717c93b7e19 +EBUILD sass-listen-4.0.0-r1.ebuild 1155 BLAKE2B 4504dafa05474a6b2dc547c98ce5c80793678234d2641b3fdee9b10fd27648c36f125555afb6c887cfb1c583ac03d596a1ab0183e9f8e0201f692728271eea87 SHA512 6ba2f76f8a9e0c7206ecf1d1f29b83caddfb76231b9d2bbea7bd642c8746eb631f6e2b31dd0ed7768abd0be8ca2b86483096bf3f48bde5bcc329a505e99289a6 EBUILD sass-listen-4.0.0.ebuild 1162 BLAKE2B 6d03af0873bd858821b9654efc314cfc6c2e6597543fabe57d4eb83a54274a9781395b8d76ad8a6411aafacdb5d07027119a2fade884664391ba15b3c04e24b8 SHA512 cb708b9882bfbf17bf06c20eae83136c8674dd083947c80aa28dd4d35046ed168895f6dc029d1e6aab6620c1b6da1dce4eba9ec476fa6a2848553ecad1eed709 MISC metadata.xml 338 BLAKE2B 4738ef39880093b707248a925b33a9762b3e8ab637550448bd828088c9ff0350792f58f26928f2aecaefc940130ebbcbc16e65a25f2cddd010cf7727138bc705 SHA512 ca4455498c345f1e0121807fd0a256668bbd0cbf07b20c21bc4fe97025e3be828ffba7afa19ebe2adc461f774cfe341d8f48137270862637a57e22c47441f212 diff --git a/dev-ruby/sass-listen/sass-listen-4.0.0-r1.ebuild b/dev-ruby/sass-listen/sass-listen-4.0.0-r1.ebuild new file mode 100644 index 000000000000..341d0a1db1ba --- /dev/null +++ b/dev-ruby/sass-listen/sass-listen-4.0.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/sass/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Fork of guard/listen provides a stable API for users of the ruby Sass CLI" +HOMEPAGE="https://github.com/guard/listen" +RUBY_S="listen-${PV}" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" + +PATCHES=( "${FILESDIR}/listen-3.1.5-ruby26.patch" ) + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.7" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/sass-listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +} |