mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
cewl: remove old
This commit is contained in:
parent
58c18e10e3
commit
f12820bda5
2 changed files with 0 additions and 92 deletions
|
|
@ -1,47 +0,0 @@
|
||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
USE_RUBY="ruby21 ruby22 ruby23"
|
|
||||||
inherit ruby-ng
|
|
||||||
|
|
||||||
DESCRIPTION="A custom word list generator"
|
|
||||||
HOMEPAGE="http://www.digininja.org/projects/cewl.php"
|
|
||||||
SRC_URI="https://github.com/digininja/CeWL/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_bdepend "dev-ruby/bundler"
|
|
||||||
|
|
||||||
ruby_add_rdepend "dev-ruby/hpricot
|
|
||||||
dev-ruby/http_configuration
|
|
||||||
dev-ruby/spider
|
|
||||||
dev-ruby/mime-types:*
|
|
||||||
dev-ruby/rubyzip
|
|
||||||
dev-ruby/mini_exiftool
|
|
||||||
dev-ruby/nokogiri"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
sed -i "s|require './cewl_lib'|require 'cewl_lib'|g" CeWL-${PV}/cewl.rb
|
|
||||||
sed -i "s|require 'mime'|require 'mime/types'|g" CeWL-${PV}/cewl_lib.rb
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_install() {
|
|
||||||
doruby CeWL-${PV}/cewl_lib.rb CeWL-${PV}/fab.rb
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_install() {
|
|
||||||
dodoc CeWL-${PV}/README
|
|
||||||
newbin CeWL-${PV}/cewl.rb cewl
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_prepare() {
|
|
||||||
if [ -f Gemfile ]; then
|
|
||||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
|
||||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
USE_RUBY="ruby23 ruby24 ruby25"
|
|
||||||
inherit ruby-ng
|
|
||||||
|
|
||||||
DESCRIPTION="A custom word list generator"
|
|
||||||
HOMEPAGE="http://www.digininja.org/projects/cewl.php"
|
|
||||||
SRC_URI="https://github.com/digininja/CeWL/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_bdepend "dev-ruby/bundler"
|
|
||||||
|
|
||||||
ruby_add_rdepend "dev-ruby/nokogiri
|
|
||||||
dev-ruby/spider
|
|
||||||
dev-ruby/mini_exiftool
|
|
||||||
dev-ruby/rubyzip
|
|
||||||
dev-ruby/mime-types:*"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
sed -i "s|require './cewl_lib'|require 'cewl_lib'|g" CeWL-${PV}/cewl.rb
|
|
||||||
sed -i "s|require 'mime'|require 'mime/types'|g" CeWL-${PV}/cewl_lib.rb
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_install() {
|
|
||||||
doruby CeWL-${PV}/cewl_lib.rb CeWL-${PV}/fab.rb
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_install() {
|
|
||||||
dodoc CeWL-${PV}/README
|
|
||||||
newbin CeWL-${PV}/cewl.rb cewl
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_prepare() {
|
|
||||||
if [ -f Gemfile ]; then
|
|
||||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
|
||||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue