summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-20 07:41:15 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-20 07:41:15 +0100
commit38d5d614dba5a5f607482f0060acf9d2892f792d (patch)
treec483cc0fb5ba19179a4c83fe613a97a82549a5c6 /dev-ruby
parentprofiles/*/package.use.mask: mask app-admin/syslog-ng[test] on !amd64 (diff)
downloadgentoo-38d5d614dba5a5f607482f0060acf9d2892f792d.tar.gz
gentoo-38d5d614dba5a5f607482f0060acf9d2892f792d.tar.bz2
gentoo-38d5d614dba5a5f607482f0060acf9d2892f792d.zip
dev-ruby/image_processing: add 1.10.0
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/image_processing/Manifest1
-rw-r--r--dev-ruby/image_processing/image_processing-1.10.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/image_processing/Manifest b/dev-ruby/image_processing/Manifest
index 9ec23a8891df..258f97430954 100644
--- a/dev-ruby/image_processing/Manifest
+++ b/dev-ruby/image_processing/Manifest
@@ -1 +1,2 @@
+DIST image_processing-1.10.0.tar.gz 984866 BLAKE2B 3afcdff652eec40ea652c68a99d6f18970596a8221883ec627b678b8af0013127471490a093ff190134d12e2b6eb4f8a42252d49b4fc61cfff8858b49d1f124e SHA512 47a465ce4e450647a67bda376bfdb5da5a0ceacfc01be5e15dfc819232b76509fdc2c6a8196042dd8508c69e0d19c8f08a54b939dd3e808f9a2ff31efd891c9a
DIST image_processing-1.9.3.tar.gz 984561 BLAKE2B 71c729c36e7048ceee3bd452d0429b24303f6898658337211cda4c697823e275f84c8b5ccbce857caa8f63a80e620f11822d3c0024f05343c3d72f9c8aedbdb9 SHA512 117e45146b646632bb2990f1651a494887ec8b75d8dcfcbea241b75d4691329597b7c8979fd13d4e51bacd5065b51594d6de9357e63c8b9b959b78fe075d0a76
diff --git a/dev-ruby/image_processing/image_processing-1.10.0.ebuild b/dev-ruby/image_processing/image_processing-1.10.0.ebuild
new file mode 100644
index 000000000000..2cc5366adc3f
--- /dev/null
+++ b/dev-ruby/image_processing/image_processing-1.10.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md doc/*.md"
+
+RUBY_FAKEGEM_GEMSPEC="image_processing.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="High-level image processing helper methods with libvips and ImageMagick"
+HOMEPAGE="https://github.com/janko/image_processing"
+SRC_URI="https://github.com/janko/image_processing/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/mini_magick-4.9.5:0
+"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/minitest-5.8:5
+ >=dev-ruby/minitest-hooks-1.4.2
+)"
+
+all_ruby_prepare() {
+ # Only support imagemagick for now since vips is not packaged
+ sed -i -e '/ruby-vips/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
+ rm -f test/{pipeline,vips}_test.rb || die
+ sed -i -e '/assert_dimensions/ s:^:#:' test/*_test.rb || die
+
+ # phash is not packaged
+ sed -i -e '/\(assert\|refute\)_similar/ s:^:#:' test/*_test.rb || die
+
+ sed -i -e '/\(bundler\|phashion\|vips\)/ s:^:#:' Rakefile test/test_helper.rb || die
+}