mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
dev-ruby/pdf-reader: cleanup
Package-Manager: portage-2.3.3
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST pdf-reader-1.4.0.tar.gz 10237090 SHA256 c23d5eec976c5d824d16f348ef49b87b0918cc2a2327aa7936605b92b8c181e9 SHA512 e9b123058c5bf31c7ac264adf17da25cb643408cd0ac4f8da0b7949576e11b1ac4141df649c7ce45f3accf2ddfb6ab3edd35ce336e4588bb090bfbbfe1f42965 WHIRLPOOL 8d50fde908037c228cc40028cb10e040b4571446ebba07140e6f0b1515d6ff0d282c37c08071a86a256e8a3722a86c069d2e1db6bd35fb2c577c68fbfc2d41a9
|
||||
DIST pdf-reader-1.4.1.tar.gz 10236680 SHA256 e1898c975e18b0a59abad36e0a4f2d28309cf5983e00989e4c843362edf047ae SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5 WHIRLPOOL 025c42faf57470626492284fc21be8f83b8902a903a04edb5d3fb9064e7a8ed4a328e8f5c6be165a1dd50c3f215eeb1972c1bf91295d78a0c13f78d4ced863f2
|
||||
DIST pdf-reader-git-1.3.3.tgz 9987686 SHA256 1e5e468fe99911ec4472031e66ebe6a4bb1fc05a2156b646ce9dff43c0253815 SHA512 5394767df24de30133e3b33a00421588f85fecd4006d2bbe622e905ef0d92947a2d11f6ea7bb8f61b43aebba9204b2c2512f97dc120d19fc87cd0a42011a3750 WHIRLPOOL bd6f15fe6548728d884890cddfddb4abf0e35504528036703f582e3c405e7c4efcb71a7b4e846b67e7767bcaf34a9219ee9d1a7f45f84bf2cabd860eebf2934e
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
GITHUB_USER=yob
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe"
|
||||
HOMEPAGE="https://github.com/yob/pdf-reader/"
|
||||
|
||||
# We cannot use the gem distributions because they don't contain the
|
||||
# tests' data, we have to rely on the git tags.
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
|
||||
RUBY_S="${GITHUB_USER}-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/afm
|
||||
dev-ruby/ascii85
|
||||
dev-ruby/hashery
|
||||
dev-ruby/ttfunk:*
|
||||
dev-ruby/ruby-rc4"
|
||||
|
||||
# rspec is loaded even during doc generation, so keep it around :(
|
||||
ruby_add_bdepend ">=dev-ruby/rspec-2.1:2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support
|
||||
sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die
|
||||
epatch "${FILESDIR}"/${P}-Rakefile.patch
|
||||
rm Gemfile || die
|
||||
|
||||
# Roodi is not yet available in CVS.
|
||||
sed -i -e '/roodi/d' Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/* || die
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
GITHUB_USER=yob
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe"
|
||||
HOMEPAGE="https://github.com/yob/pdf-reader/"
|
||||
|
||||
# We cannot use the gem distributions because they don't contain the
|
||||
# tests' data, we have to rely on the git tags.
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/afm-0.2.1
|
||||
=dev-ruby/ascii85-1*
|
||||
=dev-ruby/hashery-2*
|
||||
dev-ruby/ttfunk:*
|
||||
dev-ruby/ruby-rc4"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support
|
||||
sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/* || die
|
||||
}
|
||||
Reference in New Issue
Block a user