From 634e00620223d190eb8af839777727190ceae55b Mon Sep 17 00:00:00 2001 From: Naohiro Aota Date: Mon, 10 Feb 2020 14:37:20 +0900 Subject: dev-ruby/ruby-goffice: add new package This is a new dependency of dev-ruby/ruby-gnome2-3.4.1 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Naohiro Aota --- dev-ruby/ruby-goffice/Manifest | 1 + dev-ruby/ruby-goffice/metadata.xml | 11 ++++++++++ dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild | 28 +++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 dev-ruby/ruby-goffice/Manifest create mode 100644 dev-ruby/ruby-goffice/metadata.xml create mode 100644 dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/ruby-goffice/Manifest b/dev-ruby/ruby-goffice/Manifest new file mode 100644 index 000000000000..7f70af3b2295 --- /dev/null +++ b/dev-ruby/ruby-goffice/Manifest @@ -0,0 +1 @@ +DIST ruby-gnome2-3.4.3.tar.gz 3136727 BLAKE2B 3b85136b90e7a9de14f38fbdb55d9c143719e697ff60fdd4c09921b5d0c6363cf27b7b2da55d93a95d302e62879c321df20e729d4a3d9d2e8d1f2a4afb8c6e49 SHA512 ac4614647c20080eb850d47938b00eb69730aef6672a35cf290619a5c3e01007ac59e75995e36398a0ddaed61db2f4ccdf9d26d2453fff9d5160073ee73081b8 diff --git a/dev-ruby/ruby-goffice/metadata.xml b/dev-ruby/ruby-goffice/metadata.xml new file mode 100644 index 000000000000..c0c35af8c2b8 --- /dev/null +++ b/dev-ruby/ruby-goffice/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + ruby-gnome/ruby-gnome + + diff --git a/dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild b/dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild new file mode 100644 index 000000000000..8913d2c04d0d --- /dev/null +++ b/dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild @@ -0,0 +1,28 @@ +# 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_GNOME2_NEED_VIRTX=yes + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby GOffice bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/goffice[introspection]" +RDEPEND+=" x11-libs/goffice[introspection]" + +ruby_add_rdepend " + ~dev-ruby/ruby-gsf-${PV} + ~dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + ruby-ng-gnome2_all_ruby_prepare + + # https://github.com/ruby-gnome/ruby-gnome/issues/1316 + sed -i -e '/only_goffice_version/s/0, 10, 27/0, 10/' \ + test/test-data-scalar-str.rb +} -- cgit v1.2.3-65-gdbad