diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-10 22:28:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-10 22:28:10 +0100 |
commit | f2a91413828611d85d0496e98e1656e9b0e4528b (patch) | |
tree | b3998888d687ece7d9aabfa86c9b449e5438a513 /dev-ruby/sqlite3 | |
parent | b98a1d0a0651765f29a8aeab25f904e730dfbf88 (diff) |
gentoo auto-resync : 10:07:2023 - 22:28:10
Diffstat (limited to 'dev-ruby/sqlite3')
-rw-r--r-- | dev-ruby/sqlite3/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.6.3-r1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest index 44435ea84ba8..0dbc4005eb22 100644 --- a/dev-ruby/sqlite3/Manifest +++ b/dev-ruby/sqlite3/Manifest @@ -3,5 +3,6 @@ DIST sqlite3-1.6.1.gem 3194368 BLAKE2B f06fc82454730ad136c0824258d4f0fba75d2e2e2 DIST sqlite3-1.6.3.gem 3219968 BLAKE2B 3243aa61993cf0e9f20b46f4e02ca88a17f204d05815cd7661910e39034a7a83822943db643d8ae2dee758b6e78063f6201446a91c9552f518da5eb1edf6f3c7 SHA512 017fc5b5e4a7955da84e105a13213e702d16a1489371748c3a9170f92e9af3a8ed458c3867e13a17bf7fa30baf026e2efc8cd548b5695cad5397323ea6a71112 EBUILD sqlite3-1.4.4.ebuild 2315 BLAKE2B 7f91fd02091dcb4f27069371780bd35e3d0d0039a046b014ce5a4f7577e8614307419fd51bd71c2a48748cbf84a1b61cbec99fd471e46954aec0c569f77894e5 SHA512 c299a3a0062cb1312d1b09d0cbd239893583f9d9b9fef0298757d8f3c665159c8d86b1ed54006dc6e741016178ebfce5711a182dab65beece652a15f8971b432 EBUILD sqlite3-1.6.1.ebuild 1320 BLAKE2B cd79fcc9c64b345977ed1c9047d178fa01d05df8ff7af5402a304836975aa85a2af0c8ee6e95a4dea5b4d83b76bbe7030347f13c2086c0f44adab3b37f37a732 SHA512 ba1d6f107cf5db33af46e0a055b3fd7b1b5de23aedeee5df8792302b0fbcec0199c8a8d03e69197ddf6baf44e0eebb4ba6b904135dbd1c0792a71af70c63b98e +EBUILD sqlite3-1.6.3-r1.ebuild 1477 BLAKE2B 17cdb9cdbd077cb15ef7b2f0e66a43a3a70aa05d8f6891dd23bf885ed303a07d8b99ad83372c06cf6886a9567257a86fb237603562a6040693c4036a1bd68ae2 SHA512 caebe47a42f7c69b5ce7231f8951d3d507c2a5f1b778b7a3c71eef7984dad291b395afd29cb7355f98083f029370bf8d5936aa7c6d25918e4e31315b4ef073d3 EBUILD sqlite3-1.6.3.ebuild 1287 BLAKE2B 6ab7bea9fd97cad04c53f4a5f7ffe3b875cd4fa32c6eedbbfe6b9b35421c868c6253f1cf95b0ead0fcd2cba17ce24a8425c2acf5d6153c631d4ff041d49af0ef SHA512 2fcbdb74eed1d5bbe7b6c9f529661f0608bd9d23bb52ba3b47a4969ab494e1a6b1cce4033b912158851ab7f782cc9dcb96e6a008afbcea9e04c3fe6d246eef4b MISC metadata.xml 343 BLAKE2B 8246e0b7df67080839741f0258357ae19da18bd7ad8615bb77b943bc89db7560d58f95a8cba4e770070efc477ba56ee1f5c9ba098674ffc01dd5fdd9b912189a SHA512 541f2db81c9383013da74a8a54f318ff7535ffe5c6ea789f8ddc451f629a121e56b322d8b3a0730e0b27b111e16e27d8fa49bc5805a7c61fcf91ac7110ca712b diff --git a/dev-ruby/sqlite3/sqlite3-1.6.3-r1.ebuild b/dev-ruby/sqlite3/sqlite3-1.6.3-r1.ebuild new file mode 100644 index 000000000000..ba4ed4569046 --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.6.3-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_TASK_DOC="faq" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.md README.md ChangeLog.cvs CHANGELOG.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/sqlite3/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/sqlite3 + +inherit ruby-fakegem + +DESCRIPTION="An extension library to access a SQLite database from Ruby" +HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby" +LICENSE="BSD" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="0" +IUSE="" + +# We track the bundled sqlite version here +RDEPEND+=" >=dev-db/sqlite-3.41.2:3" +DEPEND+=" >=dev-db/sqlite-3.41.2:3" + +ruby_add_bdepend " + doc? ( dev-ruby/rdoc dev-ruby/redcloth ) + 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 -i -e '/^dependencies:/,/force_ruby_platform/d' ../metadata || 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 +} |