cewl: remove old

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-08-02 14:40:28 -04:00
parent 58c18e10e3
commit f12820bda5
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 0 additions and 92 deletions

View file

@ -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
}

View file

@ -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
}