summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2024-09-12 07:15:33 +0200
committerHans de Graaff <hans@degraaff.org>2024-09-12 07:15:33 +0200
commitf8b618d732285fe96d125cafa206c59576f3631a (patch)
tree51e66e92725a1840ac4b3509558923573e3e8a52 /dev-ruby
parentdev-ruby/ruby-saml: add 1.17.0 (diff)
downloadgraaff-f8b618d732285fe96d125cafa206c59576f3631a.tar.gz
graaff-f8b618d732285fe96d125cafa206c59576f3631a.tar.bz2
graaff-f8b618d732285fe96d125cafa206c59576f3631a.zip
dev-ruby/appsignal: add 3.8.1
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/appsignal/Manifest2
-rw-r--r--dev-ruby/appsignal/appsignal-3.8.1.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-ruby/appsignal/Manifest b/dev-ruby/appsignal/Manifest
index 88fb4998..0213401a 100644
--- a/dev-ruby/appsignal/Manifest
+++ b/dev-ruby/appsignal/Manifest
@@ -3,8 +3,10 @@ DIST appsignal-3.4.16.gem 347136 BLAKE2B e2951be4a5b1aa6f7a54dec4a2ef0208fdc4031
DIST appsignal-3.5.6.gem 350720 BLAKE2B ca595ac9ceb3e22c1cbadd672380ff79978236b6342256e93e65ded7c4f27db73023f500d19246511a714ffc18a385988e98ce442927363487b2e0857bb520fc SHA512 0d15e69081d70cabfecb376290912c734e3b7aa39263f082445e3af1c5b4e21908448e9cd36ba0470d5759c53e7e30cd65293a79310bd31068b26eb60a9cea50
DIST appsignal-3.6.5.gem 359424 BLAKE2B 494f8c96ee2843388ebf7c61729cf56f86447ab5f65fa739715022b602d6123960e75db24c55a2be2dd274f1974aae1a0f0fe8775bb660bcff120f2c08ba67a1 SHA512 d5b27f420a6ea062f24914b114f6107267785fa8a3583c049324ffc0279a4830423550af44eb5bcd79d337b6197457071aeee1e6075041a880462b11a602f792
DIST appsignal-3.7.6.gem 367616 BLAKE2B 8fe30338f2228b43d96210e5e02e30015e08140909c8ad80a6d9aa120bd91fa9e3eec1b969edb627a5c6df301db291b1d2a7ef082fad40e559928b3a4ed5bad5 SHA512 0be60b42f3e23fc64f00888f04a05d2f14a232a280f56c9aa675319dd40b0a4573c12c03cee7adb8667230269a2f638cb44e961a2740ba1daa83edc6ad78057e
+DIST appsignal-3.8.1.gem 370176 BLAKE2B 925dc7c46ab83256495b54c15474ad6d407a73ab42480d4a6d99351d2bbc519a2b78e8396e3e4ebe1fa1e7f4652472bfe83e55a416bdc7d9b2a09f01e2c13a03 SHA512 94212dca89d5a070ca1fdab59b25936192160f35c875528936b7a02f30413cff076bedfa512aaa989434b96cb483084561d25deedad3e8696878b5ff07c2de5d
DIST appsignal-x86_64-3.3.11.patch.bz2 4865946 BLAKE2B 6eff40c6d47e581311fe587944beccb3e94112b9a1848ea345383c3c158fbaa5b67cc7afc22c274fb369fdc7d9bb5d74b1b03070efc361752252bd1f29e1a06d SHA512 0f3a8e2feee812fb591be78cff33039d9eae79c96a272f7826c316158df2958576b29a1902796212ebb727ee43f8c684cc90a8c29d69a5bc30cfca2aa4fc0bb8
DIST appsignal-x86_64-3.4.16.patch.bz2 5021789 BLAKE2B 167a4c4621ac377cbff0597b63f57cc5f58e0098c4c7bf95213a5ddffc5473f9ed5ca26ec98842d1f49455c074ce078f75dcb6d176d13d81bc41b93198d411f0 SHA512 b0ba10bffeba05f522632cc962d4aea372639292ee6c3bb57905eb3207b32646aee27305a6f3a15680260eefe032818547238b5de814c8eb7335964b14d5393f
DIST appsignal-x86_64-3.5.6.patch.bz2 5045131 BLAKE2B ddeda03b36dd38c53a96c5567873300a77d7e65aa98983c71e5bb8c8e7b1818dc29742d1d1b298708269d7cf0d2ababb98aa467acb5af4b8f6fb1a7c8555c4a8 SHA512 a0ae817bad00b998baa599acfdd510abbe23e2ebc10d711a1608f035092a55b73fe06f55afe6bc7a6bd7cfe743cf6aee1b47ab8adda7a572980115587353acb1
DIST appsignal-x86_64-3.6.5.patch.bz2 5076332 BLAKE2B 42108f45f3711947aa2daa779e40fa6b32add6d0e17b60fea2c9b18b0e6da9fd1c67974f5af58b004ecd00fea8d8e000277be77a5fbec26fb1377d2c697ae344 SHA512 49c60dcdc9d2248b28bbfe241101292cf41edab169de5ce808a5701f4fd506fce27efefb2cfe56a8162fce7cfa1b3e7eaadca7014c61a802db2e98bce208b431
DIST appsignal-x86_64-3.7.6.patch.bz2 5148191 BLAKE2B b1f40d07ffedc33554e9cec8e1b01d1c8f995c10f349c06f6bf2369859db13483865d8967ac53048a36cc510c7eb973660b1ec6f18db64947262f0a44e650d87 SHA512 01155c79dc47ae7178411645a65c61711725a596c799b8831e1b72295fcf78917a14917c0253fce2f950c24f45bb2111a22c8717fe2ac5c73272f4a0d4ee1f46
+DIST appsignal-x86_64-3.8.1.patch.bz2 5148191 BLAKE2B b1f40d07ffedc33554e9cec8e1b01d1c8f995c10f349c06f6bf2369859db13483865d8967ac53048a36cc510c7eb973660b1ec6f18db64947262f0a44e650d87 SHA512 01155c79dc47ae7178411645a65c61711725a596c799b8831e1b72295fcf78917a14917c0253fce2f950c24f45bb2111a22c8717fe2ac5c73272f4a0d4ee1f46
diff --git a/dev-ruby/appsignal/appsignal-3.8.1.ebuild b/dev-ruby/appsignal/appsignal-3.8.1.ebuild
new file mode 100644
index 00000000..af23973b
--- /dev/null
+++ b/dev-ruby/appsignal/appsignal-3.8.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md SUPPORT.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRAINSTALL="ext resources"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+AGENT_VERSION="0.35.12"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The official appsignal.com gem"
+HOMEPAGE="https://docs.appsignal.com/ruby"
+SRC_URI="https://rubygems.org/gems/appsignal-${PV}.gem https://appsignal-agent-releases.global.ssl.fastly.net/${AGENT_VERSION}/appsignal-x86_64-linux-all-static.tar.gz -> appsignal-x86_64-${PV}.patch.bz2"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "
+ dev-ruby/rack:*
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/bundler
+ dev-ruby/timecop
+ dev-ruby/webmock
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/rake/ s/~>/>=/' -e '/\("rubocop\|pry\)/ s:^:#:' appsignal.gemspec || die
+ sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
+ echo 'gem "json"' >> Gemfile || die
+ echo 'gem "rexml"' >> Gemfile || die
+
+ # This is a horrible hack to work around the default unpack support
+ # in all_ruby_unpack which tries to unpack all files in ${A} and
+ # then fails. But it leaves a patch.bz2 file untouched...
+ pushd ext || die
+ cp "${DISTDIR}/appsignal-x86_64-${PV}.patch.bz2" appsignal-x86_64-linux-all-static.tar.gz || die
+ popd || die
+ sed -i -e 's/download_archive(library_type)/open("appsignal-x86_64-linux-all-static.tar.gz")/' ext/extconf.rb || die
+
+ # Avoid specs that require a network
+ sed -e '/\(the\|extension\) installation report/askip "requires live network"' \
+ -i spec/lib/appsignal/cli/diagnose_spec.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rspec-3 spec || die
+}
+
+each_ruby_install() {
+ each_fakegem_install
+
+ local extdir
+ extdir="$(ruby_fakegem_gemsdir)/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}/ext"
+
+ fperms 0755 "${extdir}/appsignal-agent"
+}