summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-03-11 09:08:28 +0100
committerHans de Graaff <graaff@gentoo.org>2023-03-11 09:25:39 +0100
commitf3a756a90cb0c0f827977cc7b7b29160bdbb5337 (patch)
tree8eb40f2d7cfa4b5cc1643b9e6d93542e234a18d7 /dev-ruby/ruby-gio2
parentdev-ruby/ruby-gobject-introspection: add 3.5.1 (diff)
downloadgentoo-f3a756a90cb0c0f827977cc7b7b29160bdbb5337.tar.gz
gentoo-f3a756a90cb0c0f827977cc7b7b29160bdbb5337.tar.bz2
gentoo-f3a756a90cb0c0f827977cc7b7b29160bdbb5337.zip
dev-ruby/ruby-gio2: add 3.5.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-gio2')
-rw-r--r--dev-ruby/ruby-gio2/Manifest1
-rw-r--r--dev-ruby/ruby-gio2/ruby-gio2-3.5.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gio2/Manifest b/dev-ruby/ruby-gio2/Manifest
index 7f70af3b2295..c4c74d117a84 100644
--- a/dev-ruby/ruby-gio2/Manifest
+++ b/dev-ruby/ruby-gio2/Manifest
@@ -1 +1,2 @@
DIST ruby-gnome2-3.4.3.tar.gz 3136727 BLAKE2B 3b85136b90e7a9de14f38fbdb55d9c143719e697ff60fdd4c09921b5d0c6363cf27b7b2da55d93a95d302e62879c321df20e729d4a3d9d2e8d1f2a4afb8c6e49 SHA512 ac4614647c20080eb850d47938b00eb69730aef6672a35cf290619a5c3e01007ac59e75995e36398a0ddaed61db2f4ccdf9d26d2453fff9d5160073ee73081b8
+DIST ruby-gnome2-3.5.1.tar.gz 2613400 BLAKE2B ab9b7e3b6322b5b89a6bf4d529d5b5abdfbe50b1e099cfba67f089bab3abd39c2a96b57305b13311e9c34957c57107e31708cc76ffa4c20d84af2294f7bf7bb4 SHA512 9423c18587c11b6c317a58ec817e886c99ab37b29271b1684d7c793655a121c8b20c9630347d5f248e687843fd888e2137dca5d3d232121d87565ee2707f2f21
diff --git a/dev-ruby/ruby-gio2/ruby-gio2-3.5.1.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-3.5.1.ebuild
new file mode 100644
index 000000000000..8613c818d0f3
--- /dev/null
+++ b/dev-ruby/ruby-gio2/ruby-gio2-3.5.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby27 ruby30 ruby31"
+
+inherit ruby-ng-gnome2
+
+DESCRIPTION="Ruby binding of gio-2"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+IUSE=""
+
+DEPEND+=" dev-libs/glib
+ test? ( sys-apps/dbus )"
+RDEPEND+=" dev-libs/glib"
+ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}
+ ~dev-ruby/ruby-gobject-introspection-${PV}"
+
+all_ruby_prepare() {
+ ruby-ng-gnome2_all_ruby_prepare
+
+ # Avoid test requiring network access
+ rm -f test/test-resolver.rb || die
+}
+
+each_ruby_test() {
+ XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die
+}