public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/moneta/
Date: Wed, 18 Sep 2024 08:57:13 +0000 (UTC)	[thread overview]
Message-ID: <1726649811.8fa8501d6ceaa6c21ec457dcd77f6986fd51c7f6.graaff@gentoo> (raw)

commit:     8fa8501d6ceaa6c21ec457dcd77f6986fd51c7f6
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 08:56:51 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 08:56:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa8501d

dev-ruby/moneta: enable tests

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/moneta/moneta-1.6.0-r1.ebuild | 62 ++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/dev-ruby/moneta/moneta-1.6.0-r1.ebuild b/dev-ruby/moneta/moneta-1.6.0-r1.ebuild
new file mode 100644
index 000000000000..2152c96fc62e
--- /dev/null
+++ b/dev-ruby/moneta/moneta-1.6.0-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+# test is disabled for now. It requires many packages.  Test suite also
+# takes very long run time and has high memory consumption.
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md SPEC.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A unified interface to key/value stores"
+HOMEPAGE="https://github.com/moneta-rb/moneta"
+SRC_URI="https://github.com/moneta-rb/moneta/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_depend "test? ( dev-ruby/bson dev-ruby/ox dev-ruby/rantly dev-ruby/sqlite3 dev-ruby/tokyocabinet )"
+
+all_ruby_prepare() {
+	sed -e "s/__dir__/'.'/" \
+		-e "s/_relative//" \
+		-i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Remove specs for unpackaged or difficult to set up dependencies.
+	rm -f spec/active_support/cache_moneta_store_spec.rb \
+	   spec/moneta/adapters/memcached/adapter_memcached_spec.rb \
+	   spec/moneta/adapters/memcached/standard_memcached_spec.rb \
+	   spec/moneta/adapters/memcached/native/adapter_memcached_native_spec.rb \
+	   spec/moneta/adapters/memcached/native/standard_memcached_native_spec.rb \
+	   spec/moneta/adapters/memory/standard_memory_with_snappy_compress_spec.rb \
+	   spec/moneta/proxies/shared/shared_{tcp,unix}_spec.rb \
+	   spec/moneta/proxies/transformer/transformer_{bencode,bert,bzip2,lz4,lzma,lzo,marshal_city*,php,snappy,tnet}_spec.rb \
+	   spec/moneta/proxies/weak_create/weak_create_spec.rb \
+	   spec/moneta/proxies/weak_each_key/weak_each_key_spec.rb \
+	   spec/moneta/proxies/weak_increment/weak_increment_spec.rb \
+	   spec/rack/session_moneta_spec.rb || die
+	rm -rf spec/moneta/adapters/{couch,daybreak,dbm,fog,gdbm,hbase,leveldb,lmdb,localmemcache,mongo,riak,sdbm,sequel,tdb,tokyotyrant} || die
+
+	# Fails for other reasons (probably fixable in the future)
+	rm -rf spec/moneta/adapters/activesupportcache/standard_activesupportcache_spec.rb \
+	   spec/moneta/adapters/activesupportcache/adapter_activesupportcache_spec.rb \
+	   spec/moneta/adapters/activesupportcache/adapter_activesupportcache_with_default_expires_spec.rb \
+	   spec/moneta/adapters/memcached/dalli/standard_memcached_dalli_spec.rb \
+	   spec/moneta/adapters/restclient || die
+
+	# Requires a live server to be present
+	rm -rf spec/moneta/adapters/activerecord/adapter_activerecord_existing_connection_spec.rb \
+	   spec/moneta/adapters/activerecord/standard_activerecord_spec.rb \
+	   spec/moneta/adapters/activerecord/adapter_activerecord_spec.rb \
+	   spec/moneta/adapters/activerecord/standard_activerecord_with_expires_spec.rb \
+	   spec/moneta/adapters/redis || die
+}


             reply	other threads:[~2024-09-18  8:57 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-18  8:57 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-18  8:45 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/moneta/ Hans de Graaff
2024-09-20  8:20 Arthur Zamarin
2024-09-19 20:18 Jakov Smolić
2023-08-16  1:19 Naohiro Aota
2023-06-17  5:09 Hans de Graaff
2023-04-07  7:52 Hans de Graaff
2023-04-07  7:52 Hans de Graaff
2022-12-04 15:08 Hans de Graaff
2022-05-01  9:12 Hans de Graaff
2021-10-09 15:24 Naohiro Aota
2021-01-10  7:51 Hans de Graaff
2020-09-11  6:58 Hans de Graaff
2020-09-11  6:58 Hans de Graaff
2020-08-08  6:37 Hans de Graaff
2020-08-08  6:37 Hans de Graaff
2019-07-05  4:21 Hans de Graaff
2019-07-05  4:21 Hans de Graaff
2019-03-25  5:57 Hans de Graaff
2019-02-01 11:01 Hans de Graaff
2018-09-11  5:34 Hans de Graaff
2018-03-08  6:47 Hans de Graaff
2017-03-11  7:21 Hans de Graaff
2017-03-11  7:21 Hans de Graaff
2016-12-14  7:15 Hans de Graaff
2016-03-22 21:56 Manuel Rüger
2015-12-12  7:35 Hans de Graaff
2015-09-20  6:31 Hans de Graaff
2015-09-16  8:33 Naohiro Aota

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1726649811.8fa8501d6ceaa6c21ec457dcd77f6986fd51c7f6.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox