mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ruby/png: Version bump & Update homepage
Package-Manager: portage-2.2.20
This commit is contained in:
@@ -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
|
||||
|
||||
46
dev-ruby/png/png-1.2.1.ebuild
Normal file
46
dev-ruby/png/png-1.2.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user