summaryrefslogtreecommitdiff
path: root/dev-ruby/sus-fixtures-openssl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-17 12:28:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-17 12:28:32 +0100
commit16857b69f990738d17bc5842e3e49a6e82d1428d (patch)
tree09af7d330926974197aa59536133e026de791874 /dev-ruby/sus-fixtures-openssl
parentb6fa31c964a602f8461a77d5b83355e8750c12eb (diff)
gentoo auto-resync : 17:07:2024 - 12:28:31
Diffstat (limited to 'dev-ruby/sus-fixtures-openssl')
-rw-r--r--dev-ruby/sus-fixtures-openssl/Manifest3
-rw-r--r--dev-ruby/sus-fixtures-openssl/metadata.xml11
-rw-r--r--dev-ruby/sus-fixtures-openssl/sus-fixtures-openssl-0.2.1.ebuild33
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/sus-fixtures-openssl/Manifest b/dev-ruby/sus-fixtures-openssl/Manifest
new file mode 100644
index 000000000000..126c5794c7c8
--- /dev/null
+++ b/dev-ruby/sus-fixtures-openssl/Manifest
@@ -0,0 +1,3 @@
+DIST sus-fixtures-openssl-0.2.1.tar.gz 7144 BLAKE2B 3fbfa71731202b0d8599113b76d4b605cd62976d635ba287867d1f5dda7a06f531ebf99bb5cbac688a03ce18b49c5c96751f82fa5484021073227e0f06b8ab64 SHA512 6da1a3b968a38344de0fa253af526099b9f9c4912e2053619cd3361cac3ab066839bfb11da1c3831cd8970c7ab3f96b032667fa870ec22f389acf1e5be64680a
+EBUILD sus-fixtures-openssl-0.2.1.ebuild 846 BLAKE2B abceb74b1851de311763b919b8ba17f9db62d39e8b249aa2ddcecb280f488612c77d3b1e9a46791a6da7275f021830894ed161df5dce48720633621c6a4b9ffe SHA512 8fabecf9c4835306b205aeb5ac8d480e1df02033539ad6983f7f2ee0fbddf1dca5dfdb837fcaff57727ab9c450718f03ef0c8ff4f1675f27a89aaee8ccd8976c
+MISC metadata.xml 354 BLAKE2B 4a3c68aea980654ace9c392f8310ead196cedb95933a2d756c5bcacecdccc5d2f4b754a39db37cedfd1c89f564f08a542c505133545e4ae96b28e240f6aa2e56 SHA512 d9c25bdeccc1f7258105f07edc446217132cf5c7bc783c073a798ddc411809a182fc6e77dfcfd2970f8211a4fbd668ff9e8261d71774535abe5c288737863706
diff --git a/dev-ruby/sus-fixtures-openssl/metadata.xml b/dev-ruby/sus-fixtures-openssl/metadata.xml
new file mode 100644
index 000000000000..414f12576156
--- /dev/null
+++ b/dev-ruby/sus-fixtures-openssl/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sus-rb/sus-fixtures-openssl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/sus-fixtures-openssl/sus-fixtures-openssl-0.2.1.ebuild b/dev-ruby/sus-fixtures-openssl/sus-fixtures-openssl-0.2.1.ebuild
new file mode 100644
index 000000000000..3c093efa30f2
--- /dev/null
+++ b/dev-ruby/sus-fixtures-openssl/sus-fixtures-openssl-0.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="sus"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Test fixtures for running with OpenSSL"
+HOMEPAGE="https://github.com/sus-rb/sus-fixtures-openssl"
+SRC_URI="https://github.com/sus-rb/sus-fixtures-openssl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# openssl is a default gem
+ruby_add_rdepend "
+ >=dev-ruby/sus-0.10:0
+"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # Remove the sus configuration which enabled coverage checks.
+ # Its dependency is not packaged.
+ rm -f config/sus.rb || die
+}