summaryrefslogtreecommitdiff
path: root/dev-ruby/sqlite3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-25 03:02:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-25 03:02:44 +0000
commit7f0b7329b3aa78ea82792fdf68ab48415fe4cc35 (patch)
tree5c9f3c3f65f2be496e4d9778fdeb4d0da2207c29 /dev-ruby/sqlite3
parent530a5a826feeb71085fb8a01927f4d775a0b131b (diff)
gentoo auto-resync : 25:11:2024 - 03:02:44
Diffstat (limited to 'dev-ruby/sqlite3')
-rw-r--r--dev-ruby/sqlite3/Manifest2
-rw-r--r--dev-ruby/sqlite3/sqlite3-2.3.0.ebuild66
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest
index 9679de57b8a3..4295a165e309 100644
--- a/dev-ruby/sqlite3/Manifest
+++ b/dev-ruby/sqlite3/Manifest
@@ -1,7 +1,9 @@
DIST sqlite3-1.7.3.gem 3307008 BLAKE2B 0df742c7cb4a8f920196106b5701eae07e60e668f040ca6e3276afdd0dfdeed3fb19ed455425f332e13082ca740f42d914536ccdf565ed151b6eb0f6ccd7c676 SHA512 b6ed36a5618134ca1f993b21a351ac279ebb7e1370be521eae67ed9224a1fac11d71ddd7573b3b14da47657756cb68b3eab0164b6e6ed058d3f64fa95699bc2f
DIST sqlite3-2.0.4.tar.gz 82136 BLAKE2B 636e4e246e1a572a975b4df4a1ed82da6924934ee59a48ad0bac98b7e5c76f4342ad1bc91f794179e2954acebcd00d3ec30872441957fcaed5d36218b6167a80 SHA512 3bdf8733b119f8fb71ab2e60667f2ca9c9c8be6d01e02509ed93e1bb1c525408d93c888f5291b464eecb6ab150d940d357d7abf913b32dc253768bf6fc33d168
DIST sqlite3-2.2.0.tar.gz 89095 BLAKE2B 51f9279049795c6e54e0b5787f6a19eadba5b848ca52dbc8f2fe89757bac825da34246bd35217c092d43b7af33f85dd0fc2c5171a5aaa23aab6c577f8158ec07 SHA512 4a4a012fe092bc7f5ccad6d48e3fcd76f0eaf7d099ed41e4ab99c62c0dc8e7f55b630d8ae10cea39debab00e169f7c8c9ae524f1b7cca7663165c5b38cba28ea
+DIST sqlite3-2.3.0.tar.gz 90987 BLAKE2B e474516c60e61cb58e5c3a655580eade70e2caf679474ef5e22d4fdd1cc8244afa809e5c089b5ae7c1ee71f818e035aa97046d768777784331187cc19cf8a9dc SHA512 21530896893b09225e0540bbee765a49c503a66d37ceb453f6bf21904112cb9be043ad613ea609da97243fc9f035fa712222a0b329826eba47f73fd5c507236d
EBUILD sqlite3-1.7.3.ebuild 1677 BLAKE2B 8d14d31e784ce1c15195e43a151c748d7076d59aed65bc98310534aca096c772ab46a61dc60ecc39829c72fa82e9dcc3b1e3caafd527ef5d8039da0dd7edeeb3 SHA512 10b533cb481175223bcfe34de24fc286af84bdd4baf7c13bf35c34137fd4b48a39cea15937dbb27b5257cda9a145ddb10fdb26a62387d3218c4bd52f15dc4a58
EBUILD sqlite3-2.0.4-r2.ebuild 1907 BLAKE2B 24c41542f6b84aff58f104d0f1f62046435d2a5cf969942ae0b2c34c1f31e13f7aabeb838447278eadc094e218aa0dd28e41cae3f192e02e2ddd6c7e37445fb7 SHA512 965a10a33bed2e5f6223b4d4c02c3500d09c21eed8dff8e11ee27a4ad530123ece966d7b10aff9c508829f24ce4492e15e9807a815869ca943c7b66be2a25967
EBUILD sqlite3-2.2.0.ebuild 1935 BLAKE2B 41036f5bc8920604665ced94ff80a4e509ee20c0c32a6bdda6ebe5b71f0c27e6d3dab6d962147d5157607530ae2a83b088ba83d1dc24d087c3a01dfae0a89373 SHA512 889f8214fd8387112e3fcbb2813fdec4a61b7db662b0ff1fded7b13ab8e408f2e9e0f6e43044a69f09a7410e086d7d99d0bab5682c314cfa6e08d053db72d471
+EBUILD sqlite3-2.3.0.ebuild 1933 BLAKE2B 3d4c705318c23c6b62c324af38ffe9b73a4dbea0c52f6d6bc9355c25d631be2d19cca3e326b512d3bcdc28dccf1d5630177bc25737cfe544a62107f93ba1893b SHA512 ebc63b7cbd543fd88ff7ebfa4ab6193ff4078ce5c1758116bff7d11236216b1d3e411084aa1d0d90650a14b1b52f5afda03f89f2ffacc0bdbcfe604f7c2cc346
MISC metadata.xml 343 BLAKE2B 8246e0b7df67080839741f0258357ae19da18bd7ad8615bb77b943bc89db7560d58f95a8cba4e770070efc477ba56ee1f5c9ba098674ffc01dd5fdd9b912189a SHA512 541f2db81c9383013da74a8a54f318ff7535ffe5c6ea789f8ddc451f629a121e56b322d8b3a0730e0b27b111e16e27d8fa49bc5805a7c61fcf91ac7110ca712b
diff --git a/dev-ruby/sqlite3/sqlite3-2.3.0.ebuild b/dev-ruby/sqlite3/sqlite3-2.3.0.ebuild
new file mode 100644
index 000000000000..b25c0702be1e
--- /dev/null
+++ b/dev-ruby/sqlite3/sqlite3-2.3.0.ebuild
@@ -0,0 +1,66 @@
+# 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_BINWRAP=""
+RUBY_FAKEGEM_TASK_DOC="faq"
+RUBY_FAKEGEM_DOCDIR="doc faq"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/sqlite3/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/sqlite3
+RUBY_FAKEGEM_GEMSPEC="sqlite3.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An extension library to access a SQLite database from Ruby"
+HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby"
+SRC_URI="https://github.com/sparklemotion/sqlite3-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="sqlite3-ruby-${PV}"
+LICENSE="BSD"
+
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+
+# We track the bundled sqlite version here
+RDEPEND=">=dev-db/sqlite-3.47.0:3"
+DEPEND=">=dev-db/sqlite-3.47.0:3"
+
+ruby_add_bdepend "
+ doc? ( dev-ruby/rdoc )
+ test? ( dev-ruby/minitest:5 )
+"
+
+all_ruby_prepare() {
+ sed -i -e 's/enable_config("system-libraries")/true/' ext/sqlite3/extconf.rb || die
+
+ # Remove the runtime dependency on mini_portile2. We build without
+ # it and it is not a runtime dependency for us.
+ sed -e '/mini_portile2/ s:^:#:' \
+ -e '/WARNING/ s:^:#:' \
+ -e "s/0.0.0/${PV}/" \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid a failing spec for reprepares stats. Upstream indicates that
+ # the stats data should not be relied on other than for human
+ # debugging.
+ sed -e '/def test_stat_reprepares/askip "Fails on Gentoo"' \
+ -i test/test_statement.rb || die
+}
+
+all_ruby_compile() {
+ all_fakegem_compile
+
+ if use doc; then
+ rdoc --title "${P} Documentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die
+ rm -f doc/js/*.gz || die
+ fi
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}