diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-12-28 09:50:30 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-12-28 09:50:58 +0100 |
commit | f829616026bc33642093a4d945203dd65d9ec216 (patch) | |
tree | 7b87004e00b0c6a4ededaa7c9a6c2788ceb5e01f /dev-ruby/bson/bson-4.8.2.ebuild | |
parent | dev-ruby/brotli: add 0.4.0 (diff) | |
download | gentoo-f829616026bc33642093a4d945203dd65d9ec216.tar.gz gentoo-f829616026bc33642093a4d945203dd65d9ec216.tar.bz2 gentoo-f829616026bc33642093a4d945203dd65d9ec216.zip |
dev-ruby/bson: cleanup
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/bson/bson-4.8.2.ebuild')
-rw-r--r-- | dev-ruby/bson/bson-4.8.2.ebuild | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-ruby/bson/bson-4.8.2.ebuild b/dev-ruby/bson/bson-4.8.2.ebuild deleted file mode 100644 index 5e6f5007077a..000000000000 --- a/dev-ruby/bson/bson-4.8.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -GITHUB_USER="mongodb" -GITHUB_PROJECT="bson-ruby" - -inherit multilib ruby-fakegem - -DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" -HOMEPAGE="https://www.mongodb.org/" -SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -RUBY_S="bson-ruby-${PV}" - -LICENSE="APSL-2" -SLOT="4" -KEYWORDS="~amd64" -IUSE="test doc" - -all_ruby_prepare() { - # Remove bundler support - sed -i -e '/bundler/I s:^:#:' Rakefile || die - - # Remove project-specific rspec options - rm .rspec || die -} - -each_ruby_configure() { - ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed" -} - -each_ruby_compile() { - emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" - cp ext/bson/*$(get_modname) lib/ || die -} |