summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wilmott <p8952@gentoo.org>2015-08-11 21:51:36 +0100
committerPeter Wilmott <p8952@gentoo.org>2015-08-11 21:52:00 +0100
commitef1b4cfbac91e9d76431cc0b1ec8bb708f5fa083 (patch)
tree4f24a755f39e121a5e7ad5ea84d465e3788b728b /dev-ruby
parentdev-perl/Module-Build-Tiny: Drop old (diff)
downloadgentoo-ef1b4cfbac91e9d76431cc0b1ec8bb708f5fa083.tar.gz
gentoo-ef1b4cfbac91e9d76431cc0b1ec8bb708f5fa083.tar.bz2
gentoo-ef1b4cfbac91e9d76431cc0b1ec8bb708f5fa083.zip
dev-ruby/png: Version bump & Update homepage
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/png/Manifest1
-rw-r--r--dev-ruby/png/png-1.2.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/png/Manifest b/dev-ruby/png/Manifest
index 9ed8a7eb866..0cf95888f11 100644
--- a/dev-ruby/png/Manifest
+++ b/dev-ruby/png/Manifest
@@ -1 +1,2 @@
DIST png-1.2.0.gem 19968 SHA256 1b8a3b4a2d76341a4e1d2ed64180d70d463e1e6538a9b45ce319b53c2f4dbd1a SHA512 c8b70697a38766dd6fd5057bd998d41a33caf61780f0bbcc908ed8f76378a79f441bcdd89ae5aad83780acb3de6113165bbf104b110bb7ae83226c15a13bda44 WHIRLPOOL cb278beea767f69f57501ea7f6742097c14ebd4cbfc26fa57cda12ae27837b51eaa0475e25431f8f7feb46b2bd5b8210e7ee2fe0b157091ec959ed1756d64837
+DIST png-1.2.1.gem 22016 SHA256 678235c7c6f1194ec9d3690035044df6820ba41a9d995b73f63d3e8a8926e737 SHA512 307d302d536f195255e0c192e54cce219314c053dd59b88b881c4c9df8d3f1e733c7874c40d5e7db8fe32649dc84dd40dbfc79c5ca31f79e6b98f35af1b40561 WHIRLPOOL 04f2d96d881e2c4889f15cf97af7bcd100d8ab73f8e38eac65635c27c0c4a3c9f93da87f4d00782bf62becfcf444a19a5168f40dc9fc9e9b506f654a023e568a
diff --git a/dev-ruby/png/png-1.2.1.ebuild b/dev-ruby/png/png-1.2.1.ebuild
new file mode 100644
index 00000000000..e177aff8205
--- /dev/null
+++ b/dev-ruby/png/png-1.2.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An almost pure-Ruby Portable Network Graphics (PNG) library"
+HOMEPAGE="http://docs.seattlerb.org/png/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "
+ doc? ( dev-ruby/hoe )
+ test? (
+ dev-ruby/hoe
+ dev-ruby/minitest
+ )"
+
+ruby_add_rdepend ">=dev-ruby/RubyInline-3.5.0"
+
+all_ruby_prepare() {
+ sed -i -e "/rubyforge/s/^/#/" Rakefile || die
+ sed -i -e "1i# encoding: ascii-8bit" test/test_png.rb || die
+}
+
+src_test() {
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home."
+ ruby-ng_src_test
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}
+ doins -r example
+}