diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-29 15:53:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-29 15:53:38 +0100 |
commit | 822a054dd1bab7f8080ccd486398034b4ff0b97d (patch) | |
tree | c64bfd54aca68af69ccf06b1a9d20365383e3ccc /dev-ruby/mysql2/mysql2-0.5.4.ebuild | |
parent | f7436a5ce1c11f1c33cd09dd757f768cd07b19fd (diff) |
gentoo auto-resync : 29:03:2023 - 15:53:38
Diffstat (limited to 'dev-ruby/mysql2/mysql2-0.5.4.ebuild')
-rw-r--r-- | dev-ruby/mysql2/mysql2-0.5.4.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-ruby/mysql2/mysql2-0.5.4.ebuild b/dev-ruby/mysql2/mysql2-0.5.4.ebuild deleted file mode 100644 index 9cbbef84bb42..000000000000 --- a/dev-ruby/mysql2/mysql2-0.5.4.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -# Tests require a live MySQL database but should all pass. -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_EXTENSIONS=(ext/mysql2/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/mysql2 - -RUBY_FAKEGEM_GEMSPEC="mysql2.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql" -HOMEPAGE="https://github.com/brianmario/mysql2" -SRC_URI="https://github.com/brianmario/mysql2/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="mysql mariadb" -REQUIRED_USE="^^ ( mariadb mysql )" - -MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" -DEPEND="${DEPEND} ${MDEPEND}" -RDEPEND="${RDEPEND} ${MDEPEND}" - -all_ruby_prepare() { - sed -i -e '/s.version/ s/Mysql2::VERSION/"'${PV}'"/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_configure() { - local config - if use mysql ; then - config="${EPREFIX}/usr/bin/mysql_config" - fi - if use mariadb ; then - config="${EPREFIX}/usr/bin/mariadb_config" - fi - - ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config="${config}" || die -} |