diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-01-22 20:35:52 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-01-22 20:35:52 +0100 |
commit | 3702a82b9d4fe2cfe1a931728775144051aa5cb3 (patch) | |
tree | eba77283a3b67660334b92bbdf22fb97607d64b6 /dev-ruby/gpgme | |
parent | dev-ruby/mime-types: cleanup (diff) | |
download | gentoo-3702a82b9d4fe2cfe1a931728775144051aa5cb3.tar.gz gentoo-3702a82b9d4fe2cfe1a931728775144051aa5cb3.tar.bz2 gentoo-3702a82b9d4fe2cfe1a931728775144051aa5cb3.zip |
dev-ruby/gpgme: cleanup
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/gpgme')
-rw-r--r-- | dev-ruby/gpgme/gpgme-2.0.12.ebuild | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/dev-ruby/gpgme/gpgme-2.0.12.ebuild b/dev-ruby/gpgme/gpgme-2.0.12.ebuild deleted file mode 100644 index 43dbeeacf695..000000000000 --- a/dev-ruby/gpgme/gpgme-2.0.12.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-ng ruby-fakegem flag-o-matic - -DESCRIPTION="Ruby language binding for GnuPG Made Easy" -HOMEPAGE="https://github.com/ueno/ruby-gpgme" -SRC_URI="https://github.com/ueno/ruby-gpgme/archive/${PV}.tar.gz -> ruby-${P}.tar.gz" -RUBY_S="ruby-${P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND+=">=app-crypt/gpgme-1.1.3" -RDEPEND+=">=app-crypt/gpgme-1.1.3" - -ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )" - -all_ruby_prepare() { - sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \ - -e '3igem "mocha", "~> 0.14"' \ - test/test_helper.rb || die - - # Remove failing tests for now. This package was added without - # running any tests :-( - rm -f test/{ctx,crypto}_test.rb || die - - sed -i -e '/portile/d' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_configure() { - append-flags -fPIC - export RUBY_GPGME_USE_SYSTEM_LIBRARIES=1 - ${RUBY} -C ext "${S}/ext/gpgme/extconf.rb" || die "extconf.rb failed" -} - -each_ruby_compile() { - emake V=1 -C ext archflag="${LDFLAGS}" || die "emake failed" - cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die -} - -each_ruby_test() { - ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die -} |