diff options
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r-- | dev-ruby/uglifier/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest index 518085f4b483..01a3e7018c3b 100644 --- a/dev-ruby/uglifier/Manifest +++ b/dev-ruby/uglifier/Manifest @@ -1,3 +1,4 @@ DIST uglifier-4.2.0.tar.gz 201913 BLAKE2B 90390308f116dc82fbf889b603b1ecd118adf9a6f541def408fe3229db02d78f3f7ba790822cc5524870317131260ad7f8c7191a69a9e158a43d9c3822fcc95f SHA512 869194db8fffdb7d243fc5639e0286d73dfa3ca9485efda760a9eb00424e6797f0bf7aa9f6c8f410daac556e01b6a1a1701300bc373eb492ea21d864494f8246 +EBUILD uglifier-4.2.0-r1.ebuild 772 BLAKE2B 616a9e8318c3ecfd452f0a4444f327cb8906cfb1ee6841fb7a789969f49f6aa61f29be5919731cd6f86b9885b58c674e9cc837aeeec1f0c19a2b50429fd4b425 SHA512 7b3c72032f4420fe959fa3dfba0e46085a164bc63d81a318eb61f4e5a009a1c14f59f9856a84ed0c140992fc85c5a8d5b7b3bbed410a446b6d4f40623a3ba73e EBUILD uglifier-4.2.0.ebuild 777 BLAKE2B 539f833503cdab1c3aae9b8d03ec7a53435c6ffd4bd2e8388c3aaff7f652ff6b1b681c67eb4cff805d1e9b93aa32ebb511770a6357929a8848bce7b6e9b1f34e SHA512 8d6027e97239ed6be00887208494bb6bfab1fe23ca36d8bca919d4c74ae9d7008564329b1b3d9b4544d437bc1b15593e1fb48d4f1ee1e0335abb68fa56a2e49f MISC metadata.xml 342 BLAKE2B e59016392ac1884861b0f47461227593aa920690ac90fa9951d6361d2d89562de883efb0f4112e18fbf4e28e91fada13720e9cba75be2c935e2cb224282efb5b SHA512 5e8ab8b606114c96b5621c14fa2e3a3d9230ea912025c502cd9103ac00b520eb4ec1922a3e717991d4326e0d5c8b942643a8abe3685c4c646042644d70d2e0ef diff --git a/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild b/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild new file mode 100644 index 000000000000..c06d265668f0 --- /dev/null +++ b/dev-ruby/uglifier/uglifier-4.2.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 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_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor" +HOMEPAGE="https://github.com/lautis/uglifier" +SRC_URI="https://github.com/lautis/uglifier/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/execjs-0.3.0:*" + +ruby_add_bdepend "test? ( dev-ruby/sourcemap )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |