diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/sqlite3 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/sqlite3')
-rw-r--r-- | dev-ruby/sqlite3/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/sqlite3/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.11.ebuild | 83 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-1.3.13.ebuild | 83 |
4 files changed, 182 insertions, 0 deletions
diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest new file mode 100644 index 000000000000..2152956aee05 --- /dev/null +++ b/dev-ruby/sqlite3/Manifest @@ -0,0 +1,5 @@ +DIST sqlite3-1.3.11.gem 60928 BLAKE2B c2dd494b2c5870a65588bea59cdf6752506f6389614955ecc0d006ae8a325e5ec45476bfd59fac6861b4db64108af87df4479c32775da014ea7d7306a59f8c9f SHA512 02bef5f8f61d1f04c79d9032d62c9d708dddc2446dd256ad13f932ed4cae256d6c60f742a285bc4015ef5b1fb13e9541738f31fd270fe22320fc176525fe37bb +DIST sqlite3-1.3.13.gem 64512 BLAKE2B a36e3161e44004a0510297d16bf491df3dc29434432208ad231f5e46ddecb4607add417e105f5ae8472a768f80efef3f74b703b2a441396b4c9b6c9ff90bf31e SHA512 5d3eab7c788cc62c497de179919054324e53595294ec3a9df2a10d23151a406ee9a88f1c3ac945777f138e78cec61018c388b023456b873131d678a6788a505f +EBUILD sqlite3-1.3.11.ebuild 2392 BLAKE2B 52685bcc7ef730fadb546a63d7af8318734a9f47d99a6802c1ab472aa851b52360f844aca405a33614ede92290fed86db47670f234dc17bdf1b456bbe17824ee SHA512 db96e0d6d0f86123b44ba7d1826bcf11085e2dcef0532134ab0c12ac5206271eabef4b039d8bab73988731c4099551fb70a3c17facd4769edd5f937cb2da9ba4 +EBUILD sqlite3-1.3.13.ebuild 2393 BLAKE2B 4275831c6c742f8c74d40bc7ce91907eed6b5cf91e9eff2b6f228e0535f09c78a2bc1f11f0dbbbb196899303831f34dfed9427d958b69b1bb5c335651a7ed955 SHA512 06dfbdf91d069bcedc09009885f8e53ae56cb1c5e1e6869ca5ff05dfd8988f4f54537a4ab45f05626859282e376d65fa3ecd54f750240c2def1059f73fd4fb97 +MISC metadata.xml 342 BLAKE2B 1f46148873c3913fc0beee10dfd433f84a477f2f5ba8b7a8bc97e4cac6765d3c07829dabef7e697791cb42902184fbf034c5701a433717c1516c725c0b5b48e9 SHA512 3272f121743335cd749a606648660e8650664fec4f02aa6499c8f5ebcf0ff727de28619d800fc5cbda350f3076e81dfbd1993ec825cd4ca43163e160813b3f77 diff --git a/dev-ruby/sqlite3/metadata.xml b/dev-ruby/sqlite3/metadata.xml new file mode 100644 index 000000000000..d2f77da0102a --- /dev/null +++ b/dev-ruby/sqlite3/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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">sparklemotion/sqlite3-ruby</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/sqlite3/sqlite3-1.3.11.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.11.ebuild new file mode 100644 index 000000000000..fbbe3767cd6a --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.11.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="faq" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +inherit multilib 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 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND+=" >=dev-db/sqlite-3.6.16:3" +DEPEND+=" >=dev-db/sqlite-3.6.16:3" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + doc? ( dev-ruby/redcloth ) + test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + # Remove license line from hoe to avoid depending on a newer + # version. + sed -i -e '/license/d' tasks/gem.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rdoc --title "${P} Dcoumentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die + fi +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 V=1 + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +each_ruby_install() { + each_fakegem_install + + # sqlite3 was called sqlite3-ruby before, so add a spec file that + # simply loads sqlite3 to make sure that old projects load correctly + # we don't even need to create a file to load this: the `require + # sqlite3` was already part of sqlite3-ruby requirements. + cat - <<EOF > "${T}/sqlite3-ruby.gemspec" +# generated by ebuild +# $CATEGORY/$PF +Gem::Specification.new do |s| + s.name = "sqlite3-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load sqlite3" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=sqlite3-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \ + ruby_fakegem_install_gemspec +} diff --git a/dev-ruby/sqlite3/sqlite3-1.3.13.ebuild b/dev-ruby/sqlite3/sqlite3-1.3.13.ebuild new file mode 100644 index 000000000000..1b27145c446e --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.13.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="faq" +RUBY_FAKEGEM_DOCDIR="doc faq" +RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc" + +inherit multilib 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 ~ia64 ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND+=" >=dev-db/sqlite-3.6.16:3" +DEPEND+=" >=dev-db/sqlite-3.6.16:3" + +ruby_add_bdepend " + dev-ruby/rake-compiler + dev-ruby/hoe + doc? ( dev-ruby/redcloth ) + test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # We remove the vendor_sqlite3 rake task because it's used to + # bundle SQlite3 which we definitely don't want. + rm tasks/vendor_sqlite3.rake || die + + # Remove license line from hoe to avoid depending on a newer + # version. + sed -i -e '/license/d' tasks/gem.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die +} + +each_ruby_configure() { + ${RUBY} -Cext/sqlite3 extconf.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rdoc --title "${P} Dcoumentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die + fi +} + +each_ruby_compile() { + # TODO: not sure what happens with jruby + + emake -Cext/sqlite3 V=1 + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +each_ruby_install() { + each_fakegem_install + + # sqlite3 was called sqlite3-ruby before, so add a spec file that + # simply loads sqlite3 to make sure that old projects load correctly + # we don't even need to create a file to load this: the `require + # sqlite3` was already part of sqlite3-ruby requirements. + cat - <<EOF > "${T}/sqlite3-ruby.gemspec" +# generated by ebuild +# $CATEGORY/$PF +Gem::Specification.new do |s| + s.name = "sqlite3-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load sqlite3" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=sqlite3-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \ + ruby_fakegem_install_gemspec +} |