diff options
Diffstat (limited to 'dev-ruby')
2717 files changed, 61475 insertions, 0 deletions
diff --git a/dev-ruby/GeoRuby/GeoRuby-2.5.2.ebuild b/dev-ruby/GeoRuby/GeoRuby-2.5.2.ebuild new file mode 100644 index 000000000000..ac12330a2fc7 --- /dev/null +++ b/dev-ruby/GeoRuby/GeoRuby-2.5.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_NAME="georuby" + +inherit ruby-fakegem + +DESCRIPTION="Ruby data holder for OGC Simple Features" +HOMEPAGE="https://github.com/nofxx/georuby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +all_ruby_prepare() { + # Avoid specs that are also failing in upstream Travis. + rm spec/geo_ruby/shp4r/shp_spec.rb || die +} + +ruby_add_bdepend "test? ( dev-ruby/dbf + dev-ruby/nokogiri )" diff --git a/dev-ruby/GeoRuby/Manifest b/dev-ruby/GeoRuby/Manifest new file mode 100644 index 000000000000..9200a356988c --- /dev/null +++ b/dev-ruby/GeoRuby/Manifest @@ -0,0 +1 @@ +DIST georuby-2.5.2.gem 211456 BLAKE2B 67340729118cfb64d78a0ac3e98a6e29414ba0ca111c8a9e608486803c4c1da51e99e06b9ac1abfba0b3781d330ad83e09b72cb5d643d32fc47ce35307045a17 SHA512 f65aca747ff2615ce2cecf0d3a9fa8728b362f211da0433b075e5abd95644daa8d5d8a6e19b051b8e2b78d55e819f07b19b2dfcb95f26f3d678c698fd7126f3f diff --git a/dev-ruby/GeoRuby/metadata.xml b/dev-ruby/GeoRuby/metadata.xml new file mode 100644 index 000000000000..4a65b28f2877 --- /dev/null +++ b/dev-ruby/GeoRuby/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <maintainer type="project"> + <email>sci-geosciences@gentoo.org</email> + <name>Gentoo Geosciences Project</name> + </maintainer> + <upstream> + <remote-id type="github">nofxx/georuby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/abstract/Manifest b/dev-ruby/abstract/Manifest new file mode 100644 index 000000000000..109bafb6369e --- /dev/null +++ b/dev-ruby/abstract/Manifest @@ -0,0 +1 @@ +DIST abstract-1.0.0.gem 12288 BLAKE2B c61fe73f5a5b765296e4a61acfa14b39468878a442a1ce8689e846089da9a3d6c8f5425a791040865d5aadd435ac78de6f48f809f081ca0883c71f733e4cbe5c SHA512 7c6fffc012baf704a27470fecf44dc97e6ca9f5bf9db47c20f23e59376af1262c4618ad70a70faa446339a79f94bbce04c2f5a6c506bd010c60a0fa5f60f346c diff --git a/dev-ruby/abstract/abstract-1.0.0-r3.ebuild b/dev-ruby/abstract/abstract-1.0.0-r3.ebuild new file mode 100644 index 000000000000..b78a1555c0f7 --- /dev/null +++ b/dev-ruby/abstract/abstract-1.0.0-r3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Library which enable you to define abstract method in Ruby" +HOMEPAGE="https://rubygems.org/gems/abstract" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +each_ruby_test() { + ${RUBY} -Ilib test/test.rb || die "tests failed" +} diff --git a/dev-ruby/abstract/metadata.xml b/dev-ruby/abstract/metadata.xml new file mode 100644 index 000000000000..0cccaaeefe6f --- /dev/null +++ b/dev-ruby/abstract/metadata.xml @@ -0,0 +1,12 @@ +<?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="rubygems">abstract</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest new file mode 100644 index 000000000000..be845f9b5ebf --- /dev/null +++ b/dev-ruby/acme-client/Manifest @@ -0,0 +1,3 @@ +DIST acme-client-2.0.4.tar.gz 206295 BLAKE2B 5758a940e91036de04183ace9d076649cce220e18c92abbbf683026fd4fc1d05b3d2c735553648daac0f57f5e4c5c865679607d38f663af7623bd60fac99eff1 SHA512 3e8998ddedc69c6d2a15927be278ef055d1be0fe906c499504ecba811189e5ebbd9c1f54df8692bc0135766dfc8cfbd80f27ee345eab8bcd0126fac62be33742 +DIST acme-client-2.0.5.tar.gz 162456 BLAKE2B e01ffd790f404e0ac7a5fe42ef6d4819387dc810bb5c6856e51810b125f5020c3790003eb99e9560ab1618d7d3a420b63e4c1de9cc98e97a4a742ade6bfde54f SHA512 f2f59f2536a5de918147c3b26285c9498eaf082f67d8e3c96036b61a05e3c265a37d7e23f91c03ef7a02ca99bcfec755bc0a9e2bf766ee7b6ffaae1ad1b7c4ab +DIST acme-client-2.0.6.tar.gz 162500 BLAKE2B a32b2d0361d202a6a799e5ed61eb310ec51971a7a7e3e5747c0ca37a597114d1964cf336d053277cc45ae91640c706e39a1e70d5dfe77abea5bddd1055c5a0b8 SHA512 aeb2102971f4d09b07f7b9a793ce9a5e35bed77fa50f3c74558e85a81023e6ebe6317e56f5297e8b26fdaedfdb95041b73240a812d849828fdd99c4dc93684de diff --git a/dev-ruby/acme-client/acme-client-2.0.4.ebuild b/dev-ruby/acme-client/acme-client-2.0.4.ebuild new file mode 100644 index 000000000000..24a1c78f83c9 --- /dev/null +++ b/dev-ruby/acme-client/acme-client-2.0.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="acme-client.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby client for the letsencrypt's ACME protocol." +HOMEPAGE="https://github.com/unixcharles/acme-client" +SRC_URI="https://github.com/unixcharles/acme-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.9.1:0" + +ruby_add_bdepend "test? ( + >=dev-ruby/vcr-2.9.3 + dev-ruby/webmock +)" + +all_ruby_prepare() { + # Skip failing test where incorrect der value is retrieved, may be openssl 1.1.x related. + sed -i -e '/assigns the public key/apending' spec/certificate_request_spec.rb || die + + # Avoid dependency on git + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/acme-client/acme-client-2.0.5.ebuild b/dev-ruby/acme-client/acme-client-2.0.5.ebuild new file mode 100644 index 000000000000..24a1c78f83c9 --- /dev/null +++ b/dev-ruby/acme-client/acme-client-2.0.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="acme-client.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby client for the letsencrypt's ACME protocol." +HOMEPAGE="https://github.com/unixcharles/acme-client" +SRC_URI="https://github.com/unixcharles/acme-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.9.1:0" + +ruby_add_bdepend "test? ( + >=dev-ruby/vcr-2.9.3 + dev-ruby/webmock +)" + +all_ruby_prepare() { + # Skip failing test where incorrect der value is retrieved, may be openssl 1.1.x related. + sed -i -e '/assigns the public key/apending' spec/certificate_request_spec.rb || die + + # Avoid dependency on git + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/acme-client/acme-client-2.0.6.ebuild b/dev-ruby/acme-client/acme-client-2.0.6.ebuild new file mode 100644 index 000000000000..964ca35b2327 --- /dev/null +++ b/dev-ruby/acme-client/acme-client-2.0.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="acme-client.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby client for the letsencrypt's ACME protocol." +HOMEPAGE="https://github.com/unixcharles/acme-client" +SRC_URI="https://github.com/unixcharles/acme-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.17:0" + +ruby_add_bdepend "test? ( + >=dev-ruby/vcr-2.9.3 + >=dev-ruby/webmock-3.8:3 +)" + +all_ruby_prepare() { + # Skip failing test where incorrect der value is retrieved, may be openssl 1.1.x related. + sed -i -e '/assigns the public key/apending' spec/certificate_request_spec.rb || die + + # Avoid dependency on git + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/acme-client/metadata.xml b/dev-ruby/acme-client/metadata.xml new file mode 100644 index 000000000000..cc762629098d --- /dev/null +++ b/dev-ruby/acme-client/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <longdescription> + A Ruby client for the letsencrypt's ACME protocol. + </longdescription> + <upstream> + <remote-id type="github">unixcharles/acme-client</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actioncable/Manifest b/dev-ruby/actioncable/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/actioncable/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/actioncable/actioncable-5.2.4.2.ebuild b/dev-ruby/actioncable/actioncable-5.2.4.2.ebuild new file mode 100644 index 000000000000..a6339fadbd1c --- /dev/null +++ b/dev-ruby/actioncable/actioncable-5.2.4.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Integrated WebSockets for Rails" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# Tests require many new dependencies, skipping for now +RESTRICT="test" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + dev-ruby/nio4r:2 + >=dev-ruby/websocket-driver-0.6.1:0 +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/railties-4.2.0 + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.14.0:0.14 + )" diff --git a/dev-ruby/actioncable/actioncable-5.2.4.3.ebuild b/dev-ruby/actioncable/actioncable-5.2.4.3.ebuild new file mode 100644 index 000000000000..a6339fadbd1c --- /dev/null +++ b/dev-ruby/actioncable/actioncable-5.2.4.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Integrated WebSockets for Rails" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# Tests require many new dependencies, skipping for now +RESTRICT="test" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + dev-ruby/nio4r:2 + >=dev-ruby/websocket-driver-0.6.1:0 +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/railties-4.2.0 + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.14.0:0.14 + )" diff --git a/dev-ruby/actioncable/actioncable-6.0.2.2.ebuild b/dev-ruby/actioncable/actioncable-6.0.2.2.ebuild new file mode 100644 index 000000000000..e52e0ab9a501 --- /dev/null +++ b/dev-ruby/actioncable/actioncable-6.0.2.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Integrated WebSockets for Rails" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# Tests require many new dependencies, skipping for now +RESTRICT="test" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + dev-ruby/nio4r:2 + >=dev-ruby/websocket-driver-0.6.1:* +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/railties-4.2.0 + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.14.0:0.14 + )" diff --git a/dev-ruby/actioncable/actioncable-6.0.3.1.ebuild b/dev-ruby/actioncable/actioncable-6.0.3.1.ebuild new file mode 100644 index 000000000000..e52e0ab9a501 --- /dev/null +++ b/dev-ruby/actioncable/actioncable-6.0.3.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Integrated WebSockets for Rails" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# Tests require many new dependencies, skipping for now +RESTRICT="test" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + dev-ruby/nio4r:2 + >=dev-ruby/websocket-driver-0.6.1:* +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/railties-4.2.0 + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.14.0:0.14 + )" diff --git a/dev-ruby/actioncable/actioncable-6.0.3.2.ebuild b/dev-ruby/actioncable/actioncable-6.0.3.2.ebuild new file mode 100644 index 000000000000..00434362e33e --- /dev/null +++ b/dev-ruby/actioncable/actioncable-6.0.3.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Integrated WebSockets for Rails" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# Tests require many new dependencies, skipping for now +RESTRICT="test" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + dev-ruby/nio4r:2 + >=dev-ruby/websocket-driver-0.6.1:* +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/railties-4.2.0 + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.14.0:0.14 + )" diff --git a/dev-ruby/actioncable/actioncable-6.0.3.ebuild b/dev-ruby/actioncable/actioncable-6.0.3.ebuild new file mode 100644 index 000000000000..e52e0ab9a501 --- /dev/null +++ b/dev-ruby/actioncable/actioncable-6.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Integrated WebSockets for Rails" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# Tests require many new dependencies, skipping for now +RESTRICT="test" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + dev-ruby/nio4r:2 + >=dev-ruby/websocket-driver-0.6.1:* +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/railties-4.2.0 + dev-ruby/test-unit:2 + >=dev-ruby/mocha-0.14.0:0.14 + )" diff --git a/dev-ruby/actioncable/metadata.xml b/dev-ruby/actioncable/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/actioncable/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actionmailbox/Manifest b/dev-ruby/actionmailbox/Manifest new file mode 100644 index 000000000000..9ef4ce7b0e0f --- /dev/null +++ b/dev-ruby/actionmailbox/Manifest @@ -0,0 +1,4 @@ +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/actionmailbox/actionmailbox-6.0.2.2.ebuild b/dev-ruby/actionmailbox/actionmailbox-6.0.2.2.ebuild new file mode 100644 index 000000000000..bbdab69175ce --- /dev/null +++ b/dev-ruby/actionmailbox/actionmailbox-6.0.2.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actionmailbox.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/mail-2.7.1:* +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|capybara\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actionmailbox/actionmailbox-6.0.3.1.ebuild b/dev-ruby/actionmailbox/actionmailbox-6.0.3.1.ebuild new file mode 100644 index 000000000000..bbdab69175ce --- /dev/null +++ b/dev-ruby/actionmailbox/actionmailbox-6.0.3.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actionmailbox.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/mail-2.7.1:* +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|capybara\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actionmailbox/actionmailbox-6.0.3.2.ebuild b/dev-ruby/actionmailbox/actionmailbox-6.0.3.2.ebuild new file mode 100644 index 000000000000..bbdab69175ce --- /dev/null +++ b/dev-ruby/actionmailbox/actionmailbox-6.0.3.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actionmailbox.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/mail-2.7.1:* +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|capybara\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actionmailbox/actionmailbox-6.0.3.ebuild b/dev-ruby/actionmailbox/actionmailbox-6.0.3.ebuild new file mode 100644 index 000000000000..bbdab69175ce --- /dev/null +++ b/dev-ruby/actionmailbox/actionmailbox-6.0.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actionmailbox.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/mail-2.7.1:* +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|capybara\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actionmailbox/metadata.xml b/dev-ruby/actionmailbox/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/actionmailbox/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actionmailer/Manifest b/dev-ruby/actionmailer/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/actionmailer/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/actionmailer/actionmailer-5.2.4.2.ebuild b/dev-ruby/actionmailer/actionmailer-5.2.4.2.ebuild new file mode 100644 index 000000000000..24a51c252868 --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-5.2.4.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:* + dev-ruby/rails-dom-testing:2" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -e '/\/load_paths/d' \ + -e '1igem "railties", "~> 5.2.0"' \ + -e '1igem "actionpack", "~> 5.2.0"' \ + -e '1igem "activejob", "~> 5.2.0"' \ + -i test/abstract_unit.rb || die "Unable to remove load paths" + + # Avoid a test failing only on attachment ordering, since this is a + # security release. + sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die +} diff --git a/dev-ruby/actionmailer/actionmailer-5.2.4.3.ebuild b/dev-ruby/actionmailer/actionmailer-5.2.4.3.ebuild new file mode 100644 index 000000000000..24a51c252868 --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-5.2.4.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:* + dev-ruby/rails-dom-testing:2" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -e '/\/load_paths/d' \ + -e '1igem "railties", "~> 5.2.0"' \ + -e '1igem "actionpack", "~> 5.2.0"' \ + -e '1igem "activejob", "~> 5.2.0"' \ + -i test/abstract_unit.rb || die "Unable to remove load paths" + + # Avoid a test failing only on attachment ordering, since this is a + # security release. + sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die +} diff --git a/dev-ruby/actionmailer/actionmailer-6.0.2.2.ebuild b/dev-ruby/actionmailer/actionmailer-6.0.2.2.ebuild new file mode 100644 index 000000000000..9de7bbb7b27e --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-6.0.2.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:* + dev-ruby/rails-dom-testing:2" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + + # Avoid a test failing only on attachment ordering, since this is a + # security release. + sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die +} diff --git a/dev-ruby/actionmailer/actionmailer-6.0.3.1.ebuild b/dev-ruby/actionmailer/actionmailer-6.0.3.1.ebuild new file mode 100644 index 000000000000..9de7bbb7b27e --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-6.0.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:* + dev-ruby/rails-dom-testing:2" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + + # Avoid a test failing only on attachment ordering, since this is a + # security release. + sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die +} diff --git a/dev-ruby/actionmailer/actionmailer-6.0.3.2.ebuild b/dev-ruby/actionmailer/actionmailer-6.0.3.2.ebuild new file mode 100644 index 000000000000..9de7bbb7b27e --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-6.0.3.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:* + dev-ruby/rails-dom-testing:2" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + + # Avoid a test failing only on attachment ordering, since this is a + # security release. + sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die +} diff --git a/dev-ruby/actionmailer/actionmailer-6.0.3.ebuild b/dev-ruby/actionmailer/actionmailer-6.0.3.ebuild new file mode 100644 index 000000000000..9de7bbb7b27e --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-6.0.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:* + dev-ruby/rails-dom-testing:2" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + + # Avoid a test failing only on attachment ordering, since this is a + # security release. + sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die +} diff --git a/dev-ruby/actionmailer/metadata.xml b/dev-ruby/actionmailer/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/actionmailer/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actionpack-action_caching/Manifest b/dev-ruby/actionpack-action_caching/Manifest new file mode 100644 index 000000000000..a2cc5cbb53ca --- /dev/null +++ b/dev-ruby/actionpack-action_caching/Manifest @@ -0,0 +1 @@ +DIST actionpack-action_caching-1.2.1.gem 16384 BLAKE2B 5bda3597a10bdba21fcaf6f2a854832b79c7bec4791f5ca736e3ebcc266ee1d604b932b653df592892a6c59969bb7e405f55e5ac59400762da23a1392e1e7e5a SHA512 340a0159596fbc36706cef2dd11a542353cbd2b3f5941e005e5e8e2a2bcadbdfbaa000e79db1aa6b438c9e9f2d21c125071c40e2e46b2d30c876490553b386a4 diff --git a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.ebuild b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.ebuild new file mode 100644 index 000000000000..14bce484fa62 --- /dev/null +++ b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="Action caching for Action Pack (removed from core in Rails 4.0)" +HOMEPAGE="https://github.com/rails/actionpack-action_caching" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/actionpack-4.0.0:*" + +ruby_add_bdepend "test? ( >=dev-ruby/activerecord-4.0.0 + dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile test/abstract_unit.rb || die + sed -i -e "/git/d" ${PN}.gemspec || die + sed -i -e "2irequire 'mocha/setup'" test/caching_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/caching_test.rb || die +} diff --git a/dev-ruby/actionpack-action_caching/metadata.xml b/dev-ruby/actionpack-action_caching/metadata.xml new file mode 100644 index 000000000000..2396e311b015 --- /dev/null +++ b/dev-ruby/actionpack-action_caching/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/actionpack-action_caching</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actionpack-xml_parser/Manifest b/dev-ruby/actionpack-xml_parser/Manifest new file mode 100644 index 000000000000..2b2144aedb04 --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/Manifest @@ -0,0 +1 @@ +DIST actionpack-xml_parser-2.0.1.tar.gz 6494 BLAKE2B 271e1352085e7c75754253222c9f861f7ece9875102a0bb4c47e20311367fcc040c5680ad0406112f8e312c4a8ae1a3f9b6d33f3736db3614ca1c3584942f800 SHA512 a240e59178722025a0c967cfc2f63ca1ed8a2aff55ad913652f06018b712a7009eecd915f494dc4087de12ad5dbe5a0f3c7290fc530a2e475b39318520809112 diff --git a/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1.ebuild b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1.ebuild new file mode 100644 index 000000000000..48e5bf081edc --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="XML parameters parser for Action Pack (removed from core in Rails 4.0)" +HOMEPAGE="https://github.com/rails/actionpack-xml_parser" +SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="" + +ruby_add_rdepend "=dev-ruby/actionpack-5*:* =dev-ruby/railties-5*:*" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile test/helper.rb || die + sed -i -e '1igem "actionpack", "~>5.2"' test/helper.rb || die + + # Skip test that is not compatible with Rails 5.2 + sed -i -e '/occurring a parse error if parsing unsuccessful/askip "rails 5.2"' test/xml_params_parsing_test.rb || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -Ilib:.:test -e "Dir['test/*_test.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/actionpack-xml_parser/metadata.xml b/dev-ruby/actionpack-xml_parser/metadata.xml new file mode 100644 index 000000000000..25387dc55dd9 --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/actionpack-xml_parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/actionpack/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/actionpack/actionpack-5.2.4.2.ebuild b/dev-ruby/actionpack/actionpack-5.2.4.2.ebuild new file mode 100644 index 000000000000..92a68b49adb7 --- /dev/null +++ b/dev-ruby/actionpack/actionpack-5.2.4.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Eases web-request routing, handling, and response" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionview-${PV} + >=dev-ruby/rack-2.0.8:2.0 + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/rails-html-sanitizer-1.0.2:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha:0.14 + dev-ruby/bundler + >=dev-ruby/capybara-2.15 + ~dev-ruby/activemodel-${PV} + >=dev-ruby/rack-cache-1.2:1.2 + www-servers/puma + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + sed -e '1i gem "activemodel", "~> 5.2.0"' \ + -e '1i gem "actionview", "~> 5.2.0"' \ + -e '1i gem "railties", "~> 5.2.0"' \ + -i test/abstract_unit.rb || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die +} diff --git a/dev-ruby/actionpack/actionpack-5.2.4.3.ebuild b/dev-ruby/actionpack/actionpack-5.2.4.3.ebuild new file mode 100644 index 000000000000..7c3bc467df68 --- /dev/null +++ b/dev-ruby/actionpack/actionpack-5.2.4.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Eases web-request routing, handling, and response" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionview-${PV} + >=dev-ruby/rack-2.0.8:2.0 + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/rails-html-sanitizer-1.0.2:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha:0.14 + dev-ruby/bundler + >=dev-ruby/capybara-2.15 + ~dev-ruby/activemodel-${PV} + >=dev-ruby/rack-cache-1.2:1.2 + www-servers/puma + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + sed -e '1i gem "activemodel", "~> 5.2.0"' \ + -e '1i gem "actionview", "~> 5.2.0"' \ + -e '1i gem "railties", "~> 5.2.0"' \ + -i test/abstract_unit.rb || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die + + # Avoid broken tests already fixed upstream + sed -i -e '/cookie syntax resilience/askip "broken test"' test/dispatch/request_test.rb || die + sed -i -e '/test_keeps_original_headers_behavior/askip "broken test"' test/dispatch/ssl_test.rb || die +} diff --git a/dev-ruby/actionpack/actionpack-6.0.2.2.ebuild b/dev-ruby/actionpack/actionpack-6.0.2.2.ebuild new file mode 100644 index 000000000000..4d8bf0f9ee17 --- /dev/null +++ b/dev-ruby/actionpack/actionpack-6.0.2.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Eases web-request routing, handling, and response" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionview-${PV} + dev-ruby/rack:2.0 + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha:0.14 + dev-ruby/bundler + >=dev-ruby/capybara-2.15 + ~dev-ruby/activemodel-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/rack-cache-1.2:1.2 + www-servers/puma + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die +} diff --git a/dev-ruby/actionpack/actionpack-6.0.3.1.ebuild b/dev-ruby/actionpack/actionpack-6.0.3.1.ebuild new file mode 100644 index 000000000000..3ae431f685a6 --- /dev/null +++ b/dev-ruby/actionpack/actionpack-6.0.3.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Eases web-request routing, handling, and response" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionview-${PV} + dev-ruby/rack:2.0 + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha:0.14 + dev-ruby/bundler + >=dev-ruby/capybara-2.15 + ~dev-ruby/activemodel-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/rack-cache-1.2:1.2 + www-servers/puma + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die +} diff --git a/dev-ruby/actionpack/actionpack-6.0.3.2.ebuild b/dev-ruby/actionpack/actionpack-6.0.3.2.ebuild new file mode 100644 index 000000000000..3ae431f685a6 --- /dev/null +++ b/dev-ruby/actionpack/actionpack-6.0.3.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Eases web-request routing, handling, and response" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionview-${PV} + dev-ruby/rack:2.0 + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha:0.14 + dev-ruby/bundler + >=dev-ruby/capybara-2.15 + ~dev-ruby/activemodel-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/rack-cache-1.2:1.2 + www-servers/puma + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die +} diff --git a/dev-ruby/actionpack/actionpack-6.0.3.ebuild b/dev-ruby/actionpack/actionpack-6.0.3.ebuild new file mode 100644 index 000000000000..3ae431f685a6 --- /dev/null +++ b/dev-ruby/actionpack/actionpack-6.0.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Eases web-request routing, handling, and response" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionview-${PV} + dev-ruby/rack:2.0 + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha:0.14 + dev-ruby/bundler + >=dev-ruby/capybara-2.15 + ~dev-ruby/activemodel-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/rack-cache-1.2:1.2 + www-servers/puma + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die +} diff --git a/dev-ruby/actionpack/metadata.xml b/dev-ruby/actionpack/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/actionpack/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actiontext/Manifest b/dev-ruby/actiontext/Manifest new file mode 100644 index 000000000000..9ef4ce7b0e0f --- /dev/null +++ b/dev-ruby/actiontext/Manifest @@ -0,0 +1,4 @@ +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/actiontext/actiontext-6.0.2.2.ebuild b/dev-ruby/actiontext/actiontext-6.0.2.2.ebuild new file mode 100644 index 000000000000..81ba03261fc8 --- /dev/null +++ b/dev-ruby/actiontext/actiontext-6.0.2.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actiontext.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app db package.json" + +inherit ruby-fakegem + +DESCRIPTION="Edit and display rich text in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/nokogiri-1.8.5 +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actiontext/actiontext-6.0.3.1.ebuild b/dev-ruby/actiontext/actiontext-6.0.3.1.ebuild new file mode 100644 index 000000000000..81ba03261fc8 --- /dev/null +++ b/dev-ruby/actiontext/actiontext-6.0.3.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actiontext.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app db package.json" + +inherit ruby-fakegem + +DESCRIPTION="Edit and display rich text in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/nokogiri-1.8.5 +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actiontext/actiontext-6.0.3.2.ebuild b/dev-ruby/actiontext/actiontext-6.0.3.2.ebuild new file mode 100644 index 000000000000..81ba03261fc8 --- /dev/null +++ b/dev-ruby/actiontext/actiontext-6.0.3.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actiontext.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app db package.json" + +inherit ruby-fakegem + +DESCRIPTION="Edit and display rich text in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/nokogiri-1.8.5 +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actiontext/actiontext-6.0.3.ebuild b/dev-ruby/actiontext/actiontext-6.0.3.ebuild new file mode 100644 index 000000000000..81ba03261fc8 --- /dev/null +++ b/dev-ruby/actiontext/actiontext-6.0.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="actiontext.gemspec" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRAINSTALL="app db package.json" + +inherit ruby-fakegem + +DESCRIPTION="Edit and display rich text in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + >=dev-ruby/nokogiri-1.8.5 +" + +ruby_add_bdepend "test? ( + dev-ruby/mocha +)" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby:'${RUBY}':' test/dummy/bin/* || die +} diff --git a/dev-ruby/actiontext/metadata.xml b/dev-ruby/actiontext/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/actiontext/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/actionview/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/actionview/actionview-5.2.4.2.ebuild b/dev-ruby/actionview/actionview-5.2.4.2.ebuild new file mode 100644 index 000000000000..87622071e472 --- /dev/null +++ b/dev-ruby/actionview/actionview-5.2.4.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* + >=dev-ruby/erubi-1.4:0 + >=dev-ruby/rails-html-sanitizer-1.0.3:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activemodel-${PV} + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid activerecord integration tests because they are very sensitive to the specifics + # of the environment. + sed -i -e 's/, "test:integration:active_record"//' Rakefile || die + + sed -e '2igem "actionpack", "~> 5.2.0"' \ + -e '2igem "activemodel", "~> 5.2.0"' \ + -e '2igem "railties", "~> 5.2.0"' \ + -e '/active_record/ s:^:#:' \ + -i test/abstract_unit.rb || die +} diff --git a/dev-ruby/actionview/actionview-5.2.4.3.ebuild b/dev-ruby/actionview/actionview-5.2.4.3.ebuild new file mode 100644 index 000000000000..87622071e472 --- /dev/null +++ b/dev-ruby/actionview/actionview-5.2.4.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* + >=dev-ruby/erubi-1.4:0 + >=dev-ruby/rails-html-sanitizer-1.0.3:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activemodel-${PV} + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid activerecord integration tests because they are very sensitive to the specifics + # of the environment. + sed -i -e 's/, "test:integration:active_record"//' Rakefile || die + + sed -e '2igem "actionpack", "~> 5.2.0"' \ + -e '2igem "activemodel", "~> 5.2.0"' \ + -e '2igem "railties", "~> 5.2.0"' \ + -e '/active_record/ s:^:#:' \ + -i test/abstract_unit.rb || die +} diff --git a/dev-ruby/actionview/actionview-6.0.2.2.ebuild b/dev-ruby/actionview/actionview-6.0.2.2.ebuild new file mode 100644 index 000000000000..7cb9b269205c --- /dev/null +++ b/dev-ruby/actionview/actionview-6.0.2.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* + >=dev-ruby/erubi-1.4:0 + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid tests failing due to missing logger setup in activerecord, + # most likely related to test environment setup. + rm -f test/activerecord/render_partial_with_record_identification_test.rb || die +} diff --git a/dev-ruby/actionview/actionview-6.0.3.1.ebuild b/dev-ruby/actionview/actionview-6.0.3.1.ebuild new file mode 100644 index 000000000000..0e67c4aa83c1 --- /dev/null +++ b/dev-ruby/actionview/actionview-6.0.3.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* + >=dev-ruby/erubi-1.4:0 + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid tests failing due to missing logger setup in activerecord, + # most likely related to test environment setup. + #rm -f test/activerecord/render_partial_with_record_identification_test.rb || die + + # Fix loading of activerecord integration tests. This avoids loading + # activerecord twice and thus redefining constants leading to + # failures. Bug #719342 + sed -e '/abstract_unit/arequire "active_record/fixtures"' \ + -e '/defined/ s/FixtureSet/ActiveRecord::FixtureSet/' \ + -i test/active_record_unit.rb || die +} diff --git a/dev-ruby/actionview/actionview-6.0.3.2.ebuild b/dev-ruby/actionview/actionview-6.0.3.2.ebuild new file mode 100644 index 000000000000..0e67c4aa83c1 --- /dev/null +++ b/dev-ruby/actionview/actionview-6.0.3.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* + >=dev-ruby/erubi-1.4:0 + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid tests failing due to missing logger setup in activerecord, + # most likely related to test environment setup. + #rm -f test/activerecord/render_partial_with_record_identification_test.rb || die + + # Fix loading of activerecord integration tests. This avoids loading + # activerecord twice and thus redefining constants leading to + # failures. Bug #719342 + sed -e '/abstract_unit/arequire "active_record/fixtures"' \ + -e '/defined/ s/FixtureSet/ActiveRecord::FixtureSet/' \ + -i test/active_record_unit.rb || die +} diff --git a/dev-ruby/actionview/actionview-6.0.3.ebuild b/dev-ruby/actionview/actionview-6.0.3.ebuild new file mode 100644 index 000000000000..0b4fd032262f --- /dev/null +++ b/dev-ruby/actionview/actionview-6.0.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:* + >=dev-ruby/erubi-1.4:0 + >=dev-ruby/rails-html-sanitizer-1.2.0:1 + dev-ruby/rails-dom-testing:2 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid tests failing due to missing logger setup in activerecord, + # most likely related to test environment setup. + #rm -f test/activerecord/render_partial_with_record_identification_test.rb || die + + # Fix loading of activerecord integration tests. This avoids loading + # activerecord twice and thus redefining constants leading to + # failures. Bug #719342 + sed -e '/abstract_unit/arequire "active_record/fixtures"' \ + -e '/defined/ s/FixtureSet/ActiveRecord::FixtureSet/' \ + -i test/active_record_unit.rb || die +} diff --git a/dev-ruby/actionview/metadata.xml b/dev-ruby/actionview/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/actionview/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/activejob/Manifest b/dev-ruby/activejob/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/activejob/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/activejob/activejob-5.2.4.2.ebuild b/dev-ruby/activejob/activejob-5.2.4.2.ebuild new file mode 100644 index 000000000000..7e36b898f263 --- /dev/null +++ b/dev-ruby/activejob/activejob-5.2.4.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Job framework with pluggable queues" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/globalid-0.3.6 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" + + # Remove all currently unpackaged queues. + sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \ + -e 's/delayed_job//' Rakefile || die +} diff --git a/dev-ruby/activejob/activejob-5.2.4.3.ebuild b/dev-ruby/activejob/activejob-5.2.4.3.ebuild new file mode 100644 index 000000000000..7e36b898f263 --- /dev/null +++ b/dev-ruby/activejob/activejob-5.2.4.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Job framework with pluggable queues" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/globalid-0.3.6 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" + + # Remove all currently unpackaged queues. + sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \ + -e 's/delayed_job//' Rakefile || die +} diff --git a/dev-ruby/activejob/activejob-6.0.2.2.ebuild b/dev-ruby/activejob/activejob-6.0.2.2.ebuild new file mode 100644 index 000000000000..e34fafaa96cd --- /dev/null +++ b/dev-ruby/activejob/activejob-6.0.2.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Job framework with pluggable queues" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/globalid-0.3.6 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" + + # Remove all currently unpackaged queues. + sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \ + -e 's/delayed_job//' Rakefile || die + sed -i -e '/SneakersAdapter/ s:^:#:' test/cases/exceptions_test.rb || die +} diff --git a/dev-ruby/activejob/activejob-6.0.3.1.ebuild b/dev-ruby/activejob/activejob-6.0.3.1.ebuild new file mode 100644 index 000000000000..e34fafaa96cd --- /dev/null +++ b/dev-ruby/activejob/activejob-6.0.3.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Job framework with pluggable queues" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/globalid-0.3.6 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" + + # Remove all currently unpackaged queues. + sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \ + -e 's/delayed_job//' Rakefile || die + sed -i -e '/SneakersAdapter/ s:^:#:' test/cases/exceptions_test.rb || die +} diff --git a/dev-ruby/activejob/activejob-6.0.3.2.ebuild b/dev-ruby/activejob/activejob-6.0.3.2.ebuild new file mode 100644 index 000000000000..e34fafaa96cd --- /dev/null +++ b/dev-ruby/activejob/activejob-6.0.3.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Job framework with pluggable queues" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/globalid-0.3.6 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" + + # Remove all currently unpackaged queues. + sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \ + -e 's/delayed_job//' Rakefile || die + sed -i -e '/SneakersAdapter/ s:^:#:' test/cases/exceptions_test.rb || die +} diff --git a/dev-ruby/activejob/activejob-6.0.3.ebuild b/dev-ruby/activejob/activejob-6.0.3.ebuild new file mode 100644 index 000000000000..e34fafaa96cd --- /dev/null +++ b/dev-ruby/activejob/activejob-6.0.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Job framework with pluggable queues" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + >=dev-ruby/globalid-0.3.6 +" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" + + # Remove all currently unpackaged queues. + sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch backburner//' \ + -e 's/delayed_job//' Rakefile || die + sed -i -e '/SneakersAdapter/ s:^:#:' test/cases/exceptions_test.rb || die +} diff --git a/dev-ruby/activejob/metadata.xml b/dev-ruby/activejob/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/activejob/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/activeldap/Manifest b/dev-ruby/activeldap/Manifest new file mode 100644 index 000000000000..7670c25ea4e3 --- /dev/null +++ b/dev-ruby/activeldap/Manifest @@ -0,0 +1,4 @@ +DIST activeldap-5.2.4.gem 226304 BLAKE2B f13b5a1cf423b44087d55d3a4957be1444d598ab1d1bd7d83ee545a2806b77b47124edcb326fc567eb06e866c62a2ad0c3dafd903232588f824bc2978c197d60 SHA512 da37cfa20c8be7151669ba3b409994c668b037a2f318b1b034f6fa9c0e56a9a778b03a26415cbd98c8ba3fa1d487d42343bc0532665c1037880e75474a1c708f +DIST activeldap-6.0.0.gem 226304 BLAKE2B ea200a672e1d77cb2eeca343479d39652441403737db9e1fbed14e594749cf33e00e8ca98ffaaa5f473e683faacc2f8d0b046b1ecb3dedf04efa7a23379f7439 SHA512 8b3ce2356612be4093210391102fb5fea51ba9e33ed9ee8281445d8bd13574af88cffbd35122b8cca69ea6799dd31be8fb2f2086f6ed773078b877a4c2ac163d +DIST activeldap-6.0.1.gem 226304 BLAKE2B e61ab86d1a39313f3f34debfde47e4499579273b666ceafc51e3a62cb73293d31a124dbf821428ac33437ca8e604bb4f4c1e1e43b8be58b9a67a73872b6634b8 SHA512 baf3ae0975348f94b00186a6c8569aa9371ae28f5a53654f18da9e6eb8eb50750730c1813c45318148eefa0a37fdb06d27efe13293ab4386637e0fbc1906334a +DIST activeldap-6.0.2.gem 226304 BLAKE2B 513ee26d37292ede2142561d36039747df7d50211151776c14d140fe565adcb3a6005c0923ca3a6d65befa72f91a7e9eff19fa1e1cf35c95111285f5d37de264 SHA512 817a394f3715c53b3ad67fa063c96d0974855be3547daf378064559fc690a0471322a8869fa7d6110661813da50a150c54f8a3b69d3a64d00e64d48ad7125788 diff --git a/dev-ruby/activeldap/activeldap-5.2.4.ebuild b/dev-ruby/activeldap/activeldap-5.2.4.ebuild new file mode 100644 index 000000000000..d286616fbcf2 --- /dev/null +++ b/dev-ruby/activeldap/activeldap-5.2.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.textile TODO doc/text/*" +RUBY_FAKEGEM_EXTRAINSTALL="po" + +inherit ruby-fakegem + +MY_P="${P/ruby-/}" +DESCRIPTION="ActiveLDAP provides an activerecord inspired object oriented interface to LDAP" +HOMEPAGE="https://github.com/activeldap/activeldap" + +LICENSE="GPL-2" +SLOT="5" +KEYWORDS="~amd64" +IUSE="" + +# Most tests require a live LDAP server to run. +RESTRICT="test" + +ruby_add_rdepend " + >dev-ruby/activemodel-4.2.0:* + dev-ruby/builder + dev-ruby/locale + dev-ruby/ruby-gettext + dev-ruby/gettext_i18n_rails + || ( dev-ruby/ruby-net-ldap >=dev-ruby/ruby-ldap-0.8.2 )" + +all_ruby_install() { + all_fakegem_install + + dodoc doc/text/* + dodoc -r examples +} diff --git a/dev-ruby/activeldap/activeldap-6.0.0.ebuild b/dev-ruby/activeldap/activeldap-6.0.0.ebuild new file mode 100644 index 000000000000..f83f8e45f9f7 --- /dev/null +++ b/dev-ruby/activeldap/activeldap-6.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="TODO doc/text/*" +RUBY_FAKEGEM_EXTRAINSTALL="po" + +inherit ruby-fakegem + +MY_P="${P/ruby-/}" +DESCRIPTION="ActiveLDAP provides an activerecord inspired object oriented interface to LDAP" +HOMEPAGE="https://github.com/activeldap/activeldap" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +# Most tests require a live LDAP server to run. +RESTRICT="test" + +ruby_add_rdepend " + >dev-ruby/activemodel-4.2.0:* + dev-ruby/builder + dev-ruby/locale + dev-ruby/ruby-gettext + dev-ruby/gettext_i18n_rails + || ( dev-ruby/ruby-net-ldap >=dev-ruby/ruby-ldap-0.8.2 )" + +all_ruby_install() { + all_fakegem_install + + dodoc doc/text/* + dodoc -r examples +} diff --git a/dev-ruby/activeldap/activeldap-6.0.1.ebuild b/dev-ruby/activeldap/activeldap-6.0.1.ebuild new file mode 100644 index 000000000000..f83f8e45f9f7 --- /dev/null +++ b/dev-ruby/activeldap/activeldap-6.0.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="TODO doc/text/*" +RUBY_FAKEGEM_EXTRAINSTALL="po" + +inherit ruby-fakegem + +MY_P="${P/ruby-/}" +DESCRIPTION="ActiveLDAP provides an activerecord inspired object oriented interface to LDAP" +HOMEPAGE="https://github.com/activeldap/activeldap" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +# Most tests require a live LDAP server to run. +RESTRICT="test" + +ruby_add_rdepend " + >dev-ruby/activemodel-4.2.0:* + dev-ruby/builder + dev-ruby/locale + dev-ruby/ruby-gettext + dev-ruby/gettext_i18n_rails + || ( dev-ruby/ruby-net-ldap >=dev-ruby/ruby-ldap-0.8.2 )" + +all_ruby_install() { + all_fakegem_install + + dodoc doc/text/* + dodoc -r examples +} diff --git a/dev-ruby/activeldap/activeldap-6.0.2.ebuild b/dev-ruby/activeldap/activeldap-6.0.2.ebuild new file mode 100644 index 000000000000..e7d248c7d519 --- /dev/null +++ b/dev-ruby/activeldap/activeldap-6.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="TODO doc/text/*" +RUBY_FAKEGEM_EXTRAINSTALL="po" + +inherit ruby-fakegem + +MY_P="${P/ruby-/}" +DESCRIPTION="ActiveLDAP provides an activerecord inspired object oriented interface to LDAP" +HOMEPAGE="https://github.com/activeldap/activeldap" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +# Most tests require a live LDAP server to run. +RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/activemodel-5.2.0:* + dev-ruby/builder + dev-ruby/locale + dev-ruby/ruby-gettext + dev-ruby/gettext_i18n_rails + || ( dev-ruby/ruby-net-ldap >=dev-ruby/ruby-ldap-0.8.2 )" + +all_ruby_install() { + all_fakegem_install + + dodoc doc/text/* + dodoc -r examples +} diff --git a/dev-ruby/activeldap/metadata.xml b/dev-ruby/activeldap/metadata.xml new file mode 100644 index 000000000000..2214cddc2e9b --- /dev/null +++ b/dev-ruby/activeldap/metadata.xml @@ -0,0 +1,12 @@ +<?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">activeldap/activeldap</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/activemodel-serializers-xml/Manifest b/dev-ruby/activemodel-serializers-xml/Manifest new file mode 100644 index 000000000000..4fb5439e42e3 --- /dev/null +++ b/dev-ruby/activemodel-serializers-xml/Manifest @@ -0,0 +1 @@ +DIST activemodel-serializers-xml-1.0.2.tgz 23321 BLAKE2B ad626402acbf3a10a9b14a19713b3855e7eab69cd02ceb63386cb11b147c4c9dbc68dd849b9421b518bc70be29009f54f5effbe734e9c8bb1c59a7d2c3286ac7 SHA512 888db4822f9ed4fd17ba93f2e03e4edc204bc14f62e3622949140a3497f56ad7cd7d49cd7f38fbf557098ceed9f2f1334093fd8493ccc82e56be15f6bf138af9 diff --git a/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild new file mode 100644 index 000000000000..b86b4eaa3806 --- /dev/null +++ b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="XML serialization for your Active Model objects and Active Record models" +HOMEPAGE="https://github.com/rails/activemodel-serializers-xml" +SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + =dev-ruby/activesupport-5*:* + =dev-ruby/activemodel-5*:* + =dev-ruby/builder-3*:* >=dev-ruby/builder-3.1:* +" + +ruby_add_bdepend "test? ( + =dev-ruby/activerecord-5*:* + dev-ruby/sqlite3 +)" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/activemodel-serializers-xml/metadata.xml b/dev-ruby/activemodel-serializers-xml/metadata.xml new file mode 100644 index 000000000000..90bf66f3ab2f --- /dev/null +++ b/dev-ruby/activemodel-serializers-xml/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/activemodel-serializers-xml</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/activemodel/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/activemodel/activemodel-5.2.4.2.ebuild b/dev-ruby/activemodel/activemodel-5.2.4.2.ebuild new file mode 100644 index 000000000000..7a9cd885fe20 --- /dev/null +++ b/dev-ruby/activemodel/activemodel-5.2.4.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV}:* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mocha + >=dev-ruby/bcrypt-ruby-3.1.7 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/activemodel/activemodel-5.2.4.3.ebuild b/dev-ruby/activemodel/activemodel-5.2.4.3.ebuild new file mode 100644 index 000000000000..7a9cd885fe20 --- /dev/null +++ b/dev-ruby/activemodel/activemodel-5.2.4.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV}:* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mocha + >=dev-ruby/bcrypt-ruby-3.1.7 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/activemodel/activemodel-6.0.2.2.ebuild b/dev-ruby/activemodel/activemodel-6.0.2.2.ebuild new file mode 100644 index 000000000000..84c440523f59 --- /dev/null +++ b/dev-ruby/activemodel/activemodel-6.0.2.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV}:* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mocha + >=dev-ruby/bcrypt-ruby-3.1.7 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/activemodel/activemodel-6.0.3.1.ebuild b/dev-ruby/activemodel/activemodel-6.0.3.1.ebuild new file mode 100644 index 000000000000..1494c493a78d --- /dev/null +++ b/dev-ruby/activemodel/activemodel-6.0.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV}:* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mocha + >=dev-ruby/bcrypt-ruby-3.1.7 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/activemodel/activemodel-6.0.3.2.ebuild b/dev-ruby/activemodel/activemodel-6.0.3.2.ebuild new file mode 100644 index 000000000000..1494c493a78d --- /dev/null +++ b/dev-ruby/activemodel/activemodel-6.0.3.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV}:* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mocha + >=dev-ruby/bcrypt-ruby-3.1.7 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/activemodel/activemodel-6.0.3.ebuild b/dev-ruby/activemodel/activemodel-6.0.3.ebuild new file mode 100644 index 000000000000..1494c493a78d --- /dev/null +++ b/dev-ruby/activemodel/activemodel-6.0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV}:* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mocha + >=dev-ruby/bcrypt-ruby-3.1.7 + )" + +all_ruby_prepare() { + # Set test environment to our hand. + sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" +} diff --git a/dev-ruby/activemodel/metadata.xml b/dev-ruby/activemodel/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/activemodel/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/activerecord/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/activerecord/activerecord-5.2.4.2.ebuild b/dev-ruby/activerecord/activerecord-5.2.4.2.ebuild new file mode 100644 index 000000000000..ade4146d39dc --- /dev/null +++ b/dev-ruby/activerecord/activerecord-5.2.4.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + dev-ruby/arel:9.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) + mysql? ( || ( dev-ruby/mysql2:0.5 dev-ruby/mysql2:0.4 ) ) + postgres? ( >=dev-ruby/pg-0.18.0:* )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionmailer-${PV} + >=dev-ruby/sqlite3-1.3.6 + dev-ruby/mocha + dev-ruby/minitest:5 + )" + +DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + rm ../Gemfile.lock || die + sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -e '/bcrypt/ s/3.0.0/3.0/' \ + -i ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' \ + ../Gemfile || die + + sed -e '3i gem "activesupport", "~> 5.2.0"' \ + -e '3i gem "activerecord", "~> 5.2.0"' \ + -e '3i gem "activemodel", "~> 5.2.0"' \ + -i test/cases/helper.rb || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die + + # Avoid failing test that makes bad assumptions on database state. + sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ + test/cases/associations/has_many_associations_test.rb + + # Avoid test failing to bind limit length in favor of security release + sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + MT_NO_PLUGINS=true ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-5.2.4.3.ebuild b/dev-ruby/activerecord/activerecord-5.2.4.3.ebuild new file mode 100644 index 000000000000..ade4146d39dc --- /dev/null +++ b/dev-ruby/activerecord/activerecord-5.2.4.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + dev-ruby/arel:9.0 + sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) + mysql? ( || ( dev-ruby/mysql2:0.5 dev-ruby/mysql2:0.4 ) ) + postgres? ( >=dev-ruby/pg-0.18.0:* )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionmailer-${PV} + >=dev-ruby/sqlite3-1.3.6 + dev-ruby/mocha + dev-ruby/minitest:5 + )" + +DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + rm ../Gemfile.lock || die + sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -e '/bcrypt/ s/3.0.0/3.0/' \ + -i ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' \ + ../Gemfile || die + + sed -e '3i gem "activesupport", "~> 5.2.0"' \ + -e '3i gem "activerecord", "~> 5.2.0"' \ + -e '3i gem "activemodel", "~> 5.2.0"' \ + -i test/cases/helper.rb || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die + + # Avoid single test using mysql dependencies. + rm test/cases/invalid_connection_test.rb || die + + # Avoid failing test that makes bad assumptions on database state. + sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ + test/cases/associations/has_many_associations_test.rb + + # Avoid test failing to bind limit length in favor of security release + sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + MT_NO_PLUGINS=true ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-6.0.2.2.ebuild b/dev-ruby/activerecord/activerecord-6.0.2.2.ebuild new file mode 100644 index 000000000000..8db6007cbcd6 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-6.0.2.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + sqlite? ( >=dev-ruby/sqlite3-1.4 ) + mysql? ( || ( dev-ruby/mysql2:0.5 >=dev-ruby/mysql2-0.4.4:0.4 ) ) + postgres? ( || ( dev-ruby/pg:1 >=dev-ruby/pg-0.18.0:0 ) )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + >=dev-ruby/sqlite3-1.3.6 + dev-ruby/mocha + dev-ruby/minitest:5 + )" + +DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + rm ../Gemfile.lock || die + sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -e '/bcrypt/ s/3.0.0/3.0/' \ + -i ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die + + # Avoid single tests using mysql or postgres dependencies. + rm test/cases/invalid_connection_test.rb || die + sed -e '/test_switching_connections_with_database_url/askip "postgres"' \ + -i test/cases/connection_adapters/connection_handlers_multi_db_test.rb || die + + # Avoid failing test that makes bad assumptions on database state. + sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ + test/cases/associations/has_many_associations_test.rb + + # Avoid test failing to bind limit length in favor of security release + sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-6.0.3.1.ebuild b/dev-ruby/activerecord/activerecord-6.0.3.1.ebuild new file mode 100644 index 000000000000..952512d4e312 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-6.0.3.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + sqlite? ( >=dev-ruby/sqlite3-1.4 ) + mysql? ( || ( dev-ruby/mysql2:0.5 >=dev-ruby/mysql2-0.4.4:0.4 ) ) + postgres? ( || ( dev-ruby/pg:1 >=dev-ruby/pg-0.18.0:0 ) )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + >=dev-ruby/sqlite3-1.3.6 + dev-ruby/mocha + dev-ruby/minitest:5 + )" + +DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + rm ../Gemfile.lock || die + sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -e '/bcrypt/ s/3.0.0/3.0/' \ + -i ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die + + # Avoid single tests using mysql or postgres dependencies. + rm test/cases/invalid_connection_test.rb || die + sed -e '/test_switching_connections_with_database_url/askip "postgres"' \ + -i test/cases/connection_adapters/connection_handlers_multi_db_test.rb || die + + # Avoid failing test that makes bad assumptions on database state. + sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ + test/cases/associations/has_many_associations_test.rb + + # Avoid test failing to bind limit length in favor of security release + sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die + + # Avoid test failing related to rubygems + sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-6.0.3.2.ebuild b/dev-ruby/activerecord/activerecord-6.0.3.2.ebuild new file mode 100644 index 000000000000..952512d4e312 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-6.0.3.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + sqlite? ( >=dev-ruby/sqlite3-1.4 ) + mysql? ( || ( dev-ruby/mysql2:0.5 >=dev-ruby/mysql2-0.4.4:0.4 ) ) + postgres? ( || ( dev-ruby/pg:1 >=dev-ruby/pg-0.18.0:0 ) )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + >=dev-ruby/sqlite3-1.3.6 + dev-ruby/mocha + dev-ruby/minitest:5 + )" + +DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + rm ../Gemfile.lock || die + sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -e '/bcrypt/ s/3.0.0/3.0/' \ + -i ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die + + # Avoid single tests using mysql or postgres dependencies. + rm test/cases/invalid_connection_test.rb || die + sed -e '/test_switching_connections_with_database_url/askip "postgres"' \ + -i test/cases/connection_adapters/connection_handlers_multi_db_test.rb || die + + # Avoid failing test that makes bad assumptions on database state. + sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ + test/cases/associations/has_many_associations_test.rb + + # Avoid test failing to bind limit length in favor of security release + sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die + + # Avoid test failing related to rubygems + sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/activerecord-6.0.3.ebuild b/dev-ruby/activerecord/activerecord-6.0.3.ebuild new file mode 100644 index 000000000000..952512d4e312 --- /dev/null +++ b/dev-ruby/activerecord/activerecord-6.0.3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +# this is not null so that the dependencies will actually be filled +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" +HOMEPAGE="https://github.com/rails/rails/" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="mysql postgres sqlite" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/activesupport-${PV} + ~dev-ruby/activemodel-${PV} + sqlite? ( >=dev-ruby/sqlite3-1.4 ) + mysql? ( || ( dev-ruby/mysql2:0.5 >=dev-ruby/mysql2-0.4.4:0.4 ) ) + postgres? ( || ( dev-ruby/pg:1 >=dev-ruby/pg-0.18.0:0 ) )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + ~dev-ruby/actionpack-${PV} + >=dev-ruby/sqlite3-1.3.6 + dev-ruby/mocha + dev-ruby/minitest:5 + )" + +DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + rm ../Gemfile.lock || die + sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die + sed -e '/bcrypt/ s/3.0.0/3.0/' \ + -i ../Gemfile || die + + # Add back json in the Gemfile because we dropped some dependencies + # earlier that implicitly required it. + sed -i -e '$agem "json"' ../Gemfile || die + + # Avoid test depending on mysql adapter which we don't support for + # this Rails version to simplify our dependencies. + rm test/cases/connection_specification/resolver_test.rb || die + + # Avoid single tests using mysql or postgres dependencies. + rm test/cases/invalid_connection_test.rb || die + sed -e '/test_switching_connections_with_database_url/askip "postgres"' \ + -i test/cases/connection_adapters/connection_handlers_multi_db_test.rb || die + + # Avoid failing test that makes bad assumptions on database state. + sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ + test/cases/associations/has_many_associations_test.rb + + # Avoid test failing to bind limit length in favor of security release + sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die + + # Avoid test failing related to rubygems + sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die +} + +each_ruby_test() { + if use sqlite; then + ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" + fi +} diff --git a/dev-ruby/activerecord/metadata.xml b/dev-ruby/activerecord/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/activerecord/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/activestorage/Manifest b/dev-ruby/activestorage/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/activestorage/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/activestorage/activestorage-5.2.4.2.ebuild b/dev-ruby/activestorage/activestorage-5.2.4.2.ebuild new file mode 100644 index 000000000000..1d20b96d4df8 --- /dev/null +++ b/dev-ruby/activestorage/activestorage-5.2.4.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Attach cloud and local files in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +DEPEND+=" test? ( app-text/mupdf ) " + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + ~dev-ruby/activerecord-${PV}:* + >=dev-ruby/marcel-0.3.1 =dev-ruby/marcel-0.3* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mini_magick + dev-ruby/mocha + dev-ruby/rake + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\)/ s:^:#:" \ + -e '/dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/:test/,/^end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} diff --git a/dev-ruby/activestorage/activestorage-5.2.4.3.ebuild b/dev-ruby/activestorage/activestorage-5.2.4.3.ebuild new file mode 100644 index 000000000000..9ee08a50fdf3 --- /dev/null +++ b/dev-ruby/activestorage/activestorage-5.2.4.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Attach cloud and local files in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +DEPEND+=" test? ( app-text/mupdf ) " + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + ~dev-ruby/activerecord-${PV}:* + >=dev-ruby/marcel-0.3.1 =dev-ruby/marcel-0.3* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + dev-ruby/test-unit:2 + dev-ruby/mini_magick + dev-ruby/mocha + dev-ruby/rake + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\)/ s:^:#:" \ + -e '/dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/:test/,/^end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die + + # Fix spec broken with ruby24 + sed -i -e '35ibegin' -e '55iend' test/service/s3_service_test.rb || die +} diff --git a/dev-ruby/activestorage/activestorage-6.0.2.2.ebuild b/dev-ruby/activestorage/activestorage-6.0.2.2.ebuild new file mode 100644 index 000000000000..a866c2b3677f --- /dev/null +++ b/dev-ruby/activestorage/activestorage-6.0.2.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Attach cloud and local files in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +DEPEND+=" test? ( app-text/mupdf ) " + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + ~dev-ruby/activerecord-${PV}:* + >=dev-ruby/marcel-0.3.1 =dev-ruby/marcel-0.3* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + >=dev-ruby/image_processing-1.2:0 + dev-ruby/test-unit:2 + dev-ruby/mini_magick + dev-ruby/mocha + dev-ruby/rake + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|selenium\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\)/ s:^:#:" \ + -e '/dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/:test/,/^end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} diff --git a/dev-ruby/activestorage/activestorage-6.0.3.1.ebuild b/dev-ruby/activestorage/activestorage-6.0.3.1.ebuild new file mode 100644 index 000000000000..a866c2b3677f --- /dev/null +++ b/dev-ruby/activestorage/activestorage-6.0.3.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Attach cloud and local files in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +DEPEND+=" test? ( app-text/mupdf ) " + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + ~dev-ruby/activerecord-${PV}:* + >=dev-ruby/marcel-0.3.1 =dev-ruby/marcel-0.3* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + >=dev-ruby/image_processing-1.2:0 + dev-ruby/test-unit:2 + dev-ruby/mini_magick + dev-ruby/mocha + dev-ruby/rake + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|selenium\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\)/ s:^:#:" \ + -e '/dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/:test/,/^end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} diff --git a/dev-ruby/activestorage/activestorage-6.0.3.2.ebuild b/dev-ruby/activestorage/activestorage-6.0.3.2.ebuild new file mode 100644 index 000000000000..f8c4301aa2dc --- /dev/null +++ b/dev-ruby/activestorage/activestorage-6.0.3.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Attach cloud and local files in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +DEPEND+=" test? ( app-text/mupdf ) " + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + ~dev-ruby/activerecord-${PV}:* + >=dev-ruby/marcel-0.3.1 =dev-ruby/marcel-0.3* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + >=dev-ruby/image_processing-1.2:0 + dev-ruby/test-unit:2 + dev-ruby/mini_magick + dev-ruby/mocha + dev-ruby/rake + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|selenium\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\|webpacker\)/ s:^:#:" \ + -e '/dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/:test/,/^end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} diff --git a/dev-ruby/activestorage/activestorage-6.0.3.ebuild b/dev-ruby/activestorage/activestorage-6.0.3.ebuild new file mode 100644 index 000000000000..a866c2b3677f --- /dev/null +++ b/dev-ruby/activestorage/activestorage-6.0.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec" + +RUBY_FAKEGEM_EXTRAINSTALL="app config db" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Attach cloud and local files in Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +DEPEND+=" test? ( app-text/mupdf ) " + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV}:* + ~dev-ruby/activerecord-${PV}:* + >=dev-ruby/marcel-0.3.1 =dev-ruby/marcel-0.3* +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/railties-${PV} + >=dev-ruby/image_processing-1.2:0 + dev-ruby/test-unit:2 + dev-ruby/mini_magick + dev-ruby/mocha + dev-ruby/rake + dev-ruby/sqlite3 + )" + +all_ruby_prepare() { + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|aws-sdk-sns\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|selenium\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\|webdrivers\)/ s:^:#:" \ + -e '/dalli/ s/2.7.7/2.7.9/' \ + -e '/:job/,/end/ s:^:#:' \ + -e '/:test/,/^end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die + rm ../Gemfile.lock || die +} diff --git a/dev-ruby/activestorage/metadata.xml b/dev-ruby/activestorage/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/activestorage/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/activesupport/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/activesupport/activesupport-5.2.4.2.ebuild b/dev-ruby/activesupport/activesupport-5.2.4.2.ebuild new file mode 100644 index 000000000000..d3a60061e699 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-5.2.4.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.0.2:1 + dev-ruby/i18n:1 + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5" + +# memcache-client, nokogiri, and builder are not strictly +# needed, but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-2.2.1 + >=dev-ruby/nokogiri-1.4.5 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.0.5:3 + dev-ruby/rack + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"; gem "rack"' ../Gemfile || die + rm ../Gemfile.lock || die + sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die + + # Avoid test that depends on timezone + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die + + # Avoid tests that seem to trigger race conditions. + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid test that generates filename that is too long + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die + + # Avoid tests requiring a live redis running + rm -f test/cache/stores/redis_cache_store_test.rb || die + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/activesupport/activesupport-5.2.4.3.ebuild b/dev-ruby/activesupport/activesupport-5.2.4.3.ebuild new file mode 100644 index 000000000000..d3a60061e699 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-5.2.4.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.0.2:1 + dev-ruby/i18n:1 + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5" + +# memcache-client, nokogiri, and builder are not strictly +# needed, but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-2.2.1 + >=dev-ruby/nokogiri-1.4.5 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.0.5:3 + dev-ruby/rack + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"; gem "rack"' ../Gemfile || die + rm ../Gemfile.lock || die + sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die + + # Avoid test that depends on timezone + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die + + # Avoid tests that seem to trigger race conditions. + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid test that generates filename that is too long + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die + + # Avoid tests requiring a live redis running + rm -f test/cache/stores/redis_cache_store_test.rb || die + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/activesupport/activesupport-6.0.2.2.ebuild b/dev-ruby/activesupport/activesupport-6.0.2.2.ebuild new file mode 100644 index 000000000000..29e908aae235 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-6.0.2.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.0.2:1 + dev-ruby/i18n:1 + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5 + >=dev-ruby/zeitwerk-2.1.8:2 +" + +# memcache-client, nokogiri, and builder are not strictly +# needed, but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-2.2.1 + >=dev-ruby/nokogiri-1.4.5 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.0.5:3 + dev-ruby/rack + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"; gem "rack"' ../Gemfile || die + rm ../Gemfile.lock || die + sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die + + # Avoid test that depends on timezone + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die + + # Avoid tests that seem to trigger race conditions. + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid test that generates filename that is too long + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die + + # Avoid tests requiring a live redis running + rm -f test/cache/stores/redis_cache_store_test.rb || die + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/activesupport/activesupport-6.0.3.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.3.1.ebuild new file mode 100644 index 000000000000..bf4536107f91 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-6.0.3.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.0.2:1 + dev-ruby/i18n:1 + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5 + >=dev-ruby/zeitwerk-2.1.8:2 +" + +# memcache-client, nokogiri, builder, and redis are not strictly needed, +# but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-2.2.1 + >=dev-ruby/nokogiri-1.4.5 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.0.5:3 + dev-ruby/rack + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"; gem "rack"' ../Gemfile || die + rm ../Gemfile.lock || die + sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die + + # Avoid test that depends on timezone + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die + + # Avoid tests that seem to trigger race conditions. + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid test that generates filename that is too long + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die + + # Avoid tests requiring a live redis running + rm -f test/cache/stores/redis_cache_store_test.rb || die + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die + sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die +} diff --git a/dev-ruby/activesupport/activesupport-6.0.3.2.ebuild b/dev-ruby/activesupport/activesupport-6.0.3.2.ebuild new file mode 100644 index 000000000000..bf4536107f91 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-6.0.3.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.0.2:1 + dev-ruby/i18n:1 + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5 + >=dev-ruby/zeitwerk-2.1.8:2 +" + +# memcache-client, nokogiri, builder, and redis are not strictly needed, +# but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-2.2.1 + >=dev-ruby/nokogiri-1.4.5 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.0.5:3 + dev-ruby/rack + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"; gem "rack"' ../Gemfile || die + rm ../Gemfile.lock || die + sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die + + # Avoid test that depends on timezone + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die + + # Avoid tests that seem to trigger race conditions. + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid test that generates filename that is too long + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die + + # Avoid tests requiring a live redis running + rm -f test/cache/stores/redis_cache_store_test.rb || die + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die + sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die +} diff --git a/dev-ruby/activesupport/activesupport-6.0.3.ebuild b/dev-ruby/activesupport/activesupport-6.0.3.ebuild new file mode 100644 index 000000000000..bf4536107f91 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-6.0.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.0.2:1 + dev-ruby/i18n:1 + >=dev-ruby/tzinfo-1.1:1 + >=dev-ruby/minitest-5.1:5 + >=dev-ruby/zeitwerk-2.1.8:2 +" + +# memcache-client, nokogiri, builder, and redis are not strictly needed, +# but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-2.2.1 + >=dev-ruby/nokogiri-1.4.5 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.0.5:3 + dev-ruby/rack + dev-ruby/mocha + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \ + -e '/:job/,/end/ s:^:#:' \ + -e '/group :doc/,/^end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"; gem "rack"' ../Gemfile || die + rm ../Gemfile.lock || die + sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die + + # Avoid test that depends on timezone + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die + + # Avoid tests that seem to trigger race conditions. + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid test that generates filename that is too long + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die + + # Avoid tests requiring a live redis running + rm -f test/cache/stores/redis_cache_store_test.rb || die + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die + sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die +} diff --git a/dev-ruby/activesupport/metadata.xml b/dev-ruby/activesupport/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/activesupport/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest new file mode 100644 index 000000000000..9544966584dd --- /dev/null +++ b/dev-ruby/acts_as_list/Manifest @@ -0,0 +1,3 @@ +DIST acts_as_list-0.9.19.gem 37376 BLAKE2B e676d970fecbf81df92193e62e3cd9880c3f3f7b03cfbdb7e9e3802aefe209f55d034a4e7e2b9ff09ed84ef7ba7fdbd3d625fe79d86ca1e826f7ebd90bd96e8e SHA512 890d396647c770df754abcde2ab69f022d6fbc2417a1672f41fec2e03e2db7ce2df08126efb757e18c7f0f2faa1230ffa49f099b94ee9035068d6c04c38c7476 +DIST acts_as_list-1.0.0.gem 38912 BLAKE2B b48b554590343271156c4e4275ed6f7c59ea03c4a0c9a88cf549e9cbaf2fe428957c704f4fe70729c027f87236b1b347e3ff37978a775028c940dadf99b0a872 SHA512 850ec3b148a0123e7393109987aab321b75567dae8be2445bf0b40e089bf07eaa121c09997ccf725ca947dff440c57186e43c30a7c82e229002d226109a1f59a +DIST acts_as_list-1.0.1.gem 39424 BLAKE2B 278705cd57bf3fcf2d1d9e2f4ad8757c9842f768bc36470e5b9a2f52f0d695f4c7bbab71200dde8e1fb099840495ea5a6ad131d1a213b8389dce49e08240eb3a SHA512 15a0cd7e6c89ba6ed218c5e866b15c33ae64f5ed1587de67ec6ea20480fa622ec32f3131e714ff0d5196189a46d5d745ff5de026c451a485ebb735df73ef9ce5 diff --git a/dev-ruby/acts_as_list/acts_as_list-0.9.19.ebuild b/dev-ruby/acts_as_list/acts_as_list-0.9.19.ebuild new file mode 100644 index 000000000000..8385e27ab64b --- /dev/null +++ b/dev-ruby/acts_as_list/acts_as_list-0.9.19.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list" +HOMEPAGE="https://github.com/swanandp/acts_as_list" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86-macos" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activerecord-3:*" + +ruby_add_bdepend " + test? ( + dev-ruby/test-unit:2 + dev-ruby/activerecord[sqlite] + )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die + sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/acts_as_list/acts_as_list-1.0.0.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.0.0.ebuild new file mode 100644 index 000000000000..8c9eae97880a --- /dev/null +++ b/dev-ruby/acts_as_list/acts_as_list-1.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list" +HOMEPAGE="https://github.com/swanandp/acts_as_list" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86-macos" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activerecord-4.2:*" + +ruby_add_bdepend " + test? ( + dev-ruby/test-unit:2 + dev-ruby/activerecord[sqlite] + )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die + sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/acts_as_list/acts_as_list-1.0.1.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.0.1.ebuild new file mode 100644 index 000000000000..e9a678a19ce6 --- /dev/null +++ b/dev-ruby/acts_as_list/acts_as_list-1.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list" +HOMEPAGE="https://github.com/swanandp/acts_as_list" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86-macos" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activerecord-4.2:*" + +ruby_add_bdepend " + test? ( + dev-ruby/test-unit:2 + dev-ruby/activerecord[sqlite] + )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die + sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/acts_as_list/metadata.xml b/dev-ruby/acts_as_list/metadata.xml new file mode 100644 index 000000000000..7747267776b7 --- /dev/null +++ b/dev-ruby/acts_as_list/metadata.xml @@ -0,0 +1,12 @@ +<?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">swanandp/acts_as_list</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/addressable/Manifest b/dev-ruby/addressable/Manifest new file mode 100644 index 000000000000..c93f376d4ed9 --- /dev/null +++ b/dev-ruby/addressable/Manifest @@ -0,0 +1,3 @@ +DIST addressable-2.5.2.gem 103936 BLAKE2B c6677a2b5e9a7a1b279b2e3f1816cda40c0797254970ecaed2350d4d4739dee5a51580a8e2f94fc6bb87b9fe2a535d0a68b62eb672f8e91ff4da02e15e8dffcc SHA512 ddd5aeb4b241efa897a636fd85bd227bd5c6a8ae56129b6bbbdfaad85cdbb74e3d0db4bb6693f7df148b66f68ca1f557ac17a1fb0ea7698d25d883ab0b690bc4 +DIST addressable-2.6.0.gem 104448 BLAKE2B 664365962533d31786e2a362b61879fee544867b7aadc2ceb1ae6709374015a7f0f5c0bd32a81c8f2ae711a4ce1a07cd8f84821e74c3b6aa56b7474800567737 SHA512 71aa0ce8b61a07c1d01298dcd29cb2ba73d06ed1578908cae60351214f7d0bc6c9b8b0db7a78044fb1bed258bf00f2f093aa4e2bcb32575f4db2a79ee36b2648 +DIST addressable-2.7.0.gem 104960 BLAKE2B 4bca65d54ef1d3556cf4017ae68082635c0398b6f604eb3edc18da8f8e1e49e38b46485a8716da3c407fe0605dcc9a12c7a95be49a91c4198c2e2b1cab568805 SHA512 4c438bbfa8874fdcf11eef1d1f7cceb1855ea85948daff13615a0af129d35f92cc918f4bd5bbe4cd6ebccc67a86fc582265f915dc39831ec64209de0bdeeb732 diff --git a/dev-ruby/addressable/addressable-2.5.2.ebuild b/dev-ruby/addressable/addressable-2.5.2.ebuild new file mode 100644 index 000000000000..30e5d963e463 --- /dev/null +++ b/dev-ruby/addressable/addressable-2.5.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library" +HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable" + +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/public_suffix-2.0.2:* <dev-ruby/public_suffix-4:*" + +ruby_add_bdepend "test? ( dev-ruby/rspec-its )" + +all_ruby_prepare() { + # Remove spec-related tasks so that we don't need to require rspec + # just to build the documentation, bug 383611. + sed -i -e '/spectask/d' Rakefile || die + rm -f tasks/rspec.rake || die + sed -i -e '/bundler/ s:^:#:' \ + -e '/^begin/,/^end/ s:^:#:' \ + spec/spec_helper.rb || die + + # Remove specs requiring network connectivity + rm -f spec/addressable/net_http_compat_spec.rb || die + + # Remove spec that tests against an unreleased github fork + rm -f spec/addressable/rack_mount_compat_spec.rb || die +} diff --git a/dev-ruby/addressable/addressable-2.6.0.ebuild b/dev-ruby/addressable/addressable-2.6.0.ebuild new file mode 100644 index 000000000000..30e5d963e463 --- /dev/null +++ b/dev-ruby/addressable/addressable-2.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library" +HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable" + +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/public_suffix-2.0.2:* <dev-ruby/public_suffix-4:*" + +ruby_add_bdepend "test? ( dev-ruby/rspec-its )" + +all_ruby_prepare() { + # Remove spec-related tasks so that we don't need to require rspec + # just to build the documentation, bug 383611. + sed -i -e '/spectask/d' Rakefile || die + rm -f tasks/rspec.rake || die + sed -i -e '/bundler/ s:^:#:' \ + -e '/^begin/,/^end/ s:^:#:' \ + spec/spec_helper.rb || die + + # Remove specs requiring network connectivity + rm -f spec/addressable/net_http_compat_spec.rb || die + + # Remove spec that tests against an unreleased github fork + rm -f spec/addressable/rack_mount_compat_spec.rb || die +} diff --git a/dev-ruby/addressable/addressable-2.7.0.ebuild b/dev-ruby/addressable/addressable-2.7.0.ebuild new file mode 100644 index 000000000000..fc96cfa57def --- /dev/null +++ b/dev-ruby/addressable/addressable-2.7.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library" +HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable" + +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "|| ( dev-ruby/public_suffix:4 dev-ruby/public_suffix:3 )" + +ruby_add_bdepend "test? ( dev-ruby/rspec-its )" + +all_ruby_prepare() { + # Remove spec-related tasks so that we don't need to require rspec + # just to build the documentation, bug 383611. + sed -i -e '/spectask/d' Rakefile || die + rm -f tasks/rspec.rake || die + sed -i -e '/bundler/ s:^:#:' \ + -e '/^begin/,/^end/ s:^:#:' \ + spec/spec_helper.rb || die + + # Remove specs requiring network connectivity + rm -f spec/addressable/net_http_compat_spec.rb || die + + # Remove spec that tests against an unreleased github fork + rm -f spec/addressable/rack_mount_compat_spec.rb || die +} diff --git a/dev-ruby/addressable/metadata.xml b/dev-ruby/addressable/metadata.xml new file mode 100644 index 000000000000..95e21bdfacff --- /dev/null +++ b/dev-ruby/addressable/metadata.xml @@ -0,0 +1,13 @@ +<?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">sporkmonger/addressable</remote-id> + <remote-id type="rubygems">addressable</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ae/Manifest b/dev-ruby/ae/Manifest new file mode 100644 index 000000000000..a34dc88239fd --- /dev/null +++ b/dev-ruby/ae/Manifest @@ -0,0 +1 @@ +DIST ae-1.8.2.gem 29696 BLAKE2B 123e9840e3fba850bccd1dbd1b9acab0b736395ef4ea3e48558aa168e96bae108762782fbc79ad2ab579d7e61d554f4bab92e06c54a7dd2623f4e0a8260e3cb4 SHA512 4a01c294ebfe8bf0064fa1496804e44999d0f78b2951d23fe0c5bda8a3220ff8225a895fc119f2a282802fbcd87b24769bf1ab46afc0d4ca0b5a885f75371967 diff --git a/dev-ruby/ae/ae-1.8.2.ebuild b/dev-ruby/ae/ae-1.8.2.ebuild new file mode 100644 index 000000000000..f5fce7658efe --- /dev/null +++ b/dev-ruby/ae/ae-1.8.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Assertive Expressive is an assertions library designed for reuse" +HOMEPAGE="https://rubyworks.github.io/ae/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Tests cause circular dependencies with dev-ruby/qed +RESTRICT="test" diff --git a/dev-ruby/ae/metadata.xml b/dev-ruby/ae/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ae/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/afm/Manifest b/dev-ruby/afm/Manifest new file mode 100644 index 000000000000..dca99d2c2205 --- /dev/null +++ b/dev-ruby/afm/Manifest @@ -0,0 +1 @@ +DIST afm-0.2.2.gem 17408 BLAKE2B 79f11d6663408893036f7894ef4c88336d1239865cca6a94aa67ff97366c5204356501ace90f8f6665f0e73a1af6a12f4f6da04529abd9dde73ada81e878c0dc SHA512 9325ec0baee12194253e053d162fae252c65e452d38ffb592908759c29669d1938dba877e152988b6acd25f556514936c8dc09895762254483aadf46b09858f1 diff --git a/dev-ruby/afm/afm-0.2.2.ebuild b/dev-ruby/afm/afm-0.2.2.ebuild new file mode 100644 index 000000000000..4a843beafb4c --- /dev/null +++ b/dev-ruby/afm/afm-0.2.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A very simple library to read Adobe Font Metrics files" +HOMEPAGE="https://github.com/halfbyte/afm" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/s/^/#/" Rakefile test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/test_afm.rb || die +} diff --git a/dev-ruby/afm/metadata.xml b/dev-ruby/afm/metadata.xml new file mode 100644 index 000000000000..1805838cf882 --- /dev/null +++ b/dev-ruby/afm/metadata.xml @@ -0,0 +1,12 @@ +<?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">halfbyte/afm</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/airbrussh/Manifest b/dev-ruby/airbrussh/Manifest new file mode 100644 index 000000000000..75bc15563a8b --- /dev/null +++ b/dev-ruby/airbrussh/Manifest @@ -0,0 +1,3 @@ +DIST airbrussh-1.3.3.tar.gz 1449872 BLAKE2B b5c19a61bb16d3b4c7379929894c3f58e0e0758ec79b590cae1eab1d8478195ce4959f9e2e026cdfd6a307ba006de54cd5982593f5041cdf0d03d47911619cda SHA512 e4f8a02f000ef26be4a121b16d8ab421c8f0de198e5407980116d1b5f0caa83a214112ec8b3bda00b09d72872f8b5d95a3207a3a157d7eda8fbc456a224a4796 +DIST airbrussh-1.3.4.tar.gz 1449949 BLAKE2B 26b7a408e5453554ff422d4da2f53a3fddc6f68ab652673445db24fa53ef52f0b8293d1701406a63d6b6323e5219c9cbc9880879e58e394b2a912b9a1dc22cce SHA512 8fbca27a115b5bc5e87ffaf3a0e91aabdf3e64b22b7192b5e6a38efe862a7ad6720447241eb85dc20a459f07054c298e8f71fcd80a1d461375a4136fab4db409 +DIST airbrussh-1.4.0.tar.gz 1450070 BLAKE2B 94f128cd25c5af48f17fa771c366d3cdf744dc4e7ccef23de583b1ed60ffe1640dd7d02d76fb78573936beb3412c277151b36a870ac3e11222c3135f34b0e140 SHA512 e3a5cb80365a963875e89d15fa2b4dc86985d6b5f13ecfa9baf9ad599b5780ef8ea2c2e4040bb35498a5ecd1c6becb081b3e917cfe082d2db63fd74ba54755b7 diff --git a/dev-ruby/airbrussh/airbrussh-1.3.3.ebuild b/dev-ruby/airbrussh/airbrussh-1.3.3.ebuild new file mode 100644 index 000000000000..3f9afd070160 --- /dev/null +++ b/dev-ruby/airbrussh/airbrussh-1.3.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="airbrussh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A replacement log formatter for SSHKit" +HOMEPAGE="https://github.com/mattbrictson/airbrussh" +SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64" +IUSE="" + +ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + rm -f test/support/minitest_reporters.rb || die + + # Avoid a test poluting the environment + sed -i -e '/test_color_is_can_be_forced_via_env/,/^ end/ s:^:#:' test/airbrussh/console_test.rb || die +} diff --git a/dev-ruby/airbrussh/airbrussh-1.3.4.ebuild b/dev-ruby/airbrussh/airbrussh-1.3.4.ebuild new file mode 100644 index 000000000000..016e1251a0ff --- /dev/null +++ b/dev-ruby/airbrussh/airbrussh-1.3.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="airbrussh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A replacement log formatter for SSHKit" +HOMEPAGE="https://github.com/mattbrictson/airbrussh" +SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64" +IUSE="" + +ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + rm -f test/support/minitest_reporters.rb || die + + # Avoid a test poluting the environment + sed -i -e '/test_color_is_can_be_forced_via_env/,/^ end/ s:^:#:' test/airbrussh/console_test.rb || die +} diff --git a/dev-ruby/airbrussh/airbrussh-1.4.0.ebuild b/dev-ruby/airbrussh/airbrussh-1.4.0.ebuild new file mode 100644 index 000000000000..fe3d447edd01 --- /dev/null +++ b/dev-ruby/airbrussh/airbrussh-1.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="airbrussh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A replacement log formatter for SSHKit" +HOMEPAGE="https://github.com/mattbrictson/airbrussh" +SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + rm -f test/support/minitest_reporters.rb || die + + # Avoid a test poluting the environment + sed -i -e '/test_color_is_can_be_forced_via_env/,/^ end/ s:^:#:' test/airbrussh/console_test.rb || die +} diff --git a/dev-ruby/airbrussh/metadata.xml b/dev-ruby/airbrussh/metadata.xml new file mode 100644 index 000000000000..a3d560f1b5b9 --- /dev/null +++ b/dev-ruby/airbrussh/metadata.xml @@ -0,0 +1,13 @@ +<?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> +<longdescription> +Capistrano is a utility and framework for executing commands in parallel on +multiple remote machines, via SSH. +</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/allison/Manifest b/dev-ruby/allison/Manifest new file mode 100644 index 000000000000..f3e3eeccd891 --- /dev/null +++ b/dev-ruby/allison/Manifest @@ -0,0 +1 @@ +DIST allison-2.0.3.gem 31232 BLAKE2B d112edc2bf5a50d5b861043e567779b07b213d6f19fb6a6f3b88ba95bb123a01256b3b9b9931e6b5ff30bf7c293c804f0faef0b07d0e0d1bdbbcaf531884b19a SHA512 988ed7f244c8b4fc9f629ef2b37a0ad851d9587f688e834041624cc92d8549e403545b83eb270b127e634c99f91ff8b53d2642df73dbfafe20aa41718b97ee5d diff --git a/dev-ruby/allison/allison-2.0.3-r3.ebuild b/dev-ruby/allison/allison-2.0.3-r3.ebuild new file mode 100644 index 000000000000..d9de8c634b3c --- /dev/null +++ b/dev-ruby/allison/allison-2.0.3-r3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" +RUBY_FAKEGEM_EXTRAINSTALL="cache" + +inherit ruby-fakegem + +DESCRIPTION="A modern, pretty RDoc template" +HOMEPAGE="https://fauna.github.com/fauna/allison/files/README.html" + +LICENSE="AFL-3.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 ~s390 ~sparc x86 ~x86-solaris" +IUSE="" + +all_ruby_install() { + all_fakegem_install + + dodoc -r contrib +} diff --git a/dev-ruby/allison/metadata.xml b/dev-ruby/allison/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/allison/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/amatch/Manifest b/dev-ruby/amatch/Manifest new file mode 100644 index 000000000000..396ea68f4d34 --- /dev/null +++ b/dev-ruby/amatch/Manifest @@ -0,0 +1 @@ +DIST amatch-0.4.0.gem 38912 BLAKE2B 065b4c537a2727cbb7f7d52aff545a3f7f8434b37553e59b261d9760ed304c24a20e4778c375e7b7fa11f40655cac786ca15cdb11360ac7296f03186439be480 SHA512 c5a1d17b46f51796d3f082ab9d18845625a28e08339756ebc0689ad6c50b1406611fd5a316e628e4dab6d9b654c969a4fc6e8c2b2079f04c64e3d990e95a64a0 diff --git a/dev-ruby/amatch/amatch-0.4.0.ebuild b/dev-ruby/amatch/amatch-0.4.0.ebuild new file mode 100644 index 000000000000..7eb29c2cbe15 --- /dev/null +++ b/dev-ruby/amatch/amatch-0.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="Approximate Matching Extension for Ruby" +HOMEPAGE="https://flori.github.com/amatch/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend "=dev-ruby/tins-1*" + +# These packages also provide agrep, bug 626480 +RDEPEND+=" !app-misc/glimpse !app-text/agrep !dev-libs/tre" + +all_ruby_prepare() { + # mize is listed as a dependency but not actually used + sed -i -e '/mize/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext V=1 + cp ext/amatch_ext$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb-2 tests/* || die +} diff --git a/dev-ruby/amatch/metadata.xml b/dev-ruby/amatch/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/amatch/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ammeter/Manifest b/dev-ruby/ammeter/Manifest new file mode 100644 index 000000000000..f491da293314 --- /dev/null +++ b/dev-ruby/ammeter/Manifest @@ -0,0 +1 @@ +DIST ammeter-1.1.4.gem 19968 BLAKE2B dbc773e4db83d820e5ef1c6ae3af2e65f87ff1a10a09759c66a4dad87cd175e5e8af857435b6df6cb93167869d31fb1f43dcf220e063db03d048aa8926c7daaf SHA512 57d24c67be85fe34ded8feda045771974be7cdd828780a82ff0b2f6b52d0b35b48c2eb7e59dae70700fba676242918ef6463448090d7729d49db0f05f04b0131 diff --git a/dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild b/dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild new file mode 100644 index 000000000000..19a06c834754 --- /dev/null +++ b/dev-ruby/ammeter/ammeter-1.1.4-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Write specs for your Rails 3+ generators" +HOMEPAGE="https://github.com/alexrothenberg/ammeter" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +# Restrict tests since they now require the specific rspec version to be +# provided in an environment variable. +#RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0:* + >=dev-ruby/railties-3.0:* + >=dev-ruby/rspec-rails-2.2:* +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rails-4.0 + >=dev-ruby/uglifier-1.3 + >=dev-ruby/rake-0.10 + >=dev-ruby/coffee-rails-4.0 + >=dev-ruby/sass-rails-4.0 + >=dev-ruby/jquery-rails-3.0 + dev-util/cucumber + dev-util/aruba + dev-ruby/sqlite3 + dev-ruby/bundler + )" + +all_ruby_prepare() { + # fix the gemspec; we remove the version dependencies from there, as + # it requires _older_ versions of its dependencies.. it doesn't + # really seem to be the case though. Also remove the references to + # git ls-files to avoid calling it. + sed -i \ + -e '/git ls-files/d' \ + -e '/\(cucumber\|aruba\)/s:,.*$::' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # haml-rails is not packaged + sed -i -e '/haml-rails/d' ${RUBY_FAKEGEM_GEMSPEC} Gemfile || die + rm -f spec/ammeter/rspec/generator/matchers/have_correct_syntax_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/ammeter/metadata.xml b/dev-ruby/ammeter/metadata.xml new file mode 100644 index 000000000000..d0134baf7b02 --- /dev/null +++ b/dev-ruby/ammeter/metadata.xml @@ -0,0 +1,12 @@ +<?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">alexrothenberg/ammeter</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/amq-client/Manifest b/dev-ruby/amq-client/Manifest new file mode 100644 index 000000000000..afa53579dd73 --- /dev/null +++ b/dev-ruby/amq-client/Manifest @@ -0,0 +1 @@ +DIST amq-client-1.0.4.gem 75776 BLAKE2B 10e0b3bb0e1512fbb5a1603c102f4d0ce7745b0a883016ce4f645e0f1468fa0554738e3fc3ac22d695ee77f1b372765bcc19149c47335e766bb90749d8c92b8c SHA512 d0c2acb3c223496f56e75070b6ac5d68317e3cffbe554b0f80c64250de7afe6e62f59b23a2dd634af4c5e17a1927cf09fe8d586541fef9d3dbc66da7779f3467 diff --git a/dev-ruby/amq-client/amq-client-1.0.4.ebuild b/dev-ruby/amq-client/amq-client-1.0.4.ebuild new file mode 100644 index 000000000000..f067e6b6b734 --- /dev/null +++ b/dev-ruby/amq-client/amq-client-1.0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.textile" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit versionator ruby-fakegem + +DESCRIPTION="A fully-featured, low-level AMQP 0.9.1 client" +HOMEPAGE="https://github.com/ruby-amqp/amq-client" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/amq-protocol-1.2.0 dev-ruby/eventmachine" + +ruby_add_bdepend "test? ( dev-ruby/evented-spec )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '7i require "evented-spec"' spec/spec_helper.rb || die + + # Drop integration tests since these require a running AMQP server. + rm -rf spec/integration spec/regression/bad_frame_slicing_in_adapters_spec.rb spec/unit/client_spec.rb || die +} diff --git a/dev-ruby/amq-client/metadata.xml b/dev-ruby/amq-client/metadata.xml new file mode 100644 index 000000000000..924472cdddef --- /dev/null +++ b/dev-ruby/amq-client/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-amqp/amq-client</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/amq-protocol/Manifest b/dev-ruby/amq-protocol/Manifest new file mode 100644 index 000000000000..eea332d67e35 --- /dev/null +++ b/dev-ruby/amq-protocol/Manifest @@ -0,0 +1,2 @@ +DIST amq-protocol-2.3.0.gem 45568 BLAKE2B f5af9184a37bb7484e18765cf6bd807048339f44ece70a1c5dc8d6580eb1449bd1deda9bd467970c0d03088f4f666ef0ba59141fe90b335508a854440cc5dae4 SHA512 cb9ca136908f09dd7f38f763b87516379efafb2cc3dfe34268064c08ee9fdda8e9299de4d94b70aa0569362fe18a541287a6b9649383ee0720f199fdc0b75263 +DIST amq-protocol-2.3.1.gem 45568 BLAKE2B 08361a74b6a8d0652487aac26a91e3fed6681690e6c03988d500ccba6094e2513edf76aed94ac51da613322947da75f624090e3f8c79d54ac2c254180d98ce13 SHA512 10b2dc69014a681ff1c8b5512d578ae5b6c3c70c09c6b3dd4d86414f84b467fc05f873038fe0d4d751aa73cc0d1903f795a13eba4982f8e92dc226be8136d989 diff --git a/dev-ruby/amq-protocol/amq-protocol-2.3.0.ebuild b/dev-ruby/amq-protocol/amq-protocol-2.3.0.ebuild new file mode 100644 index 000000000000..cb3d2e4c20ef --- /dev/null +++ b/dev-ruby/amq-protocol/amq-protocol-2.3.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="An AMQP 0.9.1 serialization library for Ruby" +HOMEPAGE="https://github.com/ruby-amqp/amq-protocol" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rspec-its )" + +all_ruby_prepare() { + sed -i -e '/\(simplecov\|effin_utf8\|byebug\)/ s:^:#:' Gemfile || die + sed -i -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/amq-protocol/amq-protocol-2.3.1.ebuild b/dev-ruby/amq-protocol/amq-protocol-2.3.1.ebuild new file mode 100644 index 000000000000..a08d07b449c5 --- /dev/null +++ b/dev-ruby/amq-protocol/amq-protocol-2.3.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="An AMQP 0.9.1 serialization library for Ruby" +HOMEPAGE="https://github.com/ruby-amqp/amq-protocol" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rspec-its )" + +all_ruby_prepare() { + sed -i -e '/\(simplecov\|effin_utf8\|byebug\)/ s:^:#:' Gemfile || die + sed -i -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/amq-protocol/metadata.xml b/dev-ruby/amq-protocol/metadata.xml new file mode 100644 index 000000000000..6ad79e779de7 --- /dev/null +++ b/dev-ruby/amq-protocol/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-amqp/amq-protocol</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/amqp/Manifest b/dev-ruby/amqp/Manifest new file mode 100644 index 000000000000..3de1aa7eba2e --- /dev/null +++ b/dev-ruby/amqp/Manifest @@ -0,0 +1 @@ +DIST amqp-1.8.0.gem 1175040 BLAKE2B 5c623201a378ecbd501d0f30d31873cfdc47088659d79a89eab21b510cbacad220df0122b3164f543f00a5587b74aab4ffb5d6879f0c30fc06ee17bd55600dcd SHA512 8575b3704cbaab5937a5880858bcc4610ecab4be66b9ef8633c1d49858a95fbb48b1245ba71ebce1b0d31e319cb6f133640097aaa779b8a32282f6d442098e7f diff --git a/dev-ruby/amqp/amqp-1.8.0.ebuild b/dev-ruby/amqp/amqp-1.8.0.ebuild new file mode 100644 index 000000000000..46e55977b62b --- /dev/null +++ b/dev-ruby/amqp/amqp-1.8.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" + +inherit versionator ruby-fakegem + +DESCRIPTION="AMQP client implementation in Ruby/EventMachine" +HOMEPAGE="http://rubyamqp.info/" + +LICENSE="Ruby" +SLOT="1.4" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/multi_json dev-ruby/evented-spec )" +ruby_add_rdepend ">=dev-ruby/eventmachine-0.12.4 + >=dev-ruby/amq-protocol-2.2.0:2" + +all_ruby_prepare() { + #rm Gemfile || die + sed -i -e '/[Bb]undler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die + + # Many specs require a live rabbit server, but only root can start + # an instance. Skip these specs for now. + rm -rf spec/integration spec/unit/amqp/connection_spec.rb || die +} + +all_ruby_install() { + dodoc -r docs examples +} diff --git a/dev-ruby/amqp/metadata.xml b/dev-ruby/amqp/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/amqp/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/annoy/Manifest b/dev-ruby/annoy/Manifest new file mode 100644 index 000000000000..3e11f1853954 --- /dev/null +++ b/dev-ruby/annoy/Manifest @@ -0,0 +1 @@ +DIST annoy-0.5.6.gem 9728 BLAKE2B e8d4c8cef99be2a380c96fa596547b108a2ed7d8b9e8f996bf8bad163d8030c73c627a17afd564cbf446660bccad1a0287c6a05db9e6d68db8b55e20a5a6bbd1 SHA512 6cade9d766fa315042ba04922bba315157872a25bc2c7e5ea428c1f2343045d0a5d400dc8eade20f650f2cc6a64492020ef608d355963c09c5e6e8d454d3cc8f diff --git a/dev-ruby/annoy/annoy-0.5.6-r1.ebuild b/dev-ruby/annoy/annoy-0.5.6-r1.ebuild new file mode 100644 index 000000000000..544e77d4f6ed --- /dev/null +++ b/dev-ruby/annoy/annoy-0.5.6-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Like your annoying friend that asks you questions all the time" +HOMEPAGE="http://solutious.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend '>=dev-ruby/highline-1.5.0i:*' diff --git a/dev-ruby/annoy/metadata.xml b/dev-ruby/annoy/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/annoy/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ansi/Manifest b/dev-ruby/ansi/Manifest new file mode 100644 index 000000000000..b93104ef386f --- /dev/null +++ b/dev-ruby/ansi/Manifest @@ -0,0 +1 @@ +DIST ansi-1.5.0.gem 41472 BLAKE2B 3d584a29d17b1d751c6ad2d87d36e75c2f72c4a766c674c8daf285b80df4e64c55d9dc798f101a6d393365b9306997601df18a52a4e6a348e3bbf0b06e5afc0d SHA512 969cc749c08c5446b67a45acd02b7ca0256660804c3f8c148b50e7638de41fd5297b6d56613ac979e50b57371c83b382474c6ad4126d4e130bbaea4ce0e14300 diff --git a/dev-ruby/ansi/ansi-1.5.0.ebuild b/dev-ruby/ansi/ansi-1.5.0.ebuild new file mode 100644 index 000000000000..aa660f41730e --- /dev/null +++ b/dev-ruby/ansi/ansi-1.5.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="DEMO.md HISTORY.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="The Ruby ANSI project is collection of ANSI escape codes for Ruby" +HOMEPAGE="https://rubyworks.github.io/ansi/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Tests cause circular dependencies with dev-ruby/qed & dev-ruby/rubytest +RESTRICT="test" diff --git a/dev-ruby/ansi/metadata.xml b/dev-ruby/ansi/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ansi/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/archive-tar-minitar/Manifest b/dev-ruby/archive-tar-minitar/Manifest new file mode 100644 index 000000000000..128d63896f74 --- /dev/null +++ b/dev-ruby/archive-tar-minitar/Manifest @@ -0,0 +1 @@ +DIST archive-tar-minitar-0.8.tar.gz 33632 BLAKE2B b576c74cfd59893d4c0c935703453551f9a0ca6258bc6a2b1ecb3151a44ff166607931e554c811fffb489b6398123cd9e8e58372a94b303df45d88ef903868ad SHA512 cab4798b98d91a17dd5ce4aed3f6fd166dab61e8c9e3bef3df218944fe1657a9ec9d40a52ab2773430070e50410c401da799469b096dcc2b22d6466da1e50b8d diff --git a/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.8.ebuild b/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.8.ebuild new file mode 100644 index 000000000000..02830d99ca55 --- /dev/null +++ b/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.8.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +RUBY_FAKEGEM_GEMNAME=minitar + +inherit ruby-fakegem + +DESCRIPTION="Provides POSIX tarchive management from Ruby programs" +HOMEPAGE="https://github.com/halostatue/minitar" +SRC_URI="https://github.com/halostatue/minitar/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="minitar-${PV}" + +LICENSE="|| ( BSD-2 Ruby )" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 )" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/archive-tar-minitar/metadata.xml b/dev-ruby/archive-tar-minitar/metadata.xml new file mode 100644 index 000000000000..ed43c8937fd1 --- /dev/null +++ b/dev-ruby/archive-tar-minitar/metadata.xml @@ -0,0 +1,12 @@ +<?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">halostatue/minitar</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/arel-helpers/Manifest b/dev-ruby/arel-helpers/Manifest new file mode 100644 index 000000000000..55840b87454e --- /dev/null +++ b/dev-ruby/arel-helpers/Manifest @@ -0,0 +1 @@ +DIST arel-helpers-2.11.0.gem 12800 BLAKE2B 7e7008049a87e323e6f7919e6104f8ac2bfe5d7ac096557a72a0baec35890721d83f021c62e431ec441aaa6ce7314f312f0ce8b8889da7691a4ba43f09ebbcc7 SHA512 06426cfa8b77ce875af2daddfa6cfe96339fa462718ba1ab7a0f9f759c16ace03aff4c6f0cc6c3fc165df2f55ff024f67247e652cc3cf4c39d07468ae7080445 diff --git a/dev-ruby/arel-helpers/arel-helpers-2.11.0.ebuild b/dev-ruby/arel-helpers/arel-helpers-2.11.0.ebuild new file mode 100644 index 000000000000..8b4488aa21f4 --- /dev/null +++ b/dev-ruby/arel-helpers/arel-helpers-2.11.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="Tools to help construct database queries" +HOMEPAGE="https://github.com/camertron/arel-helpers" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "|| ( + dev-ruby/activerecord:6.0 + dev-ruby/activerecord:5.2 + )" + +ruby_add_bdepend "test? ( + dev-ruby/rr + dev-ruby/activerecord[sqlite] +)" + +all_ruby_prepare() { + sed -i -e '/pry-/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/arel-helpers/metadata.xml b/dev-ruby/arel-helpers/metadata.xml new file mode 100644 index 000000000000..6ced8c4689ec --- /dev/null +++ b/dev-ruby/arel-helpers/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">camertron/arel-helpers</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/arel/Manifest b/dev-ruby/arel/Manifest new file mode 100644 index 000000000000..018ccc00f186 --- /dev/null +++ b/dev-ruby/arel/Manifest @@ -0,0 +1 @@ +DIST arel-9.0.0.tar.gz 59065 BLAKE2B c464c8c52d0fa7c5626fdc9254c74db00e4b43f68f38b75972623f28961565cd6764db967158c48e938620636343b15c4be9bb3237f9c7422730b4702450eb6d SHA512 9d2958765058fa8a4f6a8d7d4c9671d92054748eabe5b94796ff5611cdcd6bb24906cc5e813fb21396aaa681e5703d2d4bce8cc9884f2d057042d1b06bf6f0f5 diff --git a/dev-ruby/arel/arel-9.0.0.ebuild b/dev-ruby/arel/arel-9.0.0.ebuild new file mode 100644 index 000000000000..8410f3d403ca --- /dev/null +++ b/dev-ruby/arel/arel-9.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" + +RUBY_FAKEGEM_GEMSPEC="arel.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Arel is a Relational Algebra for Ruby" +HOMEPAGE="https://github.com/rails/arel" +SRC_URI="https://github.com/rails/arel/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="$(get_version_component_range 1).0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + dev-ruby/concurrent-ruby:1 + dev-ruby/test-unit:2 + >=dev-ruby/minitest-5.4:5 + )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" \ + -e '/specname/,$ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/arel/metadata.xml b/dev-ruby/arel/metadata.xml new file mode 100644 index 000000000000..394002d02777 --- /dev/null +++ b/dev-ruby/arel/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/arel</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ascii85/Manifest b/dev-ruby/ascii85/Manifest new file mode 100644 index 000000000000..fb602c2a6d64 --- /dev/null +++ b/dev-ruby/ascii85/Manifest @@ -0,0 +1 @@ +DIST Ascii85-1.0.3.gem 11776 BLAKE2B e08bbc089546dd3b91ff5fd85b8652dd6f5c06025c29ac67004bd7d4c7bb8fc38c77b604dd5a884970b05041e173f37eaf895f0bb9ac1947ce70e4f0cc54906c SHA512 b324ff06ea0cd46a679619a2bfca9f05c30ece9f0342f8a8d097841f3fb4dbb29cf4b6f6832742c50fe5a51895a9048308981be296466422269ce34c4d936f5c diff --git a/dev-ruby/ascii85/ascii85-1.0.3.ebuild b/dev-ruby/ascii85/ascii85-1.0.3.ebuild new file mode 100644 index 000000000000..5ccf1f7ba102 --- /dev/null +++ b/dev-ruby/ascii85/ascii85-1.0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md History.txt" + +RUBY_FAKEGEM_NAME="Ascii85" + +inherit ruby-fakegem + +DESCRIPTION="Methods for encoding/decoding Adobe's binary-to-text encoding of the same name" +HOMEPAGE="https://github.com/datawraith/ascii85gem" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die +} diff --git a/dev-ruby/ascii85/metadata.xml b/dev-ruby/ascii85/metadata.xml new file mode 100644 index 000000000000..d987d3c5ae91 --- /dev/null +++ b/dev-ruby/ascii85/metadata.xml @@ -0,0 +1,12 @@ +<?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">datawraith/ascii85gem</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/asciidoctor-diagram/Manifest b/dev-ruby/asciidoctor-diagram/Manifest new file mode 100644 index 000000000000..eddb9fa369df --- /dev/null +++ b/dev-ruby/asciidoctor-diagram/Manifest @@ -0,0 +1,4 @@ +DIST asciidoctor-diagram-1.5.18.tar.gz 11705290 BLAKE2B d5c1a6047af1a1a5c1b08ccb180dfa57057213df2f8a9ec8aef6608bc34501aa979cb30c2c8b196e0039be24d8c5ba9e81d902f603e9624402eaa7e93d800169 SHA512 f3341ffd0b9f7eb994b478ebb81f668a30fa338cf76cfba638032d5b80203b304776cee4d1f575270105af9b51dc6d0a80604e92e2ad54760dfa9b73ffa794cb +DIST asciidoctor-diagram-1.5.19.tar.gz 11707367 BLAKE2B 2088d2a7b424b9a716204e607d6e4c3bb7521b2098caad131210c163ade6f8a07872793945829d6b1e6e88a9d04126738eb439c968e99f326baddc310b48de0e SHA512 14270c8ea0e63163e01171695ecb99f5ef9667e2ec50b26e56495a1fc2c0e8af97fc784f5decb8fc75f1830581a9bc658d699af6aeee52adc20adad82cb1aed9 +DIST asciidoctor-diagram-2.0.1.tar.gz 12026822 BLAKE2B 867d35415d4259533047bdec40ddd7984b62356fb8e84a2cc722188b64691098b598e58d7e6760df2609956b7bc2c8dfd314f742da83589c2f1e4c7909e86899 SHA512 01e77a6d8a278d5f79a039ece6c79f4e500ec4477231cdadd8e36c8935ce71118beb4f1ec6e691b208977ea14243db0e799b2ff5e2f1f6326ee13a321628393f +DIST asciidoctor-diagram-2.0.2.tar.gz 12481283 BLAKE2B f0b12514a7b16f6ab8c3a072aa9550ecfe0c8139e8f9ec1ea660a805813f942530519e4d90357e9b28d5d0e6c48bb9aff5dc1d56bfbe1cb15095653a8311c62c SHA512 8a72ee61b7341c516d1d34610a7cd0cd6d0c8dbd4b970b79c3b313f1230a0cc79ff47fcf553c2de144bd3f1f922183f0236354651a255023ce14b04f17195ee7 diff --git a/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.18.ebuild b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.18.ebuild new file mode 100644 index 000000000000..bda3f3cf2bb2 --- /dev/null +++ b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.18.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc LICENSE.txt README.adoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A set of Asciidoctor extensions that enable you to add diagrams" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor-diagram" +SRC_URI="https://github.com/asciidoctor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/asciidoctor-1.5.0 <dev-ruby/asciidoctor-3" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/c.formatter/ s:^:#:' spec/test_helper.rb || die + + # Avoid specs for unpackaged tools + rm -f spec/{a2s,blockdiag,erd,mermaid,msc,nomnoml,shaape,svgbob,syntrax,umlet,vega,wavedrom}_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install +} diff --git a/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.19.ebuild b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.19.ebuild new file mode 100644 index 000000000000..f4ffcd99e925 --- /dev/null +++ b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-1.5.19.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc LICENSE.txt README.adoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A set of Asciidoctor extensions that enable you to add diagrams" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor-diagram" +SRC_URI="https://github.com/asciidoctor/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/asciidoctor-1.5.7 <dev-ruby/asciidoctor-3" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/c.formatter/ s:^:#:' spec/test_helper.rb || die + + # Avoid specs for unpackaged tools + rm -f spec/{a2s,blockdiag,erd,mermaid,msc,nomnoml,shaape,smcat,svgbob,syntrax,umlet,vega,wavedrom}_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install +} diff --git a/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.1.ebuild b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.1.ebuild new file mode 100644 index 000000000000..f0df40348617 --- /dev/null +++ b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc LICENSE.txt README.adoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A set of Asciidoctor extensions that enable you to add diagrams" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor-diagram" +SRC_URI="https://github.com/asciidoctor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/asciidoctor-1.5.7 <dev-ruby/asciidoctor-3" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/c.formatter/ s:^:#:' spec/test_helper.rb || die + + # Avoid specs for unpackaged tools + rm -f spec/{a2s,blockdiag,bpmn,erd,mermaid,msc,nomnoml,shaape,smcat,svgbob,syntrax,umlet,vega,wavedrom}_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install +} diff --git a/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.2.ebuild b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.2.ebuild new file mode 100644 index 000000000000..ba3ba2f1a000 --- /dev/null +++ b/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc LICENSE.txt README.adoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A set of Asciidoctor extensions that enable you to add diagrams" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor-diagram" +SRC_URI="https://github.com/asciidoctor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/asciidoctor-1.5.7 <dev-ruby/asciidoctor-3" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/c.formatter/ s:^:#:' spec/test_helper.rb || die + + # Avoid specs for unpackaged tools + rm -f spec/{a2s,blockdiag,bpmn,bytefield,erd,mermaid,msc,nomnoml,shaape,smcat,svgbob,syntrax,umlet,vega,wavedrom}_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install +} diff --git a/dev-ruby/asciidoctor-diagram/metadata.xml b/dev-ruby/asciidoctor-diagram/metadata.xml new file mode 100644 index 000000000000..4088cac7575e --- /dev/null +++ b/dev-ruby/asciidoctor-diagram/metadata.xml @@ -0,0 +1,12 @@ +<?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">asciidoctor/asciidoctor-diagram</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/asciidoctor/Manifest b/dev-ruby/asciidoctor/Manifest new file mode 100644 index 000000000000..64b905b051f9 --- /dev/null +++ b/dev-ruby/asciidoctor/Manifest @@ -0,0 +1,2 @@ +DIST asciidoctor-1.5.8.tar.gz 583484 BLAKE2B f0c654c5e43a0ed061dbf80eb382fac1ea393870c7c2530649a5a41f1a5bd5e72ffb11e8ad8dd2925510e18f4528079ae532b623e6e7f38a119565df01139f58 SHA512 3f767cdf945361d81b0a89137fb1e77377cbb4171da790027cbb9cd8cf1deb03f24a8ec780b427b7bce34538e851a44682515fbaccf8558d61e22356b9d216dd +DIST asciidoctor-2.0.10.tar.gz 613180 BLAKE2B 46125c85276eb0c7cf4404ca04d854449233e2cd14e24687aed9f95eb64ceb6ebac3d3ed73918679b9a5b047e41d82d02383d0e08acd0df5cc9bc216f14c79a3 SHA512 9ef908081569188d9903c7a7619fe0b50197f6f0cc922c4070e116bcd3f988a55da87443e84b6e260aabcc653a804fcaf29b96a722ab36f7ebb27ec11eb7ddbe diff --git a/dev-ruby/asciidoctor/asciidoctor-1.5.8.ebuild b/dev-ruby/asciidoctor/asciidoctor-1.5.8.ebuild new file mode 100644 index 000000000000..b37428a5020c --- /dev/null +++ b/dev-ruby/asciidoctor/asciidoctor-1.5.8.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="test features" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Processor for converting AsciiDoc into HTML 5, DocBook 4.5 and other formats" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86" +IUSE="" + +ruby_add_bdepend "test? ( + dev-util/cucumber + dev-ruby/rspec-expectations:* + dev-ruby/asciimath + dev-ruby/coderay + dev-ruby/erubis + dev-ruby/haml + dev-ruby/nokogiri + dev-ruby/slim + dev-ruby/thread_safe + dev-ruby/tilt )" + +all_ruby_prepare() { + rm Gemfile || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/asciidoctor.1 +} diff --git a/dev-ruby/asciidoctor/asciidoctor-2.0.10.ebuild b/dev-ruby/asciidoctor/asciidoctor-2.0.10.ebuild new file mode 100644 index 000000000000..5f8e594c9af4 --- /dev/null +++ b/dev-ruby/asciidoctor/asciidoctor-2.0.10.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test features" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Processor for converting AsciiDoc into HTML 5, DocBook 4.5 and other formats" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86" +IUSE="" + +ruby_add_bdepend "test? ( + dev-util/cucumber + dev-ruby/rspec-expectations:* + dev-ruby/asciimath + dev-ruby/coderay + dev-ruby/erubis + dev-ruby/haml + dev-ruby/nokogiri + dev-ruby/rouge + dev-ruby/slim + dev-ruby/thread_safe + dev-ruby/tilt )" + +all_ruby_prepare() { + rm Gemfile || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/asciidoctor.1 +} diff --git a/dev-ruby/asciidoctor/metadata.xml b/dev-ruby/asciidoctor/metadata.xml new file mode 100644 index 000000000000..2f4ae74ff872 --- /dev/null +++ b/dev-ruby/asciidoctor/metadata.xml @@ -0,0 +1,12 @@ +<?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">asciidoctor/asciidoctor</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/asciimath/Manifest b/dev-ruby/asciimath/Manifest new file mode 100644 index 000000000000..bcf688aab8b8 --- /dev/null +++ b/dev-ruby/asciimath/Manifest @@ -0,0 +1,3 @@ +DIST asciimath-1.0.4.gem 14336 BLAKE2B 84aac2d2b987f72a17288cee6d00197c429e04c216fad62ecd23b5f3eebe9590ead519df86cdaf99246dcfee4c18bab67176a0d47a1b864de6e44bdb4b90b70c SHA512 e99e6f869dda3e0236392039e6dccf5912b095e32ee7acbfb4684a5d723d05f4d3c9961554d5beab2a3d703b1ef50c45ed15c0dbda2179ab35d3b1b6b8759b49 +DIST asciimath-1.0.9.gem 18944 BLAKE2B 3ccc3f594d7a0d8b6996349d85356179ef3a9052a84f923ad1d0976e42f58670a350473b41d1c4a0c4f70a3cc4687e6adaa7987bd811ef32bd3da41f100f4246 SHA512 32c4f2cb7e9d330c371e9b9abcdf9e31bf44014c5c0b0044589302116b55840a2e1a41ab006d61a2258e4a5c2d4a772dad77f579150fc9bf099a7a4d19c6cd44 +DIST asciimath-2.0.0.gem 57344 BLAKE2B 18cb2ca27a626bbb241768d070c47c981ae1f3a626cd9f476e7511f04f73154a1c3742338d92540bbd78fadbf775f4db7d2558c451fc8a276002fc5adc044ece SHA512 4823e7fa2e3107765d2804d15f5250dc30572099405df988ffe13f17ed584043bb7e48794cabc9b9853997083c57af5f3d73d20223ada95d00f997363130bedd diff --git a/dev-ruby/asciimath/asciimath-1.0.4.ebuild b/dev-ruby/asciimath/asciimath-1.0.4.ebuild new file mode 100644 index 000000000000..324c7d22e113 --- /dev/null +++ b/dev-ruby/asciimath/asciimath-1.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby AsciiMath parsing and conversion library" +HOMEPAGE="https://github.com/pepijnve/asciimath" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 ~sparc x86" +IUSE="" + +RUBY_PATCHES=( ${P}-backslashes.patch ) diff --git a/dev-ruby/asciimath/asciimath-1.0.9.ebuild b/dev-ruby/asciimath/asciimath-1.0.9.ebuild new file mode 100644 index 000000000000..ad6d1f8bd2ab --- /dev/null +++ b/dev-ruby/asciimath/asciimath-1.0.9.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby AsciiMath parsing and conversion library" +HOMEPAGE="https://github.com/pepijnve/asciimath" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86" +IUSE="" diff --git a/dev-ruby/asciimath/asciimath-2.0.0.ebuild b/dev-ruby/asciimath/asciimath-2.0.0.ebuild new file mode 100644 index 000000000000..a65964bf1a7e --- /dev/null +++ b/dev-ruby/asciimath/asciimath-2.0.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby AsciiMath parsing and conversion library" +HOMEPAGE="https://github.com/pepijnve/asciimath" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" diff --git a/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch b/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch new file mode 100644 index 000000000000..9bf08ce34046 --- /dev/null +++ b/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch @@ -0,0 +1,22 @@ +From 1c06fdc8086077f4785479f78b0823a4a72d7948 Mon Sep 17 00:00:00 2001 +From: Pepijn Van Eeckhoudt <pepijn@vaneeckhoudt.net> +Date: Thu, 12 May 2016 18:02:45 +0200 +Subject: [PATCH] Remove spurious backslashes + +--- + spec/parser_spec.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/spec/parser_spec.rb b/spec/parser_spec.rb +index def78e0..3fa5a75 100644 +--- a/spec/parser_spec.rb ++++ b/spec/parser_spec.rb +@@ -45,7 +45,7 @@ + '"Скорость"=("Расстояние")/("Время")' => + '<math><mtext>Скорость</mtext><mo>=</mo><mfrac><mtext>Расстояние</mtext><mtext>Время</mtext></mfrac></math>', + 'bb (a + b) + cc c = fr (d^n)' => +- '<math><mstyle mathvariant=\"bold\"><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></mstyle><mo>+</mo><mstyle mathvariant=\"script\"><mi>c</mi></mstyle><mo>=</mo><mstyle mathvariant=\"fraktur\"><msup><mi>d</mi><mi>n</mi></msup></mstyle></math>' ++ '<math><mstyle mathvariant="bold"><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></mstyle><mo>+</mo><mstyle mathvariant="script"><mi>c</mi></mstyle><mo>=</mo><mstyle mathvariant="fraktur"><msup><mi>d</mi><mi>n</mi></msup></mstyle></math>' + } + + version = RUBY_VERSION.split('.').map { |s| s.to_i } diff --git a/dev-ruby/asciimath/metadata.xml b/dev-ruby/asciimath/metadata.xml new file mode 100644 index 000000000000..edbf1e126779 --- /dev/null +++ b/dev-ruby/asciimath/metadata.xml @@ -0,0 +1,12 @@ +<?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">pepijnve/asciimath</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ast/Manifest b/dev-ruby/ast/Manifest new file mode 100644 index 000000000000..a718527c899f --- /dev/null +++ b/dev-ruby/ast/Manifest @@ -0,0 +1,2 @@ +DIST ast-2.4.0.gem 15360 BLAKE2B 1d68fa8137bf2a158e8b2e0f30d3d803791db7fcb397133681cd2ffb57badebe6f9afd792a7cf3907dc1fa3e3a617fbb0331c85c69e36a46ca49962f30be9979 SHA512 60a0b00103ed57c71907155ee7966127985021e51c1d829e2149c87066504e76fdb955f9717bb19b5627d5b8c44f0d6a165e208900ede2355a47970ee9664b72 +DIST ast-2.4.1.tar.gz 11046 BLAKE2B ef2bf6e9ac6af90c2cc8844d372fd97ddef3d85f846711f1348534a58e0824b92bc7533a36eb737ff436fe79ccedf2169bd01bd740bf7cbbba89f1062bfc9f0d SHA512 270cd84c034fb017e9bb7637443b51e9ba453e467d39093e1212521372ea9ec1c27c1a71f3cc99ff58b8ce6a762b5363e1238fd98efd3bc794449641e53b0bc2 diff --git a/dev-ruby/ast/ast-2.4.0.ebuild b/dev-ruby/ast/ast-2.4.0.ebuild new file mode 100644 index 000000000000..fa4f1f059410 --- /dev/null +++ b/dev-ruby/ast/ast-2.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A library for working with abstract syntax trees" +HOMEPAGE="https://github.com/whitequark/ast" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/bacon )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/git ls/d" ${PN}.gemspec || die + sed -i -e "/simplecov/,+11d" -e "/colored_output/d" test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S bacon -Itest -a || die +} diff --git a/dev-ruby/ast/ast-2.4.1.ebuild b/dev-ruby/ast/ast-2.4.1.ebuild new file mode 100644 index 000000000000..77cd5eeb8177 --- /dev/null +++ b/dev-ruby/ast/ast-2.4.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="ast.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library for working with abstract syntax trees" +HOMEPAGE="https://github.com/whitequark/ast" +SRC_URI="https://github.com/whitequark/ast/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/bacon )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/git ls/d" ${PN}.gemspec || die + sed -i -e "/simplecov/,+11d" -e "/colored_output/d" test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S bacon -Itest -a || die +} diff --git a/dev-ruby/ast/metadata.xml b/dev-ruby/ast/metadata.xml new file mode 100644 index 000000000000..2f6b08b58006 --- /dev/null +++ b/dev-ruby/ast/metadata.xml @@ -0,0 +1,12 @@ +<?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">whitequark/ast</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/astrolabe/Manifest b/dev-ruby/astrolabe/Manifest new file mode 100644 index 000000000000..5e0b0913f00e --- /dev/null +++ b/dev-ruby/astrolabe/Manifest @@ -0,0 +1 @@ +DIST astrolabe-1.3.1.gem 16384 BLAKE2B 4853c4c9c8fb926c8f58f6c940f22e44e20db7b3b7c853a0ea120657074cb0bfb42b3a22832042fcb27546e2ab3e32c526c93ccd3ea4d43f17c8e0c09fd2fbf8 SHA512 db29d26559e4adb82e4a25a3b7d3df94fcb9847dbd65abdb25abd0181b60af2e0fe0021bb8193c5f94d58e074da06de3d1f7170cb341ac675e3c3ab39ba95bef diff --git a/dev-ruby/astrolabe/astrolabe-1.3.1.ebuild b/dev-ruby/astrolabe/astrolabe-1.3.1.ebuild new file mode 100644 index 000000000000..bd2189775844 --- /dev/null +++ b/dev-ruby/astrolabe/astrolabe-1.3.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="An object-oriented AST extension for Parser" +HOMEPAGE="https://github.com/yujinakayama/astrolabe" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/parser-2.2.0_pre3" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + # Fix Specs until RSpec3 is available + sed -i -e "/mocks.verify_partial_doubles/ s/^/#/" spec/spec_helper.rb || die + sed -i -e "s/is_expected.to/should/" spec/astrolabe/node_spec.rb || die +} diff --git a/dev-ruby/astrolabe/metadata.xml b/dev-ruby/astrolabe/metadata.xml new file mode 100644 index 000000000000..6163badf4a55 --- /dev/null +++ b/dev-ruby/astrolabe/metadata.xml @@ -0,0 +1,12 @@ +<?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">yujinakayama/astrolabe</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/async_sinatra/Manifest b/dev-ruby/async_sinatra/Manifest new file mode 100644 index 000000000000..cedb8d72b112 --- /dev/null +++ b/dev-ruby/async_sinatra/Manifest @@ -0,0 +1 @@ +DIST async_sinatra-1.3.0-git.tgz 8657 BLAKE2B ba41b01a9ad00794f19273d41cceaf80ae5159e38f93c1907db5fae78d5d2f5d6d583f31ff495722b3a241f7e0d2d91c5b3202fe5a8ff39f500e6ab0e1e0030b SHA512 2975e41557da539e1b6427a43d41811f4e17315c01da8d1141dbdafad68702395bfce011844b8b1db2c24bbf19d09b5e680cd10e039ceaab1263ea66bcb8f9f6 diff --git a/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild new file mode 100644 index 000000000000..ba6570972e51 --- /dev/null +++ b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Asynchronous response API for Sinatra and Thin" +HOMEPAGE="https://github.com/raggi/async_sinatra" +SRC_URI="https://github.com/raggi/async_sinatra/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( + >=dev-ruby/hoe-3.13 + >=dev-ruby/minitest-5.6:5 + >=dev-ruby/eventmachine-0.12.11 + dev-ruby/rake + dev-ruby/rack-test + )" + +ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2 + >=dev-ruby/rack-1.4.1:*" + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -S rake test || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/ + doins -r examples +} diff --git a/dev-ruby/async_sinatra/metadata.xml b/dev-ruby/async_sinatra/metadata.xml new file mode 100644 index 000000000000..9ad4ab82e095 --- /dev/null +++ b/dev-ruby/async_sinatra/metadata.xml @@ -0,0 +1,12 @@ +<?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">raggi/async_sinatra</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/atomic/Manifest b/dev-ruby/atomic/Manifest new file mode 100644 index 000000000000..8d151b413621 --- /dev/null +++ b/dev-ruby/atomic/Manifest @@ -0,0 +1 @@ +DIST atomic-1.1.101.gem 17920 BLAKE2B 50f4efc215293e931380b6307231279b3c5ca055aa8082fee8575963a68b3d54262449bf45fb1a514dab18f53a1dd9e0467a0f7ac67dea7a45fcce09155721dd SHA512 59c82fa5ec984b7ecd97964ea075ea327511fd4e71cc5ac72d3fb573b777c9fb289f462d022ea1e0256b38dc369c9f7fa7a61b7af877bd06ec94252237111e8d diff --git a/dev-ruby/atomic/atomic-1.1.101.ebuild b/dev-ruby/atomic/atomic-1.1.101.ebuild new file mode 100644 index 000000000000..427fca75a658 --- /dev/null +++ b/dev-ruby/atomic/atomic-1.1.101.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit multilib ruby-fakegem + +DESCRIPTION="An atomic reference implementation for JRuby, Rubinius, and MRI" +HOMEPAGE="https://github.com/headius/ruby-atomic" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 ~sparc x86" +IUSE="" + +all_ruby_prepare() { + # Avoid compilation dependencies since we compile directly. + sed -i -e '/:test => :compile/ s:^:#:' \ + -e '/extensiontask/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/atomic_reference$(get_modname) lib/ || die +} diff --git a/dev-ruby/atomic/metadata.xml b/dev-ruby/atomic/metadata.xml new file mode 100644 index 000000000000..84a3201f1875 --- /dev/null +++ b/dev-ruby/atomic/metadata.xml @@ -0,0 +1,12 @@ +<?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">headius/ruby-atomic</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/autoprefixer-rails/Manifest b/dev-ruby/autoprefixer-rails/Manifest new file mode 100644 index 000000000000..495b4bbf4f8b --- /dev/null +++ b/dev-ruby/autoprefixer-rails/Manifest @@ -0,0 +1,6 @@ +DIST autoprefixer-rails-7.2.6.gem 196608 BLAKE2B 0f9224fbf765877b1b7414c68fc39a6587514d27fb5290e1a623db8dcdcbf6f668b66ddd0133906a97e63e877b8201168a45520a9919dc756021d5a7cffc0d38 SHA512 37b3f245291711f92ab9e264491637e753afb95e52f9fd4e2bda6655cd781b2d031934f3379cabdd5589bdf57b780d0727f2fff1cdf7887ca4cc323d23023396 +DIST autoprefixer-rails-8.6.5.gem 208896 BLAKE2B 50e8b8ef3fec9a0bb8d68afa8950989dbf84b58b79b8822e83bf22873c5172c2c514643c31dca88cfec49bd585563eb9b201c621d3ab6707ed0d49c6cd4c8fc8 SHA512 fddabc4d745ad1b4282622a52ab4e36c377eccec85c4e80b3e8d633ffcc2d1613f4fee9e9f2356c85d251e44b0010418029bb278894987119689435ac885e982 +DIST autoprefixer-rails-9.6.5.gem 221184 BLAKE2B 0a8d3dcd87cf4ad54252110bd60e86ab19563e614158575cb596aeaeab1d87946412625ce4bab4d8fc71d27abef1646822867aae19759b74445733f57ea076d5 SHA512 489e37e411fc86632d612b0d102955fd29b2654ba5bed3b648d89676e9d90aafb38139ea0d3f027fd9b23aff683c3f15979434d25c71d46560c3e1a1f1b4bc20 +DIST autoprefixer-rails-9.7.6.gem 226304 BLAKE2B 51481173acc0200e7287e8f448fa99f56f7548cf5df142705f6e4143f42bc079ab2c4d4459d4cbe62417b9f873b9e32d64a96ce61e0e8cdd7501203a33c0dae7 SHA512 4855843d270536607a705ab7a1fcb20fade8270ee957de3150b3892cf81442fecb5d501f07276761aba76c44edef15235d0f68e91ae76d2fe09dfa16179faa7c +DIST autoprefixer-rails-9.8.1.gem 225280 BLAKE2B 8c6fac92414ba153fdeb974b5e82a9550bd2f18c00af1813984e5cc2b239ab961d597fe66dc8d7a160564f06597da5ac5415c77d73db3d6cfd966dc4cb94ab93 SHA512 5f9d514170551e0c657e5116e76745411d396a02815f44cd2bd0b6c45d7c85cca7af6705ecaa98f4ef069c9d68a941dc9b728d837e9158e56dd9aa9110043bad +DIST autoprefixer-rails-9.8.2.gem 225280 BLAKE2B 50ba378c775c9781cc2fe5ac4e10cdb29848613a17f1f78811518dc1f58abee9176843a412703505d2ccf15c9dae6025c07f9a60b323db2878cc44e51f6be281 SHA512 6ab2d6106654a41095610dbf3eb383772eaf4c4e56e8790d8207ce2b9e218f276be00a011c6976c1b7b555f691366082d9a1fbeb53dae66e3599e67b2c3cb245 diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.2.6.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.2.6.ebuild new file mode 100644 index 000000000000..f6c5705e54bd --- /dev/null +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.2.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +inherit ruby-fakegem + +DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website" +HOMEPAGE="https://github.com/ai/autoprefixer-rails" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="7" +IUSE="" + +ruby_add_rdepend "dev-ruby/execjs:*" + +ruby_add_bdepend "test? ( + dev-ruby/rails + dev-ruby/rake + dev-ruby/rspec-rails +)" + +all_ruby_prepare() { + sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die + sed -i -e "/Bundler/,+3d" spec/app/config/application.rb || die + rm spec/rails_spec.rb spec/compass_spec.rb || die +} diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-8.6.5.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-8.6.5.ebuild new file mode 100644 index 000000000000..aed804b3d309 --- /dev/null +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-8.6.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +inherit ruby-fakegem + +DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website" +HOMEPAGE="https://github.com/ai/autoprefixer-rails" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="8" +IUSE="" + +ruby_add_rdepend "dev-ruby/execjs:*" + +ruby_add_bdepend "test? ( + dev-ruby/rails + dev-ruby/rake + dev-ruby/rspec-rails +)" + +all_ruby_prepare() { + sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die + sed -i -e "/Bundler/,+3d" spec/app/config/application.rb || die + rm spec/rails_spec.rb spec/compass_spec.rb || die +} diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.6.5.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.6.5.ebuild new file mode 100644 index 000000000000..8c312ceb78ee --- /dev/null +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.6.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +inherit ruby-fakegem + +DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website" +HOMEPAGE="https://github.com/ai/autoprefixer-rails" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_rdepend "dev-ruby/execjs:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rails-5.0.0 + dev-ruby/rake + dev-ruby/rspec-rails +)" + +all_ruby_prepare() { + sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die + sed -i -e "/Bundler/,+3d" \ + -e '/config.sass/ s:^:#:' spec/app/config/application.rb || die + sed -i -e '/standard/ s:^:#:' autoprefixer-rails.gemspec || die + rm -f spec/rails_spec.rb || die +} diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.7.6.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.7.6.ebuild new file mode 100644 index 000000000000..14973231ffc8 --- /dev/null +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.7.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +inherit ruby-fakegem + +DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website" +HOMEPAGE="https://github.com/ai/autoprefixer-rails" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_rdepend "dev-ruby/execjs:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rails-5.0.0 + dev-ruby/rake + dev-ruby/rspec-rails +)" + +all_ruby_prepare() { + sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die + sed -i -e "/Bundler/,+3d" \ + -e '/config.sass/ s:^:#:' spec/app/config/application.rb || die + sed -i -e '/standard/ s:^:#:' autoprefixer-rails.gemspec || die + sed -i -e '1igem "tzinfo", "~>1.0"' spec/spec_helper.rb || die + rm -f spec/rails_spec.rb || die +} diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.8.1.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.8.1.ebuild new file mode 100644 index 000000000000..bc06b1290578 --- /dev/null +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.8.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +inherit ruby-fakegem + +DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website" +HOMEPAGE="https://github.com/ai/autoprefixer-rails" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_rdepend "dev-ruby/execjs:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rails-5.0.0 + dev-ruby/rake + dev-ruby/rspec-rails +)" + +all_ruby_prepare() { + sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die + sed -i -e "/Bundler/,+3d" \ + -e '/config.sass/ s:^:#:' spec/app/config/application.rb || die + sed -i -e '/standard/ s:^:#:' autoprefixer-rails.gemspec || die + sed -i -e '1igem "tzinfo", "~>1.0"' spec/spec_helper.rb || die + rm -f spec/rails_spec.rb || die +} diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.8.2.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.8.2.ebuild new file mode 100644 index 000000000000..bc06b1290578 --- /dev/null +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.8.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +inherit ruby-fakegem + +DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website" +HOMEPAGE="https://github.com/ai/autoprefixer-rails" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_rdepend "dev-ruby/execjs:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rails-5.0.0 + dev-ruby/rake + dev-ruby/rspec-rails +)" + +all_ruby_prepare() { + sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die + sed -i -e "/Bundler/,+3d" \ + -e '/config.sass/ s:^:#:' spec/app/config/application.rb || die + sed -i -e '/standard/ s:^:#:' autoprefixer-rails.gemspec || die + sed -i -e '1igem "tzinfo", "~>1.0"' spec/spec_helper.rb || die + rm -f spec/rails_spec.rb || die +} diff --git a/dev-ruby/autoprefixer-rails/metadata.xml b/dev-ruby/autoprefixer-rails/metadata.xml new file mode 100644 index 000000000000..ca4e6173c14c --- /dev/null +++ b/dev-ruby/autoprefixer-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">ai/autoprefixer-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/aws-eventstream/Manifest b/dev-ruby/aws-eventstream/Manifest new file mode 100644 index 000000000000..36ace86acbf0 --- /dev/null +++ b/dev-ruby/aws-eventstream/Manifest @@ -0,0 +1,2 @@ +DIST aws-eventstream-1.0.3.gem 9216 BLAKE2B 32cb1d14562365bd9fc579272f6f5a56d542662dbca765431a980c278aa1ecdc4c61ba4875c52c83d962771e89f831c4b167b176882bf45649cea7732ec68c04 SHA512 bd2babd7ec1e3190b839925116cfe315f09087e106970603941ce4e1eea64cb4fcbf59d16c547a5ac4968792839de3dbb2e4719a05cd4433c611df44567029b0 +DIST aws-eventstream-1.1.0.gem 8704 BLAKE2B 52018f2466f24b5c4ca9463321d4bad94579c6c98ef7fe0de34376da1e9ecfa0171de3485f65266a8b6be99c6eab956b88b367b8431c62aac1b46107f47925db SHA512 40af0ad738341bd879458060c5d5b1cda3d539ecec18e3e14f2c36582368e246a1dd510480629f7f29e044dc6f9d3a028af72650a0386491931f5a2691ac5d8a diff --git a/dev-ruby/aws-eventstream/aws-eventstream-1.0.3.ebuild b/dev-ruby/aws-eventstream/aws-eventstream-1.0.3.ebuild new file mode 100644 index 000000000000..0fff340c1e82 --- /dev/null +++ b/dev-ruby/aws-eventstream/aws-eventstream-1.0.3.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +# Not packaged and upstream not tagged. +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Amazon Web Services event stream library" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/aws-eventstream/aws-eventstream-1.1.0.ebuild b/dev-ruby/aws-eventstream/aws-eventstream-1.1.0.ebuild new file mode 100644 index 000000000000..365b79be9b12 --- /dev/null +++ b/dev-ruby/aws-eventstream/aws-eventstream-1.1.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Not packaged and upstream not tagged. +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Amazon Web Services event stream library" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/aws-eventstream/metadata.xml b/dev-ruby/aws-eventstream/metadata.xml new file mode 100644 index 000000000000..9c02187663b5 --- /dev/null +++ b/dev-ruby/aws-eventstream/metadata.xml @@ -0,0 +1,12 @@ +<?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">aws/aws-sdk-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/aws-partitions/Manifest b/dev-ruby/aws-partitions/Manifest new file mode 100644 index 000000000000..8b3d72e7b580 --- /dev/null +++ b/dev-ruby/aws-partitions/Manifest @@ -0,0 +1,4 @@ +DIST aws-partitions-1.248.0.gem 18432 BLAKE2B 2232b8786f599c677984ecd92e256863951822402fa523ecf85b16a2c65659477132baa3831133db9cccbc07404ac5cb14bf84aebe1e03ee4a76aa265b6b457f SHA512 b055be405478a981e2061ceb217a781c813fc8779124d4078014003ff3c14bf22746a6f0211199c1d5f8ca1b46359d5b1b817dcf4600ec5a8da105a6eefab789 +DIST aws-partitions-1.281.0.gem 18944 BLAKE2B 723ab683eceffb0873afa9aa227826b1e0ac797258858ed55ea5e1413826a1d6818f732600d081711f0b989bbd2c81cc4f7102e96e5f86faedd2bd893c4c1c2e SHA512 329c353ee2f2762a7202ee6297e6f4f10d8a47ef6f660858f1bdd118fd77e19a2e4ae9424884af0007b2a000d291d9eb8f47d6eb20541dd3378fba6b261526ca +DIST aws-partitions-1.297.0.gem 20992 BLAKE2B df538a03fc579ecb65dfcadc0fb5dbef93a896a3c21d1e6cdaab75572aebc354ffe0a41cb82d5bc34e1414d560105270ede590e9a79ead1ac43a78a225bec861 SHA512 90d3484cb6d06597b1122512185dc8b0f5964a1c0748855b89c3efbefd410432ab7e88e6698d9532db7bc3db51f9dbce1f236e6745c31bf1312c6e0a1cd1f76e +DIST aws-partitions-1.298.0.gem 20992 BLAKE2B fb6776a6f5a9d75b32142129da38470cffd8383c77ea705567220902c90967926bea149b46624ace941e9dfd67e7dbb59202d1134b392c35acaab4f858d21f2c SHA512 fe42afbc96899637918938ecb84335efdbc8746ac46a173621f176df924b857cf95de9756f242ee61adba8048192626b47b6e49a51dfb5d1f2e98b20108278a7 diff --git a/dev-ruby/aws-partitions/aws-partitions-1.248.0.ebuild b/dev-ruby/aws-partitions/aws-partitions-1.248.0.ebuild new file mode 100644 index 000000000000..ced0919facc2 --- /dev/null +++ b/dev-ruby/aws-partitions/aws-partitions-1.248.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +# Not packaged and upstream not tagged. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="partitions.json" + +inherit ruby-fakegem + +DESCRIPTION="Provides interfaces to enumerate AWS partitions, regions, and services" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/aws-partitions/aws-partitions-1.281.0.ebuild b/dev-ruby/aws-partitions/aws-partitions-1.281.0.ebuild new file mode 100644 index 000000000000..864a129dbc72 --- /dev/null +++ b/dev-ruby/aws-partitions/aws-partitions-1.281.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Not packaged and upstream not tagged. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="partitions.json" + +inherit ruby-fakegem + +DESCRIPTION="Provides interfaces to enumerate AWS partitions, regions, and services" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/aws-partitions/aws-partitions-1.297.0.ebuild b/dev-ruby/aws-partitions/aws-partitions-1.297.0.ebuild new file mode 100644 index 000000000000..864a129dbc72 --- /dev/null +++ b/dev-ruby/aws-partitions/aws-partitions-1.297.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Not packaged and upstream not tagged. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="partitions.json" + +inherit ruby-fakegem + +DESCRIPTION="Provides interfaces to enumerate AWS partitions, regions, and services" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/aws-partitions/aws-partitions-1.298.0.ebuild b/dev-ruby/aws-partitions/aws-partitions-1.298.0.ebuild new file mode 100644 index 000000000000..864a129dbc72 --- /dev/null +++ b/dev-ruby/aws-partitions/aws-partitions-1.298.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Not packaged and upstream not tagged. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="partitions.json" + +inherit ruby-fakegem + +DESCRIPTION="Provides interfaces to enumerate AWS partitions, regions, and services" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/aws-partitions/metadata.xml b/dev-ruby/aws-partitions/metadata.xml new file mode 100644 index 000000000000..9c02187663b5 --- /dev/null +++ b/dev-ruby/aws-partitions/metadata.xml @@ -0,0 +1,12 @@ +<?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">aws/aws-sdk-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/aws-s3/Manifest b/dev-ruby/aws-s3/Manifest new file mode 100644 index 000000000000..7b6b312e95b4 --- /dev/null +++ b/dev-ruby/aws-s3/Manifest @@ -0,0 +1 @@ +DIST aws-s3-0.6.3.gem 137216 BLAKE2B 32aef753b61afa24b3c64791b9b96bd82ed497c6fca3b71ac49bb502eda00858c7c0e1d4ca25f08749850b0b6909b3e10e171e230c93329b354742524f57518b SHA512 817d74636a1c27fbb6e5529b99da48b61ccfac4e4bb5ce3bf4e24abcf10026678a8a6b93b8b9ef1983e9eaaf7567563094a46bd5d09c6c0fea052b5f4eecd728 diff --git a/dev-ruby/aws-s3/aws-s3-0.6.3.ebuild b/dev-ruby/aws-s3/aws-s3-0.6.3.ebuild new file mode 100644 index 000000000000..a6c2b1528fa9 --- /dev/null +++ b/dev-ruby/aws-s3/aws-s3-0.6.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README" + +# there is a stupid setup.rb in the bin/ directory so do not use the +# default. +RUBY_FAKEGEM_BINWRAP="s3sh" + +inherit ruby-fakegem + +DESCRIPTION="Client library for Amazon's Simple Storage Service's REST API" +HOMEPAGE="http://amazon.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/xml-simple + dev-ruby/builder + dev-ruby/mime-types:* + virtual/ruby-ssl" +ruby_add_bdepend "test? ( dev-ruby/flexmock )" + +RUBY_PATCHES=( + ${P}+ruby19.patch +) + +all_ruby_prepare() { + # Avoid tests requiring network access, bug 339324 + sed -i -e '/test_request_only_escapes_the_path_the_first_time_it_runs_and_not_subsequent_times/,/^ end/ s:^:#:' \ + -e '/test_if_request_has_no_body_then_the_content_length_is_set_to_zero/,/^ end/ s:^:#:' \ + test/connection_test.rb || die +} + +each_ruby_test() { + ${RUBY} -I. -e "Dir['test/*_test.rb'].each {|f| require f }" || die +} diff --git a/dev-ruby/aws-s3/files/aws-s3-0.6.3+ruby19.patch b/dev-ruby/aws-s3/files/aws-s3-0.6.3+ruby19.patch new file mode 100644 index 000000000000..d97f7f1ec654 --- /dev/null +++ b/dev-ruby/aws-s3/files/aws-s3-0.6.3+ruby19.patch @@ -0,0 +1,29 @@ +diff --git a/Rakefile b/Rakefile +index 4d097df..a38bdbc 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -290,6 +290,7 @@ namespace :todo do + end + end if File.exists?(File.join(library_root, 'TODO')) + ++begin + namespace :site do + require 'erb' + require 'rdoc/markup/simple_markup' +@@ -330,5 +331,7 @@ namespace :site do + sh %(scp #{site_files.join ' '} marcel@rubyforge.org:/var/www/gforge-projects/amazon/) + end + end ++rescue LoadError ++end + + task :clean => ['dist:clobber_package', 'doc:clobber_rdoc', 'test:clobber_coverage'] +diff --git a/test/extensions_test.rb b/test/extensions_test.rb +index 1c868ee..921e6b5 100644 +--- a/test/extensions_test.rb ++++ b/test/extensions_test.rb +@@ -1,3 +1,4 @@ ++# -*- coding: utf-8 -*- + require File.dirname(__FILE__) + '/test_helper' + + class HashExtensionsTest < Test::Unit::TestCase diff --git a/dev-ruby/aws-s3/metadata.xml b/dev-ruby/aws-s3/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/aws-s3/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/aws-sdk-core/Manifest b/dev-ruby/aws-sdk-core/Manifest new file mode 100644 index 000000000000..05d92e33a736 --- /dev/null +++ b/dev-ruby/aws-sdk-core/Manifest @@ -0,0 +1,3 @@ +DIST aws-sdk-core-3.94.0.gem 270848 BLAKE2B 427fd39d864b2b69e161c0a97cb88984c0dc3f05a07df25412f6e365ec0405a1d226e4bb1f0c024d02f1823d93b9127d96cb025362b1f0e5da259e93dadf0ae9 SHA512 30b660ea5cbea483e284ad82125e4c9e22ac6874f25c9b0d709c64c940ad03d9cc2a87af97e2c182c6720c23675467e3b0442bb7164ed36bfd36dd19dd8ec924 +DIST aws-sdk-ruby-2.11.488.tar.gz 5997468 BLAKE2B bf374a451d07052676eedf75cac71f57f4557ff3d0970593cd76f057938844e0eca28e63aa983619345a5852542a8b1fe371c1be2c6132146daa9b5c123c7869 SHA512 c2726a9afc38d579fa65977c3c1cd2af5f6b235ac84cf5b4dd8fac6040a01c753d6409fe90e1cf32d500f26366c76a3b2499a0e79ebb005601756dab068fe91f +DIST aws-sdk-ruby-2.11.79.tar.gz 4068576 BLAKE2B 481852772704dd91afca4511f402e0288aa80523133be2d15f0a3d085efca7c38fce1e7d794ebc9ffca5c4b2b5f69c9366346525f250ab9c2b06aa6c7e9631ee SHA512 dc9076f3658e6d764671a2f661c9c5363977807861bb9a71d287ebb55de02fc80679a209ea00d438d162f4185cf2f8c65800fde8712f143b17c5b60369f7203e diff --git a/dev-ruby/aws-sdk-core/aws-sdk-core-2.11.488.ebuild b/dev-ruby/aws-sdk-core/aws-sdk-core-2.11.488.ebuild new file mode 100644 index 000000000000..9db5e5838f35 --- /dev/null +++ b/dev-ruby/aws-sdk-core/aws-sdk-core-2.11.488.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRAINSTALL="apis ca-bundle.crt endpoints.json" + +GITHUB_USER="aws" +GITHUB_PROJECT="aws-sdk-ruby" +RUBY_S="${GITHUB_PROJECT}-${PV}/${PN}" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official SDK for Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/sdkforruby" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/aws-sigv4 dev-ruby/jmespath:1" + +ruby_add_bdepend "test? ( dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + + # Avoid spec that gets confused by our directory names + sed -i -e '/requires prefixes from plugin names when loading/,/end/ s:^:#:' \ + spec/seahorse/client/plugin_list_spec.rb || die +} diff --git a/dev-ruby/aws-sdk-core/aws-sdk-core-2.11.79.ebuild b/dev-ruby/aws-sdk-core/aws-sdk-core-2.11.79.ebuild new file mode 100644 index 000000000000..9db5e5838f35 --- /dev/null +++ b/dev-ruby/aws-sdk-core/aws-sdk-core-2.11.79.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRAINSTALL="apis ca-bundle.crt endpoints.json" + +GITHUB_USER="aws" +GITHUB_PROJECT="aws-sdk-ruby" +RUBY_S="${GITHUB_PROJECT}-${PV}/${PN}" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official SDK for Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/sdkforruby" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/aws-sigv4 dev-ruby/jmespath:1" + +ruby_add_bdepend "test? ( dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + + # Avoid spec that gets confused by our directory names + sed -i -e '/requires prefixes from plugin names when loading/,/end/ s:^:#:' \ + spec/seahorse/client/plugin_list_spec.rb || die +} diff --git a/dev-ruby/aws-sdk-core/aws-sdk-core-3.94.0.ebuild b/dev-ruby/aws-sdk-core/aws-sdk-core-3.94.0.ebuild new file mode 100644 index 000000000000..16d54afa9058 --- /dev/null +++ b/dev-ruby/aws-sdk-core/aws-sdk-core-3.94.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +# Not packaged and upstream not tagged. +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Provides API clients for AWS" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/aws-eventstream-1.0.2:1" +ruby_add_rdepend ">=dev-ruby/aws-partitions-1.239.0:1" +ruby_add_rdepend ">=dev-ruby/aws-sigv4-1.1:1" +ruby_add_rdepend "dev-ruby/jmespath:1" diff --git a/dev-ruby/aws-sdk-core/metadata.xml b/dev-ruby/aws-sdk-core/metadata.xml new file mode 100644 index 000000000000..9c02187663b5 --- /dev/null +++ b/dev-ruby/aws-sdk-core/metadata.xml @@ -0,0 +1,12 @@ +<?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">aws/aws-sdk-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/aws-sdk-resources/Manifest b/dev-ruby/aws-sdk-resources/Manifest new file mode 100644 index 000000000000..01433d9ba3ad --- /dev/null +++ b/dev-ruby/aws-sdk-resources/Manifest @@ -0,0 +1,2 @@ +DIST aws-sdk-ruby-2.11.488.tar.gz 5997468 BLAKE2B bf374a451d07052676eedf75cac71f57f4557ff3d0970593cd76f057938844e0eca28e63aa983619345a5852542a8b1fe371c1be2c6132146daa9b5c123c7869 SHA512 c2726a9afc38d579fa65977c3c1cd2af5f6b235ac84cf5b4dd8fac6040a01c753d6409fe90e1cf32d500f26366c76a3b2499a0e79ebb005601756dab068fe91f +DIST aws-sdk-ruby-2.11.79.tar.gz 4068576 BLAKE2B 481852772704dd91afca4511f402e0288aa80523133be2d15f0a3d085efca7c38fce1e7d794ebc9ffca5c4b2b5f69c9366346525f250ab9c2b06aa6c7e9631ee SHA512 dc9076f3658e6d764671a2f661c9c5363977807861bb9a71d287ebb55de02fc80679a209ea00d438d162f4185cf2f8c65800fde8712f143b17c5b60369f7203e diff --git a/dev-ruby/aws-sdk-resources/aws-sdk-resources-2.11.488.ebuild b/dev-ruby/aws-sdk-resources/aws-sdk-resources-2.11.488.ebuild new file mode 100644 index 000000000000..0ba1d97e1ccc --- /dev/null +++ b/dev-ruby/aws-sdk-resources/aws-sdk-resources-2.11.488.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRAINSTALL="resources.schema.json" + +GITHUB_USER="aws" +GITHUB_PROJECT="aws-sdk-ruby" +RUBY_S="${GITHUB_PROJECT}-${PV}/${PN}" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official SDK for Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/sdkforruby" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "~dev-ruby/aws-sdk-core-${PV}" + +ruby_add_bdepend "dev-ruby/webmock" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/aws-sdk-resources/aws-sdk-resources-2.11.79.ebuild b/dev-ruby/aws-sdk-resources/aws-sdk-resources-2.11.79.ebuild new file mode 100644 index 000000000000..0ba1d97e1ccc --- /dev/null +++ b/dev-ruby/aws-sdk-resources/aws-sdk-resources-2.11.79.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRAINSTALL="resources.schema.json" + +GITHUB_USER="aws" +GITHUB_PROJECT="aws-sdk-ruby" +RUBY_S="${GITHUB_PROJECT}-${PV}/${PN}" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official SDK for Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/sdkforruby" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "~dev-ruby/aws-sdk-core-${PV}" + +ruby_add_bdepend "dev-ruby/webmock" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/aws-sdk-resources/metadata.xml b/dev-ruby/aws-sdk-resources/metadata.xml new file mode 100644 index 000000000000..9c02187663b5 --- /dev/null +++ b/dev-ruby/aws-sdk-resources/metadata.xml @@ -0,0 +1,12 @@ +<?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">aws/aws-sdk-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/aws-sdk/Manifest b/dev-ruby/aws-sdk/Manifest new file mode 100644 index 000000000000..01433d9ba3ad --- /dev/null +++ b/dev-ruby/aws-sdk/Manifest @@ -0,0 +1,2 @@ +DIST aws-sdk-ruby-2.11.488.tar.gz 5997468 BLAKE2B bf374a451d07052676eedf75cac71f57f4557ff3d0970593cd76f057938844e0eca28e63aa983619345a5852542a8b1fe371c1be2c6132146daa9b5c123c7869 SHA512 c2726a9afc38d579fa65977c3c1cd2af5f6b235ac84cf5b4dd8fac6040a01c753d6409fe90e1cf32d500f26366c76a3b2499a0e79ebb005601756dab068fe91f +DIST aws-sdk-ruby-2.11.79.tar.gz 4068576 BLAKE2B 481852772704dd91afca4511f402e0288aa80523133be2d15f0a3d085efca7c38fce1e7d794ebc9ffca5c4b2b5f69c9366346525f250ab9c2b06aa6c7e9631ee SHA512 dc9076f3658e6d764671a2f661c9c5363977807861bb9a71d287ebb55de02fc80679a209ea00d438d162f4185cf2f8c65800fde8712f143b17c5b60369f7203e diff --git a/dev-ruby/aws-sdk/aws-sdk-2.11.488.ebuild b/dev-ruby/aws-sdk/aws-sdk-2.11.488.ebuild new file mode 100644 index 000000000000..f501f7632379 --- /dev/null +++ b/dev-ruby/aws-sdk/aws-sdk-2.11.488.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="../CHANGELOG.md ../MIGRATING.md ../README.md ../UPGRADING.md" + +GITHUB_USER="aws" +GITHUB_PROJECT="${PN}-ruby" +RUBY_S="${GITHUB_PROJECT}-${PV}/${PN}" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official SDK for Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/sdkforruby" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl + ~dev-ruby/aws-sdk-resources-${PV}" diff --git a/dev-ruby/aws-sdk/aws-sdk-2.11.79.ebuild b/dev-ruby/aws-sdk/aws-sdk-2.11.79.ebuild new file mode 100644 index 000000000000..f501f7632379 --- /dev/null +++ b/dev-ruby/aws-sdk/aws-sdk-2.11.79.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="../CHANGELOG.md ../MIGRATING.md ../README.md ../UPGRADING.md" + +GITHUB_USER="aws" +GITHUB_PROJECT="${PN}-ruby" +RUBY_S="${GITHUB_PROJECT}-${PV}/${PN}" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official SDK for Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/sdkforruby" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl + ~dev-ruby/aws-sdk-resources-${PV}" diff --git a/dev-ruby/aws-sdk/metadata.xml b/dev-ruby/aws-sdk/metadata.xml new file mode 100644 index 000000000000..9c02187663b5 --- /dev/null +++ b/dev-ruby/aws-sdk/metadata.xml @@ -0,0 +1,12 @@ +<?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">aws/aws-sdk-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/aws-sigv4/Manifest b/dev-ruby/aws-sigv4/Manifest new file mode 100644 index 000000000000..d695857fef56 --- /dev/null +++ b/dev-ruby/aws-sigv4/Manifest @@ -0,0 +1,2 @@ +DIST aws-sigv4-1.1.2.gem 11776 BLAKE2B 120446bb7ba1faf4236952b7dc53e0e88cad35476b2a56d188b73c1b3e4a4a93e835597eda5ebde02c0d65395045e9400e41b9d291f076cf73803286ea3151a3 SHA512 2d1f016e5a093a167d4bb6ae8774e5073c6c3c182a4ab64edfcc3cb93cdb827bdf2dd6731eddd096b8940db4cd751dd451bd4cf445c5b15ac5349e6d150281c8 +DIST aws-sigv4-1.1.4.gem 11776 BLAKE2B 3b365817f3228bea3fbc4903ab59b3949eeee6570dc68f12bf20f2edce1f2910b54d983389bca11950bc06d37c1c0cf9038bf0b301096cd02747fba97f8fe71c SHA512 58a0f94846edacff7a6037ee0fd2f77636241b1ad4de9882a4afbd9785879c371f2d6137c99e9232141bfd1d235aeb70422b2a4affd867b073db1b50c607ddf9 diff --git a/dev-ruby/aws-sigv4/aws-sigv4-1.1.2.ebuild b/dev-ruby/aws-sigv4/aws-sigv4-1.1.2.ebuild new file mode 100644 index 000000000000..5d5f811e9dee --- /dev/null +++ b/dev-ruby/aws-sigv4/aws-sigv4-1.1.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Amazon Web Services Signature Version 4 signing library" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/aws-eventstream-1.0.2:1" diff --git a/dev-ruby/aws-sigv4/aws-sigv4-1.1.4.ebuild b/dev-ruby/aws-sigv4/aws-sigv4-1.1.4.ebuild new file mode 100644 index 000000000000..5d5f811e9dee --- /dev/null +++ b/dev-ruby/aws-sigv4/aws-sigv4-1.1.4.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Amazon Web Services Signature Version 4 signing library" +HOMEPAGE="https://aws.amazon.com/sdk-for-ruby/" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/aws-eventstream-1.0.2:1" diff --git a/dev-ruby/aws-sigv4/metadata.xml b/dev-ruby/aws-sigv4/metadata.xml new file mode 100644 index 000000000000..9c02187663b5 --- /dev/null +++ b/dev-ruby/aws-sigv4/metadata.xml @@ -0,0 +1,12 @@ +<?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">aws/aws-sdk-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/axiom-types/Manifest b/dev-ruby/axiom-types/Manifest new file mode 100644 index 000000000000..884847fde435 --- /dev/null +++ b/dev-ruby/axiom-types/Manifest @@ -0,0 +1 @@ +DIST axiom-types-0.1.1.gem 23552 BLAKE2B 26a9c7f242d331951a85d8a5819eb00bdf599c7f891eac2a7478d0f28d11a6f90c6c81a9beb4c6cedbe540684fb99382148568d28bf5cb55aecc85987c8913e2 SHA512 1d1eb7680cc7370e81506acf8a3a5ca2e40e8c375cc6e91176fca2b5ba388b87792b0e0872e6847b7f8ab27f3fc52f4cd4792875c97f579ffa4578e3c414d2e5 diff --git a/dev-ruby/axiom-types/axiom-types-0.1.1.ebuild b/dev-ruby/axiom-types/axiom-types-0.1.1.ebuild new file mode 100644 index 000000000000..befa36c7d675 --- /dev/null +++ b/dev-ruby/axiom-types/axiom-types-0.1.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Define types with optional constraints for use within axiom and other libraries" +HOMEPAGE="https://rubygems.org/gems/axiom-types https://github.com/dkubb/axiom-types" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/descendants_tracker-0.0.4 + <dev-ruby/descendants_tracker-0.1 + >=dev-ruby/ice_nine-0.11.0 + <dev-ruby/ice_nine-0.12 + >=dev-ruby/thread_safe-0.3.1 + <dev-ruby/thread_safe-1" + +RESTRICT="test" diff --git a/dev-ruby/axiom-types/metadata.xml b/dev-ruby/axiom-types/metadata.xml new file mode 100644 index 000000000000..ec9fccb903d8 --- /dev/null +++ b/dev-ruby/axiom-types/metadata.xml @@ -0,0 +1,13 @@ +<?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">dkubb/axiom-types</remote-id> + <remote-id type="rubygems">axiom-types</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest new file mode 100644 index 000000000000..2e9633d3d5f2 --- /dev/null +++ b/dev-ruby/backports/Manifest @@ -0,0 +1,6 @@ +DIST backports-3.15.0.gem 152064 BLAKE2B a2c2a1f35ab6f682be23a5189bafec563a2d028ed5f0e0a4880ad85e09ac7af1085a601323ec3459c5be87a5271c6c3e47b6e80005c50e3084d4ac1dc9f2fd35 SHA512 4eb1f928c37596971fa274d838ab991bce462a7f571cb68501fc81e579693528e93536c25e4b64d93f4f0edfd313c8aacd8af014bb5c586cc182867e78f614d5 +DIST backports-3.16.0.gem 154624 BLAKE2B a35adb965c3f9f42fab5fe80fa1ca20a59511e9b265da28bef059e3477fa6a291c86e3b16f837e1f2d2f7e36e6660be29a9fc02713c3f46ad36767dd87baa1f9 SHA512 500386a74162e6c66e606c705dd26296f56118460f300005f0db44025f49bb8f516805921f23e17d0959056a2a8fc320b5ad4c514dd9c22ef811f6325113ae8a +DIST backports-3.16.1{P}.tar.gz 156181 BLAKE2B c7cc842fb9bf8fcc7b55c8a572cc7a01a63008ad20f63142f339d24d7bf04202f4def2f03261d23d6c41c8c3bd0af8fce76a323e25585b6874c1428eb2a9ef90 SHA512 d907d729dd37ebfb175f8274078664fc4eee51de773cd0871b8bec9a8808052fbdea8571f0a402b1a6ca88ca7cd7b6b9984f66799abf92f300f1f8bc7b8f3f9b +DIST backports-3.17.0{P}.tar.gz 158065 BLAKE2B 33df81f32aa36b8039e021dbbf9ebd265a73cc5f74069472773ccf8f71d9378820671055c8130282a95ee8a5b32d3fe13a04394fb8f9b4c01c38f13582447063 SHA512 4acea191916bb067856c42665c10fad52a275193fc5cd04cb73bc5ce7967033d055acbf682f5e7abc8058fafd5150fb8154495a964d09664bf1ffcf91dd154c8 +DIST backports-3.17.1{P}.tar.gz 158209 BLAKE2B caecc782c7949d2b6408a31c3d5f7e1599c49a0593761c2e75fc8181b28db42797fc10ea8149e6f6d3d60c6561bedea536b80b271ba4243c9cf933414e8aca71 SHA512 87cd790099c5265bbb3d6f91fd40429f65b97c4dcdd5126c2a8c4376efac047883271e447ecc3512999c2470b291258b1d45600fe55ad687d4eab8ab12cca37a +DIST backports-3.17.2{P}.tar.gz 158235 BLAKE2B bc761ee147adec209f2dcc3ff95e8ba82b8388c58b3b6aeb11c4f294ebf8aed74ca8bea54833df5adf32b2fd65ec01b621d2e8422d344fe9e1fa228542cb6118 SHA512 2194dd0e89c111f02d161ebc60827fb0276ad32c9e611156687a0f83604db2b25bdec626d7671a7a6fd7ce1395dc818a3735e63a2c165f41a0dd37ff37487d4e diff --git a/dev-ruby/backports/backports-3.15.0.ebuild b/dev-ruby/backports/backports-3.15.0.ebuild new file mode 100644 index 000000000000..57b384b2be49 --- /dev/null +++ b/dev-ruby/backports/backports-3.15.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ruby27 -> not compatible +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="test" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die +} diff --git a/dev-ruby/backports/backports-3.16.0.ebuild b/dev-ruby/backports/backports-3.16.0.ebuild new file mode 100644 index 000000000000..fea2b86091ce --- /dev/null +++ b/dev-ruby/backports/backports-3.16.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +RUBY_FAKEGEM_TASK_TEST="test" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die +} diff --git a/dev-ruby/backports/backports-3.16.1.ebuild b/dev-ruby/backports/backports-3.16.1.ebuild new file mode 100644 index 000000000000..4b5fc0b03e77 --- /dev/null +++ b/dev-ruby/backports/backports-3.16.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="backports.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" +SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> $P{P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die +} diff --git a/dev-ruby/backports/backports-3.17.0.ebuild b/dev-ruby/backports/backports-3.17.0.ebuild new file mode 100644 index 000000000000..10f3947595ba --- /dev/null +++ b/dev-ruby/backports/backports-3.17.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="backports.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" +SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> $P{P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die + + sed -i -e '/rubocop/I s:^:#:' Rakefile || die +} diff --git a/dev-ruby/backports/backports-3.17.1.ebuild b/dev-ruby/backports/backports-3.17.1.ebuild new file mode 100644 index 000000000000..10f3947595ba --- /dev/null +++ b/dev-ruby/backports/backports-3.17.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="backports.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" +SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> $P{P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die + + sed -i -e '/rubocop/I s:^:#:' Rakefile || die +} diff --git a/dev-ruby/backports/backports-3.17.2.ebuild b/dev-ruby/backports/backports-3.17.2.ebuild new file mode 100644 index 000000000000..10f3947595ba --- /dev/null +++ b/dev-ruby/backports/backports-3.17.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="backports.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" +SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> $P{P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die + + sed -i -e '/rubocop/I s:^:#:' Rakefile || die +} diff --git a/dev-ruby/backports/metadata.xml b/dev-ruby/backports/metadata.xml new file mode 100644 index 000000000000..b9a0e992e33d --- /dev/null +++ b/dev-ruby/backports/metadata.xml @@ -0,0 +1,12 @@ +<?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">marcandre/backports</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bacon/Manifest b/dev-ruby/bacon/Manifest new file mode 100644 index 000000000000..847933b622e2 --- /dev/null +++ b/dev-ruby/bacon/Manifest @@ -0,0 +1 @@ +DIST bacon-1.2.0.gem 18432 BLAKE2B 7b5870a4cb2b4340eb16dfde4649049def3f19e9a3202a6040c26fe0b3ad82b04e14d47380f9d08d1a8640e38244e7ca89f897a12b382cbb2cf368e414d5af41 SHA512 ce7a9171be67b872c8a95dbf93a45fd79574796c694769e9c87a35257e85eff98187c8ee76429124ab475e90fc619eebd30e672f3dcd4f8280e139ecc469f907 diff --git a/dev-ruby/bacon/bacon-1.2.0-r2.ebuild b/dev-ruby/bacon/bacon-1.2.0-r2.ebuild new file mode 100644 index 000000000000..37ba98748354 --- /dev/null +++ b/dev-ruby/bacon/bacon-1.2.0-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Small RSpec clone weighing less than 350 LoC" +HOMEPAGE="http://chneukirchen.org/repos/bacon" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rdoc )" diff --git a/dev-ruby/bacon/metadata.xml b/dev-ruby/bacon/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/bacon/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/barby/Manifest b/dev-ruby/barby/Manifest new file mode 100644 index 000000000000..cffe78877a34 --- /dev/null +++ b/dev-ruby/barby/Manifest @@ -0,0 +1 @@ +DIST barby-0.6.8.tar.gz 96647 BLAKE2B b0af8e5573dc7d3d1881c793895d1c440b97bb5609b0759f56bdecfed7b4b74080f96301d2511101abb21760074584905fdc4e94938d38e2a553933686ccf976 SHA512 1d51dece22febd8c8a234241b88edd3ea93eae328e69fbd8dba3f48afcea7943ec4a72252a74b476aae5812ee132de6b87e37f9fd4c2a43d7c79ec68c831b68c diff --git a/dev-ruby/barby/barby-0.6.8.ebuild b/dev-ruby/barby/barby-0.6.8.ebuild new file mode 100644 index 000000000000..78290277d133 --- /dev/null +++ b/dev-ruby/barby/barby-0.6.8.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby barcode generator that doesn't rely on 3rd party libraries" +HOMEPAGE="http://toreto.re/barby/" + +GITHUB_USER="toretore" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test qrcode rmagick prawn png cairo" + +ruby_add_rdepend " + rmagick? ( dev-ruby/rmagick:* ) + cairo? ( dev-ruby/rcairo )" + +ruby_add_rdepend "qrcode? ( dev-ruby/rqrcode ) + png? ( dev-ruby/chunky_png ) + prawn? ( dev-ruby/prawn:* )" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +# testing requires imagemagick capable of png output +DEPEND+=" test? ( media-gfx/imagemagick[png] )" + +# prawn breaks tests for some reasons, needs to be investigated; code +# still works though. +RESTRICT="!test? ( test ) prawn? ( test )" + +all_ruby_prepare() { + sed -i -e 's/README/README.md/' Rakefile || die + + sed -i -e '/[bB]undler/s:^:#:' test/test_helper.rb || die + + if use qrcode; then + sed -i -e '/^end/i s.add_dependency "rqrcode"' ${RUBY_FAKEGEM_GEMSPEC} + else + rm \ + lib/barby/barcode/qr_code.rb \ + test/qr_code_test.rb + fi + + if use rmagick; then + sed -i -e '/^end/i s.add_dependency "rmagick"' ${RUBY_FAKEGEM_GEMSPEC} + else + rm \ + lib/barby/outputter/rmagick_outputter.rb \ + test/outputter/rmagick_outputter_test.rb + fi + + if use prawn; then + sed -i -e '/^end/i s.add_dependency "prawn"' ${RUBY_FAKEGEM_GEMSPEC} + else + rm \ + lib/barby/outputter/prawn_outputter.rb \ + test/outputter/prawn_outputter_test.rb + fi + + if use png; then + sed -i -e '/^end/i s.add_dependency "chunky_png"' ${RUBY_FAKEGEM_GEMSPEC} + else + rm \ + lib/barby/outputter/png_outputter.rb \ + test/outputter/png_outputter_test.rb + fi + + if use cairo; then + sed -i -e '/^end/i s.add_dependency "cairo"' ${RUBY_FAKEGEM_GEMSPEC} + else + rm \ + lib/barby/outputter/cairo_outputter.rb \ + test/outputter/cairo_outputter_test.rb + fi + + sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + rm -f \ + lib/barby/barcode/data_matrix.rb \ + test/data_matrix_test.rb \ + lib/barby/outputter/pdfwriter_outputter.rb \ + test/outputter/pdfwriter_outputter_test.rb || die + + sed -i \ + -e '/semacode/d' \ + -e '/pdf-writer/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/barby/metadata.xml b/dev-ruby/barby/metadata.xml new file mode 100644 index 000000000000..f50d65b194f2 --- /dev/null +++ b/dev-ruby/barby/metadata.xml @@ -0,0 +1,35 @@ +<?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> + <use> + <flag name="qrcode"> + Add support for QRCode 2D codes using + <pkg>dev-ruby/rqrcode</pkg>. + </flag> + <flag name="prawn"> + Add support for writing PDF documents using + <pkg>dev-ruby/prawn</pkg>. + </flag> + <flag name="png"> + Add support for writing PNG images using + <pkg>dev-ruby/chunky_png</pkg>. + </flag> + <flag name="rmagick"> + Add support for writing images (among others PNG, GIF and JPEG) + using <pkg>dev-ruby/rmagick</pkg>. Not available on JRuby. + </flag> + <flag name="cairo"> + Add support for writing images (PNG, PS, EPS and, if supported, + PDF and SVG) using <pkg>dev-ruby/rcairo</pkg>. Not available on + JRuby. + </flag> + </use> + <upstream> + <remote-id type="github">toretore/barby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/base32/Manifest b/dev-ruby/base32/Manifest new file mode 100644 index 000000000000..6b7632a1d85d --- /dev/null +++ b/dev-ruby/base32/Manifest @@ -0,0 +1 @@ +DIST base32-0.3.2.gem 8192 BLAKE2B de7d3484f54a83b497da2ea79a51237df9e058b0d9317613b1cefa5e3d93225248e8406a4564137080870c076fbe6340cfc7cc11cad48a397c1740d47de6963b SHA512 9d66961774b9d5923d099229f80ceacec95d40d5d6d3842fda33ff6bf4070f9dc17d758a6cbc93a6200f4e0105bc60175f70d057469e684f01910ea07fd85a2f diff --git a/dev-ruby/base32/base32-0.3.2.ebuild b/dev-ruby/base32/base32-0.3.2.ebuild new file mode 100644 index 000000000000..7c85940163b0 --- /dev/null +++ b/dev-ruby/base32/base32-0.3.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="A library which provides base32 decoding and encoding" +HOMEPAGE="https://rubygems.org/gems/base32 https://github.com/stesla/base32" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/minitest + dev-ruby/rake )" + +all_ruby_prepare() { + sed -i -e "1,10d" Rakefile || die +} diff --git a/dev-ruby/base32/metadata.xml b/dev-ruby/base32/metadata.xml new file mode 100644 index 000000000000..6b5dedc74de2 --- /dev/null +++ b/dev-ruby/base32/metadata.xml @@ -0,0 +1,13 @@ +<?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">stesla/base32</remote-id> + <remote-id type="rubygems">base32</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bcat/Manifest b/dev-ruby/bcat/Manifest new file mode 100644 index 000000000000..3df437c5ea75 --- /dev/null +++ b/dev-ruby/bcat/Manifest @@ -0,0 +1 @@ +DIST bcat-0.6.2.gem 22016 BLAKE2B abfaec6d9db25990838019d0e9f4dde918f260c01340e34ab272f8a2e02155674ca38bf91843925df31102982cba02ada69abbf7e9ec4b91d4f2cb87b27be339 SHA512 142f853ca0931e5ba300276b1db0977fa275b9b13602940fbaca2c5d32ff881fe753dee25632526a348d71cf71eb6e390aed821b4ba1f48e380d6369ad87ead7 diff --git a/dev-ruby/bcat/bcat-0.6.2-r3.ebuild b/dev-ruby/bcat/bcat-0.6.2-r3.ebuild new file mode 100644 index 000000000000..3a40db62ad72 --- /dev/null +++ b/dev-ruby/bcat/bcat-0.6.2-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="man" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="Pipe to browser utility for use at the shell and within editors" +HOMEPAGE="https://github.com/rtomayko/bcat" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86" +IUSE="" + +# Collides on /usr/bin/bcat, bug 418301 +RDEPEND="${RDEPEND} !!<app-accessibility/speech-tools-2.1-r3" + +ruby_add_bdepend "doc? ( app-text/ronn ) + test? ( dev-ruby/test-unit:2 )" + +ruby_add_rdepend "=dev-ruby/rack-1*:*" + +each_ruby_prepare() { + sed -i -e "s/a2h/#{ENV['RUBY']} -S a2h/" test/test_bcat_a2h.rb || die +} + +each_ruby_test() { + # The Rakefile uses weird trickery with load path that causes gems + # not to be found. Run tests directly instead and do the trickery + # here to support popen calls for the bins in this package. + RUBY=${RUBY} RUBYLIB=lib:${RUBYLIB} PATH=bin:${PATH} ${RUBY} -S testrb-2 test/test_*.rb || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/*.1 +} diff --git a/dev-ruby/bcat/metadata.xml b/dev-ruby/bcat/metadata.xml new file mode 100644 index 000000000000..62ef03ec0bad --- /dev/null +++ b/dev-ruby/bcat/metadata.xml @@ -0,0 +1,12 @@ +<?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">rtomayko/bcat</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bcrypt-ruby/Manifest b/dev-ruby/bcrypt-ruby/Manifest new file mode 100644 index 000000000000..7435e645c8a0 --- /dev/null +++ b/dev-ruby/bcrypt-ruby/Manifest @@ -0,0 +1,3 @@ +DIST bcrypt-3.1.11.gem 44032 BLAKE2B debdc199ff3806b32998c91a99006f293ca6ebbfe2573546afda7c705fbdc0ac8f4cdfba97c1765668cfe3782cb4f9affff1b59b20c42e19fd14a6fa52f66160 SHA512 bf9ff0d3cdd7044b4ee5796cd04869f21bb3384143b0f336bc2cd9a8f0db3f9562aa23a39601c1d86f153b62f07469ef066616f8a52cfcd840377e331cb22454 +DIST bcrypt-3.1.12.gem 44544 BLAKE2B 767d38c3fc03e24bedc6a14668538d214219b93fed0b918dedfd5aabc25cd46273e0f7a849dbfa8d23e4ace2ec037809dcd927a9942bfcc126def7e707252c39 SHA512 1cb465bc00e40c82c7b9789cf5ba96273a455f4c1c993f411a9b80d39aa9c938e4909a094ca92af786ad3cd836eebac2aefcbe1bb29c6238947e55fcdc110d35 +DIST bcrypt-3.1.13.gem 54272 BLAKE2B b2a349955a066e39cc50540ff116e70e2bac359c03ddd9dfa35d6a946d15235921cd82feec8b1d76f5f82a3ff9dea288f115dc8e1fae3f24e559a1462e173ccd SHA512 d996f381643a0322d66a1a5dc7d26887baaf48d90ac8f87283bf2aa35f2a0048049e1df10d95283d37f25e3331ca3cb19a9a7c12b95fa1b1a1bdec0e5d8133bf diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.11-r1.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.11-r1.ebuild new file mode 100644 index 000000000000..53a2c023995c --- /dev/null +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.11-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_NAME="bcrypt" + +inherit multilib ruby-fakegem + +DESCRIPTION="An easy way to keep your users' passwords secure" +HOMEPAGE="https://github.com/codahale/bcrypt-ruby" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~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="" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/git ls-files/d' bcrypt.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/mri extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/mri V=1 + cp ext/mri/*$(get_modname) lib/ || die +} + +each_ruby_install() { + each_fakegem_install + + # bcrypt was called bcrypt-ruby before, so add a spec file that + # simply loads bcrypt to make sure that old projects load correctly + # we don't even need to create a file to load this: the `require + # bcrypt` was already part of bcrypt-ruby requirements. + cat - <<EOF > "${T}/bcrypt-ruby.gemspec" +Gem::Specification.new do |s| + s.name = "bcrypt-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load bcrypt" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=bcrypt-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/bcrypt-ruby.gemspec" \ + ruby_fakegem_install_gemspec +} diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.12.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.12.ebuild new file mode 100644 index 000000000000..e20c322ebe38 --- /dev/null +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_NAME="bcrypt" + +inherit multilib ruby-fakegem + +DESCRIPTION="An easy way to keep your users' passwords secure" +HOMEPAGE="https://github.com/codahale/bcrypt-ruby" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~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="" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/git ls-files/d' bcrypt.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/mri extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/mri V=1 + cp ext/mri/*$(get_modname) lib/ || die +} + +each_ruby_install() { + each_fakegem_install + + # bcrypt was called bcrypt-ruby before, so add a spec file that + # simply loads bcrypt to make sure that old projects load correctly + # we don't even need to create a file to load this: the `require + # bcrypt` was already part of bcrypt-ruby requirements. + cat - <<EOF > "${T}/bcrypt-ruby.gemspec" +Gem::Specification.new do |s| + s.name = "bcrypt-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load bcrypt" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=bcrypt-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/bcrypt-ruby.gemspec" \ + ruby_fakegem_install_gemspec +} diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.13.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.13.ebuild new file mode 100644 index 000000000000..8ceae9e49179 --- /dev/null +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.13.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_NAME="bcrypt" + +inherit multilib ruby-fakegem + +DESCRIPTION="An easy way to keep your users' passwords secure" +HOMEPAGE="https://github.com/codahale/bcrypt-ruby" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~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="" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/git ls-files/d' bcrypt.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/mri extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/mri V=1 + cp ext/mri/*$(get_modname) lib/ || die +} + +each_ruby_install() { + each_fakegem_install + + # bcrypt was called bcrypt-ruby before, so add a spec file that + # simply loads bcrypt to make sure that old projects load correctly + # we don't even need to create a file to load this: the `require + # bcrypt` was already part of bcrypt-ruby requirements. + cat - <<EOF > "${T}/bcrypt-ruby.gemspec" +Gem::Specification.new do |s| + s.name = "bcrypt-ruby" + s.version = "${RUBY_FAKEGEM_VERSION}" + s.summary = "Fake gem to load bcrypt" + s.homepage = "${HOMEPAGE}" + s.specification_version = 3 + s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"]) +end +EOF + RUBY_FAKEGEM_NAME=bcrypt-ruby \ + RUBY_FAKEGEM_GEMSPEC="${T}/bcrypt-ruby.gemspec" \ + ruby_fakegem_install_gemspec +} diff --git a/dev-ruby/bcrypt-ruby/metadata.xml b/dev-ruby/bcrypt-ruby/metadata.xml new file mode 100644 index 000000000000..bdb11a781239 --- /dev/null +++ b/dev-ruby/bcrypt-ruby/metadata.xml @@ -0,0 +1,12 @@ +<?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">codahale/bcrypt-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bcrypt_pbkdf/Manifest b/dev-ruby/bcrypt_pbkdf/Manifest new file mode 100644 index 000000000000..c142f23b22df --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/Manifest @@ -0,0 +1,2 @@ +DIST bcrypt_pbkdf-1.0.0.gem 24576 BLAKE2B 0d5b1d90d57dbae986fcbb92cabb0ea598d6b928dc97026e8d2078f41898e0c143544a004a561c0a392504baa4b845a27f9c1e19c369f6342f7ace9de7f04d3f SHA512 b582407617633f5277cde9251ed1fd2ca408ae8bd19cc73f107d7932bed38061dc0099d3033ff5def1b586507392c33d8c50815fb156322f0dd08fbbe4a8e967 +DIST bcrypt_pbkdf-1.0.1.gem 24576 BLAKE2B 7ccade2b5eeabcdcffe5c53bf8ed2e4163536229b7ccd356e173c0b2a27c720aa5429ea0081d2a3e7e7cfc52613c32a48529233156b56db4bbd48da61bbd9cdf SHA512 7caf65dc48ec9d51dbde7741b0960e2606129f888787db31fe36f3cf103d51f06156e942badb10310faa8ca9dcf8f7f8dd86358431942a6e2097714ae3462dee diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild new file mode 100644 index 000000000000..9969222909a0 --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Implements bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF)" +HOMEPAGE="https://github.com/net-ssh/bcrypt_pbkdf-ruby" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rbnacl )" + +all_ruby_prepare() { + # Don't use a ruby-bundled version of libsodium + sed -i -e '/rbnacl\/libsodium/ s:^:#:' test/bcrypt_pnkdf/engine_test.rb || die + + # Avoid unneeded rake-compiler dependency + sed -i -e '/extensiontask/ s:^:#:' -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/mri extconf.rb || die + + # Some methods may not be inlined on x86 but they are not defined either, bug 629164 + sed -i -e 's:-Wl,--no-undefined::' ext/mri/Makefile || die +} + +each_ruby_compile() { + emake V=1 -Cext/mri + cp ext/mri/bcrypt_pbkdf_ext.so lib/ || die +} diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.1.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.1.ebuild new file mode 100644 index 000000000000..25f0fe94d727 --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Implements bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF)" +HOMEPAGE="https://github.com/net-ssh/bcrypt_pbkdf-ruby" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( virtual/ruby-ssl )" + +all_ruby_prepare() { + # Don't use a ruby-bundled version of libsodium + sed -i -e '/rbnacl\/libsodium/ s:^:#:' test/bcrypt_pnkdf/engine_test.rb || die + + # Avoid unneeded rake-compiler dependency + sed -e '/extensiontask/ s:^:#:' -e '/ExtensionTask/,/^end/ s:^:#:' \ + -e '/bundler/ s:^:#:' \ + -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/mri extconf.rb || die + + # Some methods may not be inlined on x86 but they are not defined either, bug 629164 + sed -i -e 's:-Wl,--no-undefined::' ext/mri/Makefile || die +} + +each_ruby_compile() { + emake V=1 -Cext/mri + cp ext/mri/bcrypt_pbkdf_ext.so lib/ || die +} diff --git a/dev-ruby/bcrypt_pbkdf/metadata.xml b/dev-ruby/bcrypt_pbkdf/metadata.xml new file mode 100644 index 000000000000..feb0edd49f26 --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/metadata.xml @@ -0,0 +1,12 @@ +<?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">net-ssh/bcrypt_pbkdf-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/best_in_place/Manifest b/dev-ruby/best_in_place/Manifest new file mode 100644 index 000000000000..96287f000a3d --- /dev/null +++ b/dev-ruby/best_in_place/Manifest @@ -0,0 +1 @@ +DIST best_in_place-3.1.1.gem 75264 BLAKE2B 9d37d42f44430bd4d51c3cbeff2a95a3ba9552bda1c9650c4abf2996cfa4bbe1a36b627dea61c7a0bf861b27f4e88f7c70f6859cc5bf12c705eaf1c184690fd3 SHA512 f6a26590769f8d6ab6b6bf9ef955e2c26b6116ab82ccaf3bc26cfae435cb0bc594facae6dcb052bafdaaeb5806f7091eb9ad21e51940030eadd437ae342f1d33 diff --git a/dev-ruby/best_in_place/best_in_place-3.1.1.ebuild b/dev-ruby/best_in_place/best_in_place-3.1.1.ebuild new file mode 100644 index 000000000000..ebeece79995a --- /dev/null +++ b/dev-ruby/best_in_place/best_in_place-3.1.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +# if ever needed +#GITHUB_USER="bernat" +#GITHUB_PROJECT="${PN}" +#RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" + +inherit virtualx ruby-fakegem + +DESCRIPTION="In-place editor helper for Rails 3" +HOMEPAGE="https://github.com/bernat/best_in_place" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/actionpack-3.2:* + >=dev-ruby/railties-3.2:* +" + +ruby_add_bdepend " + test? ( + dev-ruby/rdiscount + dev-ruby/rspec-rails:3 + >=dev-ruby/nokogiri-1.5.0 + >=dev-ruby/capybara-1.1.2 + >=dev-ruby/rails-3.2 + >=dev-ruby/sqlite3-1.3.4-r1 + dev-ruby/bundler + dev-ruby/combustion + dev-ruby/jquery-rails + dev-ruby/jquery-ui-rails + )" + +all_ruby_prepare() { + sed -i \ + -e '/git ls-files/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # Tweak Gemfile so we can use it to run specs but can avoid missing + # dependencies. Also use packaged versions of jquery and jquery-ui. + sed -i -e '/\(rails-assets\|appraisal\)/ s:^:#:' \ + -e '2agem "rspec", "~>3.0"' \ + -e '2agem "jquery-rails"' -e '2agem "jquery-ui-rails"' \ + -e '/byebug/ s:^:#:' \ + -e '/\(launchy\|poltergeist\)/d' \ + Gemfile + sed -i -e '/poltergeist/,/javascript_driver/ s:^:#:' spec/rails_helper.rb || die + + # Remove integration tests. They fail to run and depend on obsolete + # poltergeist/phantomjs. + rm -rf spec/integration || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} diff --git a/dev-ruby/best_in_place/metadata.xml b/dev-ruby/best_in_place/metadata.xml new file mode 100644 index 000000000000..5f13a7afd0e8 --- /dev/null +++ b/dev-ruby/best_in_place/metadata.xml @@ -0,0 +1,12 @@ +<?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">bernat/best_in_place</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bindata/Manifest b/dev-ruby/bindata/Manifest new file mode 100644 index 000000000000..08458c7f42a4 --- /dev/null +++ b/dev-ruby/bindata/Manifest @@ -0,0 +1,5 @@ +DIST bindata-2.4.1.gem 78848 BLAKE2B a497299aca02abe61c64fe946ef928ade75f58195bdafa1b5ac842c7dd272e0dd2e5da957b558492bb1dd1e47da7da1525c0d54f0e97e571c5db804e8b24ef7e SHA512 5bbbb38f7deb461c234801677baf30bf6d5300dd46f201ebcaef4cc4182354e1ed375fc1c341a13d6b3a1f579e25e4e53d8aeab0dd979a581131e2a984758243 +DIST bindata-2.4.4.gem 79872 BLAKE2B f22f8af6270cd7d790031d2ab53a80f2480ad687abd91803ce556495d1fe8f09e1c316ccfc5b35f2cf914e44e17121d3cc84baab19d51a5671b540429d6ff1f2 SHA512 c7af17ea3c7aec6360acfbe0b511700706daec24a4028c86eee441baaad39c259200ee66d33e6f73766c24ae9a8a3c00e5a0c140b4e12e0d526046cd81c6ce79 +DIST bindata-2.4.5.gem 79872 BLAKE2B e92abc567f7bf62aa49c72415c9e49e976cb72bb5e44bb45aecfa7771b03017b112504ca733fb0db79913e2b67966338fd1bb59d6c4472171352e5d2c6248998 SHA512 28b8985624620d62e426b9cae0c29cd487132297b1218bafa8f82701d2633ac4308188698adaafdafbde9ae009379447e2964b111e9230841b018903500877b5 +DIST bindata-2.4.6.gem 80384 BLAKE2B f8e5ee0ff0fa849b5f00fb456235f002ae2786af8fedef0b13105669808269a95a6125969d7ba07f8db04c8d7e43db4d93e81550144e8f23f8d31af5a2f9fc8f SHA512 8c8970abecdd83bf803b8793d36bc0425872fbfeef5db7a7175ea5f7c9e809185bd6b0cf0c7587028d907d74cbb1f9bc9728a49ea4659b7460104934b6a2ae2b +DIST bindata-2.4.7.gem 80384 BLAKE2B f65fe9132faebf645f905dfa749ec3e5dc958dc5523f2b60e9568fd6353323a405bd436b54788a2d98fe0f64ed7df8b4b5c00a0f8186d2e2c65572107219d83a SHA512 f5616a372c0f17ae3b1c89f5993954b565058d099ad0783dbaf49081b7847a26a3a2908c957ec6cd2518ffec85686cf3b19e76f96e5244faa6c83b2598f55364 diff --git a/dev-ruby/bindata/bindata-2.4.1.ebuild b/dev-ruby/bindata/bindata-2.4.1.ebuild new file mode 100644 index 000000000000..88c6970cf0a9 --- /dev/null +++ b/dev-ruby/bindata/bindata-2.4.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Parsing Binary Data in Ruby" +HOMEPAGE="https://github.com/dmendel/bindata" + +LICENSE="BSD-2" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/[Cc]overalls/d' test/test_helper.rb || die +} diff --git a/dev-ruby/bindata/bindata-2.4.4.ebuild b/dev-ruby/bindata/bindata-2.4.4.ebuild new file mode 100644 index 000000000000..e08c6e1a982d --- /dev/null +++ b/dev-ruby/bindata/bindata-2.4.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Parsing Binary Data in Ruby" +HOMEPAGE="https://github.com/dmendel/bindata" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/[Cc]overalls/d' test/test_helper.rb || die +} diff --git a/dev-ruby/bindata/bindata-2.4.5.ebuild b/dev-ruby/bindata/bindata-2.4.5.ebuild new file mode 100644 index 000000000000..37680de8635e --- /dev/null +++ b/dev-ruby/bindata/bindata-2.4.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-fakegem + +DESCRIPTION="Parsing Binary Data in Ruby" +HOMEPAGE="https://github.com/dmendel/bindata" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/[Cc]overalls/d' test/test_helper.rb || die +} diff --git a/dev-ruby/bindata/bindata-2.4.6.ebuild b/dev-ruby/bindata/bindata-2.4.6.ebuild new file mode 100644 index 000000000000..37680de8635e --- /dev/null +++ b/dev-ruby/bindata/bindata-2.4.6.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-fakegem + +DESCRIPTION="Parsing Binary Data in Ruby" +HOMEPAGE="https://github.com/dmendel/bindata" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/[Cc]overalls/d' test/test_helper.rb || die +} diff --git a/dev-ruby/bindata/bindata-2.4.7.ebuild b/dev-ruby/bindata/bindata-2.4.7.ebuild new file mode 100644 index 000000000000..37680de8635e --- /dev/null +++ b/dev-ruby/bindata/bindata-2.4.7.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-fakegem + +DESCRIPTION="Parsing Binary Data in Ruby" +HOMEPAGE="https://github.com/dmendel/bindata" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/[Cc]overalls/d' test/test_helper.rb || die +} diff --git a/dev-ruby/bindata/metadata.xml b/dev-ruby/bindata/metadata.xml new file mode 100644 index 000000000000..8ec8e60e4eab --- /dev/null +++ b/dev-ruby/bindata/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">dmendel/bindata</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bindex/Manifest b/dev-ruby/bindex/Manifest new file mode 100644 index 000000000000..015e99992e1f --- /dev/null +++ b/dev-ruby/bindex/Manifest @@ -0,0 +1,2 @@ +DIST bindex-0.7.0.gem 19456 BLAKE2B b9bbd6856e2e8c388aa02dbe6e93762cbb2011909ca62eb8d710e064c569f3f0454e352777434257920f33ce953195c48a368e337a672b63afd201c20597de16 SHA512 f991514979661cd7a03ece0aea368136ffcb8ed0b6d49ce11b3e1291d1dd3b653e78465b6433dc75b15cd320fb9839021937683828c8361b3cc1753377e3a757 +DIST bindex-0.8.1.gem 19968 BLAKE2B dccbee6954c530f64ac13e7ed0108fe81978327c216ad2e60b675eed92419494cd32ba0e09ff2fa5371f3fff61e05661bdf704644cce49310dc6ce10888cc4e5 SHA512 18729825e329c24e483f1e181315d373d5095c18918088d915a8307e2775e5d0163dae50440f5c58609bf32806fa567ece8bfbbd69a061a8c30e367605bc3444 diff --git a/dev-ruby/bindex/bindex-0.7.0.ebuild b/dev-ruby/bindex/bindex-0.7.0.ebuild new file mode 100644 index 000000000000..052f6d718210 --- /dev/null +++ b/dev-ruby/bindex/bindex-0.7.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Bindings for your Ruby exceptions" +HOMEPAGE="https://github.com/gsamokovarov/bindex" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/skiptrace extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/skiptrace + cp ext/skiptrace/cruby.so lib/skiptrace/ || die +} diff --git a/dev-ruby/bindex/bindex-0.8.1.ebuild b/dev-ruby/bindex/bindex-0.8.1.ebuild new file mode 100644 index 000000000000..01c48985a7ea --- /dev/null +++ b/dev-ruby/bindex/bindex-0.8.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Bindings for your Ruby exceptions" +HOMEPAGE="https://github.com/gsamokovarov/bindex" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -e '/bundler/I s:^:#:' \ + -e '/when/ s/ruby/rubyx/' \ + -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/skiptrace extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/skiptrace + cp ext/skiptrace/cruby.so lib/skiptrace/internal/ || die +} diff --git a/dev-ruby/bindex/metadata.xml b/dev-ruby/bindex/metadata.xml new file mode 100644 index 000000000000..b85da221bf7e --- /dev/null +++ b/dev-ruby/bindex/metadata.xml @@ -0,0 +1,12 @@ +<?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">gsamokovarov/bindex</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/binding_of_caller/Manifest b/dev-ruby/binding_of_caller/Manifest new file mode 100644 index 000000000000..66a1b369f1bc --- /dev/null +++ b/dev-ruby/binding_of_caller/Manifest @@ -0,0 +1 @@ +DIST binding_of_caller-0.8.0.gem 87552 BLAKE2B 9097fe2dbf1e5ea2361bee94cb83ce8152f7e1357caecf1217b1643be225e21e5aa793e7fccbef5c983d5c204b95e633ded490158dfdd1d4e99fca81c51cb910 SHA512 d6ea4e893415eaf3614b109f8f36c3fa2378da9997d013fccbd0fc1e598886d11f7843023ceed2468184d5b8df01e2329ef16c7af57bc60bbd47304a53b43974 diff --git a/dev-ruby/binding_of_caller/binding_of_caller-0.8.0.ebuild b/dev-ruby/binding_of_caller/binding_of_caller-0.8.0.ebuild new file mode 100644 index 000000000000..3f44e2cc1ec0 --- /dev/null +++ b/dev-ruby/binding_of_caller/binding_of_caller-0.8.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="HISTORY README.md" + +inherit ruby-fakegem + +DESCRIPTION="Retrieve the binding of a method's caller" +HOMEPAGE="https://github.com/banister/binding_of_caller" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/debug_inspector-0.0.1" + +ruby_add_bdepend "test? ( dev-ruby/bacon )" + +each_ruby_test() { + ${RUBY} -S bacon -Itest -rubygems -a -q || die +} diff --git a/dev-ruby/binding_of_caller/metadata.xml b/dev-ruby/binding_of_caller/metadata.xml new file mode 100644 index 000000000000..7a62e9a0f0dc --- /dev/null +++ b/dev-ruby/binding_of_caller/metadata.xml @@ -0,0 +1,12 @@ +<?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">banister/binding_of_caller</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bit-struct/Manifest b/dev-ruby/bit-struct/Manifest new file mode 100644 index 000000000000..9925f5f7c960 --- /dev/null +++ b/dev-ruby/bit-struct/Manifest @@ -0,0 +1 @@ +DIST bit-struct-0.16.gem 31232 BLAKE2B ed08c7054cab88ba0614863d706681601615b03e2dd3f19a4a1b8284dace17bf30e92ca9f1b0948c8c5e50424ab41b97f65cb65c804f771a207672b497c9df33 SHA512 8c31592d53daea5f283f8309a52c22c96c519d51c4e3c1657b36e83b802899aafe95eab9b88d9ec692e84207fc6bc952a1f1ff1354fc2b99fc327d58934bec8d diff --git a/dev-ruby/bit-struct/bit-struct-0.16.ebuild b/dev-ruby/bit-struct/bit-struct-0.16.ebuild new file mode 100644 index 000000000000..f98f7640f492 --- /dev/null +++ b/dev-ruby/bit-struct/bit-struct-0.16.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Library for packed binary data stored in ruby Strings" +HOMEPAGE="https://github.com/vjoel/bit-struct" + +LICENSE="Ruby-BSD" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" diff --git a/dev-ruby/bit-struct/metadata.xml b/dev-ruby/bit-struct/metadata.xml new file mode 100644 index 000000000000..c5f3c09fde48 --- /dev/null +++ b/dev-ruby/bit-struct/metadata.xml @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">vjoel/bit-struct</remote-id> + <remote-id type="rubygems">bit-struct</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/blankslate/Manifest b/dev-ruby/blankslate/Manifest new file mode 100644 index 000000000000..2a5847d89ab2 --- /dev/null +++ b/dev-ruby/blankslate/Manifest @@ -0,0 +1 @@ +DIST blankslate-3.1.3.gem 8192 BLAKE2B ff5494661e875290a354089efbd79ba8f7af50ff261d56f99201c9a11162fe7d61c0089c0c9e4839523a7f95e3a2cf8e79cbd5db14be3530f1a86ac696deaa42 SHA512 4164c2e9ecb6a294fbd0d25f70bae36ee9277da3a75aae6c99d37147f8111c40a6cfb85ddc3819e45c361c49fd9c3fc724ecea201763f7f9891b96589226f245 diff --git a/dev-ruby/blankslate/blankslate-3.1.3.ebuild b/dev-ruby/blankslate/blankslate-3.1.3.ebuild new file mode 100644 index 000000000000..485ed1ee4f7f --- /dev/null +++ b/dev-ruby/blankslate/blankslate-3.1.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="README" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Base class with almost all of the methods from Object and Kernel being removed" +HOMEPAGE="https://rubygems.org/gems/blankslate" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" + +all_ruby_prepare() { + # Avoid test failing with rspec 2.x. + sed -i -e '/cleanliness/,/^ end/ s:^:#:' spec/blankslate_spec.rb || die +} diff --git a/dev-ruby/blankslate/metadata.xml b/dev-ruby/blankslate/metadata.xml new file mode 100644 index 000000000000..319d11577f2f --- /dev/null +++ b/dev-ruby/blankslate/metadata.xml @@ -0,0 +1,12 @@ +<?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="rubygems">blankslate</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/blinkstick/Manifest b/dev-ruby/blinkstick/Manifest new file mode 100644 index 000000000000..1baf45617c96 --- /dev/null +++ b/dev-ruby/blinkstick/Manifest @@ -0,0 +1 @@ +DIST blinkstick-1.0.1_p20150901.tar.gz 4216 BLAKE2B 970aea7dce0f5cd476a88302d02bfeef56e6614fea44c7948be7997c322bfa4859f3caf664d86e91693cdeaa0827c1144f5a6437ec3f285628d866b28d55a456 SHA512 6a1958226d3629fec0f3f4a6b29c822206a6f9d60e0b78502cd51f855b9f3f071b84a0e960b0e1a7eb4ef0847743f84bb21830dc973b1af24c21a30123f2f19e diff --git a/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild new file mode 100644 index 000000000000..c31e21734f2a --- /dev/null +++ b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_VERSION="1.0.1.1" + +COMMIT="89e3f621132c2571d5f7c636b3962ff1b0a64564" + +inherit ruby-fakegem + +DESCRIPTION="ruby interface for blinkstick via libusb" +HOMEPAGE="https://github.com/arvydas/blinkstick-ruby" +SRC_URI="https://github.com/arvydas/blinkstick-ruby/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +ruby_add_rdepend " + >=dev-ruby/color-1.4.2 + >=dev-ruby/libusb-0.4.0 +" + +all_ruby_install() { + if use examples; then + insinto /usr/share/${PN} + doins example-*.rb + fi + all_fakegem_install +} + +each_ruby_install() { + mkdir -p lib/${PN} + mv ${PN}.rb lib + cat <<EOF >> lib/${PN}/version.rb +class BlinkStick + VERSION = "1.0.1.1" +end + +EOF + each_fakegem_install +} diff --git a/dev-ruby/blinkstick/metadata.xml b/dev-ruby/blinkstick/metadata.xml new file mode 100644 index 000000000000..407beb92dd3c --- /dev/null +++ b/dev-ruby/blinkstick/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">arvydas/blinkstick-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bluecloth/Manifest b/dev-ruby/bluecloth/Manifest new file mode 100644 index 000000000000..cf6164c81023 --- /dev/null +++ b/dev-ruby/bluecloth/Manifest @@ -0,0 +1 @@ +DIST bluecloth-2.2.0.gem 94208 BLAKE2B e2fd3eaeebbbe365ebe076c3027ba1528c11e036eada18c9b6aecc2f0b1f389aa23c4072fbeba6ac2d86831943e3d6710308ad9d26d7c29a9ab571a7b5c52b98 SHA512 498ffc9eddd47ded1df5c60e8ae8647de1e0376c7787c42dad2450c15a237b01a734bd0a2742c56cb59831cddc5b35c88e954abc0a087fc803ce4890c07c2852 diff --git a/dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild b/dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild new file mode 100644 index 000000000000..e7786dae6c21 --- /dev/null +++ b/dev-ruby/bluecloth/bluecloth-2.2.0-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit multilib ruby-fakegem eutils + +DESCRIPTION="A Ruby implementation of Markdown" +HOMEPAGE="http://www.deveiate.org/projects/BlueCloth" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +DEPEND+=" doc? ( dev-lang/perl )" + +ruby_add_bdepend " + test? ( + dev-ruby/diff-lcs + dev-ruby/tidy-ext + )" + +all_ruby_prepare() { + # for Ruby 1.9.2 and 2.2.x compatibility + sed -i -e '1i $: << "."' \ + -e 's/Config/RbConfig/' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +all_ruby_compile() { + pod2man --center --release --name bluecloth --utf8 bluecloth.1.pod bluecloth.1 || die + + all_fakegem_compile +} + +each_ruby_compile() { + emake -Cext + cp ext/bluecloth_ext$(get_modname) lib/ || die +} + +all_ruby_install() { + doman man/man1/bluecloth.1 + + all_fakegem_install +} diff --git a/dev-ruby/bluecloth/metadata.xml b/dev-ruby/bluecloth/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/bluecloth/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bogus/Manifest b/dev-ruby/bogus/Manifest new file mode 100644 index 000000000000..5aa181efaa0e --- /dev/null +++ b/dev-ruby/bogus/Manifest @@ -0,0 +1 @@ +DIST bogus-0.1.6.gem 56320 BLAKE2B 1c314e3ca9aa270162e4deba87912901c3291f9765de2dfb8f50f43dde47bd8794ca64c2e1ea55a752afb3d1997161e08adee27638d952c035212e47896ab493 SHA512 c65a8b8c6f19c6ef07c4330035e05abc47a63176ec1899e0d9cf611d5a195e0e2fe53b25110e0d2fe5e61c3d3325b79b71c7b42870cb4bfedb25d459f6f90e25 diff --git a/dev-ruby/bogus/bogus-0.1.6.ebuild b/dev-ruby/bogus/bogus-0.1.6.ebuild new file mode 100644 index 000000000000..564805487b96 --- /dev/null +++ b/dev-ruby/bogus/bogus-0.1.6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ensuring that the things you stub or mock actually exist" +HOMEPAGE="https://github.com/psyho/bogus" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/dependor-0.0.4" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' \ + -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die + + # Avoid dependency on unpackaged nulldb + rm -f spec/bogus/fakes/fake_ar_attributes_spec.rb || die +} diff --git a/dev-ruby/bogus/metadata.xml b/dev-ruby/bogus/metadata.xml new file mode 100644 index 000000000000..aefad2c8fba2 --- /dev/null +++ b/dev-ruby/bogus/metadata.xml @@ -0,0 +1,12 @@ +<?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">psyho/bogus</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bourne/Manifest b/dev-ruby/bourne/Manifest new file mode 100644 index 000000000000..f4976cd1d4ac --- /dev/null +++ b/dev-ruby/bourne/Manifest @@ -0,0 +1 @@ +DIST bourne-1.6.0.gem 15872 BLAKE2B 0167dada4ef99bdb184cea9368d225ce80a34cf57c7c619507f1b219e6f8b814ed68672b147227694b47eefa8d0d9a74cf343f003945697cbc6390a614b254ca SHA512 85bdc52b7e86bc86882ac3d815088da1ea882f828613079075a90b3a40cc41ac87bc503b36ee4ee5812374eb1cd83602832b15f2aaf0e01ea54244cc14bf71ac diff --git a/dev-ruby/bourne/bourne-1.6.0.ebuild b/dev-ruby/bourne/bourne-1.6.0.ebuild new file mode 100644 index 000000000000..51ad07639436 --- /dev/null +++ b/dev-ruby/bourne/bourne-1.6.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_TEST="MOCHA_OPTIONS=use_test_unit_gem test:units test:acceptance" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Extends mocha to allow tracking and querying of stub and mock invocations" +HOMEPAGE="https://github.com/thoughtbot/bourne" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/mocha-1.5.0:1.0" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' "${RUBY_FAKEGEM_GEMSPEC}" || die + sed -i -e '/bundler/d' Rakefile || die + + # Fix tests to work with mocha 1.5.0 or newer where reset_instance is gone + sed -i -e '/reset_instance/ s:^:#:' test/unit/*received_test.rb || die + sed -i -e 's/Mockery.reset_instance/mocha_teardown/' test/unit/mockery_test.rb || die +} diff --git a/dev-ruby/bourne/metadata.xml b/dev-ruby/bourne/metadata.xml new file mode 100644 index 000000000000..e3428bdb0b47 --- /dev/null +++ b/dev-ruby/bourne/metadata.xml @@ -0,0 +1,12 @@ +<?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">thoughtbot/bourne</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/brass/Manifest b/dev-ruby/brass/Manifest new file mode 100644 index 000000000000..ffa81bbb242b --- /dev/null +++ b/dev-ruby/brass/Manifest @@ -0,0 +1 @@ +DIST brass-1.2.1.gem 8704 BLAKE2B 4a0af72ad5ea91fb9c59fdad83745b92c712a858cc4d0ea1b1c0066174cbd40e0e3e1f2ce88be7032d78299a4832be99eb54759cf5e722526543bcec231efdec SHA512 8afb72d3123ca0d582adf11d4c7d86f1ee3b9e9b7cf1544fd4bd2d87891748b5ec5d88d2721763dfdc89cdea3fa1b94bf62e884c4b108d60dcca430f5a03bedd diff --git a/dev-ruby/brass/brass-1.2.1.ebuild b/dev-ruby/brass/brass-1.2.1.ebuild new file mode 100644 index 000000000000..64fee889cdb9 --- /dev/null +++ b/dev-ruby/brass/brass-1.2.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="BRASS is a very basic assertions framework for Ruby" +HOMEPAGE="https://rubyworks.github.io/brass/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" diff --git a/dev-ruby/brass/metadata.xml b/dev-ruby/brass/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/brass/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/brotli/Manifest b/dev-ruby/brotli/Manifest new file mode 100644 index 000000000000..98e45ea64d1c --- /dev/null +++ b/dev-ruby/brotli/Manifest @@ -0,0 +1 @@ +DIST brotli-0.2.3.tar.gz 63304 BLAKE2B 96321a480e855ae7e77b93c06fd09153611a8a273ba66a8952093f844f6ccfa908d4bcabfd4dde084813f7f3961e8843208ed71f78e91f924bfe7e2ddece3628 SHA512 7d057d0055836c79744b802bb2401630375cc924035e9a45069c54e5df32711b9aa25234f4743aea729526028b804c518f36112ab721a6761b55311d07a8b79e diff --git a/dev-ruby/brotli/brotli-0.2.3.ebuild b/dev-ruby/brotli/brotli-0.2.3.ebuild new file mode 100644 index 000000000000..fab2f12fe16f --- /dev/null +++ b/dev-ruby/brotli/brotli-0.2.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="brotli.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Brotli compressor/decompressor" +HOMEPAGE="https://github.com/miyucy/brotli" +SRC_URI="https://github.com/miyucy/brotli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND+=" >=app-arch/brotli-1.0.7" +DEPEND+=" >=app-arch/brotli-1.0.7" + +# Depends on the test data in app-arch/brotli +RESTRICT="test" + +each_ruby_configure() { + ${RUBY} -Cext/brotli extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/brotli + mv ext/brotli/brotli.so lib/brotli/ || die +} diff --git a/dev-ruby/brotli/metadata.xml b/dev-ruby/brotli/metadata.xml new file mode 100644 index 000000000000..697be83f98c6 --- /dev/null +++ b/dev-ruby/brotli/metadata.xml @@ -0,0 +1,12 @@ +<?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">miyucy/brotli</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bsearch/Manifest b/dev-ruby/bsearch/Manifest new file mode 100644 index 000000000000..6feb847103a1 --- /dev/null +++ b/dev-ruby/bsearch/Manifest @@ -0,0 +1 @@ +DIST bsearch-1.5.0.gem 27648 BLAKE2B 6b57cfbdfbb56df9c1c8374fccc59746241a7571aa7328519ef2f5c85e13e0cf8f54c90cb55deef2b08a902c9123c63d0b299ca7026ccde9b02aad02d4411181 SHA512 6246921be42e15ac35cf862833e156a01a0de9e0d2bff53af8eaadb3e7a512b7ab1e9dbef5b05282b82b26e589e45ecb6e31567b382dfc6eb62757e658cdc660 diff --git a/dev-ruby/bsearch/bsearch-1.5.0-r2.ebuild b/dev-ruby/bsearch/bsearch-1.5.0-r2.ebuild new file mode 100644 index 000000000000..56f5dc553ca8 --- /dev/null +++ b/dev-ruby/bsearch/bsearch-1.5.0-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="doc/*" + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-fakegem +DESCRIPTION="A binary search library for Ruby" +HOMEPAGE="http://0xcc.net/ruby-bsearch/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +all_ruby_prepare() { + sed -i 's/ruby/\$\{RUBY\}/' test/test.sh || die +} + +each_ruby_test() { + pushd test + RUBY=${RUBY} sh test.sh || die + popd +} diff --git a/dev-ruby/bsearch/metadata.xml b/dev-ruby/bsearch/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/bsearch/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest new file mode 100644 index 000000000000..fce05131faa8 --- /dev/null +++ b/dev-ruby/bson/Manifest @@ -0,0 +1,3 @@ +DIST bson-4.7.1.tar.gz 120690 BLAKE2B fbb6eeca2b339eaa80503294cefd1c97abb9f992ce1068bbf64a6ffa9239fabb6df4c982c90ab3522362c5bbe55bbaf479023a2f5f2e24ffb86a1dd8fae80db3 SHA512 75026ab81abf5f629200b008a3a8da38a594751c43335eb0c8e29bc94848d2dfce9479419de136b8176dde5d2cc9e66ceb5a7d2b52cfacdb1813a1c63871fa95 +DIST bson-4.8.2.tar.gz 153029 BLAKE2B bc058d06afecdfcaa029e525f8122bd4e647a432934cd2b7594721920e9f0b1d727a48fcf44ec14d2206a699ea6c24c872b46e821548a99ea66f9c7ce0600d98 SHA512 48b4fc7278cb8e0623acf42241ca3169a98f3a7f754c8af8f94b9046540843d22acafe18db4ba804636f3356dfe79d6c6843004ee980c327726851c28315776d +DIST bson-4.9.2.tar.gz 155910 BLAKE2B 6c2b8356803f2b6975d5ea84ebf59815cb101eb0394c9fedc34d9e9405f20bc4d4691eb9e5167dfdc7cebad95121e752473d6f244ba4ead8d0c454e4f4f694e1 SHA512 d2619eb18e19b3686ad1c14ebbaebd6a08c8b87295c16091472d7a90e680530c146e95df77efb07a2d8248ebf8eefc0f3afdde38bbd8a814ca26fce2ab470baf diff --git a/dev-ruby/bson/bson-4.7.1.ebuild b/dev-ruby/bson/bson-4.7.1.ebuild new file mode 100644 index 000000000000..5e6f5007077a --- /dev/null +++ b/dev-ruby/bson/bson-4.7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="mongodb" +GITHUB_PROJECT="bson-ruby" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" +HOMEPAGE="https://www.mongodb.org/" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="bson-ruby-${PV}" + +LICENSE="APSL-2" +SLOT="4" +KEYWORDS="~amd64" +IUSE="test doc" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove project-specific rspec options + rm .rspec || die +} + +each_ruby_configure() { + ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/bson/*$(get_modname) lib/ || die +} diff --git a/dev-ruby/bson/bson-4.8.2.ebuild b/dev-ruby/bson/bson-4.8.2.ebuild new file mode 100644 index 000000000000..5e6f5007077a --- /dev/null +++ b/dev-ruby/bson/bson-4.8.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="mongodb" +GITHUB_PROJECT="bson-ruby" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" +HOMEPAGE="https://www.mongodb.org/" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="bson-ruby-${PV}" + +LICENSE="APSL-2" +SLOT="4" +KEYWORDS="~amd64" +IUSE="test doc" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove project-specific rspec options + rm .rspec || die +} + +each_ruby_configure() { + ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/bson/*$(get_modname) lib/ || die +} diff --git a/dev-ruby/bson/bson-4.9.2.ebuild b/dev-ruby/bson/bson-4.9.2.ebuild new file mode 100644 index 000000000000..5e6f5007077a --- /dev/null +++ b/dev-ruby/bson/bson-4.9.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="mongodb" +GITHUB_PROJECT="bson-ruby" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" +HOMEPAGE="https://www.mongodb.org/" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="bson-ruby-${PV}" + +LICENSE="APSL-2" +SLOT="4" +KEYWORDS="~amd64" +IUSE="test doc" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove project-specific rspec options + rm .rspec || die +} + +each_ruby_configure() { + ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/bson/*$(get_modname) lib/ || die +} diff --git a/dev-ruby/bson/metadata.xml b/dev-ruby/bson/metadata.xml new file mode 100644 index 000000000000..58d9165c4a26 --- /dev/null +++ b/dev-ruby/bson/metadata.xml @@ -0,0 +1,12 @@ +<?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">mongodb/bson-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/buftok/Manifest b/dev-ruby/buftok/Manifest new file mode 100644 index 000000000000..e3115652dc91 --- /dev/null +++ b/dev-ruby/buftok/Manifest @@ -0,0 +1 @@ +DIST buftok-0.2.0.gem 8192 BLAKE2B 673a14423e6a5b3fedf078f320116c9470b49e26aa7c4ef1bda47856a4befb7653d6b62bbf621ef8614885f64fcf078d9b2e24037c663a22b350ad44dac68070 SHA512 2be11c56b49254f16cadfd8abc7c414a16a54b32ec416402a4c87be72c2ce9c524aaa17ede9bb3535555191f2a7b1d7d863199db5b4af8874880bcd16d3c3b45 diff --git a/dev-ruby/buftok/buftok-0.2.0-r1.ebuild b/dev-ruby/buftok/buftok-0.2.0-r1.ebuild new file mode 100644 index 000000000000..3075f821de5d --- /dev/null +++ b/dev-ruby/buftok/buftok-0.2.0-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="Statefully split input data by a specifiable token" +HOMEPAGE="https://github.com/sferik/buftok" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die +} diff --git a/dev-ruby/buftok/metadata.xml b/dev-ruby/buftok/metadata.xml new file mode 100644 index 000000000000..119a393b7609 --- /dev/null +++ b/dev-ruby/buftok/metadata.xml @@ -0,0 +1,12 @@ +<?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">sferik/buftok</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/builder/Manifest b/dev-ruby/builder/Manifest new file mode 100644 index 000000000000..a5134c3508f5 --- /dev/null +++ b/dev-ruby/builder/Manifest @@ -0,0 +1,2 @@ +DIST builder-3.2.3.gem 31744 BLAKE2B be970ffd29f146faea5e7a9d76fedb513ce9bde3ed21ed7a44fe7d4a81e3836cecbf62f3f4c19f0b1e333f607b8978d9c707f4af76613592e966cda7e537bd1c SHA512 7869f44bcf40d547846d50ab82234694420b2f38e08037ae671c90a7c3b547f11023f864e70adf82970fdddf7ee811730c17e30ec298bb6d1999f4c0c050fbb8 +DIST builder-3.2.4.gem 32256 BLAKE2B a2768fe25023631d134f062d8e7ff2aa25f6b4db0358bdc0d4baebb33d93673fca66049b8b9c42382bad3494f6e03cefdedc72d71958dff63d43eb7a2a187c75 SHA512 730317ec0a4af33e183283e309e38d47deb08db0ab6bd6dfebdedcebb7470bd383c6c1d32ad674adc43298e0f86930b97c652fff9827ca8890db2d1d68e792f1 diff --git a/dev-ruby/builder/builder-3.2.3.ebuild b/dev-ruby/builder/builder-3.2.3.ebuild new file mode 100644 index 000000000000..e180e3539c04 --- /dev/null +++ b/dev-ruby/builder/builder-3.2.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGES" + +inherit versionator ruby-fakegem + +DESCRIPTION="A builder to facilitate programatic generation of XML markup" +HOMEPAGE="http://onestepback.org/" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + sed -i \ + -e '/rdoc\.template .*jamis/d' \ + Rakefile || die + + rm rakelib/* || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/builder/builder-3.2.4.ebuild b/dev-ruby/builder/builder-3.2.4.ebuild new file mode 100644 index 000000000000..85f7ebba0940 --- /dev/null +++ b/dev-ruby/builder/builder-3.2.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGES" + +inherit ruby-fakegem + +DESCRIPTION="A builder to facilitate programatic generation of XML markup" +HOMEPAGE="http://onestepback.org/" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i \ + -e '/rdoc\.template .*jamis/d' \ + Rakefile || die + + rm rakelib/* || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/builder/metadata.xml b/dev-ruby/builder/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/builder/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bundler-audit/Manifest b/dev-ruby/bundler-audit/Manifest new file mode 100644 index 000000000000..7b5fc311bc4e --- /dev/null +++ b/dev-ruby/bundler-audit/Manifest @@ -0,0 +1,3 @@ +DIST bundler-audit-0.6.1.gem 108032 BLAKE2B 84a3600e64846ced023af7cd922508f5f81f0bac64b3c9f1c360d0202adabfb3aaa3e8a7d5900a70bcbeec09424274c716bcc63707eb14d0052758f81fc5399e SHA512 b4b1c981070d55f1c7d7353a401f0efb9696544a522052fdae5b6abcf20a3facefc6f118eb0fd53ef859f1db5d84ab7dc5fe056b5d7cf1d458186294af1558b0 +DIST bundler-audit-0.7.0.1.gem 162816 BLAKE2B 2e068531d8edf542ce7bd1d362ac36290c90e87d12a5e861ce269575e7a10f9e8399c256be5f0f9dba145f1c3bdd6e0dfdb78826d4c45f79ae8a280631450564 SHA512 49d0262a03db03eeab95730550c9554453849bb58fcb1d883c85ca021a181b44e7983f21f83d0b14f857d57ea08bfa13b470cd93bcb3695cac31f366a78d8c1a +DIST bundler-audit-0.7.0.gem 33280 BLAKE2B eb0eab79f7cf62d6eb886f2d1cb91650bb2e7c39f3a98a035b7bf2168297c67d51a9f5a21fb7882d12679fd626ec71fbdfc1c2fbbb4ec4425313dc772eda1fa0 SHA512 cea9397c180555dbcbf01011fdd499ab178f12e6b6caf4d43be4500624850680ecf23a18a4691881217efb984bd59b18215fd8ccc48f75ccbe20f0263f2ffcc7 diff --git a/dev-ruby/bundler-audit/bundler-audit-0.6.1.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.6.1.ebuild new file mode 100644 index 000000000000..12400e481ca1 --- /dev/null +++ b/dev-ruby/bundler-audit/bundler-audit-0.6.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Provides patch-level verification for Bundled apps" +HOMEPAGE="https://github.com/rubysec/bundler-audit" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +#tests are trying to download AND have some odd failures +#rspec ./spec/database_spec.rb:113 # Bundler::Audit::Database#size should eq 323 +#rspec ./spec/database_spec.rb:117 # Bundler::Audit::Database#advisories should return a list of all advisories. +RESTRICT=test + +ruby_add_rdepend " + >=dev-ruby/thor-0.18:0 + >=dev-ruby/bundler-1.2:0 +" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + + # Avoid specs that require network access via 'bundle install' + rm spec/{integration,scanner}_spec.rb || die + + # Avoid specs that only work when the source is a git repository + sed -i -e '/describe "path"/,/^ end/ s:^:#:' \ + -e '/describe "update!"/,/^ end/ s:^:#:' \ + spec/database_spec.rb || die +} diff --git a/dev-ruby/bundler-audit/bundler-audit-0.7.0.1.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.7.0.1.ebuild new file mode 100644 index 000000000000..8f28270125c0 --- /dev/null +++ b/dev-ruby/bundler-audit/bundler-audit-0.7.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Provides patch-level verification for Bundled apps" +HOMEPAGE="https://github.com/rubysec/bundler-audit" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +#tests are trying to download AND have some odd failures +#rspec ./spec/database_spec.rb:113 # Bundler::Audit::Database#size should eq 323 +#rspec ./spec/database_spec.rb:117 # Bundler::Audit::Database#advisories should return a list of all advisories. +RESTRICT=test + +ruby_add_rdepend " + >=dev-ruby/thor-0.18:0 + || ( dev-ruby/bundler:2 >=dev-ruby/bundler-1.2:0 ) +" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + + # Avoid specs that require network access via 'bundle install' + rm spec/{integration,scanner}_spec.rb || die + + # Avoid specs that only work when the source is a git repository + sed -i -e '/describe "path"/,/^ end/ s:^:#:' \ + -e '/describe "update!"/,/^ end/ s:^:#:' \ + spec/database_spec.rb || die +} diff --git a/dev-ruby/bundler-audit/bundler-audit-0.7.0.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.7.0.ebuild new file mode 100644 index 000000000000..8f28270125c0 --- /dev/null +++ b/dev-ruby/bundler-audit/bundler-audit-0.7.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Provides patch-level verification for Bundled apps" +HOMEPAGE="https://github.com/rubysec/bundler-audit" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +#tests are trying to download AND have some odd failures +#rspec ./spec/database_spec.rb:113 # Bundler::Audit::Database#size should eq 323 +#rspec ./spec/database_spec.rb:117 # Bundler::Audit::Database#advisories should return a list of all advisories. +RESTRICT=test + +ruby_add_rdepend " + >=dev-ruby/thor-0.18:0 + || ( dev-ruby/bundler:2 >=dev-ruby/bundler-1.2:0 ) +" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + + # Avoid specs that require network access via 'bundle install' + rm spec/{integration,scanner}_spec.rb || die + + # Avoid specs that only work when the source is a git repository + sed -i -e '/describe "path"/,/^ end/ s:^:#:' \ + -e '/describe "update!"/,/^ end/ s:^:#:' \ + spec/database_spec.rb || die +} diff --git a/dev-ruby/bundler-audit/metadata.xml b/dev-ruby/bundler-audit/metadata.xml new file mode 100644 index 000000000000..8ca240d938fa --- /dev/null +++ b/dev-ruby/bundler-audit/metadata.xml @@ -0,0 +1,12 @@ +<?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">rubysec/bundler-audit</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bundler/Manifest b/dev-ruby/bundler/Manifest new file mode 100644 index 000000000000..eff22cb143be --- /dev/null +++ b/dev-ruby/bundler/Manifest @@ -0,0 +1,4 @@ +DIST bundler-1.17.3.gem 364032 BLAKE2B 81e097156a593e4ec85a2353aa6c62143d9aad120c22c5f76423c6c5f4e4d33206c8ef41c64e54ea53eb610a0d865beba19d3c033e8f65913564963319bb523f SHA512 658de4228bc12fa5ca6ce335f76fff773f64da9f3d12f5097b4fd28d4c4f4d2a5bf12dce761b3d95432c5ea6a5aafae895df87c26660a4567db8b682aff48c02 +DIST bundler-2.1.2.gem 396800 BLAKE2B 20540af4873f968412ddec542379a97b200d86a66b5e69ff9f2f57140063e49dd2ee52ed03e2fbaa1a8da8a3e12d0d4d2e3468031afdaee09a6aeed9910aeb60 SHA512 2a3b42fa2c6f40998c900eaf9d81d6417970f3daa572e4f1c5cc954fd8ce1e3cacbda0dc9b77d44b2fa756cfb1e72838ef3edee1812881198bbe8c946017e22b +DIST bundler-2.1.3.gem 396800 BLAKE2B 27fdf7b3b823a66d2e8a7671f0c8fb03831f78e7623b44340c8d2b8064fb7e197308bc04dc65d4ce9dfabf26e565e51187dd89c82283ef41e614000a0c045fe3 SHA512 39ffce683d85b1afcbbdff81fe66784b94ea8c3be590208f4b8645959d69c9d936564eaad239234c4b461550c9fae411e497d6c26a614f63be442466992a5161 +DIST bundler-2.1.4.gem 396800 BLAKE2B f770bd63255df09a20160369dc64e8923e996fb5ea4c11ee763d9a88e5fba142277ccd677861e3c0494b99a36261d5e7bdfb9c40c2abb76322061542f95b8505 SHA512 6c870061a78e17d97a9219433c7ef8fbf1112de17d0e0f3d8b6db1a518318528e3803184278412aabe65008e93f451ffa59465062856918ef488f9438399eff6 diff --git a/dev-ruby/bundler/bundler-1.17.3-r1.ebuild b/dev-ruby/bundler/bundler-1.17.3-r1.ebuild new file mode 100644 index 000000000000..90009dfb0a5d --- /dev/null +++ b/dev-ruby/bundler/bundler-1.17.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# The specs require a number of gems to be installed in a temporary +# directory, but this requires network access. They also don't work +# when run with a path that contains "-". +RUBY_FAKEGEM_RECIPE_TEST="none" + +# No documentation task +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_EXTRAINSTALL="man" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to vendor gem dependencies" +HOMEPAGE="https://github.com/carlhuda/bundler" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+doc test" + +ruby_add_rdepend virtual/rubygems + +RDEPEND+=" dev-vcs/git" diff --git a/dev-ruby/bundler/bundler-1.17.3.ebuild b/dev-ruby/bundler/bundler-1.17.3.ebuild new file mode 100644 index 000000000000..cd28ebf5f14b --- /dev/null +++ b/dev-ruby/bundler/bundler-1.17.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# The specs require a number of gems to be installed in a temporary +# directory, but this requires network access. They also don't work +# when run with a path that contains "-". +RUBY_FAKEGEM_RECIPE_TEST="none" + +# No documentation task +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_EXTRAINSTALL="man" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to vendor gem dependencies" +HOMEPAGE="https://github.com/carlhuda/bundler" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+doc test" + +ruby_add_rdepend virtual/rubygems + +RDEPEND+=" dev-vcs/git" diff --git a/dev-ruby/bundler/bundler-2.1.2.ebuild b/dev-ruby/bundler/bundler-2.1.2.ebuild new file mode 100644 index 000000000000..c3254bf679d5 --- /dev/null +++ b/dev-ruby/bundler/bundler-2.1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# The specs require a number of gems to be installed in a temporary +# directory, but this requires network access. They also don't work +# when run with a path that contains "-". +RUBY_FAKEGEM_RECIPE_TEST="none" + +# No documentation task +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_EXTRAINSTALL="man" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to vendor gem dependencies" +HOMEPAGE="https://github.com/carlhuda/bundler" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+doc test" + +ruby_add_rdepend virtual/rubygems + +RDEPEND+=" dev-vcs/git !!<dev-ruby/bundler-1.17.3-r1:0" diff --git a/dev-ruby/bundler/bundler-2.1.3.ebuild b/dev-ruby/bundler/bundler-2.1.3.ebuild new file mode 100644 index 000000000000..ca8998020469 --- /dev/null +++ b/dev-ruby/bundler/bundler-2.1.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# The specs require a number of gems to be installed in a temporary +# directory, but this requires network access. They also don't work +# when run with a path that contains "-". +RUBY_FAKEGEM_RECIPE_TEST="none" + +# No documentation task +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_EXTRAINSTALL="man" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to vendor gem dependencies" +HOMEPAGE="https://github.com/carlhuda/bundler" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+doc test" + +ruby_add_rdepend virtual/rubygems + +RDEPEND+=" dev-vcs/git !!<dev-ruby/bundler-1.17.3-r1:0" diff --git a/dev-ruby/bundler/bundler-2.1.4.ebuild b/dev-ruby/bundler/bundler-2.1.4.ebuild new file mode 100644 index 000000000000..ca8998020469 --- /dev/null +++ b/dev-ruby/bundler/bundler-2.1.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# The specs require a number of gems to be installed in a temporary +# directory, but this requires network access. They also don't work +# when run with a path that contains "-". +RUBY_FAKEGEM_RECIPE_TEST="none" + +# No documentation task +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_EXTRAINSTALL="man" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to vendor gem dependencies" +HOMEPAGE="https://github.com/carlhuda/bundler" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+doc test" + +ruby_add_rdepend virtual/rubygems + +RDEPEND+=" dev-vcs/git !!<dev-ruby/bundler-1.17.3-r1:0" diff --git a/dev-ruby/bundler/metadata.xml b/dev-ruby/bundler/metadata.xml new file mode 100644 index 000000000000..918404e3f997 --- /dev/null +++ b/dev-ruby/bundler/metadata.xml @@ -0,0 +1,12 @@ +<?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">carlhuda/bundler</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/bunny/Manifest b/dev-ruby/bunny/Manifest new file mode 100644 index 000000000000..be2dcaa48b61 --- /dev/null +++ b/dev-ruby/bunny/Manifest @@ -0,0 +1,5 @@ +DIST bunny-2.13.0.gem 204800 BLAKE2B d79c52efee5853f9f5c851144d3ec329c681840d030c140109ebde5b1a400526dd5624700d289158349e655b0d4308c9732696d12fcc01cad98fa729af6cac6d SHA512 38291751c6a064179f4c07e36aed751f2656ae110c89de6e006c015aea0b62ac8b7533a7b86e9933ccb779a32381e3bca6b8e21a08bc5494610ef1d58d327d2a +DIST bunny-2.14.2.gem 206336 BLAKE2B 46bf0b7be7ac8973bdfc5f8368b09a5e86c175193e0e2673034ddb08aed23c63a05c4a2b634833217e14799f97d64ce79b3a1c980cb42401e253ca91e7f569e7 SHA512 26bd5624a342a81d66d6c052c51afc7668b1974fe8209025ddf21ae7624d86570279dd416361c327a8bf1ffee378bab1bf11066ccabb3b953aca9b29939bb6f4 +DIST bunny-2.14.3.gem 206336 BLAKE2B 8bc1f4620502ee530f2f2192614c5b4bd40da7e4a849c7d56f77df8e7bf810f79b134bb242f42b0e380c5f3c7fa329d303db034585d7fb24436256fdfee64846 SHA512 5a2073b288e8fc943ff334dfaaa0a978891229e9dc27c3c39f9db24fb13997a409a6e951b07d41ca753c9aae9aa6b12a29f86b49d9b3473357cada9338fa96d0 +DIST bunny-2.14.4.gem 206848 BLAKE2B 50f4f92f537cbb0773119866ab8db3f43370210cfedb7f58d0b40a7158abdd6d7545363f7885b4841bc3b446003e1b3aa6bde2db58db330a162f14cbabd15a9a SHA512 4994126a46775eff6a941efb1a63321579943f4dd62c2f88d2e58d58dc8b8fb99f6283a3daeae9847ce4ac46173ff63834d82c57dfbc67f38e257c3989493e32 +DIST bunny-2.15.0.gem 206848 BLAKE2B f6455dd814d0f9afd6191d44352c8d524e5d70e67c0c0fce106fa566caf353d13e6f6a65c823d5484505bfd14a86b208d5259313af26be0539c96de08275b5f8 SHA512 146eba7f3bf8177a99f6c01ebde0b693965e539ae2f7092dbab932b4081f31d946f72d48accafe4e404b505da806f14c4e5967f4d4a69f8e16176324bdf54089 diff --git a/dev-ruby/bunny/bunny-2.13.0.ebuild b/dev-ruby/bunny/bunny-2.13.0.ebuild new file mode 100644 index 000000000000..b1165915fd6f --- /dev/null +++ b/dev-ruby/bunny/bunny-2.13.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +# Tests require a live AMQP server. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Another synchronous Ruby AMQP client" +HOMEPAGE="https://github.com/celldee/bunny" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/amq-protocol-2.3.0:2" + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r examples +} diff --git a/dev-ruby/bunny/bunny-2.14.2.ebuild b/dev-ruby/bunny/bunny-2.14.2.ebuild new file mode 100644 index 000000000000..02c1afa1569d --- /dev/null +++ b/dev-ruby/bunny/bunny-2.14.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +# Tests require a live AMQP server. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Another synchronous Ruby AMQP client" +HOMEPAGE="https://github.com/celldee/bunny" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/amq-protocol-2.3.0:2" + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r examples +} diff --git a/dev-ruby/bunny/bunny-2.14.3.ebuild b/dev-ruby/bunny/bunny-2.14.3.ebuild new file mode 100644 index 000000000000..4d211e6e2ce0 --- /dev/null +++ b/dev-ruby/bunny/bunny-2.14.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +# Tests require a live AMQP server. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Another synchronous Ruby AMQP client" +HOMEPAGE="https://github.com/celldee/bunny" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/amq-protocol-2.3.0:2" + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r examples +} diff --git a/dev-ruby/bunny/bunny-2.14.4.ebuild b/dev-ruby/bunny/bunny-2.14.4.ebuild new file mode 100644 index 000000000000..cabb11183537 --- /dev/null +++ b/dev-ruby/bunny/bunny-2.14.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# Tests require a live AMQP server. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Another synchronous Ruby AMQP client" +HOMEPAGE="https://github.com/celldee/bunny" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/amq-protocol-2.3.0:2" + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples +} diff --git a/dev-ruby/bunny/bunny-2.15.0-r1.ebuild b/dev-ruby/bunny/bunny-2.15.0-r1.ebuild new file mode 100644 index 000000000000..23b946645963 --- /dev/null +++ b/dev-ruby/bunny/bunny-2.15.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Tests require a live AMQP server. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Another synchronous Ruby AMQP client" +HOMEPAGE="https://github.com/celldee/bunny" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/amq-protocol-2.3.1:2" + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples +} diff --git a/dev-ruby/bunny/metadata.xml b/dev-ruby/bunny/metadata.xml new file mode 100644 index 000000000000..1e690fa404e2 --- /dev/null +++ b/dev-ruby/bunny/metadata.xml @@ -0,0 +1,12 @@ +<?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">celldee/bunny</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/c21e/Manifest b/dev-ruby/c21e/Manifest new file mode 100644 index 000000000000..9ef83bba966a --- /dev/null +++ b/dev-ruby/c21e/Manifest @@ -0,0 +1,3 @@ +DIST c21e-1.1.8.gem 6656 BLAKE2B 2a2f237e975b4150b891e957d9b209c7d587f8e2994ac4e28162ca7d6a94b83d0841b753ef43870a2808a00f37c227910dda8dd2ae48379e9b63bfdafb266ccb SHA512 4903c8fb5aebf2c7d4771e5f0227ff30d873579439ebcef6235be6716f285d6c40d75b0e07634dd161b493690713121e18c12daff40e113cd8d525d6a7af2273 +DIST c21e-1.1.9.gem 6656 BLAKE2B dc1ee96fddbb0f201f53ad58d22665e5e35f62098daf6ffafc7f12eb75d48703c0e02cb91ceb8a4b84d3357f0fa81d2bbc0207917ccb9c7638e449c72a059411 SHA512 47b578b7e916c2bb6ed4462bf766a5506e622db96f8e7f14833ede6255d695e75d03d38d0ebf02350c92eebd90ad3993eacc7c0ecc9205a56b9c01f690ceacea +DIST c21e-1.2.1.gem 6656 BLAKE2B b6c1f8919206e8eea04a33fb3a21c42e1758a2dbfbf2ad06486543e8bfbd37234d3c8a113a10c8473d04873f20076baed042e90eab34b96b6ea10c7cc6684ad7 SHA512 1f36251c4c6c7923d46ab186df1f1d380cb329daa7316327f65d4221493eb988fdaf83f2b43e8eb7eebef9e58f8b475bf4b36095cd4cfdb4a787719eca4b36a7 diff --git a/dev-ruby/c21e/c21e-1.1.8.ebuild b/dev-ruby/c21e/c21e-1.1.8.ebuild new file mode 100644 index 000000000000..ef0001aa5c6e --- /dev/null +++ b/dev-ruby/c21e/c21e-1.1.8.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Run cross-platform executables" +HOMEPAGE="https://github.com/cucumber/cucumber/blob/master/c21e/ruby" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/c21e/c21e-1.1.9.ebuild b/dev-ruby/c21e/c21e-1.1.9.ebuild new file mode 100644 index 000000000000..ef0001aa5c6e --- /dev/null +++ b/dev-ruby/c21e/c21e-1.1.9.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Run cross-platform executables" +HOMEPAGE="https://github.com/cucumber/cucumber/blob/master/c21e/ruby" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/c21e/c21e-1.2.1.ebuild b/dev-ruby/c21e/c21e-1.2.1.ebuild new file mode 100644 index 000000000000..214d8ccbf6df --- /dev/null +++ b/dev-ruby/c21e/c21e-1.2.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Run cross-platform executables" +HOMEPAGE="https://github.com/cucumber/cucumber/blob/master/c21e/ruby" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/c21e/metadata.xml b/dev-ruby/c21e/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/c21e/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/calendar_date_select/Manifest b/dev-ruby/calendar_date_select/Manifest new file mode 100644 index 000000000000..c287227fdc34 --- /dev/null +++ b/dev-ruby/calendar_date_select/Manifest @@ -0,0 +1 @@ +DIST calendar_date_select-2.1.2.gem 22016 BLAKE2B 3cd19112e1d6f3acd9c3543a39b650c753803f3aee4581562cfe5625cdbc1593fbdae45ef2caa15391e6b4caaaa98f9563a70240f45a7806772bcaaec4a5f7f8 SHA512 99d4cadd8b58c49882767787a1c04d1238f2679e6034a1705d24dfc1d1830c9101028b583f36b8fa3403e58ad1b995ead4fe33cda42dd16cbe17d435c1198af1 diff --git a/dev-ruby/calendar_date_select/calendar_date_select-2.1.2.ebuild b/dev-ruby/calendar_date_select/calendar_date_select-2.1.2.ebuild new file mode 100644 index 000000000000..c0dddc526ae0 --- /dev/null +++ b/dev-ruby/calendar_date_select/calendar_date_select-2.1.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# There are no unit tests, only integration tests against a full Rails +# 3.2 application. Skipping those for now due to difficulty in getting +# all dependencies right. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +inherit ruby-fakegem + +DESCRIPTION="A popular and flexible JavaScript DatePicker for RubyOnRails" +HOMEPAGE="https://github.com/timcharper/calendar_date_select" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rails-3.1:*" diff --git a/dev-ruby/calendar_date_select/metadata.xml b/dev-ruby/calendar_date_select/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/calendar_date_select/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/capistrano-stats/Manifest b/dev-ruby/capistrano-stats/Manifest new file mode 100644 index 000000000000..13f1231d8c2c --- /dev/null +++ b/dev-ruby/capistrano-stats/Manifest @@ -0,0 +1 @@ +DIST capistrano-stats-1.1.1.gem 7168 BLAKE2B cad6fbe0119af877b4398c2e6d0c6319ac82b5c6f8e45b8a28c523ecf6b2ed2cb366dbcc0424dbc6c97b9b1030f7af856457b9d2a9258c8147410cf0e5264398 SHA512 d7198052dba1f518a972b4d9e4656b23b226222c58c4898745abf90876722f1040d0f0acce07d97aa090b77d4c7655ce300f73dd0d6f55666e551862a13b7e2b diff --git a/dev-ruby/capistrano-stats/capistrano-stats-1.1.1.ebuild b/dev-ruby/capistrano-stats/capistrano-stats-1.1.1.ebuild new file mode 100644 index 000000000000..6bcc7bea288d --- /dev/null +++ b/dev-ruby/capistrano-stats/capistrano-stats-1.1.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="tasks" + +inherit ruby-fakegem + +DESCRIPTION="Official metrics to help the development direction of Capistrano" +HOMEPAGE="http://metrics.capistranorb.com/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/capistrano-stats/metadata.xml b/dev-ruby/capistrano-stats/metadata.xml new file mode 100644 index 000000000000..a3d560f1b5b9 --- /dev/null +++ b/dev-ruby/capistrano-stats/metadata.xml @@ -0,0 +1,13 @@ +<?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> +<longdescription> +Capistrano is a utility and framework for executing commands in parallel on +multiple remote machines, via SSH. +</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/capistrano/Manifest b/dev-ruby/capistrano/Manifest new file mode 100644 index 000000000000..081a125772db --- /dev/null +++ b/dev-ruby/capistrano/Manifest @@ -0,0 +1,5 @@ +DIST capistrano-2.15.5.gem 132096 BLAKE2B bbaa6bd482cf9bbe7aa01540aa5dab3f32401ffa1476d9057bb8ad420194f1ab2c32d8e744d7c982ebece5c4b5369133dc8378b7adf54c78732f9cb249db2a9e SHA512 10168080c7481ec6fc6f918ac90a3b1ce8f2b36f77411375e33cc915b02d5196ab061ac47e767edd724c82cffd1c2ad0a23ba1f0519cf1f2aae5b429167b19ff +DIST capistrano-3.12.1.gem 69120 BLAKE2B ba465fc3eca0ed8917d7b8d5aba0b43017f8a6de17e2734ed654c66cfca6072e68cb2db7414b19bc2f60901245207d4cff067dc0e7b82554e118d306816eac73 SHA512 cddbf583f57af2961fecacc59249d43c15393c665e9eaaa493553bd29f88f947d73a449bdabfb589db78caee4bdcc706ab3adc021a75893c31c79c7e0ebb2ee3 +DIST capistrano-3.13.0.gem 69120 BLAKE2B 394f60d9a3acfef44eacef356908d10d5c7f64010d644fbae988e399b1b8cdd07c1d93b4a6a4894816dc94bcf61180a2bd5f4663b1f014a64ae07ffb82252a90 SHA512 fe7cba9ecfe54d9f8c557dd4e1f8b1ed1269c7aa1e8c687d55fb035b3666ff92ee93895610f0582d139dec56a78c84754208e2aa99d6fc3f4f46c3d45142e2d9 +DIST capistrano-3.14.0.gem 69120 BLAKE2B e9c503a43cdb5f943c84882cc728cf4004afae194a94de763872c8f20eec80a9b6fc05c723cbab0e5ee41d87cfca8947ea62a28ca1d32e6bd2b86f52d1ea859c SHA512 5f117a6efec1a35a188f1ea57f1738bc41bdf3614b77a61ca2e941480d36d74e392400543948a55c054871beb88563489115bb69fb34bfb9f0c32a371966cd42 +DIST capistrano-3.14.1.gem 69120 BLAKE2B 33e351a98aea540a5903f68be6fbdde8c104be5ca66de707963f0a3b5c3460a086b5656fbc1cf98e37bed1507fb98856821a0633c2b86694112f5d357dfe8186 SHA512 10071c5b2ccadfd41ca321f21731dca8bafcc8efbcbdaf8099c562188d1cf802bc8c3845644c3ba301e4d9954fd8ab2c9022ee734f580a8be55b6dd8918cf11b diff --git a/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild b/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild new file mode 100644 index 000000000000..27d86dd74199 --- /dev/null +++ b/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A distributed application deployment system" +HOMEPAGE="https://capistranorb.com/" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/net-ssh-2.0.14:* + >=dev-ruby/net-sftp-2.0.2 + >=dev-ruby/net-scp-1.0.2 + >=dev-ruby/net-ssh-gateway-1.1.0:* + >=dev-ruby/highline-1.2.7" +ruby_add_bdepend " + test? ( dev-ruby/mocha:0.14 )" + +RUBY_PATCHES=( ${P}-sudo-cleanup.patch ) + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile test/utils.rb || die + sed -i -e '/pry/ s:^:#:' -e '4igem "mocha", "~>0.14.0"' test/utils.rb || die + + # Avoid copy strategy tests since these fail in some cases due to + # complicated (aka unknown) interactions with other parts of the + # test suite. + rm test/deploy/strategy/copy_test.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper cap /usr/bin/cap-2 'gem "capistrano", "~>2.0"' +} diff --git a/dev-ruby/capistrano/capistrano-3.12.1.ebuild b/dev-ruby/capistrano/capistrano-3.12.1.ebuild new file mode 100644 index 000000000000..194a24709889 --- /dev/null +++ b/dev-ruby/capistrano/capistrano-3.12.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A distributed application deployment system" +HOMEPAGE="https://capistranorb.com/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/airbrussh-1.0.0 + >=dev-ruby/sshkit-1.9:0 + >=dev-ruby/rake-10.0.0 + dev-ruby/i18n:*" +ruby_add_bdepend " + test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + # Avoid specs that depend on capistrano already being installed + rm -f spec/lib/capistrano/doctor/gems_doctor_spec.rb || die + + # Avoid specs that require a TTY + sed -i -e '/asking for a variable/,/^ end/ s:^:#:' spec/integration/dsl_spec.rb || die + rm -f spec/lib/capistrano/configuration/question_spec.rb || die +} diff --git a/dev-ruby/capistrano/capistrano-3.13.0.ebuild b/dev-ruby/capistrano/capistrano-3.13.0.ebuild new file mode 100644 index 000000000000..8fbec0f004ec --- /dev/null +++ b/dev-ruby/capistrano/capistrano-3.13.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A distributed application deployment system" +HOMEPAGE="https://capistranorb.com/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/airbrussh-1.0.0 + >=dev-ruby/sshkit-1.9:0 + >=dev-ruby/rake-10.0.0 + dev-ruby/i18n:*" +ruby_add_bdepend " + test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + # Avoid specs that depend on capistrano already being installed + rm -f spec/lib/capistrano/doctor/gems_doctor_spec.rb || die + + # Avoid specs that require a TTY + sed -i -e '/asking for a variable/,/^ end/ s:^:#:' spec/integration/dsl_spec.rb || die + rm -f spec/lib/capistrano/configuration/question_spec.rb || die +} diff --git a/dev-ruby/capistrano/capistrano-3.14.0.ebuild b/dev-ruby/capistrano/capistrano-3.14.0.ebuild new file mode 100644 index 000000000000..8fbec0f004ec --- /dev/null +++ b/dev-ruby/capistrano/capistrano-3.14.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A distributed application deployment system" +HOMEPAGE="https://capistranorb.com/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/airbrussh-1.0.0 + >=dev-ruby/sshkit-1.9:0 + >=dev-ruby/rake-10.0.0 + dev-ruby/i18n:*" +ruby_add_bdepend " + test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + # Avoid specs that depend on capistrano already being installed + rm -f spec/lib/capistrano/doctor/gems_doctor_spec.rb || die + + # Avoid specs that require a TTY + sed -i -e '/asking for a variable/,/^ end/ s:^:#:' spec/integration/dsl_spec.rb || die + rm -f spec/lib/capistrano/configuration/question_spec.rb || die +} diff --git a/dev-ruby/capistrano/capistrano-3.14.1.ebuild b/dev-ruby/capistrano/capistrano-3.14.1.ebuild new file mode 100644 index 000000000000..8fbec0f004ec --- /dev/null +++ b/dev-ruby/capistrano/capistrano-3.14.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A distributed application deployment system" +HOMEPAGE="https://capistranorb.com/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/airbrussh-1.0.0 + >=dev-ruby/sshkit-1.9:0 + >=dev-ruby/rake-10.0.0 + dev-ruby/i18n:*" +ruby_add_bdepend " + test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + # Avoid specs that depend on capistrano already being installed + rm -f spec/lib/capistrano/doctor/gems_doctor_spec.rb || die + + # Avoid specs that require a TTY + sed -i -e '/asking for a variable/,/^ end/ s:^:#:' spec/integration/dsl_spec.rb || die + rm -f spec/lib/capistrano/configuration/question_spec.rb || die +} diff --git a/dev-ruby/capistrano/files/capistrano-2.15.5-sudo-cleanup.patch b/dev-ruby/capistrano/files/capistrano-2.15.5-sudo-cleanup.patch new file mode 100644 index 000000000000..cbe68a476fd4 --- /dev/null +++ b/dev-ruby/capistrano/files/capistrano-2.15.5-sudo-cleanup.patch @@ -0,0 +1,12 @@ +diff -ur /usr/lib/ruby/gems/1.9.1/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy.rb ./lib/capistrano/recipes/deploy.rb +--- ./lib/capistrano/recipes/deploy.rb 2014-08-13 15:11:31.423773610 +0200 ++++ /usr/lib/ruby/gems/1.9.1/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy.rb 2014-05-04 11:40:39.000000000 +0200 +@@ -462,7 +462,7 @@ + DESC + task :cleanup, :except => { :no_release => true } do + count = fetch(:keep_releases, 5).to_i +- try_sudo "ls -1dt #{releases_path}/* | tail -n +#{count + 1} | #{try_sudo} xargs rm -rf" ++ run "ls -1dt #{releases_path}/* | tail -n +#{count + 1} | #{try_sudo} xargs rm -rf" + end + + desc <<-DESC diff --git a/dev-ruby/capistrano/metadata.xml b/dev-ruby/capistrano/metadata.xml new file mode 100644 index 000000000000..a3d560f1b5b9 --- /dev/null +++ b/dev-ruby/capistrano/metadata.xml @@ -0,0 +1,13 @@ +<?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> +<longdescription> +Capistrano is a utility and framework for executing commands in parallel on +multiple remote machines, via SSH. +</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest new file mode 100644 index 000000000000..998ad3c18d9b --- /dev/null +++ b/dev-ruby/capybara/Manifest @@ -0,0 +1,6 @@ +DIST capybara-2.18.0.gem 274432 BLAKE2B 992799362025b81a0d074fb06fdafef4c4385ca18ea85a7095d9e58625df6a59a349b60b462c5c4f403a6af955466bc46d82be6cd91724fc2b12cbe15ed74a4c SHA512 3bb994e022593d485a07296193a16cae7b45e96e87dd10b2bd4807ad2bc990801044c0493360598d1626c3e367e8de87e407f65c2c6f42674d5f1b9c0b5c1933 +DIST capybara-3.31.0.gem 363520 BLAKE2B 246a199d89f5120bd1be7b36b5aee5bd4143ee5d1c8953cc2e65e805c234d902c5d898f873c562b8457c6e09af507cf81ddc178bcb617f2730b5db1f9ddd97c8 SHA512 920dbd331eff5300cfa575689f7c62f502cea5782ad58eff168ffc274f2622a95869a7ab90e53fc010bc7f5c0847caa5dcf69cb74eecc2a82f0f449c11be3edb +DIST capybara-3.32.0.gem 365056 BLAKE2B 13fa531ffef6be5711b3f88f7b40dc409c9e404a3815ced121e1b87d2a7aee7b1ac22b7c44673c2d14a79a0eae18a45e5f20b022625594c24ce8a30a4779b061 SHA512 930149822605a744ad3b802d27f9419542683b4d11322f4c71f25613b8c1a3653adf5b598710e2961a82a1d0181ae6c182473d19044456991af378601e4ae89b +DIST capybara-3.32.1.gem 365056 BLAKE2B f866c90cfbaaf57387286436e877dfdd2c6b1cf4a581931c416656c6b687ab69c1a4cc1f70eb43faf306950bc1f4fd9e5b6e4741118bf7eb239a477f08851851 SHA512 20486897ccd282e1a73f26b94dbc89837527b253976b317df55b319174aa9eeaa499f1ff153aee1b463b93edca5f7f2886d01edabb7358262e57736111d758e6 +DIST capybara-3.32.2.gem 365056 BLAKE2B c193f188aec6089aabafb5d09cb540f914d8c257d3faafa0d59f674069a39c29a3750c80bb269bf2d010cc7608aec1699c7d75d96c7c85c201aaa0f99adddf83 SHA512 b1b21615b5f87012a71a7901a4f9bb9cda61f1a455299d4ad05b05e0281985a6c158a1549864e551c2ca4b97e921139b35843a1d23efc45557647328c0d1c2a3 +DIST capybara-3.33.0.gem 366592 BLAKE2B fb64b301051011aa82194480bb79a33d06345cbe250fd7a32d54cb32038651f8598e860269c67efc58a87410a213f07e8f7107b725bd6286ebb93e7fd6ff125a SHA512 b169a12f330fdc016dbba6c7478cf52a51006499197bba67e6953f36929099212e209d2803511ca623b7e2b1fc0288fad1975fd426047c95680309145abb9977 diff --git a/dev-ruby/capybara/capybara-2.18.0.ebuild b/dev-ruby/capybara/capybara-2.18.0.ebuild new file mode 100644 index 000000000000..dc190b2ccfa3 --- /dev/null +++ b/dev-ruby/capybara/capybara-2.18.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~x86" +SLOT="2" +IUSE="test" + +DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 dev-ruby/sinatra )" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.3.3 + >=dev-ruby/rack-1.0.0:* + >=dev-ruby/rack-test-0.5.4:* + || ( dev-ruby/xpath:3 dev-ruby/xpath:2 )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die + + # Avoid spec that requires unpackaged geckodriver + sed -i -e '/register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec +} diff --git a/dev-ruby/capybara/capybara-3.31.0.ebuild b/dev-ruby/capybara/capybara-3.31.0.ebuild new file mode 100644 index 000000000000..fa400375c0b3 --- /dev/null +++ b/dev-ruby/capybara/capybara-3.31.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +SLOT="3" +IUSE="test" + +DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + >=dev-ruby/launchy-2.4.0 + >=dev-ruby/selenium-webdriver-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/regexp_parser-1.5:1 + >=dev-ruby/xpath-3.2:3" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die + + # Avoid spec that requires unpackaged geckodriver + #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Update spec to catch the right error code. This seems to have + # changed recently accross ruby versions. + sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec +} diff --git a/dev-ruby/capybara/capybara-3.32.0.ebuild b/dev-ruby/capybara/capybara-3.32.0.ebuild new file mode 100644 index 000000000000..b68f23f73e1f --- /dev/null +++ b/dev-ruby/capybara/capybara-3.32.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +SLOT="3" +IUSE="test" + +DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + >=dev-ruby/launchy-2.4.0 + >=dev-ruby/selenium-webdriver-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/regexp_parser-1.5:1 + >=dev-ruby/xpath-3.2:3" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die + + # Avoid spec that requires unpackaged geckodriver + #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Update spec to catch the right error code. This seems to have + # changed recently accross ruby versions. + sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec +} diff --git a/dev-ruby/capybara/capybara-3.32.1.ebuild b/dev-ruby/capybara/capybara-3.32.1.ebuild new file mode 100644 index 000000000000..b68f23f73e1f --- /dev/null +++ b/dev-ruby/capybara/capybara-3.32.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +SLOT="3" +IUSE="test" + +DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + >=dev-ruby/launchy-2.4.0 + >=dev-ruby/selenium-webdriver-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/regexp_parser-1.5:1 + >=dev-ruby/xpath-3.2:3" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die + + # Avoid spec that requires unpackaged geckodriver + #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Update spec to catch the right error code. This seems to have + # changed recently accross ruby versions. + sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec +} diff --git a/dev-ruby/capybara/capybara-3.32.2.ebuild b/dev-ruby/capybara/capybara-3.32.2.ebuild new file mode 100644 index 000000000000..b68f23f73e1f --- /dev/null +++ b/dev-ruby/capybara/capybara-3.32.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +SLOT="3" +IUSE="test" + +DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + >=dev-ruby/launchy-2.4.0 + >=dev-ruby/selenium-webdriver-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/regexp_parser-1.5:1 + >=dev-ruby/xpath-3.2:3" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die + + # Avoid spec that requires unpackaged geckodriver + #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Update spec to catch the right error code. This seems to have + # changed recently accross ruby versions. + sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec +} diff --git a/dev-ruby/capybara/capybara-3.33.0.ebuild b/dev-ruby/capybara/capybara-3.33.0.ebuild new file mode 100644 index 000000000000..b0688ebe995b --- /dev/null +++ b/dev-ruby/capybara/capybara-3.33.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications" +HOMEPAGE="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +SLOT="3" +IUSE="test" + +DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + >=dev-ruby/launchy-2.4.0 + >=dev-ruby/selenium-webdriver-3.5:3 + dev-ruby/sinatra:2 + www-servers/puma +)" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + >=dev-ruby/regexp_parser-1.5:1 + >=dev-ruby/xpath-3.2:3" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die + + # Avoid spec that requires unpackaged geckodriver + #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Update spec to catch the right error code. This seems to have + # changed recently accross ruby versions. + sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec +} diff --git a/dev-ruby/capybara/metadata.xml b/dev-ruby/capybara/metadata.xml new file mode 100644 index 000000000000..b81141632106 --- /dev/null +++ b/dev-ruby/capybara/metadata.xml @@ -0,0 +1,12 @@ +<?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">jnicklas/capybara</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/certificate_authority/Manifest b/dev-ruby/certificate_authority/Manifest new file mode 100644 index 000000000000..293c08b814e7 --- /dev/null +++ b/dev-ruby/certificate_authority/Manifest @@ -0,0 +1,2 @@ +DIST certificate_authority-0.1.6.gem 22528 BLAKE2B 85b229c7506b787b85b734883967dd8e6fc4ceece57dec2b2b8c29fffbaec2d95931af5412d61ef9935e547b68b14213e5cc6971f94ad6294476cc653684742b SHA512 d1471171aa01956ca216bdb8515e9f6fafc9720827e7351b14c7c38907e87b66a3299d9ee0322fb51b8edd1cbc4f4a73a2aa4b54ff5ca4c8bc602ced5e035a59 +DIST certificate_authority-1.0.0.tar.gz 57104 BLAKE2B e585b19b6740349e520e021d4981c3941bca9e6c9b11867c9484e98b4e74e4ebafb47c648564c3e8b89e3591414a90ee404bab83cafd5a3354354b36b3002436 SHA512 e5f05d3df86ae7e7e6ed8937667b14229cda884996c30d9a39f1ad7db781e58abb3f61c251c21174b4988adf0ecdecb1b0f22ed97ddae071ba12c78379524785 diff --git a/dev-ruby/certificate_authority/certificate_authority-0.1.6-r2.ebuild b/dev-ruby/certificate_authority/certificate_authority-0.1.6-r2.ebuild new file mode 100644 index 000000000000..43c165587699 --- /dev/null +++ b/dev-ruby/certificate_authority/certificate_authority-0.1.6-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Managing the core functions outlined in RFC-3280 for PKI" +HOMEPAGE="https://github.com/cchandler/certificate_authority" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activemodel-3.0.6:*" + +all_ruby_prepare() { + # Avoid dependency on dev-libs/engine_pkcs11 that will be hard to + # make work on different arches due to hardwired load paths in + # specs. + rm -f spec/units/pkcs11_key_material_spec.rb || die +} diff --git a/dev-ruby/certificate_authority/certificate_authority-1.0.0.ebuild b/dev-ruby/certificate_authority/certificate_authority-1.0.0.ebuild new file mode 100644 index 000000000000..a49df5a8922d --- /dev/null +++ b/dev-ruby/certificate_authority/certificate_authority-1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="certificate_authority.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Managing the core functions outlined in RFC-3280 for PKI" +HOMEPAGE="https://github.com/cchandler/certificate_authority" +SRC_URI="https://github.com/cchandler/certificate_authority/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|pry\|overalls\)/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '/spec.files/,/end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid dependency on dev-libs/engine_pkcs11 that will be hard to + # make work on different arches due to hardwired load paths in + # specs. + rm -f spec/units/pkcs11_key_material_spec.rb || die +} diff --git a/dev-ruby/certificate_authority/metadata.xml b/dev-ruby/certificate_authority/metadata.xml new file mode 100644 index 000000000000..50f23dd0ff32 --- /dev/null +++ b/dev-ruby/certificate_authority/metadata.xml @@ -0,0 +1,12 @@ +<?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">cchandler/certificate_authority</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/charlock_holmes/Manifest b/dev-ruby/charlock_holmes/Manifest new file mode 100644 index 000000000000..7fa1b909ad32 --- /dev/null +++ b/dev-ruby/charlock_holmes/Manifest @@ -0,0 +1,2 @@ +DIST charlock_holmes-0.7.6.tar.gz 1192708 BLAKE2B 9024238f225e7c5040c0550beb573615939037e0113672d7d048a9abd536d8e1d224eb1c8f6a155906074394838888960e955d0318c47fa2e1330e46275f4e99 SHA512 410a210e4fc7e9905f38e3f68375ffdf0cf73cca8a8b230d7c4165ac23503e2460692168b1eb5d69ff183e70d89e5dcfbf6688dd22b736f4adf3c9f3af18575b +DIST charlock_holmes-0.7.7.tar.gz 1192739 BLAKE2B f057a0b53f8624f12029679c96be754e9225bdeaab4db8077ab8b48c1e04883ea6a9a3019cc0c5d875179b287ef0d70aae591201d8c22c2a6e4a5b4d6c592294 SHA512 5950db982fbbcf41c6c8f893b2d5e1d755ec85e55bd6ce9072507c06925251edb3198840fdf346e8b74f06f4dc1d63bf94657ce582b78947751d20980f71aa8e diff --git a/dev-ruby/charlock_holmes/charlock_holmes-0.7.6.ebuild b/dev-ruby/charlock_holmes/charlock_holmes-0.7.6.ebuild new file mode 100644 index 000000000000..46a93acd7547 --- /dev/null +++ b/dev-ruby/charlock_holmes/charlock_holmes-0.7.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Character encoding detecting library for Ruby using ICU" +HOMEPAGE="https://github.com/brianmario/charlock_holmes" +SRC_URI="https://github.com/brianmario/charlock_holmes/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( + dev-ruby/minitest )" + +CDEPEND="dev-libs/icu:= + sys-libs/zlib" +DEPEND+=" ${CDEPEND}" +RDEPEND+=" ${CDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-0.7.6-gcc5.patch ) + +all_ruby_prepare() { + sed -i -e '/bundler/d' test/helper.rb || die + + # Avoid dependency on rake-compiler + sed -i -e '/rake-compiler/,$ s:^:#:' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +} diff --git a/dev-ruby/charlock_holmes/charlock_holmes-0.7.7.ebuild b/dev-ruby/charlock_holmes/charlock_holmes-0.7.7.ebuild new file mode 100644 index 000000000000..011e402ef5d5 --- /dev/null +++ b/dev-ruby/charlock_holmes/charlock_holmes-0.7.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Character encoding detecting library for Ruby using ICU" +HOMEPAGE="https://github.com/brianmario/charlock_holmes" +SRC_URI="https://github.com/brianmario/charlock_holmes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( + dev-ruby/minitest )" + +CDEPEND="dev-libs/icu:= + sys-libs/zlib" +DEPEND+=" ${CDEPEND}" +RDEPEND+=" ${CDEPEND}" + +all_ruby_prepare() { + sed -i -e '/bundler/d' test/helper.rb || die + + # Avoid dependency on rake-compiler + sed -i -e '/rake-compiler/,$ s:^:#:' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +} diff --git a/dev-ruby/charlock_holmes/files/charlock_holmes-0.7.6-gcc5.patch b/dev-ruby/charlock_holmes/files/charlock_holmes-0.7.6-gcc5.patch new file mode 100644 index 000000000000..944efac19253 --- /dev/null +++ b/dev-ruby/charlock_holmes/files/charlock_holmes-0.7.6-gcc5.patch @@ -0,0 +1,16 @@ +--- a/ext/charlock_holmes/extconf.rb ++++ b/ext/charlock_holmes/extconf.rb +@@ -54,11 +54,8 @@ + have_library 'icuuc' or abort 'libicuuc missing' + have_library 'icudata' or abort 'libicudata missing' + +-# icu4c might be built in C++11 mode, but it also might not have been +-icuconfig = `which icu-config`.chomp if icuconfig.empty? +-if File.exist?(icuconfig) && `#{icuconfig} --cxxflags`.include?("c++11") +- $CXXFLAGS << ' -std=c++11' +-end ++# Always use C++11 ++$CXXFLAGS << ' -std=c++11' + + $CFLAGS << ' -Wall -funroll-loops' + $CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG'] diff --git a/dev-ruby/charlock_holmes/metadata.xml b/dev-ruby/charlock_holmes/metadata.xml new file mode 100644 index 000000000000..2c9c1f7c487e --- /dev/null +++ b/dev-ruby/charlock_holmes/metadata.xml @@ -0,0 +1,12 @@ +<?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">brianmario/charlock_holmes</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/childlabor/Manifest b/dev-ruby/childlabor/Manifest new file mode 100644 index 000000000000..1a74fe7dfd29 --- /dev/null +++ b/dev-ruby/childlabor/Manifest @@ -0,0 +1 @@ +DIST childlabor-0.0.3.tar.gz 3120 BLAKE2B 555310e2b6b70292b580451b3627973a2cfc33ae0a8ceb5507fcc92ee70f388802644b1586c18736b34339418a9aaa6450f07e5353f3925a7238f02d397a640a SHA512 d18f3f90204b12e3b4a21be1439fcf44a4eb9f905402633966e6ab2a3cc9412a28c502a8c78487834a82e1de24f0f905691f33f443de930f670c70b17288fb6e diff --git a/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild b/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild new file mode 100644 index 000000000000..5dae3f9f337f --- /dev/null +++ b/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A scripting framework that replaces rake and sake" +HOMEPAGE="https://github.com/carllerche/childlabor" +COMMIT_ID="6518b939dddbad20c7f05aa075d76e3ca6e70447" +SRC_URI="https://github.com/carllerche/childlabor/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RUBY_S="${PN}-${COMMIT_ID}" + +ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" + +all_ruby_prepare() { + # Avoid failing spec. The signals work, but the stdout handling + # doesn't seem to play nice with portage. + sed -i -e '/can send signals/,/^ end/ s:^:#:' spec/task_spec.rb || die +} + +each_ruby_test() { + ruby-ng_rspec -I. spec/task_spec.rb || die +} diff --git a/dev-ruby/childlabor/metadata.xml b/dev-ruby/childlabor/metadata.xml new file mode 100644 index 000000000000..b0ab90e88431 --- /dev/null +++ b/dev-ruby/childlabor/metadata.xml @@ -0,0 +1,12 @@ +<?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">carllerche/childlabor</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/childprocess/Manifest b/dev-ruby/childprocess/Manifest new file mode 100644 index 000000000000..8fa1e7dd2576 --- /dev/null +++ b/dev-ruby/childprocess/Manifest @@ -0,0 +1,5 @@ +DIST childprocess-0.9.0.gem 32768 BLAKE2B cb836c2cc3f9d6bda1db88aec8692499dae2a325611dcdfae482fd6a7bbf065612f0efbe140c08447566b8759ce125968a153d6df38889403d98bc94fe397d7b SHA512 5a788556e14491b0801b8a533d8d8eebba726af6417c8c6c7146738fcae2f92e9faa090312e77d974852003f5a4d155d5307b0c9d1ff1d18173ad653d21f63d8 +DIST childprocess-1.0.1.gem 34816 BLAKE2B 54b1db5bfa8829eeaa923f9e7be88183058d0c4f3ad7474b96199b486bc12f7035a0a1eb9858ce9e8e4aa73eb34fe81e734b206851ca744abbcbb6bb32e4d1df SHA512 efe61096dd09f6278582763692104fcc3beacfc96065372afdee355b68ef6ed498baf855f911d2a0b3a186d978d6d737519ae189064293af2d756a7356dad30d +DIST childprocess-2.0.0.gem 34816 BLAKE2B 8c25d861e20296f322c94886f39178c099ababf1c0f1d249cb838e253563d4d9b6f90b433cec31c4288883516281faa3f2aaaafaacf6f2b4e4427e8270488459 SHA512 104f031cb878ed3713b3c326ba0071a8cb2fb5d4e536c5fd7d0dcdcf23e343e46077737d746ffdec7d26accc35b91ab9e496afcae38ee91e0c2272ca39246199 +DIST childprocess-3.0.0.gem 33792 BLAKE2B 7927e29efdff3fe5ad26fdf8ff5d55328412c89d442d3ad34fd44b642a91edf5cde3a271f2f7929a6365a3a740212f3f1364867ecec09c0d5c3846466922cf82 SHA512 56aa9303f1a88d57d0928f9c7177291a115736a5989e30bdabfb0b7fa1e6b02e42e45bf5e0498efc5ab9bb5f58a44004ed56bda61d95ca9a8d8df156b9f30ada +DIST childprocess-4.0.0.gem 34304 BLAKE2B f27188ae722a8a3fd1279916f8f364365778053dd3c9fe2510abe35d60df4be430c9988ba5575acb1864f55c4c9130cb300328f0915d808e1760ec2b3bd7350c SHA512 89ea5f9d437ac2e5d246fc849002a5d14fba2907b5055cbf12a7ec89545bc3daa531dcc0217ebc7a7d88ee21798e2886a899679f6d25f2e664390752ab32dbe2 diff --git a/dev-ruby/childprocess/childprocess-0.9.0.ebuild b/dev-ruby/childprocess/childprocess-0.9.0.ebuild new file mode 100644 index 000000000000..a80d0af06cd1 --- /dev/null +++ b/dev-ruby/childprocess/childprocess-0.9.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Solution for controlling external programs running in the background" +HOMEPAGE="https://github.com/jarib/childprocess" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ffi-1.0.11" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e "s:'ruby':'"${RUBY}"':" spec/childprocess_spec.rb || die +} + +each_ruby_test() { + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec +} diff --git a/dev-ruby/childprocess/childprocess-1.0.1-r1.ebuild b/dev-ruby/childprocess/childprocess-1.0.1-r1.ebuild new file mode 100644 index 000000000000..6f73ad4c1b87 --- /dev/null +++ b/dev-ruby/childprocess/childprocess-1.0.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Solution for controlling external programs running in the background" +HOMEPAGE="https://github.com/jarib/childprocess" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ffi-1.0.11" + +all_ruby_prepare() { + eapply "${FILESDIR}/${P}-ruby26-reopen.patch" + + # Remove bundler support + rm Gemfile || die + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e "s:'ruby':'"${RUBY}"':" spec/childprocess_spec.rb || die +} + +each_ruby_test() { + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec +} diff --git a/dev-ruby/childprocess/childprocess-2.0.0.ebuild b/dev-ruby/childprocess/childprocess-2.0.0.ebuild new file mode 100644 index 000000000000..0a27692f2e82 --- /dev/null +++ b/dev-ruby/childprocess/childprocess-2.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Solution for controlling external programs running in the background" +HOMEPAGE="https://github.com/jarib/childprocess" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ffi-1.0.11" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e "s:'ruby':'"${RUBY}"':" spec/childprocess_spec.rb || die +} + +each_ruby_test() { + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec +} diff --git a/dev-ruby/childprocess/childprocess-3.0.0.ebuild b/dev-ruby/childprocess/childprocess-3.0.0.ebuild new file mode 100644 index 000000000000..ecb76c09e36d --- /dev/null +++ b/dev-ruby/childprocess/childprocess-3.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Solution for controlling external programs running in the background" +HOMEPAGE="https://github.com/jarib/childprocess" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ffi-1.0.11" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e "s:'ruby':'"${RUBY}"':" spec/childprocess_spec.rb || die +} + +each_ruby_test() { + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec +} diff --git a/dev-ruby/childprocess/childprocess-4.0.0.ebuild b/dev-ruby/childprocess/childprocess-4.0.0.ebuild new file mode 100644 index 000000000000..79eebd325338 --- /dev/null +++ b/dev-ruby/childprocess/childprocess-4.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Solution for controlling external programs running in the background" +HOMEPAGE="https://github.com/jarib/childprocess" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ffi-1.0.11" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e "s:'ruby':'"${RUBY}"':" spec/childprocess_spec.rb || die +} + +each_ruby_test() { + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec +} diff --git a/dev-ruby/childprocess/files/childprocess-1.0.1-ruby26-reopen.patch b/dev-ruby/childprocess/files/childprocess-1.0.1-ruby26-reopen.patch new file mode 100644 index 000000000000..11f944218290 --- /dev/null +++ b/dev-ruby/childprocess/files/childprocess-1.0.1-ruby26-reopen.patch @@ -0,0 +1,23 @@ +diff --git a/lib/childprocess/unix/fork_exec_process.rb b/lib/childprocess/unix/fork_exec_process.rb +index 5ed2a79..cc7a850 100644 +--- a/lib/childprocess/unix/fork_exec_process.rb ++++ b/lib/childprocess/unix/fork_exec_process.rb +@@ -29,8 +29,16 @@ module ChildProcess + exec_r.close + set_env + +- STDOUT.reopen(stdout || "/dev/null") +- STDERR.reopen(stderr || "/dev/null") ++ if stdout ++ STDOUT.reopen(stdout) ++ else ++ STDOUT.reopen("/dev/null", "a+") ++ end ++ if stderr ++ STDERR.reopen(stderr) ++ else ++ STDERR.reopen("/dev/null", "a+") ++ end + + if duplex? + STDIN.reopen(reader) diff --git a/dev-ruby/childprocess/metadata.xml b/dev-ruby/childprocess/metadata.xml new file mode 100644 index 000000000000..27f280d83a42 --- /dev/null +++ b/dev-ruby/childprocess/metadata.xml @@ -0,0 +1,12 @@ +<?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">jarib/childprocess</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/chronic/Manifest b/dev-ruby/chronic/Manifest new file mode 100644 index 000000000000..4259b307036c --- /dev/null +++ b/dev-ruby/chronic/Manifest @@ -0,0 +1 @@ +DIST chronic-0.10.2.gem 43008 BLAKE2B 669361fb9aa9da9ea71f6b131dbd4d0101f63bdace26b3f1355f2f3bb793e52ec59ef2cd51e71953cbbfc6c1cf7bbcec215a7d9f65dc40099ec717eeac9b527f SHA512 4efaa6453a38e62f15e7286b9b62891fdf2b4363cf8bc0b1078d22ab18863bb65db46ad523801801c76c5b751e52809a769d49743ca9369ddee2be1c526c67be diff --git a/dev-ruby/chronic/chronic-0.10.2.ebuild b/dev-ruby/chronic/chronic-0.10.2.ebuild new file mode 100644 index 000000000000..c1ec452f65a2 --- /dev/null +++ b/dev-ruby/chronic/chronic-0.10.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="chronic.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Chronic is a natural language date/time parser written in pure Ruby" +HOMEPAGE="https://github.com/mojombo/chronic" +LICENSE="MIT" + +KEYWORDS="amd64 hppa ppc ppc64 ~sparc x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' chronic.gemspec || die +} diff --git a/dev-ruby/chronic/metadata.xml b/dev-ruby/chronic/metadata.xml new file mode 100644 index 000000000000..b94f902a95ea --- /dev/null +++ b/dev-ruby/chronic/metadata.xml @@ -0,0 +1,12 @@ +<?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">mojombo/chronic</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/chunky_png/Manifest b/dev-ruby/chunky_png/Manifest new file mode 100644 index 000000000000..77132d83530b --- /dev/null +++ b/dev-ruby/chunky_png/Manifest @@ -0,0 +1 @@ +DIST chunky_png-1.3.11.gem 352768 BLAKE2B a60607830c41921f8e8018b91e459103d0a793a6c3a5491f36399dff0ac83dee09f66173f01e3e8f8f2bcf9fc69b1ffa53a9bc29adda758be75fefec391f7900 SHA512 5935bc7672ef4eb271abe0e2d4b83c2628ecb9d4fc1bb095d28d0f7fd5e13443492bc91b2c9c1de59d8bb669c185cddaeef62d03d3b0df88ecfaaa3c7a2a0ba6 diff --git a/dev-ruby/chunky_png/chunky_png-1.3.11.ebuild b/dev-ruby/chunky_png/chunky_png-1.3.11.ebuild new file mode 100644 index 000000000000..2fbdae333acf --- /dev/null +++ b/dev-ruby/chunky_png/chunky_png-1.3.11.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="" + +RUBY_FAKEGEM_EXTRADOC="BENCHMARKING.rdoc CHANGELOG.rdoc README.md" + +RUBY_FAKEGEM_GEMSPEC="chunky_png.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Pure Ruby library that can read and write PNG images" +HOMEPAGE="https://wiki.github.com/wvanbergen/chunky_png" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/[bB]undler/s:^:#:' {spec,benchmarks}/*.rb || die + rm Gemfile* || die + + # Avoid git dependency + sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/chunky_png/metadata.xml b/dev-ruby/chunky_png/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/chunky_png/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/cinch/Manifest b/dev-ruby/cinch/Manifest new file mode 100644 index 000000000000..a3944a522009 --- /dev/null +++ b/dev-ruby/cinch/Manifest @@ -0,0 +1 @@ +DIST cinch-2.3.4.gem 80384 BLAKE2B 10ec1a96eebb04d378648e1f1e0ca9f1a35afbaa146d909158db89f604709d6b2f4abc051accc48e1034f78b32298a07fa14c64477c69603495a5cf686d2ed7e SHA512 25cb2b18f1ae5f4e7c42cbb27dd68fec3bf29091bafb9c61ecffa0743b6696cd6e99499c2e30a94f4dbaa373c979d0fbff0c685522844bdd01ad81cdf34af9d9 diff --git a/dev-ruby/cinch/cinch-2.3.4.ebuild b/dev-ruby/cinch/cinch-2.3.4.ebuild new file mode 100644 index 000000000000..2fa0c0f6ed50 --- /dev/null +++ b/dev-ruby/cinch/cinch-2.3.4.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# The testsuite is not in the Gem, only in the upstream repo. +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="IRC Bot Building Framework" +HOMEPAGE="https://github.com/cinchrb/cinch http://cinchrb.org" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/cinch/metadata.xml b/dev-ruby/cinch/metadata.xml new file mode 100644 index 000000000000..b716cebdf506 --- /dev/null +++ b/dev-ruby/cinch/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <longdescription> + A simple, friendly DSL for creating IRC bots + </longdescription> + <upstream> + <remote-id type="github">cinchrb/cinch</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/classifier-reborn/Manifest b/dev-ruby/classifier-reborn/Manifest new file mode 100644 index 000000000000..68ea54e90070 --- /dev/null +++ b/dev-ruby/classifier-reborn/Manifest @@ -0,0 +1 @@ +DIST classifier-reborn-2.2.0.tar.gz 319010 BLAKE2B f4bd3259b9d6e324f3f0feb06dfd1c8736eaa8ae0f687e488b6e11b9cda8e6bf9e56a175c01dfb9352184da1a030d1330e22917c7bfdcb4242fa0102f6291940 SHA512 d299ce8f3b96de5c6194e816d880ebb895faaacdc2a19985166bdc3d9760242ec41d85f22167ea66e9afd743f5d91d63881da02882d1a412fc95a0c5db63d04c diff --git a/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild new file mode 100644 index 000000000000..37cd17f902c1 --- /dev/null +++ b/dev-ruby/classifier-reborn/classifier-reborn-2.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Module to allow Bayesian and other types of classifications" +HOMEPAGE="https://github.com/jekyll/classifier-reborn" +SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gsl test" + +ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0 + !!dev-ruby/classifier + gsl? ( dev-ruby/rb-gsl )" +ruby_add_bdepend "test? ( dev-ruby/redis )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + if use !gsl; then + sed -e 's/$GSL = true/$GSL = false/'\ + -e 's/vector_serialize/vector/'\ + -i lib/${PN}/lsi.rb || die + fi + # Comment out broken test + #sed -i -e "/assert 'Normal',/s/^/#/" test/bayes/bayesian_test.rb || die + + sed -i -e '/reporters/I s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/classifier-reborn/metadata.xml b/dev-ruby/classifier-reborn/metadata.xml new file mode 100644 index 000000000000..ae923b0f651f --- /dev/null +++ b/dev-ruby/classifier-reborn/metadata.xml @@ -0,0 +1,12 @@ +<?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">jekyll/classifier-reborn</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/climate_control/Manifest b/dev-ruby/climate_control/Manifest new file mode 100644 index 000000000000..c903400c2370 --- /dev/null +++ b/dev-ruby/climate_control/Manifest @@ -0,0 +1 @@ +DIST climate_control-0.2.0.gem 9728 BLAKE2B 9868eef8836189d7567d8fd8f5dade874ed4baef883f38b2d6148bde4f1e24544f31fae75ff7bcec4dc685c1fdd23d5164817460eeaf151d8eb105e023bbd741 SHA512 c264d731fb02c7a15932d2724bcd54dff91d2370a0b5336444e167e0d39596974c3826db502be7dc1b6d99cdbbc022135822222a5a6cb6b822aa32a0913c1ec9 diff --git a/dev-ruby/climate_control/climate_control-0.2.0.ebuild b/dev-ruby/climate_control/climate_control-0.2.0.ebuild new file mode 100644 index 000000000000..3909fda85594 --- /dev/null +++ b/dev-ruby/climate_control/climate_control-0.2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="NEWS README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Easily manage your environment" +HOMEPAGE="https://github.com/thoughtbot/climate_control" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + # Avoid dependencies on simplecov and git. + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + sed -i -e 's/git ls-files/echo ""/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/climate_control/metadata.xml b/dev-ruby/climate_control/metadata.xml new file mode 100644 index 000000000000..924cb9d22c1a --- /dev/null +++ b/dev-ruby/climate_control/metadata.xml @@ -0,0 +1,12 @@ +<?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">thoughtbot/climate_control</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/cliver/Manifest b/dev-ruby/cliver/Manifest new file mode 100644 index 000000000000..2d36e91b89a1 --- /dev/null +++ b/dev-ruby/cliver/Manifest @@ -0,0 +1 @@ +DIST cliver-0.3.2.gem 16384 BLAKE2B a96637b5da20ebc28a29479bda76100b2ce7dac1c3620509c2891ffad8f195a54dcb381190a22abc02d1e3df1d69bf9ffa194e19c836115a70232fa7a783ecb8 SHA512 db0eff5119b84b4390f0c2f3e68cab891daedbf06eae55267c798787172734d3355cd82f2b6775e54fca26ed54c6ad4688743af588c76aa0ec6507a77443362f diff --git a/dev-ruby/cliver/cliver-0.3.2.ebuild b/dev-ruby/cliver/cliver-0.3.2.ebuild new file mode 100644 index 000000000000..6b1d6df6c8d3 --- /dev/null +++ b/dev-ruby/cliver/cliver-0.3.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="An easy way to detect and use command-line dependencies" +HOMEPAGE="http://yaauie.github.io/cliver/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/cliver/metadata.xml b/dev-ruby/cliver/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/cliver/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/cmdparse/Manifest b/dev-ruby/cmdparse/Manifest new file mode 100644 index 000000000000..857870807878 --- /dev/null +++ b/dev-ruby/cmdparse/Manifest @@ -0,0 +1,4 @@ +DIST cmdparse-2.0.6.gem 53760 BLAKE2B eda157aa8f8d4fce31df8944524dbf7f8c9d8f8764bf5fc85de044d50e20be0ba408e45815916389e77b6a42787d4ae00577ceeee66ff0fb46e4526f8209ba56 SHA512 c4120b049e7d42d65be80649cdd097d17f8a732f090382759351617225f6235438f4338466e5e8c7b5c35675ca43d4930dc39b357263062ba7ae9c61c85f472e +DIST cmdparse-3.0.4.gem 54272 BLAKE2B cd5c91f810937192a3c6d8895fa4d4e323b51b76e2641e2a93a9dcf7df04a93f86dfe88b1df0e9bd6ca2e1088d02304789eef8fecf8d7e7764266306cef8126b SHA512 f1a36d42de42c7bf06f160d31f44323ab588736e7e5b0ffafe05253ec1d9fe0990e8e1a004b47f82b1316154ac1459a6145a52da5a1e2e32e1c548bb5f37401a +DIST cmdparse-3.0.5.gem 54272 BLAKE2B ff037ffa8b55e79e629eb0a802bc1ad4567e927bfcf42258372686a39cc5471ec3e08b97172d5321f5e559eb9c5ec974d62937884a6ef6ce40a4130121c8d100 SHA512 841803929ef24f12ba90fc9545e9b5d1f7c2343ed7556564d5c5d72883256a7690f710fb864d915625393ea29cb1bd6667fa5466087b14a8998e5287a14834c6 +DIST cmdparse-3.0.6.gem 54272 BLAKE2B 04d1ce8a10a716c913eb6def6e6abd72c4ca5aeb2f761c0fd84d95cce524d853f89d959d2babf078e313b4f7ca738ce7bb3da1027c77c0811cb7c81bf89cb6cf SHA512 c097d0d85c4da423d393bfef875d214221543db19f1fa8f66ea711090e468a67250480ecb8c113d29b77173cd48e809cd3afb5a810cd62986abf066a568515ca diff --git a/dev-ruby/cmdparse/cmdparse-2.0.6-r1.ebuild b/dev-ruby/cmdparse/cmdparse-2.0.6-r1.ebuild new file mode 100644 index 000000000000..91e882b9c1bd --- /dev/null +++ b/dev-ruby/cmdparse/cmdparse-2.0.6-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc/output/rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +IUSE="" + +DESCRIPTION="Advanced command line parser supporting commands" +HOMEPAGE="https://cmdparse.gettalong.org/" + +KEYWORDS="amd64 ppc64 x86" +LICENSE="LGPL-3" +SLOT="0" + +each_ruby_test() { + ${RUBY} -Ilib net.rb stat || die "test failed" +} diff --git a/dev-ruby/cmdparse/cmdparse-3.0.4.ebuild b/dev-ruby/cmdparse/cmdparse-3.0.4.ebuild new file mode 100644 index 000000000000..45114decfdc8 --- /dev/null +++ b/dev-ruby/cmdparse/cmdparse-3.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +IUSE="" + +DESCRIPTION="Advanced command line parser supporting commands" +HOMEPAGE="https://cmdparse.gettalong.org/" + +KEYWORDS="~amd64 ~ppc64 ~x86" +LICENSE="MIT" +SLOT="3" diff --git a/dev-ruby/cmdparse/cmdparse-3.0.5.ebuild b/dev-ruby/cmdparse/cmdparse-3.0.5.ebuild new file mode 100644 index 000000000000..5312b37121c9 --- /dev/null +++ b/dev-ruby/cmdparse/cmdparse-3.0.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +IUSE="" + +DESCRIPTION="Advanced command line parser supporting commands" +HOMEPAGE="https://cmdparse.gettalong.org/" + +KEYWORDS="~amd64 ~ppc64 ~x86" +LICENSE="MIT" +SLOT="3" diff --git a/dev-ruby/cmdparse/cmdparse-3.0.6.ebuild b/dev-ruby/cmdparse/cmdparse-3.0.6.ebuild new file mode 100644 index 000000000000..5312b37121c9 --- /dev/null +++ b/dev-ruby/cmdparse/cmdparse-3.0.6.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +IUSE="" + +DESCRIPTION="Advanced command line parser supporting commands" +HOMEPAGE="https://cmdparse.gettalong.org/" + +KEYWORDS="~amd64 ~ppc64 ~x86" +LICENSE="MIT" +SLOT="3" diff --git a/dev-ruby/cmdparse/metadata.xml b/dev-ruby/cmdparse/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/cmdparse/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/coderay/Manifest b/dev-ruby/coderay/Manifest new file mode 100644 index 000000000000..96ebaa024b4d --- /dev/null +++ b/dev-ruby/coderay/Manifest @@ -0,0 +1,2 @@ +DIST coderay-1.1.2.tar.gz 220645 BLAKE2B 85405da2b148ae23573abf2c3fcf94a643024756308e83c4cecf0a5edae2fedc4ca7c7bdf8fb5936310f6699ca8f06f91cceb475e00511a54af0a96dd517c234 SHA512 cfce5e9f0a0d988e7920912e064ecbef3b54200a08ca2e07453452edd7f382a1eb9292bc566e069f5d1b784033e816f13d9ddfb39520e8e44a8d1e898aa33591 +DIST coderay-1.1.3.tar.gz 229139 BLAKE2B a900cc5fbac950f66814d9300876d6a273b296d07139297d5344d26c5710d23c37761e5743ef972f523afa20fa663f239c03d9d2ad47232b77e53fe5053736f0 SHA512 a5208965e8dbad53d179fdc1c57df59ba4e13522a1a57c371ccd3f9369408a1c7d878867df48b201a1d590b46ef0f9bada3f3e7810866f17d244b5b370aba3fb diff --git a/dev-ruby/coderay/coderay-1.1.2.ebuild b/dev-ruby/coderay/coderay-1.1.2.ebuild new file mode 100644 index 000000000000..031c7d8fe667 --- /dev/null +++ b/dev-ruby/coderay/coderay-1.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# The test target also contains test:exe but that requires +# shoulda-context which we do not have packaged yet. +RUBY_FAKEGEM_TASK_TEST="test:functional test:units" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS README_INDEX.rdoc README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for syntax highlighting" +HOMEPAGE="http://coderay.rubychan.de/" +SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Redcloth is an optional but automagically tested dependency. This +# requires redcloth-4.2.2. We don't depend on this version to make +# bootstrapping rspec with new versions easier, since redcloth depends +# on rake-compiler. + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/git ls-files/ s:^:#:' coderay.gemspec || die + + # Fix failing tests for lazy evaluation in ruby26 + sed -i -e 's/\.filter$/.filter.to_a/' test/unit/filter.rb || die +} diff --git a/dev-ruby/coderay/coderay-1.1.3-r1.ebuild b/dev-ruby/coderay/coderay-1.1.3-r1.ebuild new file mode 100644 index 000000000000..cf223d7b17de --- /dev/null +++ b/dev-ruby/coderay/coderay-1.1.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# The test target also contains test:exe but that requires +# shoulda-context which we do not have packaged yet. +RUBY_FAKEGEM_TASK_TEST="test:functional test:units" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS README_INDEX.rdoc README.markdown" + +RUBY_FAKEGEM_GEMSPEC="coderay.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for syntax highlighting" +HOMEPAGE="http://coderay.rubychan.de/" +SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Redcloth is an optional but automagically tested dependency. This +# requires redcloth-4.2.2. We don't depend on this version to make +# bootstrapping rspec with new versions easier, since redcloth depends +# on rake-compiler. + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/git ls-files/ s:^:#:' -e 's/.rc.*"/"/' coderay.gemspec || die + + # Fix failing tests for lazy evaluation in ruby26 + sed -i -e 's/\.filter$/.filter.to_a/' test/unit/filter.rb || die +} diff --git a/dev-ruby/coderay/metadata.xml b/dev-ruby/coderay/metadata.xml new file mode 100644 index 000000000000..49a82b0b544d --- /dev/null +++ b/dev-ruby/coderay/metadata.xml @@ -0,0 +1,12 @@ +<?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">rubychan/coderay</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/coercible/Manifest b/dev-ruby/coercible/Manifest new file mode 100644 index 000000000000..a4a39c67364f --- /dev/null +++ b/dev-ruby/coercible/Manifest @@ -0,0 +1 @@ +DIST coercible-1.0.0.gem 24064 BLAKE2B 5f9708211600621869e78742dc5421672f27162c1e09e703bb2954d67b2ad281ddf59f9ecb28722f4423cbd0c7fc8bc14bda0f1f064135cbefc24ddb94ab1648 SHA512 5de43166625cca102cd048ae5cd4113ef834b273fb798490a99eeaab423174f1fa40410546de4e0224234efb996a4aa1f2c37b093298f50356f925b8a6163767 diff --git a/dev-ruby/coercible/coercible-1.0.0.ebuild b/dev-ruby/coercible/coercible-1.0.0.ebuild new file mode 100644 index 000000000000..de805fc605d6 --- /dev/null +++ b/dev-ruby/coercible/coercible-1.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Powerful, flexible and configurable coercion library" +HOMEPAGE="https://github.com/solnic/coercible https://rubygems.org/gems/coercible" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/descendants_tracker-0.0.1 + <dev-ruby/descendants_tracker-0.1" diff --git a/dev-ruby/coercible/metadata.xml b/dev-ruby/coercible/metadata.xml new file mode 100644 index 000000000000..05db42748aa7 --- /dev/null +++ b/dev-ruby/coercible/metadata.xml @@ -0,0 +1,13 @@ +<?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">solnic/coercible</remote-id> + <remote-id type="rubygems">coercible</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/coffee-rails/Manifest b/dev-ruby/coffee-rails/Manifest new file mode 100644 index 000000000000..7150e04703e6 --- /dev/null +++ b/dev-ruby/coffee-rails/Manifest @@ -0,0 +1,2 @@ +DIST coffee-rails-4.2.2.tar.gz 6013 BLAKE2B fa8b241f68fd191175f35d46cdd3c1b668d9c3cd8fce1899d33cf16a1b88dd4b3bfbe48a545487478c6189bf4c5b68a057751a669065a2972fa67aa429ba9e33 SHA512 195f4132f21b271a3142af1aec911f86cd8234a6f382a337ba349407626fe501f529ff0f65ddfdd91c413dc87a44433e295f81f4399163910104369d11320041 +DIST coffee-rails-5.0.0.tar.gz 5892 BLAKE2B 4d3b945ab4b53936bd39599ac7ba8af4d90e6fee073188847dbb157e098f275df5a3a6e91dcf804068b707804047442efc86524935a56cf403b55426466c502c SHA512 f1aac41f8f1f7181e82fbcf8c3007f40116639e4c140f1837be835fdcfa1babc7fc370212a9954ac8398d9a8d20fbd468550cd8b11c31788428769ea7aedf769 diff --git a/dev-ruby/coffee-rails/coffee-rails-4.2.2-r1.ebuild b/dev-ruby/coffee-rails/coffee-rails-4.2.2-r1.ebuild new file mode 100644 index 000000000000..1f4a0cb3cc3e --- /dev/null +++ b/dev-ruby/coffee-rails/coffee-rails-4.2.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Coffee Script adapter for the Rails asset pipeline" +HOMEPAGE="https://github.com/rails/coffee-rails" +SRC_URI="https://github.com/rails/coffee-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="" + +ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0 + >dev-ruby/railties-4:*" + +all_ruby_prepare() { + # Avoid dependency on git and bundler. + sed -i -e 's/git ls-files/echo/' \ + -e '/bundler/I s:^:#:' Rakefile || die + + # Make sure a consistent rails version is loaded. + sed -i -e '4igem "railties"' -e '/bundler/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/coffee-rails/coffee-rails-5.0.0.ebuild b/dev-ruby/coffee-rails/coffee-rails-5.0.0.ebuild new file mode 100644 index 000000000000..2dc0ad63009c --- /dev/null +++ b/dev-ruby/coffee-rails/coffee-rails-5.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Coffee Script adapter for the Rails asset pipeline" +HOMEPAGE="https://github.com/rails/coffee-rails" +SRC_URI="https://github.com/rails/coffee-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="" + +ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0 + >dev-ruby/railties-5.2:*" + +ruby_add_bdepend "test? ( dev-ruby/sprockets-rails )" + +all_ruby_prepare() { + # Avoid dependency on git and bundler. + sed -i -e 's/git ls-files/echo/' \ + -e '/bundler/I s:^:#:' Rakefile || die + + # Make sure a consistent rails version is loaded. + sed -i -e '4igem "railties"' -e '/bundler/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/coffee-rails/metadata.xml b/dev-ruby/coffee-rails/metadata.xml new file mode 100644 index 000000000000..f45f8531252f --- /dev/null +++ b/dev-ruby/coffee-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/coffee-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/coffee-script-source/Manifest b/dev-ruby/coffee-script-source/Manifest new file mode 100644 index 000000000000..8c04518a708b --- /dev/null +++ b/dev-ruby/coffee-script-source/Manifest @@ -0,0 +1 @@ +DIST coffee-script-source-1.12.2.gem 65024 BLAKE2B 7796ea3b031fe04ff286c023d5de62a1bccff6bef7aa6b0eb01e92bdae59f2e46134c0efae36d647a07cb0dcea61d7da5bf47d1197bdd02a4a2daf0edcbae743 SHA512 f20dfc576202e5100f297e28481ac4e61776fd6684600ce5949b5deb26bfbacd74ae183462fc3cdaa81f95eb95729cd520b72841f70b6b4b133b1eea08ed6fcb diff --git a/dev-ruby/coffee-script-source/coffee-script-source-1.12.2.ebuild b/dev-ruby/coffee-script-source/coffee-script-source-1.12.2.ebuild new file mode 100644 index 000000000000..cdb380a9911d --- /dev/null +++ b/dev-ruby/coffee-script-source/coffee-script-source-1.12.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="Ruby CoffeeScript is a bridge to the official CoffeeScript compiler" +HOMEPAGE="http://coffeescript.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x64-macos ~x86-solaris" + +IUSE="" diff --git a/dev-ruby/coffee-script-source/metadata.xml b/dev-ruby/coffee-script-source/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/coffee-script-source/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/coffee-script/Manifest b/dev-ruby/coffee-script/Manifest new file mode 100644 index 000000000000..cb1f3c8c908a --- /dev/null +++ b/dev-ruby/coffee-script/Manifest @@ -0,0 +1 @@ +DIST coffee-script-2.4.1.gem 6656 BLAKE2B d670da7888dfc576f7bc07f1d46e82c954d784ae9fb5c3aa094a9d58a74e4e6b12af5b0ab16940de9c8867871dae425cbcf14f1a36d4753367b28785e8c7a1da SHA512 5f19e3dd099408c633243d110fb6a3aece7753eed398c6568388b943a4a068fd5c2085f4e5408ebb7ea7eef529154995fe6e8ca4d437d491ec728a876bfd6492 diff --git a/dev-ruby/coffee-script/coffee-script-2.4.1.ebuild b/dev-ruby/coffee-script/coffee-script-2.4.1.ebuild new file mode 100644 index 000000000000..24aad6c47691 --- /dev/null +++ b/dev-ruby/coffee-script/coffee-script-2.4.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby CoffeeScript is a bridge to the official CoffeeScript compiler" +HOMEPAGE="https://github.com/rails/ruby-coffee-script https://github.com/rails/coffee-rails" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x64-macos" + +IUSE="" + +ruby_add_rdepend "dev-ruby/coffee-script-source dev-ruby/execjs:*" diff --git a/dev-ruby/coffee-script/metadata.xml b/dev-ruby/coffee-script/metadata.xml new file mode 100644 index 000000000000..f45f8531252f --- /dev/null +++ b/dev-ruby/coffee-script/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/coffee-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/color/Manifest b/dev-ruby/color/Manifest new file mode 100644 index 000000000000..d21361004b76 --- /dev/null +++ b/dev-ruby/color/Manifest @@ -0,0 +1 @@ +DIST color-1.8.tar.gz 42530 BLAKE2B 4a0f0ff4d4f82530fab5bad345350ea0cd983bc7d1bd8898c8a4da16de788efc908cff919d622ce0a9c445257e1dfef0adda4b29641d3eda55d0a8c917db932f SHA512 be48a8895b5dd33326a9debe250c87df37025eb2dca05a0eb61b82b31dbc1ee27c175fc1e37262bce88729e882dfb66f449a3a29c76b9ef0ac2064ffa2b4266c diff --git a/dev-ruby/color/color-1.8.ebuild b/dev-ruby/color/color-1.8.ebuild new file mode 100644 index 000000000000..88eaa3cd0eca --- /dev/null +++ b/dev-ruby/color/color-1.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Colour management with Ruby" +HOMEPAGE="https://github.com/halostatue/color" +SRC_URI="https://github.com/halostatue/color/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-5.0 + )" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/color/metadata.xml b/dev-ruby/color/metadata.xml new file mode 100644 index 000000000000..cfc2c770553d --- /dev/null +++ b/dev-ruby/color/metadata.xml @@ -0,0 +1,12 @@ +<?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">halostatue/color</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/colorator/Manifest b/dev-ruby/colorator/Manifest new file mode 100644 index 000000000000..247131b5394f --- /dev/null +++ b/dev-ruby/colorator/Manifest @@ -0,0 +1 @@ +DIST colorator-1.1.0.tar.gz 5112 BLAKE2B 89c297ad2de64b4befd0e0f5b8b4fed07c9456fc1e013d70f3084e15e8392b8e319737eaf9eb9172e4b5a32a36039b096f754de2351ae4f5b68f0f1884230f55 SHA512 7bc2e85f8c4db8ca6db5140c9ebb471d3b1733c1c408595eb0bec531ec5f08fc86f4ee793a451bf51f359c8d4f07beac9e5ae9f418e2752be1c4fb0442b802de diff --git a/dev-ruby/colorator/colorator-1.1.0.ebuild b/dev-ruby/colorator/colorator-1.1.0.ebuild new file mode 100644 index 000000000000..00c0f8539199 --- /dev/null +++ b/dev-ruby/colorator/colorator-1.1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.markdown" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Colorize your text in the terminal" +HOMEPAGE="https://github.com/octopress/colorator" +SRC_URI="https://github.com/octopress/colorator/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile || die + sed -i -e "/luna/d" spec/spec/helper.rb || die +} diff --git a/dev-ruby/colorator/metadata.xml b/dev-ruby/colorator/metadata.xml new file mode 100644 index 000000000000..0a376db86afd --- /dev/null +++ b/dev-ruby/colorator/metadata.xml @@ -0,0 +1,12 @@ +<?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">octopress/colorator</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/colored/Manifest b/dev-ruby/colored/Manifest new file mode 100644 index 000000000000..649f45b961bf --- /dev/null +++ b/dev-ruby/colored/Manifest @@ -0,0 +1 @@ +DIST colored-1.2.gem 5632 BLAKE2B cb384fe13692d453f86e403a8684604d07543e3ea3270ad15b6d6d8be2c0d3610911a23b82f23c40e0472f40174a290948804eeb8cf5c496f36ab49d56ee4413 SHA512 92a50ba1c434b6a0b409e546812ae6f4331be00a68725cd207504bdd65c9512f4fc3bf83057dd4fad09b8a3e5869595a6bb572c4303f0bef1f241ce63d4fc90b diff --git a/dev-ruby/colored/colored-1.2.ebuild b/dev-ruby/colored/colored-1.2.ebuild new file mode 100644 index 000000000000..bedd7ad2e943 --- /dev/null +++ b/dev-ruby/colored/colored-1.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Console coloring" +HOMEPAGE="https://github.com/defunkt/colored" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_prepare() { + sed -i -e '/[Mm][Gg]/d' Rakefile || die +} diff --git a/dev-ruby/colored/metadata.xml b/dev-ruby/colored/metadata.xml new file mode 100644 index 000000000000..f236c7dbbceb --- /dev/null +++ b/dev-ruby/colored/metadata.xml @@ -0,0 +1,12 @@ +<?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">defunkt/colored</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/colored2/Manifest b/dev-ruby/colored2/Manifest new file mode 100644 index 000000000000..c3459ccab742 --- /dev/null +++ b/dev-ruby/colored2/Manifest @@ -0,0 +1 @@ +DIST colored2-3.1.2.gem 10240 BLAKE2B 6dbf0dd1bce8712fecb4f34b0f4480da21f97db6d5d002e1758a7131120bbd68c02588b2f05eb50b09aaf2f398761e6d281b49b2b7a021724b7f4a416ae9d2d1 SHA512 20a3d610e7ff4097129eebf8d5f6cd5618cd5763dc14ad97c2570047c4f75ff371d3bea1b528f8c1b806b102e13834fd0092f9ae50590f11e70157e4584b915b diff --git a/dev-ruby/colored2/colored2-3.1.2.ebuild b/dev-ruby/colored2/colored2-3.1.2.ebuild new file mode 100644 index 000000000000..5a158dea39ff --- /dev/null +++ b/dev-ruby/colored2/colored2-3.1.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Console coloring" +HOMEPAGE="https://github.com/kigster/colored2" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/colored2/metadata.xml b/dev-ruby/colored2/metadata.xml new file mode 100644 index 000000000000..64e4192fbe94 --- /dev/null +++ b/dev-ruby/colored2/metadata.xml @@ -0,0 +1,12 @@ +<?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">kigster/colored2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/colorize/Manifest b/dev-ruby/colorize/Manifest new file mode 100644 index 000000000000..eec357092a64 --- /dev/null +++ b/dev-ruby/colorize/Manifest @@ -0,0 +1 @@ +DIST colorize-0.8.1.gem 15872 BLAKE2B fe8e3a3e010d55954fb9e3e26626202e1d3eba5478e27009fc86bd4029c98fe5a2ed2f2b0d5d1615e892435554272a70c1cbfcdadadea8bcaab894cb290e7992 SHA512 0819dfaa94150c85cbe633c77006f2f4bdd6c4f9bf9dfa954b8c4038b8a680c99a2b4b160da05bf426402d287a0db4c4eb1cc66a949405188b632f39da381c72 diff --git a/dev-ruby/colorize/colorize-0.8.1.ebuild b/dev-ruby/colorize/colorize-0.8.1.ebuild new file mode 100644 index 000000000000..a4c0a8d2040f --- /dev/null +++ b/dev-ruby/colorize/colorize-0.8.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Adds methods to set color, background color and text effect on console easier" +HOMEPAGE="https://github.com/fazibear/colorize" +LICENSE="GPL-2+" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e "/[Cc]ode[Cc]limate/d" test/test_colorize.rb || die +} + +each_ruby_test() { + cd test || die + ${RUBY} test_colorize.rb || die +} diff --git a/dev-ruby/colorize/metadata.xml b/dev-ruby/colorize/metadata.xml new file mode 100644 index 000000000000..4aa1160f2549 --- /dev/null +++ b/dev-ruby/colorize/metadata.xml @@ -0,0 +1,12 @@ +<?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">fazibear/colorize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/columnize/Manifest b/dev-ruby/columnize/Manifest new file mode 100644 index 000000000000..ec743388f141 --- /dev/null +++ b/dev-ruby/columnize/Manifest @@ -0,0 +1 @@ +DIST columnize-0.9.0.gem 16896 BLAKE2B 46821b72e3c0b70b5788002904fe6079dbab28f9f5d085ac269de8b2765c00f22294bbb36a288ea5688baf3a0bfeed9a4edfbe78eb41be67321433032ec99811 SHA512 b85f478db0e70740ff2d09e0c0a0e6eef378cbd0f025f8583726619412c0dd93ce85705978550ed13713f35e90db846ff087110c210742dfc3223bac3da7176c diff --git a/dev-ruby/columnize/columnize-0.9.0.ebuild b/dev-ruby/columnize/columnize-0.9.0.ebuild new file mode 100644 index 000000000000..674fa5804146 --- /dev/null +++ b/dev-ruby/columnize/columnize-0.9.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog NEWS README.md" + +inherit ruby-fakegem + +DESCRIPTION="Sorts an array in column order" +HOMEPAGE="https://github.com/rocky/columnize" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="" diff --git a/dev-ruby/columnize/metadata.xml b/dev-ruby/columnize/metadata.xml new file mode 100644 index 000000000000..71df2e589976 --- /dev/null +++ b/dev-ruby/columnize/metadata.xml @@ -0,0 +1,12 @@ +<?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">rocky/columnize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/combustion/Manifest b/dev-ruby/combustion/Manifest new file mode 100644 index 000000000000..452a054f051a --- /dev/null +++ b/dev-ruby/combustion/Manifest @@ -0,0 +1,5 @@ +DIST combustion-1.1.0.gem 18432 BLAKE2B 32e3c124d21c9fe96e00bab6e600bb0fd40dc998fa72a5256f5f59fce96f6ea7070238b5d0e5668b828abdf6dee3a03b78d750d8695a6e48d1164d4207753320 SHA512 d948a0235fbf5dff32c7e448426ec7bf361bad63aeee771ead0030143914bbb33afe6a7e6092e227ff4684bf312ed9194f0f27d71c979b2abdfb13f0e5069158 +DIST combustion-1.1.1.gem 18432 BLAKE2B e9e5a8dd5e4bfd865be3ff168c7403b7fa7ff6af9b6bd380bbfb02d8ffbaf9e4f820ecfb71cba58256a6fda64ee702f2159c970c9031722ccc2a4d2f365eafaa SHA512 559b34dfbc501c4be014fbfb6e3f8f61ca25b6ed2551da6bfc258be41161c5249e98e64faacbd9bd754d40c3a3f67d33eeadfe75624519cc4293f7528a7bea16 +DIST combustion-1.1.2.gem 18432 BLAKE2B 0a8aa7b418b19cc5e75957850670cc01d3d400dd4073ce0771d3070d4a3f518ab8540b70a89eb5c345e2086418b12a807bc072b17ea83dfd10258bd8b2bdee95 SHA512 ab9358bb68b5797830c73c3b66021cbfebc71d927d581622909e47bff56240df7cbd1bb2f4b70743d13d1f178f27b9cd5ab6bf964704eeeff4367025b0991633 +DIST combustion-1.2.0.gem 18944 BLAKE2B b4851e19779849b0edbf9759052b7a3546ead143322b15267b02295dce6f6097aa84eee62dc9e36e3f1c7fc66642216e6ad6fd713c21014ff658ef79afc597f9 SHA512 3bb64441910cc2ce24bbaa3b05953c4b2b159a064478c03afe1aa9685fc22c7766e1d26c0cfc606a66d137dcdbe29457f0ba43218659678c52364560a50c01b9 +DIST combustion-1.3.0.gem 18944 BLAKE2B 5a6f6f2ffd67ae180d3f34be0501ebb05f5a7e3a008b2588fa7c746c69760201b533fdbbab93df6c97fbeb642b6c3f190605b35fae4cb3c31b0b7b7c16d1fa77 SHA512 32ec2c2ab9b1c6a834cf334b3f41e60e495a9c366e57830fa27bc8554b6eff72e8998d76f4c8e8e2e6d81e6c3574db46edf12a1bff05329cd3bacbea8eeb2a46 diff --git a/dev-ruby/combustion/combustion-1.1.0.ebuild b/dev-ruby/combustion/combustion-1.1.0.ebuild new file mode 100644 index 000000000000..ab7aab0e1dfe --- /dev/null +++ b/dev-ruby/combustion/combustion-1.1.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Elegant Rails Engine Testing" +HOMEPAGE="https://github.com/pat/combustion" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0.0:* + >=dev-ruby/railties-3.0.0:* + >=dev-ruby/thor-0.14.6 +" diff --git a/dev-ruby/combustion/combustion-1.1.1.ebuild b/dev-ruby/combustion/combustion-1.1.1.ebuild new file mode 100644 index 000000000000..e468a5cef199 --- /dev/null +++ b/dev-ruby/combustion/combustion-1.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Elegant Rails Engine Testing" +HOMEPAGE="https://github.com/pat/combustion" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0.0:* + >=dev-ruby/railties-3.0.0:* + >=dev-ruby/thor-0.14.6 +" diff --git a/dev-ruby/combustion/combustion-1.1.2.ebuild b/dev-ruby/combustion/combustion-1.1.2.ebuild new file mode 100644 index 000000000000..e468a5cef199 --- /dev/null +++ b/dev-ruby/combustion/combustion-1.1.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Elegant Rails Engine Testing" +HOMEPAGE="https://github.com/pat/combustion" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0.0:* + >=dev-ruby/railties-3.0.0:* + >=dev-ruby/thor-0.14.6 +" diff --git a/dev-ruby/combustion/combustion-1.2.0.ebuild b/dev-ruby/combustion/combustion-1.2.0.ebuild new file mode 100644 index 000000000000..8577b3476b23 --- /dev/null +++ b/dev-ruby/combustion/combustion-1.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Elegant Rails Engine Testing" +HOMEPAGE="https://github.com/pat/combustion" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0.0:* + >=dev-ruby/railties-3.0.0:* + >=dev-ruby/thor-0.14.6 +" diff --git a/dev-ruby/combustion/combustion-1.3.0.ebuild b/dev-ruby/combustion/combustion-1.3.0.ebuild new file mode 100644 index 000000000000..8577b3476b23 --- /dev/null +++ b/dev-ruby/combustion/combustion-1.3.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Elegant Rails Engine Testing" +HOMEPAGE="https://github.com/pat/combustion" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0.0:* + >=dev-ruby/railties-3.0.0:* + >=dev-ruby/thor-0.14.6 +" diff --git a/dev-ruby/combustion/metadata.xml b/dev-ruby/combustion/metadata.xml new file mode 100644 index 000000000000..49f5e378e8df --- /dev/null +++ b/dev-ruby/combustion/metadata.xml @@ -0,0 +1,12 @@ +<?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">pat/combustion</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/commander/Manifest b/dev-ruby/commander/Manifest new file mode 100644 index 000000000000..537d60ea1690 --- /dev/null +++ b/dev-ruby/commander/Manifest @@ -0,0 +1,4 @@ +DIST commander-4.4.7.gem 37376 BLAKE2B 69965f1bf65cdbcf706a8a0106aba05313e9a49808d5c1ac6e938e364e46e940b6d61757046fab9ec00776b1207832f4232242814244f905267fb6ffe8ac3905 SHA512 1a5169448419cec0b04390a42e79c7299c66cf44a0d1d8cd938879970bfd4c72e5741a5f4b2899e60c707e0088b50853ec19eeda9ac66cc6f26a5790294a03fe +DIST commander-4.5.0.gem 37376 BLAKE2B dd8613872911c45b927c1c658661ad333d7e0e18e12bb7b84c5968a9a0eb6279c2cfde32a499f7ed335e367eb7142881a6b8321afc1f465fb4d151282199ca6e SHA512 400cd151906b296fabce480465123121d01bb211558c111074b51acbbf98a6bd5dddeda6753a964674c9c91e542787929e6a4fe0eeea46f8b218bee0dcd3f78c +DIST commander-4.5.1.gem 37888 BLAKE2B 2a34ed35d0dfc236e71f7674f67fddd1cc941823470438d8922ca04a3447ca2161fee67f442eeff8fe5c957799f7f90f2f9626286d2c4615b82c7f4698e4b95c SHA512 b969d6089be29eac9d10c06e302cfec87e8db37ea299ccb062f041647512d9463f7eb8263b5b734ba92770ce671388f9c4df71adeab5cd47c1b7240b42439590 +DIST commander-4.5.2.gem 37888 BLAKE2B e78e009a414e432d24a820dea6e85c9240e3a661eb15a17d71c152616dfd32fb02eea1e513a487ae90b8dc81e6ebc208d0bf432c37dc5a116c03c9df12ed057f SHA512 22ea0a5c88d4ec03658ca8e0fe12801a5a5918bc09031400e1cde2883bf061b85feb6d77448b256bc21f5ddee00e4afb2c08b99132cd7862f00c7cad13588564 diff --git a/dev-ruby/commander/commander-4.4.7.ebuild b/dev-ruby/commander/commander-4.4.7.ebuild new file mode 100644 index 000000000000..31f69d24995b --- /dev/null +++ b/dev-ruby/commander/commander-4.4.7.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="The complete solution for Ruby command-line executables" +HOMEPAGE="https://visionmedia.github.com/commander/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/highline:2" + +all_ruby_prepare() { + sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die +} diff --git a/dev-ruby/commander/commander-4.5.0.ebuild b/dev-ruby/commander/commander-4.5.0.ebuild new file mode 100644 index 000000000000..70c03572a57f --- /dev/null +++ b/dev-ruby/commander/commander-4.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="The complete solution for Ruby command-line executables" +HOMEPAGE="https://visionmedia.github.com/commander/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/highline:2" + +all_ruby_prepare() { + sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die +} diff --git a/dev-ruby/commander/commander-4.5.1.ebuild b/dev-ruby/commander/commander-4.5.1.ebuild new file mode 100644 index 000000000000..70c03572a57f --- /dev/null +++ b/dev-ruby/commander/commander-4.5.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="The complete solution for Ruby command-line executables" +HOMEPAGE="https://visionmedia.github.com/commander/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/highline:2" + +all_ruby_prepare() { + sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die +} diff --git a/dev-ruby/commander/commander-4.5.2.ebuild b/dev-ruby/commander/commander-4.5.2.ebuild new file mode 100644 index 000000000000..0c5d1039651f --- /dev/null +++ b/dev-ruby/commander/commander-4.5.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="The complete solution for Ruby command-line executables" +HOMEPAGE="https://visionmedia.github.com/commander/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/highline:2" + +all_ruby_prepare() { + sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die +} diff --git a/dev-ruby/commander/metadata.xml b/dev-ruby/commander/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/commander/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/compass-core/Manifest b/dev-ruby/compass-core/Manifest new file mode 100644 index 000000000000..d1910e55d93c --- /dev/null +++ b/dev-ruby/compass-core/Manifest @@ -0,0 +1 @@ +DIST compass-core-1.0.3.gem 137728 BLAKE2B c27a84f32973ee6f163129ff344019beb5658585b1567f5e7ac6a47108bced6da77537328f23f3c03e7f402db5387bb39fa41f726bb7e89f2b7b8f80f65b7132 SHA512 90ee9fbd2266fc3e437162c8920710e4885446333c8d4b5ae22c652c7572b93ce3071574fa74f432b0036795865f92c888a6d648ee20bf5618cf58fb7b2b1dd1 diff --git a/dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild b/dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild new file mode 100644 index 000000000000..0d1c512aa3ca --- /dev/null +++ b/dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="data stylesheets templates VERSION" + +inherit ruby-fakegem versionator + +DESCRIPTION="Compass Stylesheet Authoring Framework" +HOMEPAGE="http://compass-style.org/" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/multi_json-1.0 + >=dev-ruby/sass-3.3.0:* <dev-ruby/sass-3.5:* +" diff --git a/dev-ruby/compass-core/metadata.xml b/dev-ruby/compass-core/metadata.xml new file mode 100644 index 000000000000..99f9cabfd2f7 --- /dev/null +++ b/dev-ruby/compass-core/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <longdescription lang="en"> + Compass is a Sass-based Stylesheet Framework that streamlines the + creation and maintenance of CSS. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/compass-import-once/Manifest b/dev-ruby/compass-import-once/Manifest new file mode 100644 index 000000000000..05dc09cecc17 --- /dev/null +++ b/dev-ruby/compass-import-once/Manifest @@ -0,0 +1 @@ +DIST compass-import-once-1.0.5.gem 9728 BLAKE2B 24a48d11427b30ca14ab27d34c3a9906c1fe9f9d363b910e4c9e3a2488890f4908ec8bdc4a3323a145cce81f8c2344b95302cd168266bf6a1b36d850a1412e59 SHA512 2ef723803341892b34a4bbe691b32ddd266a125c5e3faf8034c473566d70c7a8c0931f1a02abe64c243fe62f2a204cc8e53b951dd88c440eada4ec2dfc19856b diff --git a/dev-ruby/compass-import-once/compass-import-once-1.0.5.ebuild b/dev-ruby/compass-import-once/compass-import-once-1.0.5.ebuild new file mode 100644 index 000000000000..3115c37dff1b --- /dev/null +++ b/dev-ruby/compass-import-once/compass-import-once-1.0.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26" + +# Skip tests since they depend on sass-globbing which does not have a +# license and where the last version is known to be broken. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="VERSION" + +inherit ruby-fakegem versionator + +DESCRIPTION="Speed up your Sass compilation by making @import only import each file once" +HOMEPAGE="http://compass-style.org/" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/sass-3.2:* <dev-ruby/sass-3.5:* +" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} diff --git a/dev-ruby/compass-import-once/metadata.xml b/dev-ruby/compass-import-once/metadata.xml new file mode 100644 index 000000000000..99f9cabfd2f7 --- /dev/null +++ b/dev-ruby/compass-import-once/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <longdescription lang="en"> + Compass is a Sass-based Stylesheet Framework that streamlines the + creation and maintenance of CSS. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/compass/Manifest b/dev-ruby/compass/Manifest new file mode 100644 index 000000000000..177fd45b0aa3 --- /dev/null +++ b/dev-ruby/compass/Manifest @@ -0,0 +1 @@ +DIST compass-1.0.3.gem 378368 BLAKE2B 1c33f576ba0c1117d8ca3deeb4d422441fd50922df3443a68b4eeabdd45d804fe505461a687053b6a0ebf0a2aed2539482843eac786226d16ad5ea5fb51a5284 SHA512 bef1ca903cb982df39330a913051c1a330aa1ecad9abbe5a7644e335c7ed2d152901a4079cc5ee43e9f7ce85a671f1d5552a3c98cf40b04134de072a120deef6 diff --git a/dev-ruby/compass/compass-1.0.3-r1.ebuild b/dev-ruby/compass/compass-1.0.3-r1.ebuild new file mode 100644 index 000000000000..d0f7e35f5fc2 --- /dev/null +++ b/dev-ruby/compass/compass-1.0.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_TASK_TEST="-Ilib test features" + +RUBY_FAKEGEM_EXTRAINSTALL="VERSION VERSION_NAME" + +inherit ruby-fakegem + +DESCRIPTION="Compass Stylesheet Authoring Framework" +HOMEPAGE="http://compass-style.org/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +# Gem does not contain all files needed to run specs and it is not clear +# which upstream repository/branch/directory to use. +RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/chunky_png-1.2 + >=dev-ruby/compass-core-1.0.2:1.0 + >=dev-ruby/compass-import-once-1.0.5:1.0 + >=dev-ruby/rb-inotify-0.9 + >=dev-ruby/sass-3.3.13:* <dev-ruby/sass-3.5:*" + +#ruby_add_bdepend "test? ( dev-ruby/colorize )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + + # Remove rb-fsevent dependency since it is not needed on Linux and + # not packaged. + sed -i -e '/rb-fsevent/,/^-/ s:^:#:' ../metadata || die +} diff --git a/dev-ruby/compass/metadata.xml b/dev-ruby/compass/metadata.xml new file mode 100644 index 000000000000..99f9cabfd2f7 --- /dev/null +++ b/dev-ruby/compass/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <longdescription lang="en"> + Compass is a Sass-based Stylesheet Framework that streamlines the + creation and maintenance of CSS. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest new file mode 100644 index 000000000000..d5a606d94101 --- /dev/null +++ b/dev-ruby/concurrent-ruby/Manifest @@ -0,0 +1 @@ +DIST concurrent-ruby-1.0.5.tar.gz 1307802 BLAKE2B 2eee2afdd33e2609608e9389847de380eb895c2193746b1190ea96ca8bb67eaccd8d141bc2071006afbd971f078e5b6452d1e62624892c0fce2c12b8ac9fa28b SHA512 fdf7324b56bb37b4a79dc89882354e452ee838a097f522fb906c20a06856303cfbbae16f2500255cbfb4bba33ee1b3b3ee8facf3d0156e976add64209e349da6 diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.5.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.5.ebuild new file mode 100644 index 000000000000..f35d43160656 --- /dev/null +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Modern concurrency tools including agents, futures, promises, thread pools, more" +HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby" +SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.7.4 )" + +all_ruby_prepare() { + # Remove edge files as defined in support/file_map.rb + rm -rf {lib,spec}/concurrent/{actor,channel,edge}* \ + lib/concurrent/{concurrent-edge,lazy_register.rb} \ + spec/concurrent/lazy_register_spec.rb || die + sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die + + # Remove specs for the ext gem + rm -rf spec/concurrent/atomic || die + + sed -i -e '/file_map/d' -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/concurrent-ruby/metadata.xml b/dev-ruby/concurrent-ruby/metadata.xml new file mode 100644 index 000000000000..9a77acb04159 --- /dev/null +++ b/dev-ruby/concurrent-ruby/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-concurrency/concurrent-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/connection_pool/Manifest b/dev-ruby/connection_pool/Manifest new file mode 100644 index 000000000000..4460dd832d71 --- /dev/null +++ b/dev-ruby/connection_pool/Manifest @@ -0,0 +1,2 @@ +DIST connection_pool-2.2.2.gem 13824 BLAKE2B 2f52bb3451dec5916d5797596f7bc3dbf39845321ee83736d679c433e96f154db852469b1f6d0d3b7c7f48262f7840087d89cdd40ece22b67a29c20ff77274dd SHA512 74cb64aa3f183ee4e41f438133f60581e9f99a1d5b5daf61607cff2329bfb1fbd8810d87c35d709418a22ad925049e3e9403a602107452414a67aee1c6eecfe9 +DIST connection_pool-2.2.3.gem 13824 BLAKE2B b74666181790e678793023413eedbd5b68836e6d480d79f6c12d512277a1917db0d400e08be98c098305ca065a12988bcac9d46f89b4c1380d758991490a540b SHA512 a5e54b11073723d5cf5150a47c38b37ef8e58e9adb056eeedc4427207ed1ae5d1844cab925bbbcc8a2a9dd3fe9373593ab735ce4de588b89db97800fb74757ac diff --git a/dev-ruby/connection_pool/connection_pool-2.2.2.ebuild b/dev-ruby/connection_pool/connection_pool-2.2.2.ebuild new file mode 100644 index 000000000000..62f3228df938 --- /dev/null +++ b/dev-ruby/connection_pool/connection_pool-2.2.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changes.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Generic connection pooling for Ruby" +HOMEPAGE="https://github.com/mperham/connection_pool" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' connection_pool.gemspec || die + sed -i -e '/bundler/d' Rakefile || die + sed -i -e "s/gem 'minitest'/gem 'minitest', '~> 5.0'/" test/helper.rb || die +} diff --git a/dev-ruby/connection_pool/connection_pool-2.2.3.ebuild b/dev-ruby/connection_pool/connection_pool-2.2.3.ebuild new file mode 100644 index 000000000000..194ac6f8667a --- /dev/null +++ b/dev-ruby/connection_pool/connection_pool-2.2.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changes.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Generic connection pooling for Ruby" +HOMEPAGE="https://github.com/mperham/connection_pool" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' connection_pool.gemspec || die + sed -i -e '/\(bundler\|standard\)/ s:^:#:' Rakefile || die + sed -i -e "s/gem 'minitest'/gem 'minitest', '~> 5.0'/" test/helper.rb || die +} diff --git a/dev-ruby/connection_pool/metadata.xml b/dev-ruby/connection_pool/metadata.xml new file mode 100644 index 000000000000..033010bd8fbb --- /dev/null +++ b/dev-ruby/connection_pool/metadata.xml @@ -0,0 +1,12 @@ +<?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">mperham/connection_pool</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/contracts/Manifest b/dev-ruby/contracts/Manifest new file mode 100644 index 000000000000..f455a455e2ce --- /dev/null +++ b/dev-ruby/contracts/Manifest @@ -0,0 +1 @@ +DIST contracts-0.16.0.gem 55296 BLAKE2B 71b058fd2bcbdf5dfc2ff60631ecfc56cb405dea08fb5b2a67fb23c859a3941ed0aa3963ef639e9cb6670d871a6301a0c8b360fff3912413c10ad44ee8dcde2f SHA512 27d757c3a6d25920ada1b24842a5ed8521bc8902b1840b6060c94dc17e5eecb91501439eb764fa2fec97dedc6591d2c2978630f56d4b38e7b607e9fccfb60ad7 diff --git a/dev-ruby/contracts/contracts-0.16.0.ebuild b/dev-ruby/contracts/contracts-0.16.0.ebuild new file mode 100644 index 000000000000..cde566992069 --- /dev/null +++ b/dev-ruby/contracts/contracts-0.16.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.md TODO.markdown TUTORIAL.md" + +inherit ruby-fakegem + +DESCRIPTION="provides contracts for Ruby" +HOMEPAGE="https://github.com/egonSchiele/contracts.ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" diff --git a/dev-ruby/contracts/metadata.xml b/dev-ruby/contracts/metadata.xml new file mode 100644 index 000000000000..b31f22ec4280 --- /dev/null +++ b/dev-ruby/contracts/metadata.xml @@ -0,0 +1,12 @@ +<?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">egonSchiele/contracts.ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/coolio/Manifest b/dev-ruby/coolio/Manifest new file mode 100644 index 000000000000..2a4cc47b3cc0 --- /dev/null +++ b/dev-ruby/coolio/Manifest @@ -0,0 +1,3 @@ +DIST cool.io-1.5.3.gem 112128 BLAKE2B f343ee73e3796744ec21d3af13e92a0a462e10b262543c2d77ab0dd6c5250bbd6cf0d6579646d146983df1c2b288717f3d4e9f1d5d0cded58a9b1422e497dee5 SHA512 6ef61713acdccf951ebd64018a3d9ec83e2655895994fe23842e18cd2556f4d35ec42144577a83b30ef369a9047a58d1bba2224145653db0b7c203dfdca6c3c3 +DIST cool.io-1.5.4.gem 112128 BLAKE2B 49ae41e7ab3481609952d0234e3303d195f59d3a7f369c40aadf72b1c7a85cb46b189532025912d60e972d41f6abd1b4dce3b00d458f59ba80d98a3c51845adc SHA512 d618b3ff396dd2145f8af78e38cafa13c3bb8ca8b9c2d17c8d2884b15178a3f644a8afabadb1b2821b315a5625f169f58bb384f8829828303b9de0d761dec1e7 +DIST cool.io-1.6.0.gem 112128 BLAKE2B 829a2ce47342b4611fb76457836935e26902e5849dd7c43aae297f1d4b220c30020478d3176d15c179489be2ceb504da218b123d04cd6639a7b99e8a185f51eb SHA512 d6ef51ef15b804158b5d84a6a774368513e787d0bec12743d3ebf0c634d40b1fbfe213b5b7c484a1f3de0aaf894e5edb3072e39452d53886b00317a368570e76 diff --git a/dev-ruby/coolio/coolio-1.5.3.ebuild b/dev-ruby/coolio/coolio-1.5.3.ebuild new file mode 100644 index 000000000000..b0718cda696c --- /dev/null +++ b/dev-ruby/coolio/coolio-1.5.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_NAME="cool.io" + +RUBY_FAKEGEM_GEMSPEC="cool.io.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A high performance event framework for Ruby which uses the libev C library" +HOMEPAGE="https://coolio.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# cool.io includes a bundled version of libev that is patched to work correctly with ruby. + +ruby_add_rdepend ">=dev-ruby/iobuffer-1" + +all_ruby_prepare() { + rm -r Gemfile* lib/.gitignore || die + + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '28i s.add_dependency "iobuffer"' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid dependency on rake-compiler + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die + + # Remove specs that require network connectivity + rm -f spec/dns_spec.rb || die + + # Use one address consistently + sed -i -e 's/localhost/127.0.0.1/' spec/{udp_socket,tcp_server,iobuffer}_spec.rb || die +} + +each_ruby_configure() { + pushd ext/cool.io || die + ${RUBY} extconf.rb || die + popd || die +} + +each_ruby_compile() { + pushd ext/cool.io || die + emake V=1 + popd || die + cp ext/cool.io/cool.io_ext$(get_modname) lib/ || die +} diff --git a/dev-ruby/coolio/coolio-1.5.4.ebuild b/dev-ruby/coolio/coolio-1.5.4.ebuild new file mode 100644 index 000000000000..b0718cda696c --- /dev/null +++ b/dev-ruby/coolio/coolio-1.5.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_NAME="cool.io" + +RUBY_FAKEGEM_GEMSPEC="cool.io.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A high performance event framework for Ruby which uses the libev C library" +HOMEPAGE="https://coolio.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# cool.io includes a bundled version of libev that is patched to work correctly with ruby. + +ruby_add_rdepend ">=dev-ruby/iobuffer-1" + +all_ruby_prepare() { + rm -r Gemfile* lib/.gitignore || die + + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '28i s.add_dependency "iobuffer"' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid dependency on rake-compiler + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die + + # Remove specs that require network connectivity + rm -f spec/dns_spec.rb || die + + # Use one address consistently + sed -i -e 's/localhost/127.0.0.1/' spec/{udp_socket,tcp_server,iobuffer}_spec.rb || die +} + +each_ruby_configure() { + pushd ext/cool.io || die + ${RUBY} extconf.rb || die + popd || die +} + +each_ruby_compile() { + pushd ext/cool.io || die + emake V=1 + popd || die + cp ext/cool.io/cool.io_ext$(get_modname) lib/ || die +} diff --git a/dev-ruby/coolio/coolio-1.6.0.ebuild b/dev-ruby/coolio/coolio-1.6.0.ebuild new file mode 100644 index 000000000000..cb36a9e516af --- /dev/null +++ b/dev-ruby/coolio/coolio-1.6.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_NAME="cool.io" + +RUBY_FAKEGEM_GEMSPEC="cool.io.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A high performance event framework for Ruby which uses the libev C library" +HOMEPAGE="https://coolio.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# cool.io includes a bundled version of libev that is patched to work correctly with ruby. + +ruby_add_rdepend ">=dev-ruby/iobuffer-1" + +all_ruby_prepare() { + rm -r Gemfile* lib/.gitignore || die + + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '28i s.add_dependency "iobuffer"' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid dependency on rake-compiler + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die + + # Remove specs that require network connectivity + rm -f spec/dns_spec.rb || die + + # Use one address consistently + sed -i -e 's/localhost/127.0.0.1/' spec/{udp_socket,tcp_server,iobuffer}_spec.rb || die +} + +each_ruby_configure() { + pushd ext/cool.io || die + ${RUBY} extconf.rb || die + popd || die +} + +each_ruby_compile() { + pushd ext/cool.io || die + emake V=1 + popd || die + cp ext/cool.io/cool.io_ext$(get_modname) lib/ || die +} diff --git a/dev-ruby/coolio/metadata.xml b/dev-ruby/coolio/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/coolio/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/countdownlatch/Manifest b/dev-ruby/countdownlatch/Manifest new file mode 100644 index 000000000000..ea66df3aa090 --- /dev/null +++ b/dev-ruby/countdownlatch/Manifest @@ -0,0 +1 @@ +DIST countdownlatch-1.0.0.gem 7168 BLAKE2B 5261ccfec2c743fb2bdd785bf48c1695ded01be94e0d216d96f2322d5422000450dd6205a0b7ad3597de665b0629f09369937c2ea7cc377dd700a5e233662327 SHA512 3e8e23212b253d6d29ae7834131e7dd5ccb40d6ecb43fe31fa84b8314e932b5ef1cc8ce61f59ba8256bfc80c6f7c131b149748e99ce9b4667f2da7ac8b8279a5 diff --git a/dev-ruby/countdownlatch/countdownlatch-1.0.0-r1.ebuild b/dev-ruby/countdownlatch/countdownlatch-1.0.0-r1.ebuild new file mode 100644 index 000000000000..0610d2ae72ac --- /dev/null +++ b/dev-ruby/countdownlatch/countdownlatch-1.0.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Synchronization aid to allow threads to wait for operations in other threads" +HOMEPAGE="https://github.com/benlangfeld/countdownlatch" +IUSE="" +SLOT="0" + +LICENSE="MIT" +KEYWORDS="~amd64" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/countdownlatch/metadata.xml b/dev-ruby/countdownlatch/metadata.xml new file mode 100644 index 000000000000..d860f44dbc15 --- /dev/null +++ b/dev-ruby/countdownlatch/metadata.xml @@ -0,0 +1,12 @@ +<?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">benlangfeld/countdownlatch</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/crack/Manifest b/dev-ruby/crack/Manifest new file mode 100644 index 000000000000..c6e5f634e808 --- /dev/null +++ b/dev-ruby/crack/Manifest @@ -0,0 +1 @@ +DIST crack-0.4.3.gem 574976 BLAKE2B 4b6f23277ec17a516d06e6e6785889996172b3ec077f022d1a52ab4b8e938b2735abbaecc71288b55654ff09a428c33eb944b627cfdc827ea1f4ddc6289461d9 SHA512 c6577bd86fe2e36b2a37693729da9fc35c5d4deb860ac1873265ccb6fb38056fd76d8c17bb4f779b39f4bc13b9db37c1768433f518c17090ccbb0872a103b386 diff --git a/dev-ruby/crack/crack-0.4.3-r2.ebuild b/dev-ruby/crack/crack-0.4.3-r2.ebuild new file mode 100644 index 000000000000..3f2a521d18cf --- /dev/null +++ b/dev-ruby/crack/crack-0.4.3-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md History" + +inherit ruby-fakegem + +DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails" +HOMEPAGE="https://github.com/jnunemaker/crack" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" +ruby_add_rdepend ">=dev-ruby/safe_yaml-1.0.4-r4" + +each_ruby_prepare() { + # Remove tests which fail when run by portage but pass when run by hand + sed -i -e '/{"regex": \/foo.*\/}/d' test/json_test.rb || die + sed -i -e '/{"regex": \/foo.*\/i}/d' test/json_test.rb || die + sed -i -e '/{"regex": \/foo.*\/mix}/d' test/json_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Itest -Ilib -e 'Dir["test/*_test.rb"].each { |f| load f }' || die +} diff --git a/dev-ruby/crack/metadata.xml b/dev-ruby/crack/metadata.xml new file mode 100644 index 000000000000..dd2219d6798d --- /dev/null +++ b/dev-ruby/crack/metadata.xml @@ -0,0 +1,12 @@ +<?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">jnunemaker/crack</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/crass/Manifest b/dev-ruby/crass/Manifest new file mode 100644 index 000000000000..0fb2800a7378 --- /dev/null +++ b/dev-ruby/crass/Manifest @@ -0,0 +1,3 @@ +DIST crass-1.0.4.gem 92160 BLAKE2B f0ee65e3fd6bde1b87bb47347c8afbc1c4b5e98331a82e64d0b96ef4ef7db91a0903d6961074713cf68ad68363d1c9c678e62f4b3d8e7f9b4491ad2bb70a1596 SHA512 44ef5393530b38c35035833ecc140bc324d39309e18d4bb81847f415c0092230483172fd92fe2acacab238bbb771cedd44d6031f7c985a59d0ab4d2373119967 +DIST crass-1.0.5.tar.gz 88665 BLAKE2B cf7cb01516a9d7ef21839b8b0cb2d7ce8a8f6fbcac32e6572eea2483546dbe5dd7afc3c9164590c565429b2390ffe823948e6da6fb4f09b53bacb63fdb190e68 SHA512 d56244d33d5c43a09268a81f57328757f505531633cfd56fff7a44d68a9f29c6ad49f5ae7a0e6c9ee93543fae9083f0d3ed290e32cb3565c37d7b31a01abaaea +DIST crass-1.0.6.tar.gz 89443 BLAKE2B 2721cc6f5419a36c122c63c59804da84791e70d522ee01ff2ff06fed67a74ab187d0b601cd85e031fd33a84315fbc4cd092c14de110053c94ff0e50d4feab5fc SHA512 de98dea48d0cff148b3000d7388256552d1bf5a014ecbc074efc909473bc6edf2cf1db36179aaa4284eb810618dafc346757ac61708c9659045e013e6c6d4e36 diff --git a/dev-ruby/crass/crass-1.0.4.ebuild b/dev-ruby/crass/crass-1.0.4.ebuild new file mode 100644 index 000000000000..26bbc49237e1 --- /dev/null +++ b/dev-ruby/crass/crass-1.0.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification" +HOMEPAGE="https://github.com/rgrove/crass/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend ">=dev-ruby/minitest-5.0.8:5" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} diff --git a/dev-ruby/crass/crass-1.0.5.ebuild b/dev-ruby/crass/crass-1.0.5.ebuild new file mode 100644 index 000000000000..9ef3fe50e354 --- /dev/null +++ b/dev-ruby/crass/crass-1.0.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="crass.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification" +HOMEPAGE="https://github.com/rgrove/crass/" +SRC_URI="https://github.com/rgrove/crass/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend ">=dev-ruby/minitest-5.0.8:5" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/crass/crass-1.0.6.ebuild b/dev-ruby/crass/crass-1.0.6.ebuild new file mode 100644 index 000000000000..c700c29b7c2e --- /dev/null +++ b/dev-ruby/crass/crass-1.0.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="crass.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification" +HOMEPAGE="https://github.com/rgrove/crass/" +SRC_URI="https://github.com/rgrove/crass/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend ">=dev-ruby/minitest-5.0.8:5" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/crass/metadata.xml b/dev-ruby/crass/metadata.xml new file mode 100644 index 000000000000..e8cc777b300d --- /dev/null +++ b/dev-ruby/crass/metadata.xml @@ -0,0 +1,12 @@ +<?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">rgrove/crass</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/creole/Manifest b/dev-ruby/creole/Manifest new file mode 100644 index 000000000000..cd9fdd348ec7 --- /dev/null +++ b/dev-ruby/creole/Manifest @@ -0,0 +1 @@ +DIST creole-0.5.0.tar.gz 10664 BLAKE2B cf284a80fc43d24dd9e232055b78b9f76e5ee7c44dc86fb3311cc191503d38cd31e6e8f7f6290c451860da3e2dc5646c5baaefa79fa5df9165d2eb867c5dc8ef SHA512 80f82018637f2c33c71cc57e65b6bf372fb508c890269c3a04cf171b549115f3cb09daf7fa29935824780b886c1077db20a6e7dd38af35d715529683d965bc07 diff --git a/dev-ruby/creole/creole-0.5.0.ebuild b/dev-ruby/creole/creole-0.5.0.ebuild new file mode 100644 index 000000000000..e601310a98ff --- /dev/null +++ b/dev-ruby/creole/creole-0.5.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.creole" + +inherit ruby-fakegem + +DESCRIPTION="Creole-to-HTML converter for Creole, the lightweight markup language" +HOMEPAGE="https://github.com/minad/creole" +SRC_URI="https://github.com/minad/creole/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bacon )" diff --git a/dev-ruby/creole/metadata.xml b/dev-ruby/creole/metadata.xml new file mode 100644 index 000000000000..aff7e9397ae4 --- /dev/null +++ b/dev-ruby/creole/metadata.xml @@ -0,0 +1,12 @@ +<?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">minad/creole</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/cri/Manifest b/dev-ruby/cri/Manifest new file mode 100644 index 000000000000..4f9bd9d152a5 --- /dev/null +++ b/dev-ruby/cri/Manifest @@ -0,0 +1,5 @@ +DIST cri-2.15.10.gem 35328 BLAKE2B fe5618f86300381232f071e552020da6186e1908ded3703e645fc6067080a215cfff8d4f468f522ff801d6608cc7560379db2b18eaefb5509ed0db1eacb9342d SHA512 577ee6ba07f08d46e67420fb2e579647857207a2d88f1782545b28e6f26cd6b93d554c904e00af38d7f87eb0fd476c66552ec6b1469fa268faad1ff5d1ab8f15 +DIST cri-2.15.5.gem 33792 BLAKE2B 90724633a26acce78e8d041df96d91ea6db21c9d96558cb2f14c458880f4e2fc3a99de2242340cd2d8e4a3c1f68eb7dcf3877c67b4ce6dbc590b4dcf3ef4b41c SHA512 7519fb6eb79e3f818eb66be8344ee10ec61e09f81b3d70c4e0fd29736c957d1e760384661d018833015307a83b5155bb5c146bd6ea67fe929ab96d665279d6a9 +DIST cri-2.15.6.gem 33792 BLAKE2B 901bd6a1812b258b2ef26f5dc534f2249f813a00dbffff0a651dcd48dabedd02c49fb101026bd33ede14ab730d253decee8dc6e4e915fce1c5b1b28f153b281a SHA512 3d997c90c46b4d787f2411e5c2eea5aadc4eb6837948920a93b42e2ecf01637d1589e864b59e60002bfe6ac80fdfa9d0473c0d4b4d94493a998af47f3818014b +DIST cri-2.15.7.gem 34304 BLAKE2B a472c8ccb01ca4d744343dfc96b08fa16ceb2b2f06abcdc88c19ec7584f54f52cd7d422a56c8d74c38ce6e7a42aaac48433f0a27a6a2a8758c4b85ef0c022749 SHA512 d9567b83f9ac17deffb0e9b1300c69fc827f7568ca6789f06c7933284cd9e620223337fdcfbe1b251207034d7c2cbb003fbfdb1da07cfe8c87a42c962fd91635 +DIST cri-2.15.9.gem 35328 BLAKE2B 9a7cb1337903c153af6d9a4ce7fe5c060ccf476fcd1f68e2beff08abf4169a407103ca67d9f720810092decdb0ac42d1afc8d2a9e0f67160ceda8baf2e658a9e SHA512 a46b78b08f855c4f1062ea213cbecd0a094395c974186fe74f7cd7da9b4a51e81cc9bea350d5a3c13a713c5f57d445f5437e4d1268a7e620036741c7223fab20 diff --git a/dev-ruby/cri/cri-2.15.10.ebuild b/dev-ruby/cri/cri-2.15.10.ebuild new file mode 100644 index 000000000000..98ce26087055 --- /dev/null +++ b/dev-ruby/cri/cri-2.15.10.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Cri is a library for building easy-to-use commandline tools" +HOMEPAGE="https://rubygems.org/gems/cri" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/yard dev-ruby/minitest )" + +all_ruby_prepare() { + sed -e '/coveralls/I s:^:#:' -i test/helper.rb || die + sed -i -e '/rubocop/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rake test_unit || die +} diff --git a/dev-ruby/cri/cri-2.15.5.ebuild b/dev-ruby/cri/cri-2.15.5.ebuild new file mode 100644 index 000000000000..43822a9171c7 --- /dev/null +++ b/dev-ruby/cri/cri-2.15.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Cri is a library for building easy-to-use commandline tools" +HOMEPAGE="https://rubygems.org/gems/cri" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/yard dev-ruby/minitest )" + +all_ruby_prepare() { + sed -e '/coveralls/I s:^:#:' -i test/helper.rb || die + sed -i -e '/rubocop/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rake test_unit || die +} diff --git a/dev-ruby/cri/cri-2.15.6.ebuild b/dev-ruby/cri/cri-2.15.6.ebuild new file mode 100644 index 000000000000..43822a9171c7 --- /dev/null +++ b/dev-ruby/cri/cri-2.15.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Cri is a library for building easy-to-use commandline tools" +HOMEPAGE="https://rubygems.org/gems/cri" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/yard dev-ruby/minitest )" + +all_ruby_prepare() { + sed -e '/coveralls/I s:^:#:' -i test/helper.rb || die + sed -i -e '/rubocop/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rake test_unit || die +} diff --git a/dev-ruby/cri/cri-2.15.7.ebuild b/dev-ruby/cri/cri-2.15.7.ebuild new file mode 100644 index 000000000000..43822a9171c7 --- /dev/null +++ b/dev-ruby/cri/cri-2.15.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Cri is a library for building easy-to-use commandline tools" +HOMEPAGE="https://rubygems.org/gems/cri" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/yard dev-ruby/minitest )" + +all_ruby_prepare() { + sed -e '/coveralls/I s:^:#:' -i test/helper.rb || die + sed -i -e '/rubocop/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rake test_unit || die +} diff --git a/dev-ruby/cri/cri-2.15.9.ebuild b/dev-ruby/cri/cri-2.15.9.ebuild new file mode 100644 index 000000000000..43822a9171c7 --- /dev/null +++ b/dev-ruby/cri/cri-2.15.9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Cri is a library for building easy-to-use commandline tools" +HOMEPAGE="https://rubygems.org/gems/cri" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/yard dev-ruby/minitest )" + +all_ruby_prepare() { + sed -e '/coveralls/I s:^:#:' -i test/helper.rb || die + sed -i -e '/rubocop/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rake test_unit || die +} diff --git a/dev-ruby/cri/metadata.xml b/dev-ruby/cri/metadata.xml new file mode 100644 index 000000000000..e045806bb4dd --- /dev/null +++ b/dev-ruby/cri/metadata.xml @@ -0,0 +1,12 @@ +<?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="rubygems">cri</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest new file mode 100644 index 000000000000..48c0ccd95465 --- /dev/null +++ b/dev-ruby/css_parser/Manifest @@ -0,0 +1,3 @@ +DIST css_parser-1.6.0.tar.gz 33251 BLAKE2B 1e28e6999675fadc1bc6a98417cc698fb2e5f16e8d8b27e186037112ac9c3cee82161c7530b962209d76d91359d68016210a371c9e8a7f7d631c7aec73bc5c81 SHA512 838baf3cc4249e890f7cf006370f148261b392549e6cc25b11246e15c8347a8877b4cc3bfe70dee18a822a9a8fc496705787262d79e177d62587f41ba6f4c4d6 +DIST css_parser-1.7.0.tar.gz 33480 BLAKE2B c9bf7f901f18f09b937d58d791a4550c37ae19b161ee8454eee4e88f55bd3871c9b264e935a00e86c8b918c45a2c4c7cbc7454f665e0a9d9c53621e21df294e5 SHA512 abf1f80577e9874e14e28bdffe9539ff2eb63a5521075e2ec481fc2b4e53c9652bcb60e7806b21a6e0866ec396cbdb495768db212018eb30dbf9e70088f0af4b +DIST css_parser-1.7.1.tar.gz 33667 BLAKE2B 5732461958bb3abe7578c3898bd80c601fc957c38b3feda5092d89c4419cd64f0c6e4be296919c07bea5e9082cb03f32bfe9255244b56206caa7bab8e1a29765 SHA512 f1dba16fa18362e1b58d463a1f718c4c981170f3a7b0b719e5a309b74decded063cd3631540a4b76c1d78e5cfa92a35b56130979d7724d745eacdc372c69dd9b diff --git a/dev-ruby/css_parser/css_parser-1.6.0.ebuild b/dev-ruby/css_parser/css_parser-1.6.0.ebuild new file mode 100644 index 000000000000..5533ed58c75d --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md " +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="premailer" +GITHUB_PROJECT="${PN}" +inherit ruby-fakegem + +DESCRIPTION="Sass-based Stylesheet Framework" +HOMEPAGE="http://compass-style.org/ https://github.com/premailer/css_parser/" +LICENSE="MIT" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest )" + +all_ruby_prepare() { + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die + sed -i -e '/bundler/d' test/test_helper.rb || die + # Avoid tests using the network. + sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die + +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +} diff --git a/dev-ruby/css_parser/css_parser-1.7.0.ebuild b/dev-ruby/css_parser/css_parser-1.7.0.ebuild new file mode 100644 index 000000000000..5533ed58c75d --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md " +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="premailer" +GITHUB_PROJECT="${PN}" +inherit ruby-fakegem + +DESCRIPTION="Sass-based Stylesheet Framework" +HOMEPAGE="http://compass-style.org/ https://github.com/premailer/css_parser/" +LICENSE="MIT" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest )" + +all_ruby_prepare() { + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die + sed -i -e '/bundler/d' test/test_helper.rb || die + # Avoid tests using the network. + sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die + +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +} diff --git a/dev-ruby/css_parser/css_parser-1.7.1.ebuild b/dev-ruby/css_parser/css_parser-1.7.1.ebuild new file mode 100644 index 000000000000..e6b598cea4fb --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md " +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="premailer" +GITHUB_PROJECT="${PN}" +inherit ruby-fakegem + +DESCRIPTION="Sass-based Stylesheet Framework" +HOMEPAGE="https://github.com/premailer/css_parser/" +LICENSE="MIT" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest )" + +all_ruby_prepare() { + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die + sed -i -e '/bundler/d' test/test_helper.rb || die + # Avoid tests using the network. + sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die + +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +} diff --git a/dev-ruby/css_parser/metadata.xml b/dev-ruby/css_parser/metadata.xml new file mode 100644 index 000000000000..f61dabd8cef1 --- /dev/null +++ b/dev-ruby/css_parser/metadata.xml @@ -0,0 +1,12 @@ +<?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">premailer/css_parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/curb/Manifest b/dev-ruby/curb/Manifest new file mode 100644 index 000000000000..6e0f4f837a0c --- /dev/null +++ b/dev-ruby/curb/Manifest @@ -0,0 +1,2 @@ +DIST curb-0.9.10.gem 88064 BLAKE2B 8f761e752bc1fd0775f012373847330d3ced9d394e5159b74c8e329247f6221bbc26978755d84b91e75b4082b7bb50c7755db299f90f291516f355b4ab1ddc7c SHA512 eab82d3c1b34bf8e5bfd334abca38a80eaab255d31164ca189185b8b98d7f3760fb116babf50dce5aef01be30b15e9374e7a84e1b0926dba13c3e9f8d36c54ca +DIST curb-0.9.9.gem 87040 BLAKE2B 107c6486887c0c168a06b7cdad4cc01e34a85c7cfb20e8991db4c695e9dfe3700655d95dbc798e4eb3269586b86d61037d0e39a88c4d687e0e776a0e9cc27f0e SHA512 3f91004e109f9cc7c2d58fb7a6bc387d037237442b05ee52bad2944738eb24bf8d909ad7c21db965ba1e6291d08f0f2335c54a5c1a1ee1d224c5790e81dc8037 diff --git a/dev-ruby/curb/curb-0.9.10.ebuild b/dev-ruby/curb/curb-0.9.10.ebuild new file mode 100644 index 000000000000..37839c5e5854 --- /dev/null +++ b/dev-ruby/curb/curb-0.9.10.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby-language bindings for libcurl" +HOMEPAGE="https://github.com/taf2/curb" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" net-misc/curl[ssl]" +RDEPEND+=" net-misc/curl[ssl]" + +all_ruby_prepare() { + # fix tests when localhost is also ::1 + sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die + + # avoid tests making outside network connections + rm tests/bug_postfields_crash.rb || die + sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \ + -i tests/tc_curl_easy.rb || die + sed -e '/test_connection_keepalive/aomit "network connection needed"' \ + -i tests/tc_curl_multi.rb || die + + # avoid failing tests where failure condition seems weird, no + # upstream travis so not clear if the test is indeed broken. + sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" V=1 + cp -l ext/curb_core$(get_modname) lib || die +} diff --git a/dev-ruby/curb/curb-0.9.9.ebuild b/dev-ruby/curb/curb-0.9.9.ebuild new file mode 100644 index 000000000000..d7cd3e302948 --- /dev/null +++ b/dev-ruby/curb/curb-0.9.9.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby-language bindings for libcurl" +HOMEPAGE="https://github.com/taf2/curb" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" net-misc/curl[ssl]" +RDEPEND+=" net-misc/curl[ssl]" + +all_ruby_prepare() { + # fix tests when localhost is also ::1 + sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die + + # avoid tests making outside network connections + rm tests/bug_postfields_crash.rb || die + sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \ + -i tests/tc_curl_easy.rb || die + sed -e '/test_connection_keepalive/aomit "network connection needed"' \ + -i tests/tc_curl_multi.rb || die + + # avoid failing tests where failure condition seems weird, no + # upstream travis so not clear if the test is indeed broken. + sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" V=1 + cp -l ext/curb_core$(get_modname) lib || die +} diff --git a/dev-ruby/curb/metadata.xml b/dev-ruby/curb/metadata.xml new file mode 100644 index 000000000000..5c1b23b5c36a --- /dev/null +++ b/dev-ruby/curb/metadata.xml @@ -0,0 +1,12 @@ +<?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">taf2/curb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/curses/Manifest b/dev-ruby/curses/Manifest new file mode 100644 index 000000000000..3b9bb5abafb6 --- /dev/null +++ b/dev-ruby/curses/Manifest @@ -0,0 +1,4 @@ +DIST curses-1.2.7.gem 38912 BLAKE2B 8cf1b908aea6f2f0edccd26f4aa240d31ef7e0cce533e75d8ddb90e021672e73426f826373418e4a5e5348204833898143b8a6923e28c23e2362be8e64c78f25 SHA512 258fd46104fecf68c0a4f2ea6c7755ba6b0abcd1faf3853209b4587ee8694228611ba1194de5b05b3e8607503223bc675bbeb19677382b2ef630b4d0882cd32c +DIST curses-1.3.0.gem 43008 BLAKE2B 0c4c5ff09cdc212e37c772ac7c01f82df409d2c4edad8bc2ee4d2e4318b39e2e0e1b29c89c7d059af10afe0268d03f9fa138d5c81efa6669824aa36e660e6eb8 SHA512 71d5f189dd51a29583cd0a4e236e515855fd50ea94a4aa94643f567d4b2b1422e69769ee4f8cd5774652614a3e50a58fc1b759a1a44ea68a6728efe88de9763d +DIST curses-1.3.1.gem 43520 BLAKE2B 8368f8c763c853a2ce11048b7f0fe897dc350402fd9ee5e7647f7a5efb012fa1c7314fe5bf40e25e32b0712bb45c66976d334a900517a9611612b3775153e3b9 SHA512 e1914e598d7e9624bd2ed35329fab59cef33696ba67b76f3bf90a8b68854d76423cb3b4f441b356789907932a0467c3fd9894f641a40a45353391f782a166347 +DIST curses-1.3.2.gem 43520 BLAKE2B ec8ccfa48113ed6c564b33b1e17e8230d72de3e997a92bae930c71da5bc9159aecffbde3fa56ee1781cb9cbd58b564759df24e0a2ad0025085684b36173912d1 SHA512 3025597242cebbd080f26b38c442c515a78e9a6b11ec366d11d7cae46906b95d1851ade8c2f8390b846d50eeb0755f85a81106725b4fa0ba897de62784d59ed4 diff --git a/dev-ruby/curses/curses-1.2.7.ebuild b/dev-ruby/curses/curses-1.2.7.ebuild new file mode 100644 index 000000000000..d02da1d76f63 --- /dev/null +++ b/dev-ruby/curses/curses-1.2.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Ruby binding for curses, ncurses, and PDCurses" +HOMEPAGE="https://github.com/ruby/curses" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~amd64 ~x86" + +SLOT="1" +IUSE="" + +DEPEND+=" sys-libs/ncurses:0" +RDEPEND+=" sys-libs/ncurses:0" + +each_ruby_configure() { + ${RUBY} -Cext/curses extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/curses + cp ext/curses/curses.so lib/ || die +} diff --git a/dev-ruby/curses/curses-1.3.0.ebuild b/dev-ruby/curses/curses-1.3.0.ebuild new file mode 100644 index 000000000000..d02da1d76f63 --- /dev/null +++ b/dev-ruby/curses/curses-1.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Ruby binding for curses, ncurses, and PDCurses" +HOMEPAGE="https://github.com/ruby/curses" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~amd64 ~x86" + +SLOT="1" +IUSE="" + +DEPEND+=" sys-libs/ncurses:0" +RDEPEND+=" sys-libs/ncurses:0" + +each_ruby_configure() { + ${RUBY} -Cext/curses extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/curses + cp ext/curses/curses.so lib/ || die +} diff --git a/dev-ruby/curses/curses-1.3.1.ebuild b/dev-ruby/curses/curses-1.3.1.ebuild new file mode 100644 index 000000000000..e94765c565b4 --- /dev/null +++ b/dev-ruby/curses/curses-1.3.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Ruby binding for curses, ncurses, and PDCurses" +HOMEPAGE="https://github.com/ruby/curses" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~amd64 ~x86" + +SLOT="1" +IUSE="" + +DEPEND+=" sys-libs/ncurses:0" +RDEPEND+=" sys-libs/ncurses:0" + +each_ruby_configure() { + ${RUBY} -Cext/curses extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/curses + cp ext/curses/curses.so lib/ || die +} diff --git a/dev-ruby/curses/curses-1.3.2.ebuild b/dev-ruby/curses/curses-1.3.2.ebuild new file mode 100644 index 000000000000..228c980cd440 --- /dev/null +++ b/dev-ruby/curses/curses-1.3.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Ruby binding for curses, ncurses, and PDCurses" +HOMEPAGE="https://github.com/ruby/curses" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~amd64 ~x86" + +SLOT="1" +IUSE="" + +DEPEND+=" sys-libs/ncurses:0" +RDEPEND+=" sys-libs/ncurses:0" + +each_ruby_configure() { + ${RUBY} -Cext/curses extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/curses + cp ext/curses/curses.so lib/ || die +} diff --git a/dev-ruby/curses/metadata.xml b/dev-ruby/curses/metadata.xml new file mode 100644 index 000000000000..38315e05fd3f --- /dev/null +++ b/dev-ruby/curses/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby/curses</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/d3_rails/Manifest b/dev-ruby/d3_rails/Manifest new file mode 100644 index 000000000000..7230ff36857f --- /dev/null +++ b/dev-ruby/d3_rails/Manifest @@ -0,0 +1 @@ +DIST d3_rails-4.1.1.gem 134656 BLAKE2B 7890c080fbf9c274a843ec49bf75eb33c29e9aced1a56c3251d46c89148fe03a055c8a14b02123b89f06bb54492d0ecfcdcec12e0d21506e8974bfa43662ba09 SHA512 3ca04e9827a7d9df92b377fbfb354b0802bf408495e3220773fcdb782c9de8dbb3421442ca2c250fc787223ca1e489edb26472fdc7c86dc70ebab3b8c2035572 diff --git a/dev-ruby/d3_rails/d3_rails-4.1.1.ebuild b/dev-ruby/d3_rails/d3_rails-4.1.1.ebuild new file mode 100644 index 000000000000..803380cd0888 --- /dev/null +++ b/dev-ruby/d3_rails/d3_rails-4.1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTRAINSTALL="app" + +inherit ruby-fakegem + +DESCRIPTION="Ruby on Rails integration for the Javascript Data Visualization Framework, D3" +HOMEPAGE="https://github.com/logical42/d3_rails" + +LICENSE="MIT BSD" +SLOT="4" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/railties-3.1:*" diff --git a/dev-ruby/d3_rails/metadata.xml b/dev-ruby/d3_rails/metadata.xml new file mode 100644 index 000000000000..1794b748e840 --- /dev/null +++ b/dev-ruby/d3_rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">logical42/d3_rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/daemon_controller/Manifest b/dev-ruby/daemon_controller/Manifest new file mode 100644 index 000000000000..0c84d0a33303 --- /dev/null +++ b/dev-ruby/daemon_controller/Manifest @@ -0,0 +1 @@ +DIST daemon_controller-1.2.0.gem 37888 BLAKE2B c320d92cd3515f861e775eab72726469d7b6ed3cfd1655a67bf11458ef1ba5b43f72b8ba600f5c953b99c18f99549a48d0648b387abda45a87de99d2c9d955c5 SHA512 d22b5f37a41f2fab642cc7a6f5b5ea8a892d2c8b9eda04c9a547ee3aab3148a8897bc4737fd30fd9eb6e2a4fba458ea5811024fb5ad71b7959f3996dfa7b7705 diff --git a/dev-ruby/daemon_controller/daemon_controller-1.2.0-r1.ebuild b/dev-ruby/daemon_controller/daemon_controller-1.2.0-r1.ebuild new file mode 100644 index 000000000000..f16b0169ede2 --- /dev/null +++ b/dev-ruby/daemon_controller/daemon_controller-1.2.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Library to start and stop specific daemons programmatically in a robust manner" +HOMEPAGE="https://github.com/FooBarWidget/daemon_controller" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +all_ruby_prepare() { + # fix tests with RSpec 2 + sed -i -e '1irequire "thread"' spec/test_helper.rb || die +} diff --git a/dev-ruby/daemon_controller/metadata.xml b/dev-ruby/daemon_controller/metadata.xml new file mode 100644 index 000000000000..209df7159296 --- /dev/null +++ b/dev-ruby/daemon_controller/metadata.xml @@ -0,0 +1,12 @@ +<?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">FooBarWidget/daemon_controller</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/daemons/Manifest b/dev-ruby/daemons/Manifest new file mode 100644 index 000000000000..4f140ab6f408 --- /dev/null +++ b/dev-ruby/daemons/Manifest @@ -0,0 +1 @@ +DIST daemons-1.3.1.tar.gz 28805 BLAKE2B 4ddb9cb9a5a6de5ebeac8ac69c2712500f9dd18c9d194efce3152735533a2aef7a4cf0e034e4c1781e5d89c1be18e7e7c119455bafb0bf4d8cec279b1e8f6308 SHA512 ceeeefbf44727a1ee43b651bbc3f8e5ae83c73388d017d240d95624586b91a3b32602464f4a5ff53a854d6cc6fa1dc47e433a665f0ad7f08e440c0a798743d80 diff --git a/dev-ruby/daemons/daemons-1.3.1.ebuild b/dev-ruby/daemons/daemons-1.3.1.ebuild new file mode 100644 index 000000000000..3cc15f592f7a --- /dev/null +++ b/dev-ruby/daemons/daemons-1.3.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Releases README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Wrap existing ruby scripts to be run as a daemon" +HOMEPAGE="https://github.com/thuehlinger/daemons" +SRC_URI="https://github.com/thuehlinger/daemons/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="examples" + +all_ruby_prepare() { + sed -i -e '/\(pry\|simplecov\)/I s:^:#:' spec/spec_helper.rb || die +} + +all_ruby_install() { + all_fakegem_install + + use examples && dodoc -r examples +} diff --git a/dev-ruby/daemons/metadata.xml b/dev-ruby/daemons/metadata.xml new file mode 100644 index 000000000000..2ba32b090a7e --- /dev/null +++ b/dev-ruby/daemons/metadata.xml @@ -0,0 +1,12 @@ +<?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">thuehlinger/daemons</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/dalli/Manifest b/dev-ruby/dalli/Manifest new file mode 100644 index 000000000000..24785f4f7d13 --- /dev/null +++ b/dev-ruby/dalli/Manifest @@ -0,0 +1 @@ +DIST dalli-2.7.10.tar.gz 52106 BLAKE2B 0531247c1d615acd7d1124b8aceb5635088b55e5a85753f10b8fbd786ec3573f13df096e1537d9a31f3801632406f28d918de5971cb28ec31d6eb8387d0c74f1 SHA512 1b6308ef37d729d85741306c10bf87c9b9733f83f0b4bf089f3eced36c48cddd9a77d2fb44a77778844d1cafaa3cec5110a9c90f6a67dee08a96e163e6ccaf65 diff --git a/dev-ruby/dalli/dalli-2.7.10-r1.ebuild b/dev-ruby/dalli/dalli-2.7.10-r1.ebuild new file mode 100644 index 000000000000..3dbf8da372c1 --- /dev/null +++ b/dev-ruby/dalli/dalli-2.7.10-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.md Performance.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A high performance pure Ruby client for accessing memcached servers" +HOMEPAGE="https://github.com/petergoldstein/dalli" +SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" +IUSE="" + +DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4 )" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + >=dev-ruby/mocha-0.13 + dev-ruby/rack + >=dev-ruby/activesupport-5.2 + dev-ruby/connection_pool )" + +all_ruby_prepare() { + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die + + sed -i -e '3igem "minitest", "~> 5.0"; gem "activesupport", ">=5.2.0"' \ + -e '/bundler/ s:^:#:' test/helper.rb || die + + # Drop rails dependency which is only used to display the version + # number, so we only need to depend on activesupport and avoid + # complicated circular dependencies. + sed -i -e '/rails/I s:^:#:' \ + -e '14irequire "active_support"' test/helper.rb || die + + # Fix test compatability with memcached 1.5.4 and higher + # https://github.com/petergoldstein/dalli/pull/672 + sed -i -e '/memcached_low_mem_persistent/,/^end/ s/-M/-M -I 512k/' test/memcached_mock.rb || die +} diff --git a/dev-ruby/dalli/dalli-2.7.10.ebuild b/dev-ruby/dalli/dalli-2.7.10.ebuild new file mode 100644 index 000000000000..1a7d5a359029 --- /dev/null +++ b/dev-ruby/dalli/dalli-2.7.10.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.md Performance.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A high performance pure Ruby client for accessing memcached servers" +HOMEPAGE="https://github.com/petergoldstein/dalli" +SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4 )" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + >=dev-ruby/mocha-0.13 + dev-ruby/rack + dev-ruby/activesupport:5.2 + dev-ruby/connection_pool )" + +all_ruby_prepare() { + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die + + sed -i -e '3igem "minitest", "~> 5.0"; gem "activesupport", "~>5.2.0"' \ + -e '/bundler/ s:^:#:' test/helper.rb || die + + # Drop rails dependency which is only used to display the version + # number, so we only need to depend on activesupport and avoid + # complicated circular dependencies. + sed -i -e '/rails/I s:^:#:' \ + -e '14irequire "active_support"' test/helper.rb || die + + # Fix test compatability with memcached 1.5.4 and higher + # https://github.com/petergoldstein/dalli/pull/672 + sed -i -e '/memcached_low_mem_persistent/,/^end/ s/-M/-M -I 512k/' test/memcached_mock.rb || die +} diff --git a/dev-ruby/dalli/metadata.xml b/dev-ruby/dalli/metadata.xml new file mode 100644 index 000000000000..a056c1653f46 --- /dev/null +++ b/dev-ruby/dalli/metadata.xml @@ -0,0 +1,12 @@ +<?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">petergoldstein/dalli</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/database_cleaner/Manifest b/dev-ruby/database_cleaner/Manifest new file mode 100644 index 000000000000..d94dc3053ee8 --- /dev/null +++ b/dev-ruby/database_cleaner/Manifest @@ -0,0 +1 @@ +DIST database_cleaner-1.7.0.gem 32256 BLAKE2B 496a1f02bb34aa2210e91367ade3575884e5c68ed18d1ba076fe8a5a7b0c5303a8acedec198a3de4adeb8f85cb2147d1c1d3c1f7badfb890ca1c7df8ecd7eae7 SHA512 4bdf6c66a0530a65ce2c746ff5190ef0aa42ab3d3ed787fbfe9c00de99d7ba816de3b6ad11cbaf4887760b9a19178f9968b8d604bc023dce83ec9ef748c0e336 diff --git a/dev-ruby/database_cleaner/database_cleaner-1.7.0.ebuild b/dev-ruby/database_cleaner/database_cleaner-1.7.0.ebuild new file mode 100644 index 000000000000..65499b47e03f --- /dev/null +++ b/dev-ruby/database_cleaner/database_cleaner-1.7.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_DOC="examples" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.markdown TODO" + +# There are specs and features but they all require configured databases. +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Strategies for cleaning databases" +HOMEPAGE="https://github.com/bmabey/database_cleaner" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" diff --git a/dev-ruby/database_cleaner/metadata.xml b/dev-ruby/database_cleaner/metadata.xml new file mode 100644 index 000000000000..33419194f043 --- /dev/null +++ b/dev-ruby/database_cleaner/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">bmabey/database_cleaner</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/date_validator/Manifest b/dev-ruby/date_validator/Manifest new file mode 100644 index 000000000000..39e685331cc4 --- /dev/null +++ b/dev-ruby/date_validator/Manifest @@ -0,0 +1 @@ +DIST date_validator-0.10.0.gem 12800 BLAKE2B 0cbb11e70cb72a1203c2ec33581d4ed48be346af6998faa89e4323c8c6bf70b5c979b55bc79630153a940697c89ce140eb511538cd55adb0f12566f2f1a317a9 SHA512 4348835898ebfe311a8ea456adc10f7bbfd1dc21daf2678e32b1615ba3eef3d36671f67f533109882f40516c836f23d7e0a4072c9ecaa55a1b0eade0b6aa75b7 diff --git a/dev-ruby/date_validator/date_validator-0.10.0.ebuild b/dev-ruby/date_validator/date_validator-0.10.0.ebuild new file mode 100644 index 000000000000..474a36c5ed7e --- /dev/null +++ b/dev-ruby/date_validator/date_validator-0.10.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +# if ever needed +#GITHUB_USER="codegram" +#GITHUB_PROJECT="${PN}" +#RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" + +inherit ruby-fakegem + +DESCRIPTION="Simple, ORM agnostic, Ruby 1.9 compatible date validator for Rails 3" +HOMEPAGE="https://github.com/codegram/date_validator" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activemodel-3.0:* +" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest + >=dev-ruby/tzinfo-0.3 + >=dev-ruby/activesupport-3.0 + ) + doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i \ + -e '/git ls-files/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i \ + -e '/[Bb]undler/s/^/#/' Rakefile || die + # Fix tests + sed -i -e "1irequire 'active_support'" test/test_helper.rb || die +} diff --git a/dev-ruby/date_validator/metadata.xml b/dev-ruby/date_validator/metadata.xml new file mode 100644 index 000000000000..1a5d8a1d85d9 --- /dev/null +++ b/dev-ruby/date_validator/metadata.xml @@ -0,0 +1,12 @@ +<?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">codegram/date_validator</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/dbf/Manifest b/dev-ruby/dbf/Manifest new file mode 100644 index 000000000000..d19d323a9a6f --- /dev/null +++ b/dev-ruby/dbf/Manifest @@ -0,0 +1 @@ +DIST dbf-4.1.2.gem 127488 BLAKE2B ef371ddff415b89559209cd2d440e0c3359e39b9c7a3391940bcc25d96f61e2c57368d86430a09c7883d4cc7ba34211281269e8633a6dc469f70164266b03bec SHA512 47ee8d78ef31fe0017ae4223f06dbe576e43c0840b7cafb88def7b8492cba244d2382dea975a998355aec3aee31defd781bf0e08fbea6e77ef3dd5a927a7ad2d diff --git a/dev-ruby/dbf/dbf-4.1.2.ebuild b/dev-ruby/dbf/dbf-4.1.2.ebuild new file mode 100644 index 000000000000..8eddf80d141f --- /dev/null +++ b/dev-ruby/dbf/dbf-4.1.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/*" + +inherit ruby-fakegem + +DESCRIPTION="a small fast library for reading dBase, xBase, Clipper and FoxPro +database files" +HOMEPAGE="https://github.com/infused/dbf" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" diff --git a/dev-ruby/dbf/metadata.xml b/dev-ruby/dbf/metadata.xml new file mode 100644 index 000000000000..b123c2c33ba2 --- /dev/null +++ b/dev-ruby/dbf/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <maintainer type="project"> + <email>sci-geosciences@gentoo.org</email> + <name>Gentoo Geosciences Project</name> + </maintainer> + <upstream> + <remote-id type="github">infused/dbf</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ddmemoize/Manifest b/dev-ruby/ddmemoize/Manifest new file mode 100644 index 000000000000..8a3577a94069 --- /dev/null +++ b/dev-ruby/ddmemoize/Manifest @@ -0,0 +1 @@ +DIST ddmemoize-1.0.0.gem 11776 BLAKE2B 3acf18cc70aed6c35ee98f42e6004ae13c623299abb0e8a3c0dbe7e7908775b9b6e2f81cc2977e4ca04ad584e7b5c43219979187448e3c87e6abc2d78a1c8f15 SHA512 b0a4c825c789f578031d12ff38f204bb5256db769fe71fcda98f1ab23a3d61c9d9d6cc486a2bfa566c1ea1fc8617b2563e97f05eac40b7587f35c618fd495eb2 diff --git a/dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild b/dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild new file mode 100644 index 000000000000..f02571aed97f --- /dev/null +++ b/dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Adds support for memoizing functions" +HOMEPAGE="https://github.com/ddfreyne/ddmemoize/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/ddmetrics:1 + dev-ruby/ref:2 +" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^SimpleCov.formatter/ s:^:#:' \ + -e '/fuubar/,/^end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ddmemoize/metadata.xml b/dev-ruby/ddmemoize/metadata.xml new file mode 100644 index 000000000000..5d40e2560072 --- /dev/null +++ b/dev-ruby/ddmemoize/metadata.xml @@ -0,0 +1,12 @@ +<?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">ddfreyne/ddmemoize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ddmetrics/Manifest b/dev-ruby/ddmetrics/Manifest new file mode 100644 index 000000000000..d092dc836cda --- /dev/null +++ b/dev-ruby/ddmetrics/Manifest @@ -0,0 +1 @@ +DIST ddmetrics-1.0.1.gem 15872 BLAKE2B de0fbb540c45b84c36c37b652f1a987c49d416e63aff644950091f4a84a76338590e1ce62e20df092488bd43af566dfcdb4a056d57ae306f7f3855bba43326f7 SHA512 d3b97bbcfe12a666c0bf28abc076510bb1ceb8e6f0ebda3ff40bba64da50bbb2995beb09da9b2c03b8e54271b143bc0703fb1d0b1db729d092281138ba717b3c diff --git a/dev-ruby/ddmetrics/ddmetrics-1.0.1.ebuild b/dev-ruby/ddmetrics/ddmetrics-1.0.1.ebuild new file mode 100644 index 000000000000..15ddaadd0b53 --- /dev/null +++ b/dev-ruby/ddmetrics/ddmetrics-1.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Non-timeseries measurements for Ruby programs" +HOMEPAGE="https://github.com/ddfreyne/ddmetrics/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rspec-its dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.formatter/ s:^:#:' \ + -e '/fuubar/ s:^:#:' \ + -e '/RSpec.configure/,/end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ddmetrics/metadata.xml b/dev-ruby/ddmetrics/metadata.xml new file mode 100644 index 000000000000..9d4ba5cf31fb --- /dev/null +++ b/dev-ruby/ddmetrics/metadata.xml @@ -0,0 +1,12 @@ +<?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">ddfreyne/ddmetrics</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ddplugin/Manifest b/dev-ruby/ddplugin/Manifest new file mode 100644 index 000000000000..a982e8b62b22 --- /dev/null +++ b/dev-ruby/ddplugin/Manifest @@ -0,0 +1 @@ +DIST ddplugin-1.0.2.gem 9728 BLAKE2B eded641a734d4c7182184b9b9cf4a6007b33b25ffde97e1c9efea71d425ee034693e05b8f569d8e9be29f4a315d5306d8a3180b19e835157d49d9d1c82f0d436 SHA512 bc36cd7e5490e3748e65994dc1e2b1cff9aeefcd0b44ad547368491c83509baf2934cc38f9db4035069394b8c2fa9bbea6b35cf96b80ac4126df348e49a93420 diff --git a/dev-ruby/ddplugin/ddplugin-1.0.2.ebuild b/dev-ruby/ddplugin/ddplugin-1.0.2.ebuild new file mode 100644 index 000000000000..28a0b0c3a0b3 --- /dev/null +++ b/dev-ruby/ddplugin/ddplugin-1.0.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Provides plugin management for Ruby projects" +HOMEPAGE="https://github.com/ddfreyne/ddplugin/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/coverall/I s:^:#:' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ddplugin/metadata.xml b/dev-ruby/ddplugin/metadata.xml new file mode 100644 index 000000000000..64276631510f --- /dev/null +++ b/dev-ruby/ddplugin/metadata.xml @@ -0,0 +1,12 @@ +<?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">ddfreyne/ddplugin</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/debug_inspector/Manifest b/dev-ruby/debug_inspector/Manifest new file mode 100644 index 000000000000..57624cdf5443 --- /dev/null +++ b/dev-ruby/debug_inspector/Manifest @@ -0,0 +1 @@ +DIST debug_inspector-0.0.3.gem 8192 BLAKE2B c7605f246519b245d0b997e10cfc1271c6cd5a31dc44097546d51265eb6ce1d88686b1dc922addce0a58b6bccae4fa5a40611942b6babbf8dfc6b4c528949422 SHA512 38cbe0ddf2eb4285f4f7d6f12428747495230425352e1850a4395a5c27ad4c2f706eeeac1f684baea488f6e3bd4b65c8c9e0d5807d5af93d3350fa7b9d45da43 diff --git a/dev-ruby/debug_inspector/debug_inspector-0.0.3.ebuild b/dev-ruby/debug_inspector/debug_inspector-0.0.3.ebuild new file mode 100644 index 000000000000..5e1a8839e286 --- /dev/null +++ b/dev-ruby/debug_inspector/debug_inspector-0.0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby wrapper for the MRI 2.0 debug_inspector API" +HOMEPAGE="https://github.com/banister/debug_inspector" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/${PN}.so lib/ || die +} diff --git a/dev-ruby/debug_inspector/metadata.xml b/dev-ruby/debug_inspector/metadata.xml new file mode 100644 index 000000000000..2dd7c1970837 --- /dev/null +++ b/dev-ruby/debug_inspector/metadata.xml @@ -0,0 +1,12 @@ +<?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">banister/debug_inspector</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/deep_merge/Manifest b/dev-ruby/deep_merge/Manifest new file mode 100644 index 000000000000..4ecbf22695a9 --- /dev/null +++ b/dev-ruby/deep_merge/Manifest @@ -0,0 +1 @@ +DIST deep_merge-1.2.1.gem 14336 BLAKE2B c122eddaf63fd885f82b292ea7d1f2b6a9a9dd50731e77b856fd02284634a699b7897a12c1856732c77b4d8ffc9f6efe06f792f42d53236a521279bff13b6dce SHA512 ef93e0c4c6a8f389338ea30b2b53271f089b0b8275adf6fc74e7d15a2faf32d62a1b297af9d31c42cb5d816066428c8407a82d874fad14d64384098fc3c5c70c diff --git a/dev-ruby/deep_merge/deep_merge-1.2.1.ebuild b/dev-ruby/deep_merge/deep_merge-1.2.1.ebuild new file mode 100644 index 000000000000..2a7e95330b46 --- /dev/null +++ b/dev-ruby/deep_merge/deep_merge-1.2.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +inherit ruby-fakegem + +DESCRIPTION="A simple set of utility functions for Hash" +HOMEPAGE="http://trac.misuse.org/science/wiki/DeepMerge" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ppc ~ppc64 ~sparc x86" +IUSE="" + +each_ruby_test() { + ${RUBY} -I lib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/deep_merge/metadata.xml b/dev-ruby/deep_merge/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/deep_merge/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/delayer-deferred/Manifest b/dev-ruby/delayer-deferred/Manifest new file mode 100644 index 000000000000..bf11bd4a80db --- /dev/null +++ b/dev-ruby/delayer-deferred/Manifest @@ -0,0 +1,3 @@ +DIST delayer-deferred-2.1.1.gem 21504 BLAKE2B b32f8e49fabe2c3c4e060fd68cb080cb4b5694752b58d1b153dfc4f56d0690d0c77204b18e93c734787a6c44ba9786921d8fa1b8c7024e49251d804dc4818cdf SHA512 3d2f24799b44a132fd4ddfb5d8851dc74647b7c373405a51ec8deb94754f2d62de8421833d5e495d411958886d733963507edc47c4b601b75c0f86f2223b3223 +DIST delayer-deferred-2.1.3.gem 21504 BLAKE2B c8f44cbb89fd249b6ab708efd923b2cdf3d336a836f75882cced00c3413bf7e0592e19f5e05e327c45b1f5e40f606e07496e09c71e7ac79a479bbf84034971df SHA512 9337a6d9e36cfac58f14e4a08ee97aa675e721a290c4f2ca53c082193470a7303d7256e964a99c4f4729163949c2e054be58bde0b2ee3be397c36f49e2ae6d1f +DIST delayer-deferred-2.2.0.gem 22016 BLAKE2B 992005fcdd3cb7d7b131e676a1e73f56b64c3316c4c66e984cb8c80c655e98f2fa1a72be34979c11e9f3b7def7de71a74a922e06b6ec8699fc1bc03f2cedf627 SHA512 f285183556d8414db6467cf51a6bb123b2b5db3b517295464e8d0205f25b7bad61ee9364277916e30f0bde4453a7bf4666bd71f0a54faa4506ed8d339507418d diff --git a/dev-ruby/delayer-deferred/delayer-deferred-2.1.1.ebuild b/dev-ruby/delayer-deferred/delayer-deferred-2.1.1.ebuild new file mode 100644 index 000000000000..275690e37ba0 --- /dev/null +++ b/dev-ruby/delayer-deferred/delayer-deferred-2.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby implementation of JSDeferred" +HOMEPAGE="https://github.com/toshia/delayer-deferred" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/delayer:1" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die + sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/delayer-deferred/delayer-deferred-2.1.3.ebuild b/dev-ruby/delayer-deferred/delayer-deferred-2.1.3.ebuild new file mode 100644 index 000000000000..0c793ee5ecce --- /dev/null +++ b/dev-ruby/delayer-deferred/delayer-deferred-2.1.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby implementation of JSDeferred" +HOMEPAGE="https://github.com/toshia/delayer-deferred" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/delayer:1" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die + sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/delayer-deferred/delayer-deferred-2.2.0.ebuild b/dev-ruby/delayer-deferred/delayer-deferred-2.2.0.ebuild new file mode 100644 index 000000000000..1010d675f3c4 --- /dev/null +++ b/dev-ruby/delayer-deferred/delayer-deferred-2.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby implementation of JSDeferred" +HOMEPAGE="https://github.com/toshia/delayer-deferred" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/delayer:1" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die + sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die + sed -i -e '/pry/ s:^:#:' test/sleep_test.rb || die +} diff --git a/dev-ruby/delayer-deferred/metadata.xml b/dev-ruby/delayer-deferred/metadata.xml new file mode 100644 index 000000000000..be1fca21be68 --- /dev/null +++ b/dev-ruby/delayer-deferred/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">delayer-deferred</remote-id> + <remote-id type="github">toshia/delayer-deferred</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/delayer/Manifest b/dev-ruby/delayer/Manifest new file mode 100644 index 000000000000..d47a5284281c --- /dev/null +++ b/dev-ruby/delayer/Manifest @@ -0,0 +1,4 @@ +DIST delayer-0.0.2.gem 8704 BLAKE2B f0fba28398c0e585b10cfa48eaa7aceb9914e335f11253e8c4cb7a3c85201fae7a52e6792f1d0e824c75936ae2dea572a0ea99e89384562b76be615f6b70628d SHA512 1a5e149b739d8dd975d5c4a9e6a072181cc4d816af202461a0f98ec91f92e85e76faf700171b83652ec4f5114b1c1c5b2c6cd9d1d8d6508c1161b43f099e2b88 +DIST delayer-1.0.0.gem 10240 BLAKE2B f39c02110a2c1734b8ae0f05619ea5954c3c1bc52fb70f179ea7ebc8531677ec1af232adadb08810d6a394ccefc6b525d8fda1cb7bc0a714fcd6aa4059202fb2 SHA512 2dfe3590381796f50dc89c17b038fd94cba21660e6863c60600e590f449180eb5e424f81340c6698dffddcf64f5218dadbdc96f1553e2eef96be2b1fbe2d1fb3 +DIST delayer-1.1.1.gem 11264 BLAKE2B de9dcf42b5c8905a372e6de59a20d14c9abc8a8ee993fdb81f0675ccc5da2986634ddf88c7f3ac79f2b7d33fb86083ef0d3aeea257c5edcfd8d508f8ba2509bf SHA512 dc8f2ddb80e0148b0ee1567481ae560daa8c2220b7f2431000600cbab0e4dd45a79a9fb7bd6d2795df31f6accc269c7df2724fa8a31455c887be8128d02d5225 +DIST delayer-1.1.2.gem 11264 BLAKE2B b377fbeb5bd22f0e63e6c6135e86a266929ad3e77ac310bf18f47cea4dcb7cb74fabaa58960dd6ec9b1d26f3e28631da960ce51e9a2c48fa14014d5a47a28af1 SHA512 826aa27922c6d0d377db8b9ff0abd19903574a03dd9439548c82400a492127192ac875b839a54031ec7aa27d64bcef1158f0d94986f6b4d55765b6541d177ba0 diff --git a/dev-ruby/delayer/delayer-0.0.2.ebuild b/dev-ruby/delayer/delayer-0.0.2.ebuild new file mode 100644 index 000000000000..d9fb739a5159 --- /dev/null +++ b/dev-ruby/delayer/delayer-0.0.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Delay the processing" +HOMEPAGE="https://rubygems.org/gems/delayer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile ${PN}.gemspec test/test_*.rb || die "sed failed" +} diff --git a/dev-ruby/delayer/delayer-1.0.0.ebuild b/dev-ruby/delayer/delayer-1.0.0.ebuild new file mode 100644 index 000000000000..6b23b20cb3d5 --- /dev/null +++ b/dev-ruby/delayer/delayer-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Delay the processing" +HOMEPAGE="https://rubygems.org/gems/delayer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile ${PN}.gemspec test/test_*.rb || die "sed failed" +} diff --git a/dev-ruby/delayer/delayer-1.1.1.ebuild b/dev-ruby/delayer/delayer-1.1.1.ebuild new file mode 100644 index 000000000000..9feeed9ba570 --- /dev/null +++ b/dev-ruby/delayer/delayer-1.1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Delay the processing" +HOMEPAGE="https://rubygems.org/gems/delayer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile ${PN}.gemspec test/test_*.rb || die "sed failed" +} diff --git a/dev-ruby/delayer/delayer-1.1.2.ebuild b/dev-ruby/delayer/delayer-1.1.2.ebuild new file mode 100644 index 000000000000..9feeed9ba570 --- /dev/null +++ b/dev-ruby/delayer/delayer-1.1.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Delay the processing" +HOMEPAGE="https://rubygems.org/gems/delayer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile ${PN}.gemspec test/test_*.rb || die "sed failed" +} diff --git a/dev-ruby/delayer/metadata.xml b/dev-ruby/delayer/metadata.xml new file mode 100644 index 000000000000..f4d2ec8fa4e1 --- /dev/null +++ b/dev-ruby/delayer/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">delayer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/dependor/Manifest b/dev-ruby/dependor/Manifest new file mode 100644 index 000000000000..ca0f954e9232 --- /dev/null +++ b/dev-ruby/dependor/Manifest @@ -0,0 +1 @@ +DIST dependor-1.0.1.gem 12288 BLAKE2B 728cb4a1ec8e2b7d8e770dc7c2b997f8a474963530cd2b3e8209babacf16aad8f69f1fab64aa1e932b477922c6eef8c3c46073421966285204a49c00f3a3bab5 SHA512 4233a270d8fc956a530008121fcb0110c2c66f77f51aa98a5db75b857c83f80f90b8e8ae67d098aa2363c21deaf1dbbba146c09b83fe6fa8004832249acea9e7 diff --git a/dev-ruby/dependor/dependor-1.0.1.ebuild b/dev-ruby/dependor/dependor-1.0.1.ebuild new file mode 100644 index 000000000000..5ff126506ed1 --- /dev/null +++ b/dev-ruby/dependor/dependor-1.0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Reduces duplication when doing manual dependency injection" +HOMEPAGE="https://github.com/psyho/dependor" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/dependor/metadata.xml b/dev-ruby/dependor/metadata.xml new file mode 100644 index 000000000000..8a9e68fee0c4 --- /dev/null +++ b/dev-ruby/dependor/metadata.xml @@ -0,0 +1,12 @@ +<?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">psyho/dependor</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/deprecated/Manifest b/dev-ruby/deprecated/Manifest new file mode 100644 index 000000000000..406c80c9b870 --- /dev/null +++ b/dev-ruby/deprecated/Manifest @@ -0,0 +1 @@ +DIST deprecated-3.0.1.gem 6144 BLAKE2B 69ef1b95168ada9e66dda556d0c6731109b2b7845f8c4be0ba75749f2e7af092c3b800d0334c4cd1c555905c09bb12dd945f4692eabf0155fc32f4ea380c52da SHA512 c4280f8bd6914a6b073cbc443db5dd5232379abb7870d90cd0146c08312f82aa8fd8c042b48c2b9b26c4120dc8afb326070a1256c51355f1cfa898905ec59e51 diff --git a/dev-ruby/deprecated/deprecated-3.0.1-r2.ebuild b/dev-ruby/deprecated/deprecated-3.0.1-r2.ebuild new file mode 100644 index 000000000000..8e5081849b1d --- /dev/null +++ b/dev-ruby/deprecated/deprecated-3.0.1-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for handling deprecated code" +HOMEPAGE="https://github.com/erikh/deprecated" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="amd64 ppc x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +each_ruby_test() { + ${RUBY} -Ilib:. test/test_deprecated.rb || die "test failed" +} diff --git a/dev-ruby/deprecated/metadata.xml b/dev-ruby/deprecated/metadata.xml new file mode 100644 index 000000000000..c922f8214aa9 --- /dev/null +++ b/dev-ruby/deprecated/metadata.xml @@ -0,0 +1,12 @@ +<?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">erikh/deprecated</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/descendants_tracker/Manifest b/dev-ruby/descendants_tracker/Manifest new file mode 100644 index 000000000000..113aa3ec9509 --- /dev/null +++ b/dev-ruby/descendants_tracker/Manifest @@ -0,0 +1 @@ +DIST descendants_tracker-0.0.4.gem 11264 BLAKE2B 65557a3e4859eb589ee468611f6d29b97ea96897711ce8fcb70c8da6d54849eb4e84fc999db4def4b6e6d5a56a84724b7319e47aee5ef739b23763b1c74f9dc5 SHA512 e079b0ba9b14056707780f1752297c22e81c144fcc7903bc0ef4aa5ad8f343628f493d6d87cc1d5c61cbf8f69066914210eb407b5492aa414949ad799f9a9b69 diff --git a/dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild b/dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild new file mode 100644 index 000000000000..493825f3e883 --- /dev/null +++ b/dev-ruby/descendants_tracker/descendants_tracker-0.0.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Module that adds descendant tracking to a class" +HOMEPAGE="https://github.com/dkubb/descendants_tracker" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/thread_safe" + +all_ruby_prepare() { + # Remove dependency on devtools + sed -i -e '/devtools\/spec_helper/d' spec/spec_helper.rb || die + sed -i -e '/it_should_behave_like/d' \ + spec/unit/descendants_tracker/add_descendant_spec.rb || die + sed -i -e '/it_should_behave_like/d' \ + spec/unit/descendants_tracker/descendants_spec.rb || die +} diff --git a/dev-ruby/descendants_tracker/metadata.xml b/dev-ruby/descendants_tracker/metadata.xml new file mode 100644 index 000000000000..771cfe6f6547 --- /dev/null +++ b/dev-ruby/descendants_tracker/metadata.xml @@ -0,0 +1,12 @@ +<?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">dkubb/descendants_tracker</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/did_you_mean/Manifest b/dev-ruby/did_you_mean/Manifest new file mode 100644 index 000000000000..0f128f70f6f6 --- /dev/null +++ b/dev-ruby/did_you_mean/Manifest @@ -0,0 +1,5 @@ +DIST did_you_mean-1.1.2.gem 30720 BLAKE2B c1fb841143928854854892e2c7890cb3952329ae3efd50401b43bb4bd327b0564ab2f0fb33a4bd23278e1a3570594f2e13ae6c0cb52ea244ccef392f68e79d09 SHA512 bd1f5eeaf6c527bd6a0ef79555aeee459f9e2fee82215e6f3a47e380535d366eea1f7b199ae99de2736125785c7fd76a1cd6e8bc7cd0599a8d4cc6c5184c85de +DIST did_you_mean-1.2.1.gem 20992 BLAKE2B e8827b3f6797145c1adf5fae2a681ad8f437c1dfcb746465c4bb0c59f61285c2f2a65d5e31e2a501da812baf52a2f1d78b81c2d74a194d7309778cece56c1752 SHA512 98a71ad3c4fe92efec50575e26723cd3b5c60b25cd24767a7aabdb4e2b343b131fe3677367c78995f07c513d39d47984af80bde0ec2f6aeafcb34be97f134b1b +DIST did_you_mean-1.3.0.gem 23040 BLAKE2B 2ff2049a9db318151f7a42f00b22452e60b101152d6b170e59aed9804a87658015472cdbf2fb995aea4999cfabf23a09bf09d4ec4f47bdd62193c2e20c7a8a2c SHA512 a2b2bc30d1f87d535e0af765ca53e74ba156cee877f78caefa196e335939748e0ee0512ba4cbdc4ddf4b354715299b9f8593a08f65e97e9f7c83cdba55e354f3 +DIST did_you_mean-1.3.1.gem 24576 BLAKE2B 939dc676dd7ba5dc4b64e5796b59e2901b36e5b9e1d4ccdd8809fdd008a82377c6bbd35b8677fa273c2196615ad3b7a09cd3bb57267ba2dd9216f13cd0599aa2 SHA512 14e672540a93bcf89fb41e27cca31190f9c621c5fb669256a26ccd6c1042437a69911b7ee886305b23fa94fcd0979188b423cad88f87b0adbf6c9437ecffc84c +DIST did_you_mean-1.4.0.gem 33792 BLAKE2B 9052b7ba7028f963595eeb79e668296b48db8659bd07c6e00076efc372f6c64eb3ad81981013bf0ae3c37b942a459146af96fa001ba225ebf1f5486d717a7a55 SHA512 bd8e47e5d0135807d1ec0a5dbf536649cbaca13fd056cefc6f57293b7869608ef92a8cdcbaf4a4c4453738ecbe8a6d8bc450826a8dadb46fc69560ed05a97f2d diff --git a/dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild b/dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild new file mode 100644 index 000000000000..ad38fb1f3c95 --- /dev/null +++ b/dev-ruby/did_you_mean/did_you_mean-1.1.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="'did you mean?'experience in Ruby" +HOMEPAGE="https://github.com/yuki24/did_you_mean" + +LICENSE="MIT" +SLOT="2.4" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Skip test that is broken with newer ruby releases + sed -i -e '/test_message/,/^ end/ s:^:#:' test/core_ext/name_error_extension_test.rb || die +} diff --git a/dev-ruby/did_you_mean/did_you_mean-1.2.1.ebuild b/dev-ruby/did_you_mean/did_you_mean-1.2.1.ebuild new file mode 100644 index 000000000000..ad53f0d216a2 --- /dev/null +++ b/dev-ruby/did_you_mean/did_you_mean-1.2.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="'did you mean?'experience in Ruby" +HOMEPAGE="https://github.com/yuki24/did_you_mean" + +LICENSE="MIT" +SLOT="2.5" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/did_you_mean/did_you_mean-1.3.0.ebuild b/dev-ruby/did_you_mean/did_you_mean-1.3.0.ebuild new file mode 100644 index 000000000000..f54ed70331a4 --- /dev/null +++ b/dev-ruby/did_you_mean/did_you_mean-1.3.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="'did you mean?'experience in Ruby" +HOMEPAGE="https://github.com/yuki24/did_you_mean" + +LICENSE="MIT" +SLOT="2.6" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/did_you_mean/did_you_mean-1.3.1.ebuild b/dev-ruby/did_you_mean/did_you_mean-1.3.1.ebuild new file mode 100644 index 000000000000..455704149682 --- /dev/null +++ b/dev-ruby/did_you_mean/did_you_mean-1.3.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="'did you mean?'experience in Ruby" +HOMEPAGE="https://github.com/yuki24/did_you_mean" + +LICENSE="MIT" +SLOT="2.6" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild b/dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild new file mode 100644 index 000000000000..aaf321bf8d8a --- /dev/null +++ b/dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="'did you mean?'experience in Ruby" +HOMEPAGE="https://github.com/yuki24/did_you_mean" + +LICENSE="MIT" +SLOT="2.6" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/did_you_mean/metadata.xml b/dev-ruby/did_you_mean/metadata.xml new file mode 100644 index 000000000000..b563ee119d46 --- /dev/null +++ b/dev-ruby/did_you_mean/metadata.xml @@ -0,0 +1,12 @@ +<?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">yuki24/did_you_mean</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/diff-lcs/Manifest b/dev-ruby/diff-lcs/Manifest new file mode 100644 index 000000000000..62199d0286ea --- /dev/null +++ b/dev-ruby/diff-lcs/Manifest @@ -0,0 +1,2 @@ +DIST diff-lcs-1.3.gem 46080 BLAKE2B 907536d75c34de86ef28fa044ae785d8ba34c8d1f4d38964f08ef80c14a4fb6176504a39c2e074fb58fc5456214555461a18ae42dc04f371d85dd335b1cbc3dc SHA512 b82de390d22e0c1337ddca923621b1cc842f583a93953ef07a303b428fe3a389f8a4a1a63617a58136c8d6215aff025a3bbec2a2f618e9ea81f471964f93b078 +DIST diff-lcs-1.4.gem 48128 BLAKE2B 6ec3259dc366769c4008c6ea6c7e5f1fe75350dc0318c8d45991bb8173274630b3be734fe6375dbb131620d8124faa7c0567e57d299393c3165b0e1c2d29c138 SHA512 a352fdfb89587b38f3e518f76dddd048530501080dba5abb0c37033f44bee65bca12550ea7d6f1edb8a719092538c20d1c58dfe7a6f67ba1d46549608c09feae diff --git a/dev-ruby/diff-lcs/diff-lcs-1.3.ebuild b/dev-ruby/diff-lcs/diff-lcs-1.3.ebuild new file mode 100644 index 000000000000..28112da5f8e3 --- /dev/null +++ b/dev-ruby/diff-lcs/diff-lcs-1.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.md" + +inherit ruby-fakegem + +DESCRIPTION="Use the McIlroy-Hunt LCS algorithm to compute differences" +HOMEPAGE="https://github.com/halostatue/diff-lcs" + +LICENSE="|| ( MIT Ruby GPL-2 )" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" diff --git a/dev-ruby/diff-lcs/diff-lcs-1.4.ebuild b/dev-ruby/diff-lcs/diff-lcs-1.4.ebuild new file mode 100644 index 000000000000..83d94225b6f1 --- /dev/null +++ b/dev-ruby/diff-lcs/diff-lcs-1.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.md" + +inherit ruby-fakegem + +DESCRIPTION="Use the McIlroy-Hunt LCS algorithm to compute differences" +HOMEPAGE="https://github.com/halostatue/diff-lcs" + +LICENSE="|| ( MIT Ruby GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" diff --git a/dev-ruby/diff-lcs/metadata.xml b/dev-ruby/diff-lcs/metadata.xml new file mode 100644 index 000000000000..0015d089c7b1 --- /dev/null +++ b/dev-ruby/diff-lcs/metadata.xml @@ -0,0 +1,12 @@ +<?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">halostatue/diff-lcs</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/diva/Manifest b/dev-ruby/diva/Manifest new file mode 100644 index 000000000000..f8b31f115820 --- /dev/null +++ b/dev-ruby/diva/Manifest @@ -0,0 +1,2 @@ +DIST diva-1.0.2.gem 13824 BLAKE2B c292e11d9975691d85cb0500ec42b10422665abb9b236d44629d0a9518e318cf91891d4ad265aab81d13762d121910a8be92c602225d44bfa66e31e77082fa95 SHA512 b5d2df59e4144930ee18c7b738e8b93646057935364c2710d349761e68053f1c342b382de76dc1669076db7394ff906384a8952e1e7c44c71f208dc3604d67f4 +DIST diva-1.0.2.tar.gz 13638 BLAKE2B 461e8487e06749d0482b86fd30945dc83d53daea06750628839c899b6f8d419599c9cc322b62f58d3eb956a2a99a3674dd591c4bb2fc5483bd1853bc40154634 SHA512 b60d80ca55c98a2f6fcf269aa4a2188f2239b871b0e77f328490d5924a6d0e6801c67d0eef4de28b584303f38bed3752a3ceb2c1e4f2c7d17be13dad03c643b5 diff --git a/dev-ruby/diva/diva-1.0.2-r1.ebuild b/dev-ruby/diva/diva-1.0.2-r1.ebuild new file mode 100644 index 000000000000..cd07c32b70cd --- /dev/null +++ b/dev-ruby/diva/diva-1.0.2-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="diva.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Implementation of expression for handling things." +HOMEPAGE="https://github.com/toshia/diva https://rubygems.org/gems/diva" +SRC_URI="https://github.com/toshia/diva/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "<dev-ruby/addressable-2.8" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/diva/diva-1.0.2.ebuild b/dev-ruby/diva/diva-1.0.2.ebuild new file mode 100644 index 000000000000..f026d01e2f5a --- /dev/null +++ b/dev-ruby/diva/diva-1.0.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="diva.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Implementation of expression for handling things." +HOMEPAGE="https://github.com/toshia/diva https://rubygems.org/gems/diva" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "<dev-ruby/addressable-2.8" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/diva/metadata.xml b/dev-ruby/diva/metadata.xml new file mode 100644 index 000000000000..37568b9d8d58 --- /dev/null +++ b/dev-ruby/diva/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">diva</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/dnsruby/Manifest b/dev-ruby/dnsruby/Manifest new file mode 100644 index 000000000000..32054a65a2c1 --- /dev/null +++ b/dev-ruby/dnsruby/Manifest @@ -0,0 +1,2 @@ +DIST dnsruby-1.61.2.gem 257024 BLAKE2B 9b87f0f7e1d3062d30128b131e0ba5fdf7dee8114e0e86f6d63ca79e15db686b412906b685a7db0571fb5678de5148cdb59c0e67c6402c193e13772645be31ba SHA512 39ba76a0ca5073b5d03172754f99fad31c3a9af9e2856b930364eb2a5859619b56a1adbf5c84ccae085afcfdc2e32ffd67cf2a92a4e6150b3a113a03e5c7503d +DIST dnsruby-1.61.3.gem 259584 BLAKE2B 578d6f2b693de5007d4d15350a4fc6cb948f9e16ee9b0bb511e6b6dc92cf828d30e645522b834a6d42af5dd94b85f0675332b2363e0c2ba3b97c9b35b73bd82f SHA512 4cdf6d83c39c3209873e9bbd15ba33f851f3fb878cf746de98cf615b0f547dfc5af8b4be7d505f87f581755ff73de079b6ea3f6f8c5a11074c1c46d5bc9e8c07 diff --git a/dev-ruby/dnsruby/dnsruby-1.61.2.ebuild b/dev-ruby/dnsruby/dnsruby-1.61.2.ebuild new file mode 100644 index 000000000000..2653a5accb23 --- /dev/null +++ b/dev-ruby/dnsruby/dnsruby-1.61.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="html" +RUBY_FAKEGEM_EXTRADOC="DNSSEC EXAMPLES README.md" +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby DNS client library" +HOMEPAGE="https://github.com/alexdalitz/dnsruby" + +KEYWORDS="~amd64 ~arm ~x86" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.4:5 )" + +all_ruby_prepare() { + sed -i -e "/[Cc]overall/d" Rakefile || die + sed -i -e '/display/d' \ + -e '/Display/,/^}/d' test/spec_helper.rb || die +} + +each_ruby_test() { + # only run offline tests + #${RUBY} -I .:lib test/ts_dnsruby.rb || die "test failed" + ${RUBY} -I .:lib test/ts_offline.rb || die "test failed" +} diff --git a/dev-ruby/dnsruby/dnsruby-1.61.3.ebuild b/dev-ruby/dnsruby/dnsruby-1.61.3.ebuild new file mode 100644 index 000000000000..09e3dc0ebb01 --- /dev/null +++ b/dev-ruby/dnsruby/dnsruby-1.61.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="html" +RUBY_FAKEGEM_EXTRADOC="DNSSEC EXAMPLES README.md" +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby DNS client library" +HOMEPAGE="https://github.com/alexdalitz/dnsruby" + +KEYWORDS="~amd64 ~arm ~x86" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/addressable-2.5:0" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.4:5 )" + +all_ruby_prepare() { + sed -i -e "/[Cc]overall/d" Rakefile || die + sed -i -e '/display/d' \ + -e '/Display/,/^}/d' test/spec_helper.rb || die +} + +each_ruby_test() { + # only run offline tests + #${RUBY} -I .:lib test/ts_dnsruby.rb || die "test failed" + ${RUBY} -I .:lib test/ts_offline.rb || die "test failed" +} diff --git a/dev-ruby/dnsruby/metadata.xml b/dev-ruby/dnsruby/metadata.xml new file mode 100644 index 000000000000..d54bcb57ff7f --- /dev/null +++ b/dev-ruby/dnsruby/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mschiff@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">alexdalitz/dnsruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/docile/Manifest b/dev-ruby/docile/Manifest new file mode 100644 index 000000000000..08a387582b45 --- /dev/null +++ b/dev-ruby/docile/Manifest @@ -0,0 +1 @@ +DIST docile-1.3.2.tar.gz 14684 BLAKE2B f24ce3ae857d249ce2fc32bcefa505b272327962755e000e51dd13531ad81a039c1da0e97774752cc03444fc3f44fa12212bbe61ff7886ebf5d44076785db3df SHA512 6bba8e8855e43acc3ad314ca500896b861865e4470618f98e720a11a26e226e30d8748096638027e213eeb54838fd1c3b2c9749701476d26cf8bc55c82c4f3ce diff --git a/dev-ruby/docile/docile-1.3.2.ebuild b/dev-ruby/docile/docile-1.3.2.ebuild new file mode 100644 index 000000000000..2adf8d06e6ad --- /dev/null +++ b/dev-ruby/docile/docile-1.3.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +RUBY_FAKEGEM_GEMSPEC="docile.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Turns any Ruby object into a DSL" +HOMEPAGE="https://ms-ati.github.io/docile/" +SRC_URI="https://github.com/ms-ati/docile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/require \"github\/markup\"/d' Rakefile || die + sed -i -e '/^unless on/,/^end/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/docile/metadata.xml b/dev-ruby/docile/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/docile/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest new file mode 100644 index 000000000000..09ec66141672 --- /dev/null +++ b/dev-ruby/domain_name/Manifest @@ -0,0 +1,2 @@ +DIST domain_name-0.5.20180417.gem 124928 BLAKE2B 56c8852c09dfabc2291a08d89b4dbb6c9c9c3aecce40fab2a176e2183ebd7b793a6677256f417b0c9cb6cd61680a738038ee2d14e4d15d9ab5a952d666014d27 SHA512 e960aa4445e19ff3e71825d94f85519ec9b1600dab64d139bf21208aec6fe1dc279e9fda6c64fd518ab22783464ba9a4d43f20ceb7699daede981cbf7d5e1876 +DIST domain_name-0.5.20190701.gem 131072 BLAKE2B 86ee60824d9480e71535312fb72c192f3d88326c72539b833132872ff15298842f09bac612e9c3d8b87a3ef6a60459b14e777105613fd76da79757d6a30abcbc SHA512 445f0e8a377bb700f8a3b926970f4351d28759e237947d6c755afff52726141c6b821b43b2a761d4d0d6237969304ef749404a5f383f69710b04803410dc70aa diff --git a/dev-ruby/domain_name/domain_name-0.5.20180417.ebuild b/dev-ruby/domain_name/domain_name-0.5.20180417.ebuild new file mode 100644 index 000000000000..ce23d1f2ac1d --- /dev/null +++ b/dev-ruby/domain_name/domain_name-0.5.20180417.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Domain Name manipulation library for Ruby" +HOMEPAGE="https://github.com/knu/ruby-domain_name" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/unf-0.0.5-r1:0" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.5 + dev-ruby/shoulda + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ d; i gem "unf"' test/helper.rb || die + rm Gemfile* || die + + # Remove development dependencies + sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rdoc\)/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid dependency on git. + sed -i -e 's/`git ls-files`/""/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib:test test/test_*.rb +} diff --git a/dev-ruby/domain_name/domain_name-0.5.20190701.ebuild b/dev-ruby/domain_name/domain_name-0.5.20190701.ebuild new file mode 100644 index 000000000000..9a5d1fb9e288 --- /dev/null +++ b/dev-ruby/domain_name/domain_name-0.5.20190701.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Domain Name manipulation library for Ruby" +HOMEPAGE="https://github.com/knu/ruby-domain_name" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/unf-0.0.5-r1:0" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.5 + dev-ruby/shoulda + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ d; i gem "unf"' test/helper.rb || die + rm Gemfile* || die + + # Remove development dependencies + sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rdoc\)/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid dependency on git. + sed -i -e 's/`git ls-files`/""/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib:test test/test_*.rb +} diff --git a/dev-ruby/domain_name/metadata.xml b/dev-ruby/domain_name/metadata.xml new file mode 100644 index 000000000000..70491f222a75 --- /dev/null +++ b/dev-ruby/domain_name/metadata.xml @@ -0,0 +1,12 @@ +<?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">knu/ruby-domain_name</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest new file mode 100644 index 000000000000..1b618acf822c --- /dev/null +++ b/dev-ruby/dotenv/Manifest @@ -0,0 +1,3 @@ +DIST dotenv-2.7.3.tar.gz 19765 BLAKE2B 65f4171c8304c207ea94bd31ce2b63ae786d4794c538260ee8aa1ad8714fc1736a193febdee1299b62b82066e72be0000dffbff69a272ed94c19922bd6fc15f6 SHA512 0ac46b4c037c4d5a6e9517c7c39a4fc0f52a5a7f153602007196f6929f8be05678186a227046195fabfa4e59e6099d626f436da66041ae30c46ed062c7c5c33a +DIST dotenv-2.7.4.tar.gz 19800 BLAKE2B 53719e21aecff63016c12b8ed18f0bbf66389abe3b73c4426be1af489833cd8967b3ea4bd3183549c28d2abdc6f2cda33ce31873d8a0cac5c88c8487226ce7c8 SHA512 dd5fbc1cbb44bde938067d37834304a730bee6e2e625784ac3612f3a597c513679d52607d8924ca05939d6093891108aab3ae6eeab55be2f38238b7c2a78aefd +DIST dotenv-2.7.5.tar.gz 19873 BLAKE2B a435d7728bf0352a26e8c75d82e21c481fab4ba160b065742fe7976b07d9299a46bba379d9dd9b1d52b5188ddac5030662622dcdac036a157c04b56601a4eae9 SHA512 3036abf5fda12b46d38c9727ffb033628216ecb9e091b8f9a62c8ff2cbed93c60358332b12ad4ba7230fdcc866682916c3e37c5f6954b2a1355abe065c758bcc diff --git a/dev-ruby/dotenv/dotenv-2.7.3.ebuild b/dev-ruby/dotenv/dotenv-2.7.3.ebuild new file mode 100644 index 000000000000..2485712a4bad --- /dev/null +++ b/dev-ruby/dotenv/dotenv-2.7.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Loads environment variables from .env into ENV" +HOMEPAGE="https://github.com/bkeepers/dotenv" +SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="2" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )" + +all_ruby_prepare() { + sed -i -e '/:guard/,/end/ s:^:#:' \ + -e '5igem "rspec", "~> 3.0"' Gemfile || die + + sed -i -e '/rubocop/ s:^:#:' -e 's/git ls-files/find/' dotenv.gemspec || die +} + +each_ruby_prepare() { + sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die +} diff --git a/dev-ruby/dotenv/dotenv-2.7.4.ebuild b/dev-ruby/dotenv/dotenv-2.7.4.ebuild new file mode 100644 index 000000000000..2485712a4bad --- /dev/null +++ b/dev-ruby/dotenv/dotenv-2.7.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Loads environment variables from .env into ENV" +HOMEPAGE="https://github.com/bkeepers/dotenv" +SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="2" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )" + +all_ruby_prepare() { + sed -i -e '/:guard/,/end/ s:^:#:' \ + -e '5igem "rspec", "~> 3.0"' Gemfile || die + + sed -i -e '/rubocop/ s:^:#:' -e 's/git ls-files/find/' dotenv.gemspec || die +} + +each_ruby_prepare() { + sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die +} diff --git a/dev-ruby/dotenv/dotenv-2.7.5.ebuild b/dev-ruby/dotenv/dotenv-2.7.5.ebuild new file mode 100644 index 000000000000..7a44cde278c3 --- /dev/null +++ b/dev-ruby/dotenv/dotenv-2.7.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Loads environment variables from .env into ENV" +HOMEPAGE="https://github.com/bkeepers/dotenv" +SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="2" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )" + +all_ruby_prepare() { + sed -i -e '/:guard/,/end/ s:^:#:' \ + -e '5igem "rspec", "~> 3.0"' Gemfile || die + + sed -i -e '/rubocop/ s:^:#:' -e 's/git ls-files/find/' dotenv.gemspec || die +} + +each_ruby_prepare() { + sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die +} diff --git a/dev-ruby/dotenv/metadata.xml b/dev-ruby/dotenv/metadata.xml new file mode 100644 index 000000000000..7e29d6ac6206 --- /dev/null +++ b/dev-ruby/dotenv/metadata.xml @@ -0,0 +1,12 @@ +<?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">bkeepers/dotenv</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/dust/Manifest b/dev-ruby/dust/Manifest new file mode 100644 index 000000000000..5706d3f3a0c7 --- /dev/null +++ b/dev-ruby/dust/Manifest @@ -0,0 +1 @@ +DIST dust-0.1.7.gem 6656 BLAKE2B 2bc1015c87edf755a55544efda76a4c7c27a26026208c07f6a379dd60c9dfb383a528abfd91ca28dc650d59ed439664e8c5a757914d1a36ed24fd7f9bf630513 SHA512 f5b6d46dc4316a5c8aa49ba6122284f9ca08a491768cb5f89c6a5bfde4ff8b95df7b0234c67a27334af236801e474f27cd7cfdb0f5aaf4c65cc324977926ae1f diff --git a/dev-ruby/dust/dust-0.1.7-r2.ebuild b/dev-ruby/dust/dust-0.1.7-r2.ebuild new file mode 100644 index 000000000000..d3c856b4915e --- /dev/null +++ b/dev-ruby/dust/dust-0.1.7-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="Descriptive block syntax definition for Test::Unit" +HOMEPAGE="http://dust.rubyforge.org/" +LICENSE="MIT" + +KEYWORDS="amd64 x86" +SLOT="0" +IUSE="" + +# Remove a long-obsolete rubygems method. +all_ruby_prepare() { + sed -i -e '/manage_gems/d' \ + -e '/gempackagetask/d' \ + -e '/GemPackageTask/,/end/d' \ + -e 's:rake/rdoctask:rdoc/task:' rakefile.rb || die "Unable to update rakefile.rb" + +} + +each_ruby_test() { + ${RUBY} -I. test/all_tests.rb || die +} diff --git a/dev-ruby/dust/metadata.xml b/dev-ruby/dust/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/dust/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ecma-re-validator/Manifest b/dev-ruby/ecma-re-validator/Manifest new file mode 100644 index 000000000000..c9116309da80 --- /dev/null +++ b/dev-ruby/ecma-re-validator/Manifest @@ -0,0 +1,2 @@ +DIST ecma-re-validator-0.2.0.gem 865792 BLAKE2B c41b01dc36f3000331085666f235b0adc749516b19028ee78ef56c68c00b7ab9105d4bfcfa9b061cd1f63987054a33a7e31cc3957be17182245120d679f5b6f3 SHA512 5e2ff7c2e8b8d5a8749d87f1678b235e69f197b9af95787f59cfff492ff3d8b8e2bc45a0e3da83d92ffa646e9b1b12ef5c4cab324d6e29a0c1f53e211d00aba9 +DIST ecma-re-validator-0.2.1.gem 8704 BLAKE2B a93ec88ca352883722db386e29d0d747b97d311c263a6ef331f99890e0c52aed0e28686beedebde9a06829cdd29e35c95ccb3a6c4352535cc990b135a963b850 SHA512 0a86a5f5b100cfd8442697aa32b0ae93c552d21e3d9af7d7dc3368315d90038fc6923aed475ae4a3ccdd1a0dc5bb9d470e0c34831389dcad539a9e6fa8883908 diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.0.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.0.ebuild new file mode 100644 index 000000000000..0bc9740fcdd6 --- /dev/null +++ b/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Validate a regular expression string against what ECMA-262 can actually do" +HOMEPAGE="https://github.com/gjtorikian/ecma-re-validator" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/regexp_parser-1.2:1" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild new file mode 100644 index 000000000000..749fb888dacc --- /dev/null +++ b/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Validate a regular expression string against what ECMA-262 can actually do" +HOMEPAGE="https://github.com/gjtorikian/ecma-re-validator" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/regexp_parser-1.2:1" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ecma-re-validator/metadata.xml b/dev-ruby/ecma-re-validator/metadata.xml new file mode 100644 index 000000000000..351cafdaaef7 --- /dev/null +++ b/dev-ruby/ecma-re-validator/metadata.xml @@ -0,0 +1,12 @@ +<?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="rubygems">ecma-re-validator</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ed25519/Manifest b/dev-ruby/ed25519/Manifest new file mode 100644 index 000000000000..aacf5d4f0ae1 --- /dev/null +++ b/dev-ruby/ed25519/Manifest @@ -0,0 +1 @@ +DIST ed25519-1.2.4.tar.gz 136685 BLAKE2B d0fd78f16df2b09f5835fca4b0963cee930e17ece2c4eea2cbf4544ed1a5e30c7dc63525b285f4e1e150e5e70d1e8207ca07ce985c27441a903c69875fd92dee SHA512 cf2de7781848d804f3a279baef26f887846d7d846d225293c74dc3f4e301d18518c9edc8b721f9637fff8f087703e91d2376119f2d8185ef19be5862f99801b3 diff --git a/dev-ruby/ed25519/ed25519-1.2.4.ebuild b/dev-ruby/ed25519/ed25519-1.2.4.ebuild new file mode 100644 index 000000000000..282a543f34f2 --- /dev/null +++ b/dev-ruby/ed25519/ed25519-1.2.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Library for the Ed25519 public-key signature system" +HOMEPAGE="https://github.com/crypto-rb/ed25519" +SRC_URI="https://github.com/crypto-rb/ed25519/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ed25519_ref10 extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ed25519_ref10 + cp ext/ed25519_ref10/ed25519_ref10.so lib/ || die +} diff --git a/dev-ruby/ed25519/metadata.xml b/dev-ruby/ed25519/metadata.xml new file mode 100644 index 000000000000..afbf806794a0 --- /dev/null +++ b/dev-ruby/ed25519/metadata.xml @@ -0,0 +1,12 @@ +<?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">crypto-rb/ed25519</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/elasticsearch-api/Manifest b/dev-ruby/elasticsearch-api/Manifest new file mode 100644 index 000000000000..6f443599b832 --- /dev/null +++ b/dev-ruby/elasticsearch-api/Manifest @@ -0,0 +1,3 @@ +DIST elasticsearch-ruby-6.8.0.tar.gz 336486 BLAKE2B 5bf9538d3710787939a61b411918f3712a8490ed20df1039613f3828a55758e373e56c6794d597a95c04cf610aba8cea1113982b91cde764c96ee454e59cc7b1 SHA512 d75437b04770cac2ac65fb91f0b18cd3beae0248fa2f148aa820da5272093e5b05d00dc4c82c699d7e31b23d7f06ce7727f74eb5a9b0308264f7139e32774c91 +DIST elasticsearch-ruby-6.8.1.tar.gz 336746 BLAKE2B b7e7f039c1605ca808f57ee2ecb5fd346672d89b1b1cc8eb2d30c8bfcab9d7283f082d9852f0f186a36298dadae98f6951cdbd6a0f401568640f7de006976b0c SHA512 01ab96c92ff04818e29dbab34d73865c1f2adc816670e1fbdfe29a545eb224ff2c6368d7e0f90264c71db76a4f369626ed2e0a4ed3401adf749e0cac41d1f41d +DIST elasticsearch-ruby-6.8.2.tar.gz 343982 BLAKE2B 84878d08919d5a533943bf8a8b092f0ac74b6e1f160d822a9bbe079cb80d3dbfcc09619c1bcb25e0ad6015acfce383895e41ff9e6300a119c3a7ff53b22f0564 SHA512 c76ea7878726e7145a8c6b8759a916678da0d764620c15b77c3add08ec5d42147d0ff69a0e48ff2f8a4cceb39e7047afcd002862487d00752f84062d9df79874 diff --git a/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.0.ebuild b/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.0.ebuild new file mode 100644 index 000000000000..4dbb938a449e --- /dev/null +++ b/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" + +inherit ruby-fakegem eapi7-ver + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-api module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch-transport + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + ) +" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die + + sed -i -e '/config.formatter/ s/documentation/progress/' spec/spec_helper.rb || die + + # Avoid tests that require unpackaged jbuilder and jsonify + sed -i -e '/\(pry-nav\|jbuilder\|jsonify\)/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/elasticsearch/api/actions/json_builders_spec.rb || die + + sed -i -e '/uses the escape_utils gem/askip "unmaintained gem"' spec/elasticsearch/api/utils_spec.rb || die +} diff --git a/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.1.ebuild b/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.1.ebuild new file mode 100644 index 000000000000..51ffda452deb --- /dev/null +++ b/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-api module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch-transport + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + ) +" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die + + sed -i -e '/config.formatter/ s/documentation/progress/' spec/spec_helper.rb || die + + # Avoid tests that require unpackaged jbuilder and jsonify + sed -i -e '/\(pry-nav\|jbuilder\|jsonify\)/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/elasticsearch/api/actions/json_builders_spec.rb || die + + sed -i -e '/uses the escape_utils gem/askip "unmaintained gem"' spec/elasticsearch/api/utils_spec.rb || die +} diff --git a/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.2.ebuild b/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.2.ebuild new file mode 100644 index 000000000000..8b9a274812c2 --- /dev/null +++ b/dev-ruby/elasticsearch-api/elasticsearch-api-6.8.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-api module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch-transport + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + ) +" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die + + sed -i -e '/config.formatter/ s/documentation/progress/' spec/spec_helper.rb || die + + # Avoid tests that require unpackaged jbuilder and jsonify + sed -e '/\(pry-nav\|jbuilder\|jsonify\)/ s:^:#:' \ + -e '/RspecJunitFormatter/ s:^:#:' \ + -i spec/spec_helper.rb || die + rm -f spec/elasticsearch/api/actions/json_builders_spec.rb || die + + sed -i -e '/uses the escape_utils gem/askip "unmaintained gem"' spec/elasticsearch/api/utils_spec.rb || die +} diff --git a/dev-ruby/elasticsearch-api/metadata.xml b/dev-ruby/elasticsearch-api/metadata.xml new file mode 100644 index 000000000000..034101b49ed2 --- /dev/null +++ b/dev-ruby/elasticsearch-api/metadata.xml @@ -0,0 +1,8 @@ +<?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> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/elasticsearch-transport/Manifest b/dev-ruby/elasticsearch-transport/Manifest new file mode 100644 index 000000000000..6f443599b832 --- /dev/null +++ b/dev-ruby/elasticsearch-transport/Manifest @@ -0,0 +1,3 @@ +DIST elasticsearch-ruby-6.8.0.tar.gz 336486 BLAKE2B 5bf9538d3710787939a61b411918f3712a8490ed20df1039613f3828a55758e373e56c6794d597a95c04cf610aba8cea1113982b91cde764c96ee454e59cc7b1 SHA512 d75437b04770cac2ac65fb91f0b18cd3beae0248fa2f148aa820da5272093e5b05d00dc4c82c699d7e31b23d7f06ce7727f74eb5a9b0308264f7139e32774c91 +DIST elasticsearch-ruby-6.8.1.tar.gz 336746 BLAKE2B b7e7f039c1605ca808f57ee2ecb5fd346672d89b1b1cc8eb2d30c8bfcab9d7283f082d9852f0f186a36298dadae98f6951cdbd6a0f401568640f7de006976b0c SHA512 01ab96c92ff04818e29dbab34d73865c1f2adc816670e1fbdfe29a545eb224ff2c6368d7e0f90264c71db76a4f369626ed2e0a4ed3401adf749e0cac41d1f41d +DIST elasticsearch-ruby-6.8.2.tar.gz 343982 BLAKE2B 84878d08919d5a533943bf8a8b092f0ac74b6e1f160d822a9bbe079cb80d3dbfcc09619c1bcb25e0ad6015acfce383895e41ff9e6300a119c3a7ff53b22f0564 SHA512 c76ea7878726e7145a8c6b8759a916678da0d764620c15b77c3add08ec5d42147d0ff69a0e48ff2f8a4cceb39e7047afcd002862487d00752f84062d9df79874 diff --git a/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.0.ebuild b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.0.ebuild new file mode 100644 index 000000000000..792e50aa53ea --- /dev/null +++ b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_RECIPE_DOC=rdoc + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" + +inherit ruby-fakegem eapi7-ver + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-transport module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday:* + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + dev-ruby/curb + dev-ruby/patron + ) +" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die + + # Tweak test setup to only run unit tests since we don't have a live cluster + sed -i -e "s/RUBY_VERSION > '1.9'/false/" \ + -e '/module Elasticsearch/,$ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild new file mode 100644 index 000000000000..dde668b3853c --- /dev/null +++ b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-transport module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + dev-ruby/curb + dev-ruby/patron + ) +" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die + + # Tweak test setup to only run unit tests since we don't have a live cluster + sed -i -e "s/RUBY_VERSION > '1.9'/false/" \ + -e '/module Elasticsearch/,$ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.2.ebuild b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.2.ebuild new file mode 100644 index 000000000000..1d13774e21d5 --- /dev/null +++ b/dev-ruby/elasticsearch-transport/elasticsearch-transport-6.8.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-transport module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday:1 + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/rspec:3 + dev-ruby/shoulda-context + dev-ruby/curb + dev-ruby/patron + ) +" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die + + # Tweak test setup to only run unit tests since we don't have a live cluster + sed -i -e "s/RUBY_VERSION > '1.9'/false/" \ + -e '/module Elasticsearch/,$ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/elasticsearch-transport/metadata.xml b/dev-ruby/elasticsearch-transport/metadata.xml new file mode 100644 index 000000000000..034101b49ed2 --- /dev/null +++ b/dev-ruby/elasticsearch-transport/metadata.xml @@ -0,0 +1,8 @@ +<?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> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/elasticsearch/Manifest b/dev-ruby/elasticsearch/Manifest new file mode 100644 index 000000000000..6f443599b832 --- /dev/null +++ b/dev-ruby/elasticsearch/Manifest @@ -0,0 +1,3 @@ +DIST elasticsearch-ruby-6.8.0.tar.gz 336486 BLAKE2B 5bf9538d3710787939a61b411918f3712a8490ed20df1039613f3828a55758e373e56c6794d597a95c04cf610aba8cea1113982b91cde764c96ee454e59cc7b1 SHA512 d75437b04770cac2ac65fb91f0b18cd3beae0248fa2f148aa820da5272093e5b05d00dc4c82c699d7e31b23d7f06ce7727f74eb5a9b0308264f7139e32774c91 +DIST elasticsearch-ruby-6.8.1.tar.gz 336746 BLAKE2B b7e7f039c1605ca808f57ee2ecb5fd346672d89b1b1cc8eb2d30c8bfcab9d7283f082d9852f0f186a36298dadae98f6951cdbd6a0f401568640f7de006976b0c SHA512 01ab96c92ff04818e29dbab34d73865c1f2adc816670e1fbdfe29a545eb224ff2c6368d7e0f90264c71db76a4f369626ed2e0a4ed3401adf749e0cac41d1f41d +DIST elasticsearch-ruby-6.8.2.tar.gz 343982 BLAKE2B 84878d08919d5a533943bf8a8b092f0ac74b6e1f160d822a9bbe079cb80d3dbfcc09619c1bcb25e0ad6015acfce383895e41ff9e6300a119c3a7ff53b22f0564 SHA512 c76ea7878726e7145a8c6b8759a916678da0d764620c15b77c3add08ec5d42147d0ff69a0e48ff2f8a4cceb39e7047afcd002862487d00752f84062d9df79874 diff --git a/dev-ruby/elasticsearch/elasticsearch-6.8.0.ebuild b/dev-ruby/elasticsearch/elasticsearch-6.8.0.ebuild new file mode 100644 index 000000000000..a56db80f2fb5 --- /dev/null +++ b/dev-ruby/elasticsearch/elasticsearch-6.8.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +inherit ruby-fakegem eapi7-ver + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + ~dev-ruby/elasticsearch-api-${PV} + ~dev-ruby/elasticsearch-transport-${PV} +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch-transport + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + ) +" + +# Tests need additional modules (at least 'turn') packaged. Then someone +# should look into running them and so on. +RESTRICT="test" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die +} diff --git a/dev-ruby/elasticsearch/elasticsearch-6.8.1.ebuild b/dev-ruby/elasticsearch/elasticsearch-6.8.1.ebuild new file mode 100644 index 000000000000..be432279d0dc --- /dev/null +++ b/dev-ruby/elasticsearch/elasticsearch-6.8.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + ~dev-ruby/elasticsearch-api-${PV} + ~dev-ruby/elasticsearch-transport-${PV} +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch-transport + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + ) +" + +# Tests need additional modules (at least 'turn') packaged. Then someone +# should look into running them and so on. +RESTRICT="test" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die +} diff --git a/dev-ruby/elasticsearch/elasticsearch-6.8.2.ebuild b/dev-ruby/elasticsearch/elasticsearch-6.8.2.ebuild new file mode 100644 index 000000000000..be432279d0dc --- /dev/null +++ b/dev-ruby/elasticsearch/elasticsearch-6.8.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + ~dev-ruby/elasticsearch-api-${PV} + ~dev-ruby/elasticsearch-transport-${PV} +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/elasticsearch-transport + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + ) +" + +# Tests need additional modules (at least 'turn') packaged. Then someone +# should look into running them and so on. +RESTRICT="test" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die +} diff --git a/dev-ruby/elasticsearch/metadata.xml b/dev-ruby/elasticsearch/metadata.xml new file mode 100644 index 000000000000..034101b49ed2 --- /dev/null +++ b/dev-ruby/elasticsearch/metadata.xml @@ -0,0 +1,8 @@ +<?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> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/em-websocket/Manifest b/dev-ruby/em-websocket/Manifest new file mode 100644 index 000000000000..1d6e1bc1ba13 --- /dev/null +++ b/dev-ruby/em-websocket/Manifest @@ -0,0 +1 @@ +DIST em-websocket-0.5.1.tar.gz 27792 BLAKE2B 5aa8b9b9a1bf7066086c3115358a01054dbd24c3b9e7b454210c653aa25face2230e5504e0fc3a13d4770bcfcdf5d792c1914f173ec8d83d1b97ee7c169636af SHA512 ca2b4e2e4be663a5932fe63ed0efab169fbee9aec50f9780c1ee5df0efa300acb58410b97a22d5d10a2cb9195c2a68f6c71bf4e070ee6d915c6abf4015aa5d94 diff --git a/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild new file mode 100644 index 000000000000..ebd3b4c2439b --- /dev/null +++ b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="EventMachine based WebSocket server" +HOMEPAGE="https://rubygems.org/gems/em-websocket" +SRC_URI="https://github.com/igrigorik/em-websocket/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/eventmachine-0.12.9 + =dev-ruby/http_parser_rb-0.6* +" + +all_ruby_prepare() { + # Avoid dependency on git + sed -i -e '/ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Only run unit tests since we require unpackaged code for the + # integration tests. + sed -i -e "/^require 'em-\(spec\|http\|websocket-client\)/ s:^:#:" \ + -e "/^require 'integration/ s:^:#:" spec/helper.rb || die + rm -fr spec/integration || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/ + doins -r examples +} diff --git a/dev-ruby/em-websocket/metadata.xml b/dev-ruby/em-websocket/metadata.xml new file mode 100644 index 000000000000..7e4d15e36b11 --- /dev/null +++ b/dev-ruby/em-websocket/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bman@gentoo.org</email> + <name>Aaron Bauman</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">igrigorik/em-websocket</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/equalizer/Manifest b/dev-ruby/equalizer/Manifest new file mode 100644 index 000000000000..9d10a9585526 --- /dev/null +++ b/dev-ruby/equalizer/Manifest @@ -0,0 +1 @@ +DIST equalizer-0.0.11.gem 12800 BLAKE2B e5a56aa1620273d393987da28b2a010f3cdf26c6abe2e31c4743130c6308abde8ef7656f3d8b3e1ec0ec8ad15a298af5548e31558213272120707c0f46218e8a SHA512 01273a8e83124178f5b7d7eed08a4ca6286772c26202e028fa957f3e9d655869c51a7710312a52bb654672c7cbaee5de15fa2eee01c5413f2589cf05e02700a9 diff --git a/dev-ruby/equalizer/equalizer-0.0.11.ebuild b/dev-ruby/equalizer/equalizer-0.0.11.ebuild new file mode 100644 index 000000000000..d0828feeba2c --- /dev/null +++ b/dev-ruby/equalizer/equalizer-0.0.11.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Module to define equality, equivalence and inspection methods" +HOMEPAGE="https://github.com/dkubb/equalizer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/devtools/d" spec/spec_helper.rb || die + + # Avoid a failing spec caused by memoizable 0.4.2, and we ignore it + # there as well. + rm spec/unit/equalizer/included_spec.rb || die +} diff --git a/dev-ruby/equalizer/metadata.xml b/dev-ruby/equalizer/metadata.xml new file mode 100644 index 000000000000..3a712144fbda --- /dev/null +++ b/dev-ruby/equalizer/metadata.xml @@ -0,0 +1,12 @@ +<?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">dkubb/equalizer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/equatable/Manifest b/dev-ruby/equatable/Manifest new file mode 100644 index 000000000000..0d1d599947ac --- /dev/null +++ b/dev-ruby/equatable/Manifest @@ -0,0 +1,3 @@ +DIST equatable-0.5.0.gem 10240 BLAKE2B cbc8b0250cba6a89be0205d585a25a0f9c050cee7e1803a8725259a18b4a9b1ed62771ff9407a7b702c293c55de7c8c3000d5c29f445f230c8acbc0a0f7be384 SHA512 968c5497d3d18ec899b34311965421bd3c53a4d55f56ee7594bab1db3ce320e245890b007b1412ea434fc15ad7be2ec6c345068c4aa3cf74e07c146f76039478 +DIST equatable-0.6.0.gem 10752 BLAKE2B 834c39fcd9a3156261ce16f6a24fa952175509cf75d28cb03b7acdab58948388b5ddad034841c28b2162734d74a54592a35b971f4c05d9c884808530157ba1f5 SHA512 43aa5021a9f3bf0a730e4e5aa45dd0dd3c868d713268617f36c4ed17b66775d7f27bd8bdffe4785a9d44da94e7f49feefa991f50f38c1a34868705aa4a92d4e9 +DIST equatable-0.6.1.gem 10752 BLAKE2B f544d330fd72c12c81757ca1220f209126e9200b0309d7720005c720ad7f89288cb40d3b7bca004f624f162bfebedef8341997e94cdf5f51e6fe86fa2ab0b0e1 SHA512 442a6c9afd31ec2c41f3802703515827cb8d100bea3932c1fadeb036bb96a045883050712f480ebe4f7ea9bda5dab335b0f0d9dcc90a42bf45ce6bcc504fe0d4 diff --git a/dev-ruby/equatable/equatable-0.5.0.ebuild b/dev-ruby/equatable/equatable-0.5.0.ebuild new file mode 100644 index 000000000000..7aacf0cff449 --- /dev/null +++ b/dev-ruby/equatable/equatable-0.5.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows ruby objects to implement equality comparison and inspection methods" +HOMEPAGE="https://github.com/piotrmurach/equatable" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/equatable/equatable-0.6.0.ebuild b/dev-ruby/equatable/equatable-0.6.0.ebuild new file mode 100644 index 000000000000..b5520ce3dab7 --- /dev/null +++ b/dev-ruby/equatable/equatable-0.6.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows ruby objects to implement equality comparison and inspection methods" +HOMEPAGE="https://github.com/piotrmurach/equatable" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo "-rspec_helper" > .rspec || die +} diff --git a/dev-ruby/equatable/equatable-0.6.1.ebuild b/dev-ruby/equatable/equatable-0.6.1.ebuild new file mode 100644 index 000000000000..5be235e92d0a --- /dev/null +++ b/dev-ruby/equatable/equatable-0.6.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows ruby objects to implement equality comparison and inspection methods" +HOMEPAGE="https://github.com/piotrmurach/equatable" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo "-rspec_helper" > .rspec || die +} diff --git a/dev-ruby/equatable/metadata.xml b/dev-ruby/equatable/metadata.xml new file mode 100644 index 000000000000..f02be275cd9a --- /dev/null +++ b/dev-ruby/equatable/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/equatable</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/erubi/Manifest b/dev-ruby/erubi/Manifest new file mode 100644 index 000000000000..f0a5063a8099 --- /dev/null +++ b/dev-ruby/erubi/Manifest @@ -0,0 +1,2 @@ +DIST erubi-1.8.0.gem 13824 BLAKE2B 026a70c05f7000baeb14c79f8505f0a0ad54df4384749ac0ced895ec5e2d5fcd3b2cc4f0891f11f983de6b121661c391ed0c839b29dfacacbe6f55a9607fcf64 SHA512 ca227cc10a3a77750a4e5184395709a032da6f15cb0fb5f9b8cc162e382b2ce49cd94023941439b05ee5b0c5d1b39114d68a0e7549910bceb1fdead6b9fd62e4 +DIST erubi-1.9.0.gem 13824 BLAKE2B 00cb428e3433090370e9f61d2445f98553a45e2a92181076114db2601fa7261d8ffc44c3f4a0ecb73d616fb5e93dcc52ca6a2efab3945b11bd17d4a53c68fed1 SHA512 34770c01215b323797739af54c5c821d28e982309a76f0a212657868629625ae6dfca3e9e2f5ae16893813fc81b5afbb172c397ddad1e2f93108c5112c540bd6 diff --git a/dev-ruby/erubi/erubi-1.8.0.ebuild b/dev-ruby/erubi/erubi-1.8.0.ebuild new file mode 100644 index 000000000000..f6c9b1158356 --- /dev/null +++ b/dev-ruby/erubi/erubi-1.8.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem + +DESCRIPTION="a ERB template engine for ruby; a simplified fork of Erubis" +HOMEPAGE="https://github.com/jeremyevans/erubi" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" diff --git a/dev-ruby/erubi/erubi-1.9.0.ebuild b/dev-ruby/erubi/erubi-1.9.0.ebuild new file mode 100644 index 000000000000..1c6ae0679c7c --- /dev/null +++ b/dev-ruby/erubi/erubi-1.9.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem + +DESCRIPTION="a ERB template engine for ruby; a simplified fork of Erubis" +HOMEPAGE="https://github.com/jeremyevans/erubi" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/minitest-global_expectations )" diff --git a/dev-ruby/erubi/metadata.xml b/dev-ruby/erubi/metadata.xml new file mode 100644 index 000000000000..bd2c3c2f800d --- /dev/null +++ b/dev-ruby/erubi/metadata.xml @@ -0,0 +1,13 @@ +<?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">jeremyevans/erubi</remote-id> + <remote-id type="rubygems">erubi</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/erubis/Manifest b/dev-ruby/erubis/Manifest new file mode 100644 index 000000000000..cf4d6b0c2ce0 --- /dev/null +++ b/dev-ruby/erubis/Manifest @@ -0,0 +1 @@ +DIST erubis-2.7.0.gem 173056 BLAKE2B b1059469b5d75dd71be32eabfae0f1715dca11b9c5eb79499a5a8835a4db44e8c2163386af1e4ef9cab8cecf4ae6f2eb57b5105d53d56e5784b06d65398b22fb SHA512 49b08b28656acaf3b0c88fe064bb0d5f79fd08b834d7eba9294217b0893c5a0244ac5dd54de0e52dd17e828a0110e54b29e8c2d75171d527da957917344a0f27 diff --git a/dev-ruby/erubis/erubis-2.7.0-r2.ebuild b/dev-ruby/erubis/erubis-2.7.0-r2.ebuild new file mode 100644 index 000000000000..b339ec8c1de9 --- /dev/null +++ b/dev-ruby/erubis/erubis-2.7.0-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Erubis is an implementation of eRuby" +HOMEPAGE="http://www.kuwata-lab.com/erubis/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# http://rubyforge.org/tracker/index.php?func=detail&aid=29484&group_id=1320&atid=5201 +# Tests are not compatible with Psych as YAML module. +RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/abstract-1.0.0" + +all_ruby_prepare() { + # These tests now fail due to other ordering and fact that sym + # are now returned. + rm test/test-users-guide.rb || die + sed -i -e '/test-users-guide/ s:^:#:' test/test.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -I. test/test.rb || die +} diff --git a/dev-ruby/erubis/metadata.xml b/dev-ruby/erubis/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/erubis/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ethon/Manifest b/dev-ruby/ethon/Manifest new file mode 100644 index 000000000000..d3f6c7cd64ee --- /dev/null +++ b/dev-ruby/ethon/Manifest @@ -0,0 +1 @@ +DIST ethon-0.12.0.gem 56832 BLAKE2B 04765dcb9599e7435c3f71b1e8c35b815123ec460dbb761360146b24acaff1aeb52a75efe5dbbacdbd11e7247743988629ce965604cdfd15cdd75ef03301d9da SHA512 5fea666efdd5e2d568d0e074f205525656e202ecea3bb5ff8a8ab838a596cab349b869baffb7926227d6cfdae5b9c1cb86bb201b4c9585056c6671ab4feee596 diff --git a/dev-ruby/ethon/ethon-0.12.0.ebuild b/dev-ruby/ethon/ethon-0.12.0.ebuild new file mode 100644 index 000000000000..390efe9b19e1 --- /dev/null +++ b/dev-ruby/ethon/ethon-0.12.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Very lightweight libcurl wrapper" +HOMEPAGE="https://github.com/typhoeus/ethon" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND+=" net-misc/curl" + +ruby_add_rdepend ">=dev-ruby/ffi-1.3.0" + +ruby_add_bdepend "test? ( dev-ruby/sinatra dev-ruby/mime-types )" + +all_ruby_prepare() { + rm Gemfile || die + sed -e '/bundler/I s:^:#:' \ + -e '1igem "sinatra"' -i Rakefile spec/spec_helper.rb || die +} diff --git a/dev-ruby/ethon/metadata.xml b/dev-ruby/ethon/metadata.xml new file mode 100644 index 000000000000..024fd5aa5346 --- /dev/null +++ b/dev-ruby/ethon/metadata.xml @@ -0,0 +1,12 @@ +<?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">typhoeus/ethon</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/evented-spec/Manifest b/dev-ruby/evented-spec/Manifest new file mode 100644 index 000000000000..289e581f362d --- /dev/null +++ b/dev-ruby/evented-spec/Manifest @@ -0,0 +1 @@ +DIST evented-spec-0.9.0.gem 22016 BLAKE2B a8aca8eb4d5931b2deefef60d19d3cd4e65ab2c9a010f1b98bf07917ddaf644b65b321f90e81bbe097ce57b455f6bd87528ecc8f5a13f018b04b4f5413b3b945 SHA512 48c5de98aa580127c492d91dce709a4a3bf7449c2880971ad1b744345db308ba6b5ded8aff23b3f42794949b8474d35e5fe148bc7cc4f88f23980da0ab1fc064 diff --git a/dev-ruby/evented-spec/evented-spec-0.9.0.ebuild b/dev-ruby/evented-spec/evented-spec-0.9.0.ebuild new file mode 100644 index 000000000000..958a1b4d0dd0 --- /dev/null +++ b/dev-ruby/evented-spec/evented-spec-0.9.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.textile" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit versionator ruby-fakegem + +DESCRIPTION="A set of helpers to help you test your asynchronous code" +HOMEPAGE="https://github.com/ruby-amqp/evented-spec" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# Tests require a running AMQP server and AMQP installed. Since +# currently AMQP is the only package using evented-spec we just skip the +# tests here altogether to avoid circular dependencies. +RESTRICT="test" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/evented-spec/metadata.xml b/dev-ruby/evented-spec/metadata.xml new file mode 100644 index 000000000000..9ffd654e2f13 --- /dev/null +++ b/dev-ruby/evented-spec/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-amqp/evented-spec</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest new file mode 100644 index 000000000000..bcec3e811ea8 --- /dev/null +++ b/dev-ruby/eventmachine/Manifest @@ -0,0 +1 @@ +DIST eventmachine-1.2.7.tar.gz 246402 BLAKE2B 3eee1e5fbb367c03e3d801cb705a0f95b7bbb461885f04820f57421019a3d61eecabe71309981eec35168395eb6d98a8c675bd0fb225497de511f2ce09a5df92 SHA512 768ec084903dce4c737cf564fce7886a3e7e5b7d4a89c2baea3e998130c53dc00488eaa2d8e9b0133d9e4d8fffbde80c3025403881486a7968c2d84425cc1f50 diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild new file mode 100644 index 000000000000..2a49e0f72980 --- /dev/null +++ b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs" +HOMEPAGE="https://github.com/eventmachine/eventmachine" +SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 Ruby )" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="${DEPEND} + dev-libs/openssl:0" +RDEPEND="${RDEPEND} + dev-libs/openssl:0" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Remove package tasks to avoid dependency on rake-compiler. + rm rakelib/package.rake || die + + # Remove the resolver tests since they require network access and + # the localhost test fails with an IPv6 localhost. + rm tests/test_resolver.rb || die + + # Needs a tty + rm tests/test_kb.rb || die + + # Avoid tests that require network access + sed -i -e '/test_bind_connect/,/^ end/ s:^:#:' \ + tests/test_basic.rb || die + sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^ end/ s:^:#:' \ + tests/test_httpclient.rb || die + sed -i -e '/test_\(get\|https_get\)/,/^ end/ s:^:#:' \ + tests/test_httpclient2.rb || die + sed -i -e '/test_connect_timeout/,/^ end/ s:^:#:' \ + tests/test_unbind_reason.rb || die + sed -i -e '/test_for_real/,/^ end/ s:^:#:' \ + tests/test_pending_connect_timeout.rb || die + rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die + + # Avoid tests for insecure SSL versions that may not be available + sed -i -e '/test_any_to_v3/,/^ end/ s:^:#:' \ + -e '/test_v3_/,/^ end/ s:^:#:' \ + -e '/test_tlsv1_required_with_external_client/aomit "sslv3"' \ + tests/test_ssl_protocols.rb || die + + # Avoid test that deliberately triggers a C++ exception which causes + # a SEGFAULT. This does not appear to happen upstream (on travis). + rm -f tests/test_exc.rb || die +} + +each_ruby_configure() { + for extdir in ext ext/fastfilereader; do + pushd $extdir + ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}" + popd + done +} + +each_ruby_compile() { + for extdir in ext ext/fastfilereader; do + pushd $extdir + # both extensions use C++, so use the CXXFLAGS not the CFLAGS + emake V=1 CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" + popd + cp $extdir/*.so lib/ || die "Unable to copy extensions for ${extdir}" + done +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/ + doins -r examples +} diff --git a/dev-ruby/eventmachine/metadata.xml b/dev-ruby/eventmachine/metadata.xml new file mode 100644 index 000000000000..c7af9fc3fd34 --- /dev/null +++ b/dev-ruby/eventmachine/metadata.xml @@ -0,0 +1,12 @@ +<?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> +<longdescription> +Ruby/EventMachine is a fast, simple event-processing library for Ruby programs. It lets you write network clients and servers without handling sockets- all you do is send and receive data. Single-threaded socket engine- scalable and FAST! +</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/execjs/Manifest b/dev-ruby/execjs/Manifest new file mode 100644 index 000000000000..148e05ab80bc --- /dev/null +++ b/dev-ruby/execjs/Manifest @@ -0,0 +1 @@ +DIST execjs-2.7.0.tar.gz 425361 BLAKE2B 8dd3bb5557a6993667abfa6c424cbea6377c1ea7b3928b9b60a6ba084f1df8a109d10d1a616c9d302e1b98a2031ece9e710d7dd933791cbfb3eaa48e45b9a595 SHA512 9627f466e8a363404c940b29227d08a8ad067b53383989a3d8f4f902e8c050c0e81facdbdafbb660c41f7c8dc2fbdd3bd357ca708e612af4d223b5412c6c1fb7 diff --git a/dev-ruby/execjs/execjs-2.7.0.ebuild b/dev-ruby/execjs/execjs-2.7.0.ebuild new file mode 100644 index 000000000000..6ee18c149d13 --- /dev/null +++ b/dev-ruby/execjs/execjs-2.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="ExecJS lets you run JavaScript code from Ruby" +HOMEPAGE="https://github.com/rails/execjs" +SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x64-macos" + +IUSE="test" + +# execjs supports various javascript runtimes. They are listed in order +# as per the documentation. For now only include the ones already in the +# tree. + +# therubyracer, therubyrhino, node.js, spidermonkey (deprecated) + +# spidermonkey doesn't pass the test suite: +# https://github.com/sstephenson/execjs/issues/62 + +RDEPEND+=" || ( net-libs/nodejs )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile || die + # Avoid test requiring network connectivity. We could potentially + # substitute dev-ruby/coffee-script-source for this. + sed -i -e '/test_coffeescript/,/end/ s:^:#:' test/test_execjs.rb || die +} diff --git a/dev-ruby/execjs/metadata.xml b/dev-ruby/execjs/metadata.xml new file mode 100644 index 000000000000..77a8df099523 --- /dev/null +++ b/dev-ruby/execjs/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/execjs</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/exifr/Manifest b/dev-ruby/exifr/Manifest new file mode 100644 index 000000000000..037426c464d4 --- /dev/null +++ b/dev-ruby/exifr/Manifest @@ -0,0 +1 @@ +DIST exifr-1.3.6.tar.gz 245123 BLAKE2B eadaec6e1e75d048a9279459c157b0e493ee79f30b964897a9e30a38d27bc5b6b6fe87db7da192f7cab430630b7ed8fe4084f951189cb5bfe805d38e9861c5bc SHA512 9580e47c9de317b456c3cb23099293e26aa1889e338d2b95c4983d7a03c8658ced67d1f11a3fc7b23a80b3a89698c6277ce1bf47e762e5e42822f2ba3041887f diff --git a/dev-ruby/exifr/exifr-1.3.6.ebuild b/dev-ruby/exifr/exifr-1.3.6.ebuild new file mode 100644 index 000000000000..73a1eb5ebe66 --- /dev/null +++ b/dev-ruby/exifr/exifr-1.3.6.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_DOCDIR="doc/api" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library to read EXIF info from JPEG and TIFF images" +HOMEPAGE="https://github.com/remvee/exifr/" +SRC_URI="https://github.com/remvee/exifr/archive/release-${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-release-${PV}" + +# License is not specified in source distribution but is in the GitHub +# repository. +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-ruby/exifr/metadata.xml b/dev-ruby/exifr/metadata.xml new file mode 100644 index 000000000000..542b6d4506b5 --- /dev/null +++ b/dev-ruby/exifr/metadata.xml @@ -0,0 +1,12 @@ +<?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">remvee/exifr</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/expression_parser/Manifest b/dev-ruby/expression_parser/Manifest new file mode 100644 index 000000000000..f884f9fac644 --- /dev/null +++ b/dev-ruby/expression_parser/Manifest @@ -0,0 +1 @@ +DIST expression_parser-0.9.0_p20130518.tar.gz 4212 BLAKE2B 10974bff0b671f6105bc38356d1681e9673b96ddf62278b68e4327d5db8505d468a32699f15966b02600368f842b3baf4ebadb6eb203ee53c3568c2d7bc64f9a SHA512 d0d031570e99987a78a4285cfc5ebdb3ec517fbfdd053b7da3dae9c3f2ccf47083f0964b135f3c2501aebe44bd789f1a360cd386620a2f3585af014dd81fc474 diff --git a/dev-ruby/expression_parser/expression_parser-0.9.0_p20130518.ebuild b/dev-ruby/expression_parser/expression_parser-0.9.0_p20130518.ebuild new file mode 100644 index 000000000000..ca484c75bc90 --- /dev/null +++ b/dev-ruby/expression_parser/expression_parser-0.9.0_p20130518.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README" +RUBY_FAKEGEM_VERSION="0.9.0.20130518" + +inherit ruby-fakegem + +DESCRIPTION="A math parser" +HOMEPAGE="https://lukaszwrobel.pl/blog/math-parser-part-3-implementation" +COMMIT_ID="6e3c7973423ff0f2cd33db2304fcd4eac3af01ad" +SRC_URI="https://github.com/nricciar/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + +RUBY_S="${PN}-${COMMIT_ID}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/expression_parser/metadata.xml b/dev-ruby/expression_parser/metadata.xml new file mode 100644 index 000000000000..3963786af73f --- /dev/null +++ b/dev-ruby/expression_parser/metadata.xml @@ -0,0 +1,12 @@ +<?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">nricciar/expression_parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest new file mode 100644 index 000000000000..8daa73ed089a --- /dev/null +++ b/dev-ruby/facter/Manifest @@ -0,0 +1,3 @@ +DIST facter-3.14.10.tar.gz 406470 BLAKE2B ffd97f450676ad7465332f5159dc4fc9c695b9cbaaf8a09a2b575221bf11b11c044edeaab093f5222d64b0e7ef271d860072ab5435845ddff427714a4f2950e6 SHA512 e9f6b5a722982ad80282c355a82a5a6d302e6db36367d65701b7216f80032225da58106ccb025b742d2dc6ef98e2f5df5a07e53489802ee44603bc99ab930ffa +DIST facter-3.14.11.tar.gz 406391 BLAKE2B 27606fe89fe9009db0ee14ccff6ad15db9fb548c25f752d044c0ec67bd772c1a523b2ec9d4fc49e5916b853ee119b7f640e2893b628e31fcaf2fc90e7edb3d81 SHA512 5e6a23f7ff91bfa2617c6afc15e441d1a61e9a1d57f4c7a1cfb033083ea0e2d72b348f06121a36c392b3ec64f08644832ef2d73c486def3e92edc7625ea62f51 +DIST facter-3.14.9.tar.gz 404448 BLAKE2B f95c0acce84013d58565193a35931d7f562639f607f3fed36ede5d2197336bec0ea4318a28ef29297150ab07a1fd35c292ca15c056b0b8cfe879bbebc64bfb18 SHA512 ff809c87641d65c43a9764d0a2cfe42f64c17d50e473a6d27b6ff25adfbd7be15edf25286932aeba348b669b05a11780257d41aa541fbb013c1169b6d8d25582 diff --git a/dev-ruby/facter/facter-3.14.10.ebuild b/dev-ruby/facter/facter-3.14.10.ebuild new file mode 100644 index 000000000000..f2b40c9e3b70 --- /dev/null +++ b/dev-ruby/facter/facter-3.14.10.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# git-r3 goes after ruby-ng so that it overrides src_unpack properly +inherit cmake-utils eutils ruby-ng + +DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" +HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" + EGIT_BRANCH="master" +else + [[ "${PV}" = *_rc* ]] || \ + KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" + SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +RESTRICT="!test? ( test )" + +ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" + +RDEPEND=" + >=dev-cpp/cpp-hocon-0.2.1:= + >=dev-libs/leatherman-1.0.0:= + dev-libs/openssl:0= + sys-apps/util-linux + app-emulation/virt-what + net-misc/curl + dev-libs/boost:=[nls] + >=dev-cpp/yaml-cpp-0.5.1 + !<app-admin/puppet-4.0.0" +DEPEND="${RDEPEND}" + +# restore ${S} and override all phases exported by ruby-ng.eclass +S="${WORKDIR}/${P}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.14.6-fix-static-libcpp-hocon.patch + # be explicit about the version of rspec we test with + "${FILESDIR}"/${PN}-3.14.8-explicit-rspec-2.patch +) + +pkg_setup() { + ruby-ng_pkg_setup +} + +src_unpack() { + default + + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + cmake-utils_src_prepare +} + +each_ruby_configure() { + # hack for correct calculation of relative path from facter.rb to + # libfacter.so + my_ruby_sitelibdir=$(ruby_rbconfig_value 'sitelibdir') +} + +src_configure() { + ruby-ng_src_configure + + local mycmakeargs=( + -DRUBY_LIB_INSTALL=${my_ruby_sitelibdir} + -DBLKID_LIBRARYDIR="${EPREFIX}/$(get_libdir)" + ) + cmake-utils_src_configure +} + +src_compile() { + addpredict /proc/self/oom_score_adj + cmake-utils_src_compile +} + +src_test() { + cmake-utils_src_test +} + +each_ruby_install() { + doruby "${BUILD_DIR}"/lib/facter.rb +} + +src_install() { + cmake-utils_src_install + ruby-ng_src_install +} diff --git a/dev-ruby/facter/facter-3.14.11.ebuild b/dev-ruby/facter/facter-3.14.11.ebuild new file mode 100644 index 000000000000..b7819b83844f --- /dev/null +++ b/dev-ruby/facter/facter-3.14.11.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# git-r3 goes after ruby-ng so that it overrides src_unpack properly +inherit cmake-utils eutils ruby-ng + +DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" +HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" + EGIT_BRANCH="master" +else + [[ "${PV}" = *_rc* ]] || \ + KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +RESTRICT="!test? ( test )" + +ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" + +RDEPEND=" + >=dev-cpp/cpp-hocon-0.2.1:= + >=dev-libs/leatherman-1.0.0:= + dev-libs/openssl:0= + sys-apps/util-linux + app-emulation/virt-what + net-misc/curl + dev-libs/boost:=[nls] + >=dev-cpp/yaml-cpp-0.5.1 + !<app-admin/puppet-4.0.0" +DEPEND="${RDEPEND}" + +# restore ${S} and override all phases exported by ruby-ng.eclass +S="${WORKDIR}/${P}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.14.6-fix-static-libcpp-hocon.patch + # be explicit about the version of rspec we test with + "${FILESDIR}"/${PN}-3.14.8-explicit-rspec-2.patch +) + +pkg_setup() { + ruby-ng_pkg_setup +} + +src_unpack() { + default + + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + cmake-utils_src_prepare +} + +each_ruby_configure() { + # hack for correct calculation of relative path from facter.rb to + # libfacter.so + my_ruby_sitelibdir=$(ruby_rbconfig_value 'sitelibdir') +} + +src_configure() { + ruby-ng_src_configure + + local mycmakeargs=( + -DRUBY_LIB_INSTALL=${my_ruby_sitelibdir} + -DBLKID_LIBRARYDIR="${EPREFIX}/$(get_libdir)" + ) + cmake-utils_src_configure +} + +src_compile() { + addpredict /proc/self/oom_score_adj + cmake-utils_src_compile +} + +src_test() { + cmake-utils_src_test +} + +each_ruby_install() { + doruby "${BUILD_DIR}"/lib/facter.rb +} + +src_install() { + cmake-utils_src_install + ruby-ng_src_install +} diff --git a/dev-ruby/facter/facter-3.14.9.ebuild b/dev-ruby/facter/facter-3.14.9.ebuild new file mode 100644 index 000000000000..f2b40c9e3b70 --- /dev/null +++ b/dev-ruby/facter/facter-3.14.9.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# git-r3 goes after ruby-ng so that it overrides src_unpack properly +inherit cmake-utils eutils ruby-ng + +DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" +HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" + EGIT_BRANCH="master" +else + [[ "${PV}" = *_rc* ]] || \ + KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" + SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +RESTRICT="!test? ( test )" + +ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" + +RDEPEND=" + >=dev-cpp/cpp-hocon-0.2.1:= + >=dev-libs/leatherman-1.0.0:= + dev-libs/openssl:0= + sys-apps/util-linux + app-emulation/virt-what + net-misc/curl + dev-libs/boost:=[nls] + >=dev-cpp/yaml-cpp-0.5.1 + !<app-admin/puppet-4.0.0" +DEPEND="${RDEPEND}" + +# restore ${S} and override all phases exported by ruby-ng.eclass +S="${WORKDIR}/${P}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.14.6-fix-static-libcpp-hocon.patch + # be explicit about the version of rspec we test with + "${FILESDIR}"/${PN}-3.14.8-explicit-rspec-2.patch +) + +pkg_setup() { + ruby-ng_pkg_setup +} + +src_unpack() { + default + + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + cmake-utils_src_prepare +} + +each_ruby_configure() { + # hack for correct calculation of relative path from facter.rb to + # libfacter.so + my_ruby_sitelibdir=$(ruby_rbconfig_value 'sitelibdir') +} + +src_configure() { + ruby-ng_src_configure + + local mycmakeargs=( + -DRUBY_LIB_INSTALL=${my_ruby_sitelibdir} + -DBLKID_LIBRARYDIR="${EPREFIX}/$(get_libdir)" + ) + cmake-utils_src_configure +} + +src_compile() { + addpredict /proc/self/oom_score_adj + cmake-utils_src_compile +} + +src_test() { + cmake-utils_src_test +} + +each_ruby_install() { + doruby "${BUILD_DIR}"/lib/facter.rb +} + +src_install() { + cmake-utils_src_install + ruby-ng_src_install +} diff --git a/dev-ruby/facter/facter-9999.ebuild b/dev-ruby/facter/facter-9999.ebuild new file mode 100644 index 000000000000..de60deb0a216 --- /dev/null +++ b/dev-ruby/facter/facter-9999.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# git-r3 goes after ruby-ng so that it overrides src_unpack properly +inherit cmake-utils eutils multilib ruby-ng + +DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" +HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug test" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" + EGIT_BRANCH="master" +else + [[ "${PV}" = *_rc* ]] || \ + KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +RESTRICT="!test? ( test )" + +BDEPEND=" + >=sys-devel/gcc-4.8:* + dev-cpp/cpp-hocon" +COMMON_DEPEND=" + >=dev-libs/leatherman-1.0.0:= + dev-libs/openssl:0= + sys-apps/util-linux + app-emulation/virt-what + net-misc/curl + >=dev-libs/boost-1.54:=[nls] + >=dev-cpp/yaml-cpp-0.5.1 + !<app-admin/puppet-4.0.0" + +ruby_add_bdepend "test? ( dev-ruby/rake dev-ruby/rspec:2 dev-ruby/mocha:0.14 )" + +RDEPEND="${COMMON_DEPEND}" +DEPEND="${BDEPEND} + ${COMMON_DEPEND}" + +# restore ${S} and override all phases exported by ruby-ng.eclass +S="${WORKDIR}/${P}" + +pkg_setup() { + ruby-ng_pkg_setup +} + +src_unpack() { + default + + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + # be explicit about the version of rspec we test with + sed -i -e '/libfacter.*specs/ s/rspec/rspec-2/' \ + CMakeLists.txt || die + # be more lenient for software versions for tests + sed -i -e '/rake/ s/~> 10.1.0/>= 10/' \ + -e '/rspec/ s/2.11.0/2.11/' \ + -e '/mocha/ s/0.10.5/0.14.0/' lib/Gemfile || die + # patches + default + cmake-utils_src_prepare +} + +each_ruby_configure() { + # hack for correct calculation of relative path from facter.rb to + # libfacter.so + my_ruby_sitelibdir=$(ruby_rbconfig_value 'sitelibdir') +} + +src_configure() { + ruby-ng_src_configure + + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DRUBY_LIB_INSTALL=${my_ruby_sitelibdir} + -DBLKID_LIBRARYDIR="${EPREFIX}/$(get_libdir)" + ) + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} + +src_compile() { + addpredict /proc/self/oom_score_adj + cmake-utils_src_compile +} + +src_test() { + cmake-utils_src_test +} + +each_ruby_install() { + doruby "${BUILD_DIR}"/lib/facter.rb +} + +src_install() { + cmake-utils_src_install + ruby-ng_src_install +} diff --git a/dev-ruby/facter/files/facter-3.14.6-fix-static-libcpp-hocon.patch b/dev-ruby/facter/files/facter-3.14.6-fix-static-libcpp-hocon.patch new file mode 100644 index 000000000000..26c193c12b57 --- /dev/null +++ b/dev-ruby/facter/files/facter-3.14.6-fix-static-libcpp-hocon.patch @@ -0,0 +1,9 @@ +--- a/cmake/FindCPPHOCON.cmake ++++ b/cmake/FindCPPHOCON.cmake +@@ -1,5 +1,5 @@ + include(FindDependency) +-find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "libcpp-hocon.a") ++find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "libcpp-hocon.so") + + include(FeatureSummary) + set_package_properties(CPPHOCON PROPERTIES DESCRIPTION "A C++ parser for the HOCON configuration language" URL "https://github.com/puppetlabs/cpp-hocon") diff --git a/dev-ruby/facter/files/facter-3.14.8-explicit-rspec-2.patch b/dev-ruby/facter/files/facter-3.14.8-explicit-rspec-2.patch new file mode 100644 index 000000000000..bca424be1b8e --- /dev/null +++ b/dev-ruby/facter/files/facter-3.14.8-explicit-rspec-2.patch @@ -0,0 +1,10 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -205,7 +205,7 @@ + if (BUNDLER_PATH) + message(STATUS "Bundler found, installing dependencies for Ruby tests...") + execute_process(COMMAND ${BUNDLER_PATH} install --retry 2 --path=vendor/bundle WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/lib") +- add_test(NAME "libfacter\\ specs" COMMAND ${BUNDLER_PATH} exec rspec WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/lib") ++ add_test(NAME "libfacter\\ specs" COMMAND ${BUNDLER_PATH} exec rspec-2 WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/lib") + endif() + endif() diff --git a/dev-ruby/facter/metadata.xml b/dev-ruby/facter/metadata.xml new file mode 100644 index 000000000000..740432bf3301 --- /dev/null +++ b/dev-ruby/facter/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">puppetlabs/facter</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/factory_girl/Manifest b/dev-ruby/factory_girl/Manifest new file mode 100644 index 000000000000..3ab620517970 --- /dev/null +++ b/dev-ruby/factory_girl/Manifest @@ -0,0 +1 @@ +DIST factory_girl-4.8.1.tar.gz 66262 BLAKE2B 6a90581ef7fe7f6e3d244bceebd10a4d725731ff2a7f6aae4265a6d235f5ef4f1069a0f1f2fa55121c9112b245dc947378745958583e9380536cc797d881a3aa SHA512 2c27eaec8351b009bf200e10829128c5fd3e73b0383cebf7f3ccbe062ba362b29f25e5c054ed25245202c85c6ab60c637547a8f3719e2f079c86c83c30db48a0 diff --git a/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild b/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild new file mode 100644 index 000000000000..c775128223ae --- /dev/null +++ b/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" + +# Tests depend on unpackaged appraisal, for now we just run the specs +# with the version of Rails that is installed. +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="GETTING_STARTED.md NEWS README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="features" + +inherit ruby-fakegem + +DESCRIPTION="factory_girl provides a framework and DSL for defining and using factories" +HOMEPAGE="https://github.com/thoughtbot/factory_girl" +SRC_URI="https://github.com/thoughtbot/factory_girl/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0:*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/activerecord-3.1[sqlite] + dev-ruby/bourne + >=dev-ruby/mocha-0.12.8 + dev-ruby/rspec-its + dev-ruby/timecop + ) +" + +all_ruby_prepare() { + # Avoid unneeded test dependencies + sed -i -e '/simplecov/ s:^:#:' \ + -e '1irequire "fileutils"' spec/spec_helper.rb || die + + # Avoid specs that may fail due to more strict rspec 2.99 + # interpretation. + sed -i -e '/callbacks using syntax methods without referencing FactoryGirl explicitly/,/^end/ s:^:#:' spec/acceptance/callbacks_spec.rb || die +} diff --git a/dev-ruby/factory_girl/metadata.xml b/dev-ruby/factory_girl/metadata.xml new file mode 100644 index 000000000000..538c06399e6d --- /dev/null +++ b/dev-ruby/factory_girl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">thoughtbot/factory_girl</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest new file mode 100644 index 000000000000..88cc61bde8b9 --- /dev/null +++ b/dev-ruby/fakefs/Manifest @@ -0,0 +1,7 @@ +DIST fakefs-0.19.2.tar.gz 53405 BLAKE2B c9841f7f2aee5135d149187d03f7f3034d3c6cbce6d33d3710fcdbd936b4599561c857dfac81f13262da6f067a843d0c3159abca0e8be7f77c95ff20e8bd123a SHA512 e27eedff44c3ff556b0e7a22e434205e54847a6f6b03a8ab7604c2f2e9abf8be7d5b8d29bd51e24cc032dfb3aaf7940060c3dae5532b0921e363d2213b12ed90 +DIST fakefs-0.20.0.tar.gz 53591 BLAKE2B 067fef803bb0efb50f63f0c0fb645bb4d0d1c00d198cdf367e99871c6cb9e28cc1d4f0a52318a61c446577aa58170143c2aea4b0b826136610430abf996d03aa SHA512 9f9b2cef58709f7ab1147602b2f47d6a0302b217cc7210537605491f9db6477183e5fa447974c0572f1a1fbecce1029e451241d44b5f96eec97a7521275c165c +DIST fakefs-0.20.1.tar.gz 53626 BLAKE2B 013f49b57355943eb6624540be93bc069c95409f9e1d49c8cced034656f596ee98fc3ee4dd40cb80383d447164f11242e16a5ffb9b35ba2e28fb136e0f72a09e SHA512 61d83868a0cf4d0abf071fadc9ca21176e3ef8f2ccc781760a8b0b3e55713750d3e952482e90a87e8665163a262e8bdef8e6b2f3c423fabe696d64f356862aa4 +DIST fakefs-1.0.0.tar.gz 53753 BLAKE2B 41ce41ef7551b8fde429b1e4c4f933fe141d131eee40976df3873c0eeaddc1d75cc1ba93e7ff12b322296a4767759376cd118ef54e6c36a02b5b6bef4af54af1 SHA512 7e3ae7fb426413882efe98866257fc734a9baaaa834f70d82ec907f74c2c34109f09e6621e120e20f6813267e2ab6c1270288bc9419d2a0d29c4b1d49f1a345e +DIST fakefs-1.2.0.tar.gz 53920 BLAKE2B e0a2af3d581af36931b6311dbcc6d13abf8f61e0637609a440dcac121a3dca214dd9d921f80cb1863b6bfeecf7ce0d9e4253b468170eb1c320152ac89e8f4b90 SHA512 0cd48757035be35e3e85a2f3f12570b8ccce2659f5d9563dd5a45fa0b541702f1f9c1d03d5660c1c52f9372bb6f9067d701b5ddf17a2f36a4a43d9618d22572e +DIST fakefs-1.2.1.tar.gz 54106 BLAKE2B bd1128871a36dcf8f0137c9ee13c581cddf2ace5a2959e863c66e52dc5b682c75e0f4507c7d939f6725bc1b5a8446e1747d188b98b1cf557c0d1fccd1d3c7040 SHA512 e18d9c1c5ac444f2a9db362dac3c4563f27c4f9b6e6870960e85882ab28dadee53bd56f6933f6317d3128a5ad3862980fa9e2a72cbf7352c58c18a6cee68163f +DIST fakefs-1.2.2.tar.gz 54072 BLAKE2B 6e1865377c6586fb409f6392b0313e750c1810b9479c120622757f711da55644e8224c8245ce0ac187c6d531a80ae54081add5572b5170f367fdf1d58b4df924 SHA512 4bd0995a1dca27a15da49962b0fddc1daf1e11f88767bcc36e57883ec62e4270d5d6873f52d64859301a5f186e467d368fbfbc0dcabfbfe24bfdff6b6a14389d diff --git a/dev-ruby/fakefs/fakefs-0.19.2.ebuild b/dev-ruby/fakefs/fakefs-0.19.2.ebuild new file mode 100644 index 000000000000..3ee244d8752d --- /dev/null +++ b/dev-ruby/fakefs/fakefs-0.19.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests" +HOMEPAGE="https://github.com/defunkt/fakefs" +SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-3.1:3 + >=dev-ruby/minitest-5.5 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/fakefs-0.20.0.ebuild b/dev-ruby/fakefs/fakefs-0.20.0.ebuild new file mode 100644 index 000000000000..1d2ce9d1a64e --- /dev/null +++ b/dev-ruby/fakefs/fakefs-0.20.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests" +HOMEPAGE="https://github.com/defunkt/fakefs" +SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-3.1:3 + >=dev-ruby/minitest-5.5 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/fakefs-0.20.1.ebuild b/dev-ruby/fakefs/fakefs-0.20.1.ebuild new file mode 100644 index 000000000000..1d2ce9d1a64e --- /dev/null +++ b/dev-ruby/fakefs/fakefs-0.20.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests" +HOMEPAGE="https://github.com/defunkt/fakefs" +SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-3.1:3 + >=dev-ruby/minitest-5.5 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/fakefs-1.0.0.ebuild b/dev-ruby/fakefs/fakefs-1.0.0.ebuild new file mode 100644 index 000000000000..f4da15b9d761 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-1.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests" +HOMEPAGE="https://github.com/defunkt/fakefs" +SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-3.1:3 + >=dev-ruby/minitest-5.5 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/fakefs-1.2.0.ebuild b/dev-ruby/fakefs/fakefs-1.2.0.ebuild new file mode 100644 index 000000000000..889dc6930bc2 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-1.2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +RUBY_FAKEGEM_GEMSPEC="fakefs.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests" +HOMEPAGE="https://github.com/defunkt/fakefs" +SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-3.1:3 + >=dev-ruby/minitest-5.5 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/fakefs-1.2.1.ebuild b/dev-ruby/fakefs/fakefs-1.2.1.ebuild new file mode 100644 index 000000000000..889dc6930bc2 --- /dev/null +++ b/dev-ruby/fakefs/fakefs-1.2.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +RUBY_FAKEGEM_GEMSPEC="fakefs.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests" +HOMEPAGE="https://github.com/defunkt/fakefs" +SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-3.1:3 + >=dev-ruby/minitest-5.5 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/fakefs-1.2.2.ebuild b/dev-ruby/fakefs/fakefs-1.2.2.ebuild new file mode 100644 index 000000000000..15757bac85af --- /dev/null +++ b/dev-ruby/fakefs/fakefs-1.2.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.md" + +RUBY_FAKEGEM_GEMSPEC="fakefs.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fake filesystem. Use it in your tests" +HOMEPAGE="https://github.com/defunkt/fakefs" +SRC_URI="https://github.com/defunkt/fakefs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-3.1:3 + >=dev-ruby/maxitest-3.6:1 + )" + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + + # Avoid unneeded minitest-rg dependency. + sed -i -e '1igem "minitest", "~>5.5"' \ + -e '/bundler/ s:^:#:' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/fakefs/metadata.xml b/dev-ruby/fakefs/metadata.xml new file mode 100644 index 000000000000..46e46617e0e8 --- /dev/null +++ b/dev-ruby/fakefs/metadata.xml @@ -0,0 +1,12 @@ +<?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">defunkt/fakefs</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest new file mode 100644 index 000000000000..940531cd362d --- /dev/null +++ b/dev-ruby/faker/Manifest @@ -0,0 +1,3 @@ +DIST faker-1.9.6.tar.gz 1833392 BLAKE2B 826ee480515873d1e250147e5c3749e222b1273a00fd4ae0a2a28dca91c5981290c8540602d89d406e91d98a0f5dbc6fc4a54ab6d7d2b716a4d4957ab32254dc SHA512 1ea0c4194603b5eaec0f4abc2460fb39cb9de97179d7699c3cb37673731ebf8bf03d20fb422911d4725d4308691d4c92a82f5a661e034381cc04066ddcc955bc +DIST faker-2.11.0.tar.gz 1033369 BLAKE2B 51677346980bd5070a145b1d8dd11a6426cf9da5c407e030d9722ed8ccc4ed1a0a8b2d5534c96b50fbe79e84fe71e4268f3228c223dc61fe4c74cda0de18a790 SHA512 9adc03cdef0714656738d354d787a99cb9fcc85718847db7b183b02f38d550ff86d65c8e6ed13be3c839cc64f36f3e95ff25dd5d2f8f45c7207dbe5735238e0a +DIST faker-2.12.0.tar.gz 1100460 BLAKE2B 8be31911c9612d7433433121344a1fbfc735740898cb4fa7115a9ec33d22f610e5eca9ace3369da7f6e107478493e7b732a74650a233171ebb8b306f3e2d872e SHA512 7adc89cc3ba7e4d802d5f96199e21a6ed1dc9f0144d2da5a9a5adb705097d1acf4830c7ff0ce733fb9b0ddc11fba0290cade9f791824db5ab737b3facd93f93d diff --git a/dev-ruby/faker/faker-1.9.6-r1.ebuild b/dev-ruby/faker/faker-1.9.6-r1.ebuild new file mode 100644 index 000000000000..95dfce7b21fd --- /dev/null +++ b/dev-ruby/faker/faker-1.9.6-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="faker.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for generating fake data such as names, addresses, and phone numbers" +HOMEPAGE="https://github.com/stympy/faker" +SRC_URI="https://github.com/stympy/faker/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/i18n-0.7:*" + +ruby_add_bdepend "test? ( dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/faker/faker-2.11.0.ebuild b/dev-ruby/faker/faker-2.11.0.ebuild new file mode 100644 index 000000000000..e632ed504de9 --- /dev/null +++ b/dev-ruby/faker/faker-2.11.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="faker.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library for generating fake data such as names, addresses, and phone numbers" +HOMEPAGE="https://github.com/stympy/faker" +SRC_URI="https://github.com/stympy/faker/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/i18n-1.6 !!<dev-ruby/faker-1.9.6-r1" + +ruby_add_bdepend "test? ( dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|rubocop\)/I s:^:#:' Rakefile || die + sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/faker/faker-2.12.0.ebuild b/dev-ruby/faker/faker-2.12.0.ebuild new file mode 100644 index 000000000000..51feba618ce5 --- /dev/null +++ b/dev-ruby/faker/faker-2.12.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="faker.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library for generating fake data such as names, addresses, and phone numbers" +HOMEPAGE="https://github.com/stympy/faker" +SRC_URI="https://github.com/stympy/faker/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/i18n-1.6:1 !!<dev-ruby/faker-1.9.6-r1" + +ruby_add_bdepend "test? ( dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|rubocop\)/I s:^:#:' Rakefile || die + sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/faker/metadata.xml b/dev-ruby/faker/metadata.xml new file mode 100644 index 000000000000..fd4e2ed7125b --- /dev/null +++ b/dev-ruby/faker/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">stympy/faker</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fakeweb/Manifest b/dev-ruby/fakeweb/Manifest new file mode 100644 index 000000000000..f8497592ebe8 --- /dev/null +++ b/dev-ruby/fakeweb/Manifest @@ -0,0 +1 @@ +DIST fakeweb-1.3.0.20170806.tar.gz 61449 BLAKE2B f015f95897383e0b65ada5a7833f7bd3fd61ae77f4ab38bf6bb47f2eecef0c778928090302e46157ae4e2fc6c3df4559e9f5c8004a6474ad8852d157aa3af6da SHA512 1871b7c9f2e4f12cd1c434ef4f760828187078a951517fe3f7a6ca5c5d6f08e3056cae2bb012eca1ba556c2f4d369cb2716c637fefee67eb723428195c482edf diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild new file mode 100644 index 000000000000..99dd3e6ce4b7 --- /dev/null +++ b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ruby26: not compatible +USE_RUBY="ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" + +COMMIT=2b08c1ff2714ec13a12f3497d67fcefce95c2cbe + +inherit ruby-fakegem + +DESCRIPTION="Helper for faking web requests in Ruby" +HOMEPAGE="https://github.com/chrisk/fakeweb" +SRC_URI="https://github.com/chrisk/fakeweb/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-${COMMIT}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + dev-ruby/test-unit + )" + +all_ruby_prepare() { + # The package bundles samuel and right_http_connection, remove + # them + rm -r test/vendor || die "failed to remove bundled gems" + + # We don't package sdoc and we don't have the direct template. + sed -i -e 's/sdoc/rdoc/' -e '/template/d' Rakefile || die + + # Use the test-unit gem to make jruby compatible with newer mocha. + sed -i -e '1igem "test-unit"' \ + -e '/bundler/I s:^:#:' \ + -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Avoid test dependencies on unmaintained packages that no longer work + rm test/test_other_net_http_libraries.rb || die + + sed -i -e '/test:preflight/ s:^:#:' Rakefile || die + + # Avoid tests that require a network connection + sed -i -e '/test_real_https_request/aomit "requires network"' test/test_fake_web.rb || die +} diff --git a/dev-ruby/fakeweb/metadata.xml b/dev-ruby/fakeweb/metadata.xml new file mode 100644 index 000000000000..77fa34a4fc0c --- /dev/null +++ b/dev-ruby/fakeweb/metadata.xml @@ -0,0 +1,12 @@ +<?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">chrisk/fakeweb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest new file mode 100644 index 000000000000..e2594ef65d26 --- /dev/null +++ b/dev-ruby/faraday/Manifest @@ -0,0 +1,2 @@ +DIST faraday-0.17.3.tar.gz 76786 BLAKE2B 0706f4386233861564aa1ba5fb8da9ad374a0b553a3f6ccd4ce6509b690f6da3e9f695f90605e0e15b41b6354841943ecc4f5eb826638565687bf62b36f1f456 SHA512 346e93b5d980626a0c460d9010ca09091faf84a1a8f2717c16d345ddc51585ce45959d7fcf41fbd0ba248d38460939544945fa0e81bcb80ab73dfe080182e325 +DIST faraday-1.0.1.tar.gz 835557 BLAKE2B ea5c32f0a93bcc4c4a0a7c55d61578b4e9f0173caed484c0c6424201884b8e81304c0fe07e1c1d6ffdbff41be85bdb494904c2a3b3e19b6c89b58995d9fdbfe7 SHA512 6a2dfd751d013ddc7cb005e262b48120f9a6ae2bb50564082ed5c5e47cfe2b07ee91d7d1b6967813d39b9874c7d5c7daf65ac773dd7afdcae65ed38698b1f496 diff --git a/dev-ruby/faraday/faraday-0.17.3.ebuild b/dev-ruby/faraday/faraday-0.17.3.ebuild new file mode 100644 index 000000000000..54d02ec06f78 --- /dev/null +++ b/dev-ruby/faraday/faraday-0.17.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="HTTP/REST API client library with pluggable components" +HOMEPAGE="https://github.com/lostisland/faraday" +SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND+=" test? ( sys-process/lsof )" + +ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3" +ruby_add_bdepend "test? ( + >=dev-ruby/test-unit-2.4 + >=dev-ruby/connection_pool-2.2.2 + )" + +all_ruby_prepare() { + # Remove bundler support. + rm Gemfile || die + sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die + sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die + sed -i -e '/[Cc]overall/ s:^:#:' spec/spec_helper.rb || die + + # The proxy server is already killed, may be OS X vs Linux issue. + #sed -i -e '138 s/^/#/' script/test || die + + sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + # Make sure the test scripts use the right ruby interpreter + sed -i -e 's:ruby:'${RUBY}':' script/* || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true each_fakegem_test + + # Sleep some time to allow the sinatra test server to die + einfo "Waiting for test server to stop" + sleep 10 +} diff --git a/dev-ruby/faraday/faraday-1.0.1.ebuild b/dev-ruby/faraday/faraday-1.0.1.ebuild new file mode 100644 index 000000000000..3c85417b7a8f --- /dev/null +++ b/dev-ruby/faraday/faraday-1.0.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="HTTP/REST API client library with pluggable components" +HOMEPAGE="https://github.com/lostisland/faraday" +SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND+=" test? ( sys-process/lsof )" + +ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3" +ruby_add_bdepend "test? ( + >=dev-ruby/test-unit-2.4 + >=dev-ruby/connection_pool-2.2.2 + || ( dev-ruby/rack:2.0 dev-ruby/rack:1.6 ) + )" + +all_ruby_prepare() { + # Remove bundler support. + rm Gemfile || die + sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die + sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die + # Avoid loading all lib files since some of them require unpackaged dependencies. + sed -e '/[Cc]overall/ s:^:#:' \ + -e '/lib\/\*\*/ s:^:#:' \ + -e '3igem "rack", "<2.1"' \ + -i spec/spec_helper.rb || die + + # The proxy server is already killed, may be OS X vs Linux issue. + #sed -i -e '138 s/^/#/' script/test || die + + sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid multipart tests that require an unpackaged dependency + # that appears to be no longer maintained. + rm -f spec/faraday/request/multipart_spec.rb || die + sed -e '/multipart_parser/ s:^:#:' \ + -i spec/support/helper_methods.rb || die + + # Remove specs for unpackaged adapters + rm -f spec/faraday/adapter/{em_http,em_synchrony,excon}_spec.rb || die + + # Make this adapter optional since it comes with a long list of + # dependencies. + if ! has_version "dev-ruby/typhoeus:1" ; then + rm -f spec/faraday/adapter/typhoeus_spec.rb || die + fi +} + +each_ruby_prepare() { + # Make sure the test scripts use the right ruby interpreter + sed -i -e 's:ruby:'${RUBY}':' script/* || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true each_fakegem_test + + # Sleep some time to allow the sinatra test server to die + einfo "Waiting for test server to stop" + sleep 10 +} diff --git a/dev-ruby/faraday/metadata.xml b/dev-ruby/faraday/metadata.xml new file mode 100644 index 000000000000..d824a6a1292b --- /dev/null +++ b/dev-ruby/faraday/metadata.xml @@ -0,0 +1,12 @@ +<?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">lostisland/faraday</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/faraday_middleware-multi_json/Manifest b/dev-ruby/faraday_middleware-multi_json/Manifest new file mode 100644 index 000000000000..147e16ee3a23 --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/Manifest @@ -0,0 +1 @@ +DIST faraday_middleware-multi_json-0.0.6.tar.gz 3455 BLAKE2B 3fcdf69d90fe2da5cfe16851b5a5050429593c39c3d56eeab3e687ee89d036822197273fda44370878fb4087c29d6e2357b3220526c9adb8566a83f8d50bbac4 SHA512 4abc794a06725d4a584af08a58874162f1bea6424569f0fa6683ac0df7882708d3872e6a42024d7fa764d08688ceccbdf61d9870f23b71ea3c842440b495cc61 diff --git a/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r1.ebuild b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r1.ebuild new file mode 100644 index 000000000000..cc3b566db30d --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Response JSON parser using MultiJson and FaradayMiddleware" +HOMEPAGE="https://github.com/denro/faraday_middleware-multi_json" +SRC_URI="https://github.com/denro/faraday_middleware-multi_json/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday_middleware:* + dev-ruby/multi_json" + +all_ruby_prepare() { + # Remove bundler support. + rm -f Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid unneeded dependency on git. + sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/faraday_middleware-multi_json/metadata.xml b/dev-ruby/faraday_middleware-multi_json/metadata.xml new file mode 100644 index 000000000000..c3d8d8c42246 --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <longdescription lang="en"> + Simple Faraday middleware that uses MultiJson to unobtrusively encode JSON requests and parse JSON responses. + </longdescription> + <upstream> + <remote-id type="github">denro/faraday_middleware-multi_json</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/faraday_middleware/Manifest b/dev-ruby/faraday_middleware/Manifest new file mode 100644 index 000000000000..32a370655925 --- /dev/null +++ b/dev-ruby/faraday_middleware/Manifest @@ -0,0 +1,2 @@ +DIST faraday_middleware-0.14.0.tar.gz 26313 BLAKE2B 2d925f0bd9e4a10505bcdd3b483ac7b8ed2c42dc1187e04069505216dc739af3f10f5c7f2252e3f474e5ddaf972a7b8fe009be9957e66ab625fe49c364a0d217 SHA512 d8e86da166022c04c12acc37981de446ba30050330dc0320eec0414157bdd6c8e92ff49ce92b390a2f5d457c396144dbde698d61993302c0ac416559e7078a8d +DIST faraday_middleware-1.0.0.tar.gz 28279 BLAKE2B d881f59e106a695e2d41936d552fe6cb16465964fcb2107806123ea1b34ee6db8e82bb1e6fe3a0135af04da70b56a3e8c933e44591b3f75901642a1fe7a3ea1a SHA512 478dd04840c27120c162e5d9c764a210d4cc55ac54f2d44935942ab5195ee5a0f198a4cc0c98805029f3eab4596cc3963a763cda1fcc1ce6daf1811186e0b5a7 diff --git a/dev-ruby/faraday_middleware/faraday_middleware-0.14.0.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-0.14.0.ebuild new file mode 100644 index 000000000000..9f9051bf59ed --- /dev/null +++ b/dev-ruby/faraday_middleware/faraday_middleware-0.14.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Various middleware for Faraday" +HOMEPAGE="https://github.com/lostisland/faraday_middleware" +SRC_URI="https://github.com/lostisland/faraday_middleware/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+parsexml +oauth +mashify +rashify" + +ruby_add_rdepend " + >=dev-ruby/faraday-0.7.4 <dev-ruby/faraday-1 + parsexml? ( >=dev-ruby/multi_xml-0.5.3 ) + oauth? ( >=dev-ruby/simple_oauth-0.1 ) + mashify? ( >=dev-ruby/hashie-1.2:* ) + rashify? ( >=dev-ruby/rash_alt-0.4.3 )" + +# Bundler must be used because the optional dependencies have different +# version requirements that must be resolved. +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/addressable + dev-ruby/rake + dev-ruby/webmock:3 + dev-ruby/json + >=dev-ruby/multi_xml-0.5.3 + >=dev-ruby/rack-cache-1.1 + >=dev-ruby/simple_oauth-0.1 + >=dev-ruby/hashie-1.2 + >=dev-ruby/rash_alt-0.4.3 )" + +all_ruby_prepare() { + sed -i -e '/\(cane\|parallel\|simplecov\|brotli\)/ s:^:#:' \ + -e '/rspec/ s/>=/~>/' \ + -e "/addressable/ s/, '< 2.4'//" \ + -e "/rake/ s/, '< 11'//" \ + -e "/rack-cache/ s/, '< 1.3'//" \ + -e "/simple_oauth/ s/, '< 0.3'//" \ + -e "/webmock/ s/< 2/~> 3.0/" Gemfile || die + + # Avoid unneeded dependency on git + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid unpackaged brotli dependency + sed -i -e 's/jruby?/true/' \ + -e 's/gzip,deflate,br/gzip,deflate/' spec/unit/gzip_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} diff --git a/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild new file mode 100644 index 000000000000..bb5ad693199c --- /dev/null +++ b/dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Various middleware for Faraday" +HOMEPAGE="https://github.com/lostisland/faraday_middleware" +SRC_URI="https://github.com/lostisland/faraday_middleware/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="+parsexml +oauth +mashify +rashify" + +ruby_add_rdepend " + dev-ruby/faraday:1 + parsexml? ( >=dev-ruby/multi_xml-0.5.3 ) + oauth? ( >=dev-ruby/simple_oauth-0.1 ) + mashify? ( >=dev-ruby/hashie-1.2:* ) + rashify? ( >=dev-ruby/rash_alt-0.4.3 )" + +# Bundler must be used because the optional dependencies have different +# version requirements that must be resolved. +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/addressable + >=dev-ruby/rake-12.3.3 + dev-ruby/webmock:3 + dev-ruby/json + >=dev-ruby/multi_xml-0.5.3 + >=dev-ruby/rack-cache-1.1 + >=dev-ruby/simple_oauth-0.1 + >=dev-ruby/hashie-1.2 + >=dev-ruby/rash_alt-0.4.3 )" + +all_ruby_prepare() { + sed -i -e '/\(cane\|parallel\|simplecov\)/ s:^:#:' \ + -e '/rspec/ s/>=/~>/' \ + -e "/addressable/ s/, '< 2.4'//" \ + -e "/rack/ s/< 2/< 2.1/" \ + -e "/rack-cache/ s/, '< 1.3'//" \ + -e "/simple_oauth/ s/, '< 0.3'//" \ + -e "/webmock/ s/< 2/~> 3.0/" Gemfile || die + + # Avoid unneeded dependency on git + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} diff --git a/dev-ruby/faraday_middleware/metadata.xml b/dev-ruby/faraday_middleware/metadata.xml new file mode 100644 index 000000000000..6747d5e0aed5 --- /dev/null +++ b/dev-ruby/faraday_middleware/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <use> + <flag name="parsexml">Include FaradayMiddleware::ParseXml</flag> + <flag name="oauth">Include FaradayMiddleware::OAuth</flag> + <flag name="mashify">Include FaradayMiddleware::Mashify</flag> + <flag name="rashify">Include FaradayMiddleware::Rashify</flag> + </use> + <upstream> + <remote-id type="github">lostisland/faraday_middleware</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fast-stemmer/Manifest b/dev-ruby/fast-stemmer/Manifest new file mode 100644 index 000000000000..9d824b2f26ed --- /dev/null +++ b/dev-ruby/fast-stemmer/Manifest @@ -0,0 +1 @@ +DIST fast-stemmer-1.0.2.gem 11776 BLAKE2B 090f7a9bd63fbef2c9ef84a7089c7a4881f69f9d77fb8f90377424f1417e97a636d956c4ed646b1f45c25abc1ac16a7836ca70ec1591659e77242f11b6368e60 SHA512 7a7a17c62ecc9ce6eaaed9d0783f161c53c5c6faa07b7b0577da5a46d4539bf3880f71e4e9097a489c045222738d0441c322fb5cef5e02a1483405f815a81b29 diff --git a/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r2.ebuild b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r2.ebuild new file mode 100644 index 000000000000..f99a6bdd08c0 --- /dev/null +++ b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Simple wrapper around multithreaded Porter stemming algorithm" +HOMEPAGE="https://github.com/romanbsd/fast-stemmer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + rm ext/Makefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/stemmer$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb-2 test/fast_stemmer_test.rb || die +} diff --git a/dev-ruby/fast-stemmer/metadata.xml b/dev-ruby/fast-stemmer/metadata.xml new file mode 100644 index 000000000000..cdb2c1478f78 --- /dev/null +++ b/dev-ruby/fast-stemmer/metadata.xml @@ -0,0 +1,12 @@ +<?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">romanbsd/fast-stemmer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fast_gettext/Manifest b/dev-ruby/fast_gettext/Manifest new file mode 100644 index 000000000000..1b8ed2a8bd09 --- /dev/null +++ b/dev-ruby/fast_gettext/Manifest @@ -0,0 +1,3 @@ +DIST fast_gettext-1.8.0.tar.gz 89309 BLAKE2B 8ead2922662667c24d07dbc1145002583b1a65edd3cb581ac5bc058560aca38ed083e0470d4834cfdc5abae36f1e8264171b75649343675ab415b28ea2f0e8ab SHA512 0657b5955268166787a32bb74481cd07309018429c21707e061e022d67d5d2448d2d173149f164d16ff5f6c9ffa0feef38369b79daa299e1283fdcdc019ad72e +DIST fast_gettext-2.0.2.tar.gz 92030 BLAKE2B 762f5e5375f29abb6477579aae25c023e7b5db27a41b857523baa3412f8f80f26fc9334ce0937de20cefcf9d845846a362e34540bc5817e9e8ad00c6a7abea8e SHA512 027b35c5d8f93719fbc14cbcd0843f2a0948b49c9cf2fb65e723ba410e6c0c14ce3e42c5ce7abe657946a7da2d20665559b71df1b9855c9a04978946a50beb51 +DIST fast_gettext-2.0.3.tar.gz 92262 BLAKE2B ebcbb081e8197e3443c2adc0ec6d1b4c3ebc7ccc8623a857705d893aa5e17af4be367802b5feb313256e337c1f751b74b45fd71f6aa5cb2188d6b71fe52718bb SHA512 b9a51c32a8cec8700cc4dea85862b48196aa87a567c813bfa45ecddcb841afbeeac8b061ef7f95a5f6573d78311bf5504e10adee44547b78ae412080bfb258d1 diff --git a/dev-ruby/fast_gettext/fast_gettext-1.8.0.ebuild b/dev-ruby/fast_gettext/fast_gettext-1.8.0.ebuild new file mode 100644 index 000000000000..460049f80286 --- /dev/null +++ b/dev-ruby/fast_gettext/fast_gettext-1.8.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="GetText but 3.5x faster, 560x less memory, clean namespace and threadsave!" +HOMEPAGE="https://github.com/grosser/fast_gettext" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm Gemfile.lock || die + + # Remove jeweler and bump from Gemfile since they are not needed for tests. + sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die + + # Avoid unneeded dependency on git and development dependencies. + sed -e '/git ls-files/ s:^:#:' \ + -e '/\(wwtd\|bump\|sqlite3\|activerecord\|i18n\)/ s:^:#:' \ + -i fast_gettext.gemspec || die + + # Avoid a test dependency on activerecord since this is now in the + # dependency tree for app-admin/puppet and many arches don't have + # rails keyworded. + sed -i -e '/active_record/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/fast_gettext/translation_repository/db_spec.rb || die + sed -i -e '/works with DB repository/,/^ end/ s:^:#:' spec/fast_gettext/storage_spec.rb || die + sed -i -e '/with i18n loaded/,/^ end/ s:^:#:' spec/fast_gettext/vendor/string_spec.rb || die + + # Don't run a test that requires safe mode which we can't provide + # due to insecure directory settings for the portage dir. This spec + # also calls out to ruby which won't work with different ruby + # implementations. + sed -i -e '/can work in SAFE mode/,/^ end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die +} + +each_ruby_prepare() { + # Make sure the right ruby interpreter is used + sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die +} diff --git a/dev-ruby/fast_gettext/fast_gettext-2.0.2.ebuild b/dev-ruby/fast_gettext/fast_gettext-2.0.2.ebuild new file mode 100644 index 000000000000..193ba2972e99 --- /dev/null +++ b/dev-ruby/fast_gettext/fast_gettext-2.0.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="fast_gettext.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="GetText but 3.5x faster, 560x less memory, clean namespace and threadsave!" +HOMEPAGE="https://github.com/grosser/fast_gettext" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="2" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm Gemfile.lock || die + + # Remove jeweler and bump from Gemfile since they are not needed for tests. + sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die + sed -i -e '/single/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '/SingleCov/ s:^:#:' spec/{*,*/*}/*spec.rb || die + + # Avoid unneeded dependency on git and development dependencies. + sed -e '/git ls-files/ s:^:#:' \ + -e '/\(wwtd\|bump\|sqlite3\|activerecord\|i18n\|single_cov\|forking_test_runner\|rubocop\)/ s:^:#:' \ + -e 's:require_relative ":require "./:' \ + -i fast_gettext.gemspec || die + + # Avoid a test dependency on activerecord since this is now in the + # dependency tree for app-admin/puppet and many arches don't have + # rails keyworded. + sed -i -e '/active_record/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/fast_gettext/translation_repository/db_spec.rb || die + rm -f spec/fast_gettext/storage_spec.rb || die + sed -i -e '/with i18n loaded/,/^ end/ s:^:#:' spec/fast_gettext/vendor/string_spec.rb || die + + # Don't run a test that requires safe mode which we can't provide + # due to insecure directory settings for the portage dir. This spec + # also calls out to ruby which won't work with different ruby + # implementations. + sed -i -e '/can work in SAFE mode/,/^ end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die +} + +each_ruby_prepare() { + # Make sure the right ruby interpreter is used + sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die +} diff --git a/dev-ruby/fast_gettext/fast_gettext-2.0.3.ebuild b/dev-ruby/fast_gettext/fast_gettext-2.0.3.ebuild new file mode 100644 index 000000000000..193ba2972e99 --- /dev/null +++ b/dev-ruby/fast_gettext/fast_gettext-2.0.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="fast_gettext.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="GetText but 3.5x faster, 560x less memory, clean namespace and threadsave!" +HOMEPAGE="https://github.com/grosser/fast_gettext" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="2" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm Gemfile.lock || die + + # Remove jeweler and bump from Gemfile since they are not needed for tests. + sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die + sed -i -e '/single/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '/SingleCov/ s:^:#:' spec/{*,*/*}/*spec.rb || die + + # Avoid unneeded dependency on git and development dependencies. + sed -e '/git ls-files/ s:^:#:' \ + -e '/\(wwtd\|bump\|sqlite3\|activerecord\|i18n\|single_cov\|forking_test_runner\|rubocop\)/ s:^:#:' \ + -e 's:require_relative ":require "./:' \ + -i fast_gettext.gemspec || die + + # Avoid a test dependency on activerecord since this is now in the + # dependency tree for app-admin/puppet and many arches don't have + # rails keyworded. + sed -i -e '/active_record/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/fast_gettext/translation_repository/db_spec.rb || die + rm -f spec/fast_gettext/storage_spec.rb || die + sed -i -e '/with i18n loaded/,/^ end/ s:^:#:' spec/fast_gettext/vendor/string_spec.rb || die + + # Don't run a test that requires safe mode which we can't provide + # due to insecure directory settings for the portage dir. This spec + # also calls out to ruby which won't work with different ruby + # implementations. + sed -i -e '/can work in SAFE mode/,/^ end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die +} + +each_ruby_prepare() { + # Make sure the right ruby interpreter is used + sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die +} diff --git a/dev-ruby/fast_gettext/metadata.xml b/dev-ruby/fast_gettext/metadata.xml new file mode 100644 index 000000000000..35947f266731 --- /dev/null +++ b/dev-ruby/fast_gettext/metadata.xml @@ -0,0 +1,12 @@ +<?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">grosser/fast_gettext</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fast_xs/Manifest b/dev-ruby/fast_xs/Manifest new file mode 100644 index 000000000000..aad86004e6e3 --- /dev/null +++ b/dev-ruby/fast_xs/Manifest @@ -0,0 +1 @@ +DIST fast_xs-0.8.0.gem 22016 BLAKE2B b24e65c31623e86ac8ab8b5a442565083bd047e5740aeae74d74e82c09770a8149853ad021ea6c6c036d411e8f299f4a531d78b0b3314ed5bf32d7f8b9fcf697 SHA512 55fc2704fab020f03b1ce138d1631dd5ad73a8601dcd95989a59c7cccb490c70b4e1af59fb8b009bfa0899f2c23feb42cc3068e243cd539ba1cb01a9f7bc573b diff --git a/dev-ruby/fast_xs/fast_xs-0.8.0-r2.ebuild b/dev-ruby/fast_xs/fast_xs-0.8.0-r2.ebuild new file mode 100644 index 000000000000..7abf03bc1c76 --- /dev/null +++ b/dev-ruby/fast_xs/fast_xs-0.8.0-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="fast_xs text escaping library ruby bindings" +HOMEPAGE="https://github.com/brianmario/fast_xs" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rack )" + +RUBY_PATCHES=( "${P}+ruby-1.9.patch" ) + +each_ruby_configure() { + ${RUBY} -Cext/fast_xs extconf.rb || die "extconf.rb failed" + ${RUBY} -Cext/fast_xs_extra extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/fast_xs CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/fast_xs/fast_xs$(get_modname) lib/ || die + emake -Cext/fast_xs_extra CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/fast_xs_extra/fast_xs_extra$(get_modname) lib/ || die +} + +each_ruby_test() { + # the Rakefile tries to run all the tests in a single process, but + # this breaks the monkey-patchers, we're forced to run them one by + # one. + for tu in test/test_*.rb; do + ${RUBY} -Ilib $tu || die "test $tu failed" + done +} diff --git a/dev-ruby/fast_xs/files/fast_xs-0.8.0+ruby-1.9.patch b/dev-ruby/fast_xs/files/fast_xs-0.8.0+ruby-1.9.patch new file mode 100644 index 000000000000..cdd72f2db3fb --- /dev/null +++ b/dev-ruby/fast_xs/files/fast_xs-0.8.0+ruby-1.9.patch @@ -0,0 +1,23 @@ +Index: fast_xs-0.8.0/test/test_erb_util_module_overrides.rb +=================================================================== +--- fast_xs-0.8.0.orig/test/test_erb_util_module_overrides.rb ++++ fast_xs-0.8.0/test/test_erb_util_module_overrides.rb +@@ -35,11 +35,13 @@ class TestErbUtilModuleOverrides < Test: + + def test_preserve_encoding + foo = "foo" +- foo.force_encoding Encoding::US_ASCII +- assert_equal Encoding::US_ASCII, url_encode(foo).encoding +- assert_equal Encoding::US_ASCII, html_escape(foo).encoding +- assert_equal Encoding::US_ASCII, u(foo).encoding +- assert_equal Encoding::US_ASCII, h(foo).encoding ++ ascii_encoding = (RUBY_VERSION =~ /1\.9/) ? Encoding::ASCII_8BIT : Encoding::US_ASCII ++ ++ foo.force_encoding ascii_encoding ++ assert_equal ascii_encoding, url_encode(foo).encoding ++ assert_equal ascii_encoding, html_escape(foo).encoding ++ assert_equal ascii_encoding, u(foo).encoding ++ assert_equal ascii_encoding, h(foo).encoding + + foo.force_encoding Encoding::BINARY + assert_equal Encoding::BINARY, url_encode(foo).encoding diff --git a/dev-ruby/fast_xs/metadata.xml b/dev-ruby/fast_xs/metadata.xml new file mode 100644 index 000000000000..554923b43c74 --- /dev/null +++ b/dev-ruby/fast_xs/metadata.xml @@ -0,0 +1,12 @@ +<?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">brianmario/fast_xs</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fattr/Manifest b/dev-ruby/fattr/Manifest new file mode 100644 index 000000000000..a62b718edca7 --- /dev/null +++ b/dev-ruby/fattr/Manifest @@ -0,0 +1 @@ +DIST fattr-2.4.0.gem 14336 BLAKE2B 1be45d17eac08dbadec9e0a4177f7b1ad7d39c060ce1162961aa8fe3b1c9b0107f10c17a2a9a5d27e652067df7f33aca0afb57b6a268b52999ae7a7b540ad131 SHA512 df3aa4fe187f7922fceaad3b30d4ed9c869ac194f819bc6c57dd574a27e69a74cf9fb10042163d941b0edc7129dc5ede5f92c60a75c6744bb9e8f358f5cf24bc diff --git a/dev-ruby/fattr/fattr-2.4.0.ebuild b/dev-ruby/fattr/fattr-2.4.0.ebuild new file mode 100644 index 000000000000..5d6cedff557b --- /dev/null +++ b/dev-ruby/fattr/fattr-2.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="fattr.rb is a \"fatter attr\" for ruby" +HOMEPAGE="https://github.com/ahoward/fattr" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +each_ruby_test() { + ${RUBY} test/fattr_test.rb || die "Tests failed." +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/fattr/metadata.xml b/dev-ruby/fattr/metadata.xml new file mode 100644 index 000000000000..5f28a3a39b17 --- /dev/null +++ b/dev-ruby/fattr/metadata.xml @@ -0,0 +1,12 @@ +<?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">ahoward/fattr</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fcgi/Manifest b/dev-ruby/fcgi/Manifest new file mode 100644 index 000000000000..765825fe0b31 --- /dev/null +++ b/dev-ruby/fcgi/Manifest @@ -0,0 +1 @@ +DIST fcgi-0.9.2.1.gem 15872 BLAKE2B 1f3a9cfa79f06a655bbe3ecd36be8b650f7c1f856f84f82502c87c06f43ee9c91eed75e5441c65a635c700b8c682745f631e3268701555268eb3a1568347573f SHA512 1ffdd429ce4f2bbac771b7ac2368a5194015a7327b8b43b803914257edc174235573df6bb41a53fb71db0bf179fc24ce2392b244b5b55563d67e045c47da8579 diff --git a/dev-ruby/fcgi/fcgi-0.9.2.1-r1.ebuild b/dev-ruby/fcgi/fcgi-0.9.2.1-r1.ebuild new file mode 100644 index 000000000000..78c78cb225a3 --- /dev/null +++ b/dev-ruby/fcgi/fcgi-0.9.2.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc README.signals" + +inherit multilib ruby-fakegem + +DESCRIPTION="FastCGI library for Ruby" +HOMEPAGE="https://github.com/alphallc/ruby-fcgi-ng" + +KEYWORDS="amd64 arm hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +LICENSE="Ruby" + +DEPEND+=" dev-libs/fcgi" +RDEPEND+=" dev-libs/fcgi" + +IUSE="" +SLOT="0" + +each_ruby_configure() { + ${RUBY} -C ext/fcgi extconf.rb || die "extconf failed" +} + +each_ruby_compile() { + emake V=1 -C ext/fcgi + cp ext/fcgi/fcgi$(get_modname) lib || die +} diff --git a/dev-ruby/fcgi/metadata.xml b/dev-ruby/fcgi/metadata.xml new file mode 100644 index 000000000000..cdc407c51a2f --- /dev/null +++ b/dev-ruby/fcgi/metadata.xml @@ -0,0 +1,12 @@ +<?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">alphallc/ruby-fcgi-ng</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ferret/Manifest b/dev-ruby/ferret/Manifest new file mode 100644 index 000000000000..49a50e2531ad --- /dev/null +++ b/dev-ruby/ferret/Manifest @@ -0,0 +1 @@ +DIST ferret-0.11.8.7.gem 608768 BLAKE2B cc5e6769dcad4c465ae00aed972712e03ccbea304608eef5008941d5bf1eca17461f611aea7f0033d4047b7bc2474c0a93ffece40b4a6aca753a496ee34f36fa SHA512 ac7cafa25ade9741e0eb95d7372f6dd7ce4ea82368c69ace536b852fd5cc435d05764041ba1bddcc6098665c6e1aa7a12ac9739e45362007f726f3e7a8124df1 diff --git a/dev-ruby/ferret/ferret-0.11.8.7.ebuild b/dev-ruby/ferret/ferret-0.11.8.7.ebuild new file mode 100644 index 000000000000..f469388a3ad9 --- /dev/null +++ b/dev-ruby/ferret/ferret-0.11.8.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="ferret" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_DOCDIR="doc/api" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG RELEASE_CHANGES RELEASE_NOTES README.md TODO TUTORIAL.md" + +inherit multilib ruby-fakegem + +MY_P="${P/ruby-/}" +DESCRIPTION="A ruby indexing/searching library" +HOMEPAGE="https://github.com/jkraemer/ferret" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" app-arch/bzip2" +DEPEND+=" app-arch/bzip2" + +all_ruby_prepare() { + # Remove bundled bzlib code and use system version instead. + rm ext/BZLIB* ext/bzlib* || die + sed -i -e '14i $LDFLAGS += " -lbz2 "' ext/extconf.rb || die + + # Avoid test known to fail upstream: + # https://github.com/jkraemer/ferret/issues/2 + sed -i -e '/test_adding_long_url/,/^ end/ s:^:#:' \ + test/unit/index/tc_index_writer.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/ferret_ext$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_all.rb || die +} diff --git a/dev-ruby/ferret/metadata.xml b/dev-ruby/ferret/metadata.xml new file mode 100644 index 000000000000..ea3dbf20483c --- /dev/null +++ b/dev-ruby/ferret/metadata.xml @@ -0,0 +1,12 @@ +<?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">jkraemer/ferret</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ffaker/Manifest b/dev-ruby/ffaker/Manifest new file mode 100644 index 000000000000..673ff0008c32 --- /dev/null +++ b/dev-ruby/ffaker/Manifest @@ -0,0 +1,5 @@ +DIST ffaker-2.11.0.gem 429568 BLAKE2B ed5a9d794caba5ad93c1ac8457ebf89412177fe48c05a66f162f8d2b7a7a3b395e59312ddc444965ec4d9500573a97c97b95a1381d07caca6bb3b3ca97fa3dc2 SHA512 b185adfe34c5d78fe47cedc9d685eb98ed0de7f9a4818fa5ab0f6fe9cad21d04e025b6d2e38e34f463874a5d9007fe0d01e604b316af4850a7a63f50140bbd78 +DIST ffaker-2.12.0.gem 431616 BLAKE2B dc060472749b1081500609e4b6a58310ca00c3bfe2dc8a40dba49bde50a98add33a83cc00136fbe542b1d14ce74ddbab8f737dba4866023bb44d8ad7126151ce SHA512 1763bd2b9ec45903f09d46504ebf333e9879423607dd8d31d6ceb659bab05ac9fd14b99ea2dd3f08c0d61e987d7bab647945f0a7e81f1fe8a2b085b7b571e282 +DIST ffaker-2.13.0.gem 434688 BLAKE2B 7b0b0af41482c85a6502a081a6d78f69a4968aa6bb844cc1eb11e7761e75331b4043319a1221b402d703405275a032a433e28249d2bbd9980ac82ca0e6e74649 SHA512 d5102c8fd754a102257a0223fdcda39d3791e08149ee396098c3e0c8fba50f5cf63249d14cc26305adcfb90319db785819e74fdb4366adfb0fa5701afd4edfc8 +DIST ffaker-2.14.0.gem 435200 BLAKE2B 2268fabf518890b8fc1c9bb6fc23869840647e28a44378c9678faec509c7d5aed8671251728713b6fac4ffe76e9248609f68da5c1f050a6a5ef7d7232c012179 SHA512 f1fec515a766795cbb1c552e205ead016dfef409c38e84887c8b31ea1c5b9a16e0f9133788cb49d8e6a47eb15a0e8b78e9e621bdf4f414a6556fbdec9af3b949 +DIST ffaker-2.15.0.gem 437760 BLAKE2B 6da52a04d0b5ef6b048155ea84985c3a8ca707d58cdc90514dbc0840180a7f35772120ec195ba92aae387141d314985a25222cf71e1ccf8dd1f370e34755c49a SHA512 2eb01af79e0520f0272c59f69cfd7e24c6391bd29f8f183ed05282d154105118242a816e8599808b2532a9e4c6175a767b9ef1bade8382259741feb7ddb8d9c1 diff --git a/dev-ruby/ffaker/ffaker-2.11.0.ebuild b/dev-ruby/ffaker/ffaker-2.11.0.ebuild new file mode 100644 index 000000000000..597e226722af --- /dev/null +++ b/dev-ruby/ffaker/ffaker-2.11.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Faster Faker, generates dummy data" +HOMEPAGE="https://github.com/emmanueloga/ffaker" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" diff --git a/dev-ruby/ffaker/ffaker-2.12.0.ebuild b/dev-ruby/ffaker/ffaker-2.12.0.ebuild new file mode 100644 index 000000000000..51f707d245ed --- /dev/null +++ b/dev-ruby/ffaker/ffaker-2.12.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" + +inherit ruby-fakegem + +DESCRIPTION="Faster Faker, generates dummy data" +HOMEPAGE="https://github.com/emmanueloga/ffaker" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die +} diff --git a/dev-ruby/ffaker/ffaker-2.13.0.ebuild b/dev-ruby/ffaker/ffaker-2.13.0.ebuild new file mode 100644 index 000000000000..51f707d245ed --- /dev/null +++ b/dev-ruby/ffaker/ffaker-2.13.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" + +inherit ruby-fakegem + +DESCRIPTION="Faster Faker, generates dummy data" +HOMEPAGE="https://github.com/emmanueloga/ffaker" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die +} diff --git a/dev-ruby/ffaker/ffaker-2.14.0.ebuild b/dev-ruby/ffaker/ffaker-2.14.0.ebuild new file mode 100644 index 000000000000..488b7c9e7f91 --- /dev/null +++ b/dev-ruby/ffaker/ffaker-2.14.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" + +inherit ruby-fakegem + +DESCRIPTION="Faster Faker, generates dummy data" +HOMEPAGE="https://github.com/emmanueloga/ffaker" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die +} diff --git a/dev-ruby/ffaker/ffaker-2.15.0.ebuild b/dev-ruby/ffaker/ffaker-2.15.0.ebuild new file mode 100644 index 000000000000..488b7c9e7f91 --- /dev/null +++ b/dev-ruby/ffaker/ffaker-2.15.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md" + +inherit ruby-fakegem + +DESCRIPTION="Faster Faker, generates dummy data" +HOMEPAGE="https://github.com/emmanueloga/ffaker" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die +} diff --git a/dev-ruby/ffaker/metadata.xml b/dev-ruby/ffaker/metadata.xml new file mode 100644 index 000000000000..eb5196e51084 --- /dev/null +++ b/dev-ruby/ffaker/metadata.xml @@ -0,0 +1,12 @@ +<?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">emmanueloga/ffaker</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest new file mode 100644 index 000000000000..aef0eaa41ff3 --- /dev/null +++ b/dev-ruby/ffi/Manifest @@ -0,0 +1,5 @@ +DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 +DIST ffi-git-1.12.1.tgz 158108 BLAKE2B e5685e94ef0c1a1f5a5443fac4d9934fc3613219f27d08c635bf346d1312f765d9bc9bb987e736fb373f715d84489e410e2e13280acc501607b1274a6a4a63be SHA512 172540f5827ed87afd56d0da08705d714ab7e4ad1297f9de774cb8792fb8fbb90f9e697e280f13c25c5c14dc73b8ba8150fe3dfd5f31e3c70c195357709ce13a +DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 +DIST ffi-git-1.13.0.tgz 161537 BLAKE2B 2d113bb31fbd65fdaa397d2477ba8bb66a76c7a01e2753c33b04b81a5175a25acd3495d41e38995ed8161daff25094e0a45ae4b5d6666c7508840c21e5ba5c45 SHA512 6e90d79b1e60b237c20aa3e863f97797a310d651a52df67957b6a8e1e577b0d800f4e0b6b3ec6da77776214ae6a0b855ac23f6f5b3f9439b549a043a3789627a +DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c6a1c12b9e1496069b8a4935b04012820699260f9cffd47efd78d7aa2d08e71a5bff9de740aa96ad11f499eb SHA512 f0077518c9ced54881e40a0047440edb4e40ba0ba89fc814a489bcbaf52e08e9a773e28f453f579162439e247151b994936695fe0b1ed5fb429d9bfd85b845ef diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild new file mode 100644 index 000000000000..3a234be11366 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi" + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/ffi/ffi-1.12.1.ebuild b/dev-ruby/ffi/ffi-1.12.1.ebuild new file mode 100644 index 000000000000..54f91d863ceb --- /dev/null +++ b/dev-ruby/ffi/ffi-1.12.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi" + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/ffi/ffi-1.12.2.ebuild b/dev-ruby/ffi/ffi-1.12.2.ebuild new file mode 100644 index 000000000000..54f91d863ceb --- /dev/null +++ b/dev-ruby/ffi/ffi-1.12.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi" + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/ffi/ffi-1.13.0.ebuild b/dev-ruby/ffi/ffi-1.13.0.ebuild new file mode 100644 index 000000000000..54f91d863ceb --- /dev/null +++ b/dev-ruby/ffi/ffi-1.13.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi" + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/ffi/ffi-1.13.1.ebuild b/dev-ruby/ffi/ffi-1.13.1.ebuild new file mode 100644 index 000000000000..54f91d863ceb --- /dev/null +++ b/dev-ruby/ffi/ffi-1.13.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi" + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/ffi/metadata.xml b/dev-ruby/ffi/metadata.xml new file mode 100644 index 000000000000..9f22350423fd --- /dev/null +++ b/dev-ruby/ffi/metadata.xml @@ -0,0 +1,12 @@ +<?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">ffi/ffi</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/file-tail/Manifest b/dev-ruby/file-tail/Manifest new file mode 100644 index 000000000000..dc18b42f819a --- /dev/null +++ b/dev-ruby/file-tail/Manifest @@ -0,0 +1 @@ +DIST file-tail-1.2.0.gem 19968 BLAKE2B 8a9ef8b73d2e7c8c21ec04e817991ebe40ba62800e565b607dbae9732b0192074cff4b3fc9dc7a495be9a2315eab63b48126e524091d72b37f7e8261cb1333f1 SHA512 ac20e5e855144f7462ef0471be08ab56e521a7b22117f1653e06624e1d81ac11d047a21a6979476bc8547dd88d90f25e51052950148acbe3ea64bdd3c35e1da3 diff --git a/dev-ruby/file-tail/file-tail-1.2.0.ebuild b/dev-ruby/file-tail/file-tail-1.2.0.ebuild new file mode 100644 index 000000000000..4d1d4ec10c74 --- /dev/null +++ b/dev-ruby/file-tail/file-tail-1.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOC_SOURCES="lib README.md" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A small ruby library that allows it to 'tail' files in Ruby" +HOMEPAGE="https://flori.github.com/file-tail" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "=dev-ruby/tins-1*" +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +all_ruby_prepare() { + sed -i -e '/test_tail_change2/aomit "has race condition"' tests/file_tail_test.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb + + rm -f test.* +} diff --git a/dev-ruby/file-tail/metadata.xml b/dev-ruby/file-tail/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/file-tail/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/filesize/Manifest b/dev-ruby/filesize/Manifest new file mode 100644 index 000000000000..5b2272edc55c --- /dev/null +++ b/dev-ruby/filesize/Manifest @@ -0,0 +1 @@ +DIST filesize-0.2.0.gem 8192 BLAKE2B dddf9a19712d03bed55d234f89a4d2ec9afb713ea8d2f63ad8cf9c1daf6ee9d8e6a7219dcd7c76b19a548e3d58ed4712b4c953ee1c573706ae010042c81c41d2 SHA512 87d13278e62fc6ff7ef08f9a287951a1ac3f502b69e1c3b9f5579971a2ad167875f4028a1f51f24f3bb54de38f7cb0e735ab3763bf8774ceeda68c8d3f8de42a diff --git a/dev-ruby/filesize/filesize-0.2.0.ebuild b/dev-ruby/filesize/filesize-0.2.0.ebuild new file mode 100644 index 000000000000..88fd05d3cab6 --- /dev/null +++ b/dev-ruby/filesize/filesize-0.2.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="small ruby class for handling filesizes with both the SI and binary prefixes" +HOMEPAGE="https://github.com/dominikh/filesize" + +LICENSE="MIT" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" diff --git a/dev-ruby/filesize/metadata.xml b/dev-ruby/filesize/metadata.xml new file mode 100644 index 000000000000..568722916c9c --- /dev/null +++ b/dev-ruby/filesize/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">dominikh/filesize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/filigree/Manifest b/dev-ruby/filigree/Manifest new file mode 100644 index 000000000000..d1abe8c09afb --- /dev/null +++ b/dev-ruby/filigree/Manifest @@ -0,0 +1 @@ +DIST filigree-0.4.1.gem 31232 BLAKE2B edcffb0b98192205c19b401babc4320c6550d3683460827425269ea8090b7dc4164582d1e73fd251a6d4e21225fc0ffaeab1eb52e7ff571631981835aab9b8ea SHA512 068ada1cac6c79cbaed150ac6168951894b3d76fd82764afc6aa9322f406a26b59777b83e1deae9348b1c20cca56db36e6acedcc92446847746d923f21009b82 diff --git a/dev-ruby/filigree/filigree-0.4.1.ebuild b/dev-ruby/filigree/filigree-0.4.1.ebuild new file mode 100644 index 000000000000..b60cc04a73d2 --- /dev/null +++ b/dev-ruby/filigree/filigree-0.4.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="New classes and extensions to core library classes." +HOMEPAGE="https://github.com/chriswailes/filigree" +LICENSE="UoI-NCSA" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +each_ruby_test() { + ${RUBY} -Ilib:.:test test/ts_filigree.rb || die +} diff --git a/dev-ruby/filigree/metadata.xml b/dev-ruby/filigree/metadata.xml new file mode 100644 index 000000000000..78fec8e58d7e --- /dev/null +++ b/dev-ruby/filigree/metadata.xml @@ -0,0 +1,12 @@ +<?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">chriswailes/filigree</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fivemat/Manifest b/dev-ruby/fivemat/Manifest new file mode 100644 index 000000000000..abb076e8a1c8 --- /dev/null +++ b/dev-ruby/fivemat/Manifest @@ -0,0 +1 @@ +DIST fivemat-1.3.7.gem 10240 BLAKE2B 624eabf458130792e6dd06667fe67f578005630e164a4ce30871204d792c5b562c1ad0fcf2470915bed877b60b3db341887735a3330cfeae181bee6775775295 SHA512 b380bef69756d0214325ee6f3f608062d63d8dd7603aac7b9af1abdf406687971cb4914634e9c807ca73819bafd8e99c5cec0a29f461a1ef3f861676bee86ddf diff --git a/dev-ruby/fivemat/fivemat-1.3.7.ebuild b/dev-ruby/fivemat/fivemat-1.3.7.ebuild new file mode 100644 index 000000000000..a15136183c0a --- /dev/null +++ b/dev-ruby/fivemat/fivemat-1.3.7.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Package does not contain tests +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="MiniTest/RSpec/Cucumber formatter that gives each test file its own line of dots" +HOMEPAGE="https://github.com/tpope/fivemat" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" diff --git a/dev-ruby/fivemat/metadata.xml b/dev-ruby/fivemat/metadata.xml new file mode 100644 index 000000000000..fd2b14ebe22a --- /dev/null +++ b/dev-ruby/fivemat/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">tpope/fivemat</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/flexmock/Manifest b/dev-ruby/flexmock/Manifest new file mode 100644 index 000000000000..4baca5b9ad94 --- /dev/null +++ b/dev-ruby/flexmock/Manifest @@ -0,0 +1 @@ +DIST flexmock-2.3.6.tar.gz 91601 BLAKE2B f2888891820f13f4a9812ffdfe042ccd266b0b5166fa538aba96e2c865ba55d3689d077e73fb9aa238455e90b8ea97aa60f8649c08823a753b6af8c0f550cbed SHA512 0fcc25c1a83ba1e2aed91eed98242592dfc1a69d57c033fbd363383962b16d6e72011d62a906ae8bf076801a3d5e8e8501bdb9f6ca3750c9615dfe8b9b0bdbbc diff --git a/dev-ruby/flexmock/flexmock-2.3.6.ebuild b/dev-ruby/flexmock/flexmock-2.3.6.ebuild new file mode 100644 index 000000000000..8e27864e9f76 --- /dev/null +++ b/dev-ruby/flexmock/flexmock-2.3.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="html" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="none" + +inherit ruby-fakegem + +DESCRIPTION="Simple mock object library for Ruby unit testing" +HOMEPAGE="https://github.com/doudou/flexmock" +SRC_URI="https://github.com/doudou/flexmock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="flexmock" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + dev-ruby/rspec:3 + )" + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec test/rspec_integration + ${RUBY} -Ilib:.:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} + +all_ruby_prepare() { + sed -i -e '1igem "minitest", "~>5.0"' test/test_helper.rb || die +} diff --git a/dev-ruby/flexmock/metadata.xml b/dev-ruby/flexmock/metadata.xml new file mode 100644 index 000000000000..7aa0483fa17b --- /dev/null +++ b/dev-ruby/flexmock/metadata.xml @@ -0,0 +1,12 @@ +<?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">jimweirich/flexmock</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/flickraw/Manifest b/dev-ruby/flickraw/Manifest new file mode 100644 index 000000000000..3b3df6f8b3fe --- /dev/null +++ b/dev-ruby/flickraw/Manifest @@ -0,0 +1,2 @@ +DIST flickraw-0.9.10.gem 19456 BLAKE2B f57d9ff600e3decdf473b86a66f7ce0ba5c1607bd2f54171f5d0793b255dc6ac6367b015cc36c113164061c8005ce18938216af2aaecf184656fafe285af4b6c SHA512 a4686f7134cb9b7d1ad7ee952137dd0e9e9653a682ba4d6e9b2b65bef6cbebee23e19970e2042bdb14860a91a07a28ce11952608231c301e086ff88652f39411 +DIST flickraw-0.9.9.gem 19968 BLAKE2B 6a99be2baef120f5f343097de7384e101719370a1c13603fd50930879638777de773dae7f3bf262b450416c01e28c5048394d4abdb08b972982ca07eae51970a SHA512 c7fac2e7da15f83ad7c2df5cc3a9f6f7dc68420c1976905c0ae8b00f4eeca513783c20aa6eef9b8ee68699aa59c03de6ea6f9c667a27413a0a6d147875c840f2 diff --git a/dev-ruby/flickraw/flickraw-0.9.10.ebuild b/dev-ruby/flickraw/flickraw-0.9.10.ebuild new file mode 100644 index 000000000000..c9b2c484b990 --- /dev/null +++ b/dev-ruby/flickraw/flickraw-0.9.10.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Tests are against the Flickr API and require an API key. +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="-r README.rdoc examples" + +inherit ruby-fakegem + +DESCRIPTION="A library to access flickr api in a simple way" +HOMEPAGE="https://github.com/hanklords/flickraw" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/flickraw/flickraw-0.9.9.ebuild b/dev-ruby/flickraw/flickraw-0.9.9.ebuild new file mode 100644 index 000000000000..7cc316666fb6 --- /dev/null +++ b/dev-ruby/flickraw/flickraw-0.9.9.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Tests are against the Flickr API and require an API key. +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="-r README.rdoc examples" + +inherit ruby-fakegem + +DESCRIPTION="A library to access flickr api in a simple way" +HOMEPAGE="https://github.com/hanklords/flickraw" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/flickraw/metadata.xml b/dev-ruby/flickraw/metadata.xml new file mode 100644 index 000000000000..55c16130cf53 --- /dev/null +++ b/dev-ruby/flickraw/metadata.xml @@ -0,0 +1,12 @@ +<?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">hanklords/flickraw</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/flog/Manifest b/dev-ruby/flog/Manifest new file mode 100644 index 000000000000..685815a6cef5 --- /dev/null +++ b/dev-ruby/flog/Manifest @@ -0,0 +1,3 @@ +DIST flog-4.6.2.gem 26112 BLAKE2B ab15547c2bfa4b79e158a852ba76b6e69346397da6faaeb1b6ac558f3b380ea240de2e469ba90d23bfad93d11e62f3b119fc6613e0cec8a1d26964c25cdee2bb SHA512 d2bc8af809c5e7471daf455c53c9ee9cee39b4a058501e2d3a20e1412888e11fb786b6c5e19a93172bece80c1d03d21a608bff32e840f5c51e95b1ef40a88c01 +DIST flog-4.6.3.gem 26624 BLAKE2B 9ace4c2153a2320a18f9ca0a00cd312f772d7a3c35e46e96d2a3c21725c74c67adeb57d319a36941a26968be3e7904a5c319f91ba7a66b3e195d05de1fa9fa83 SHA512 fcb7f97b2aefd335a936a5bb72d733adb0cc51c46e011396f8e2d2fc695ee17719e97a9056600e20a0b22374f49ae2dbac13fa325b9072d8e41cbe36f109893e +DIST flog-4.6.4.gem 26624 BLAKE2B 27090f9a47619b63c8c34e0d6992c1d0ff29193a7de3af839d72d5754c2b149f38c1c1e3caec981170c408123bc38e3fc3e38e87fb9a83818e1cb356d31070c3 SHA512 495601bfc560c2d18973234c41706aa07b76ea95bc3803f93fb16b42ae071b65fc9a1c36e8d4a9bfaf3c88a1167ab714f4bbc7a982b9e606aa799f8480a23f4d diff --git a/dev-ruby/flog/flog-4.6.2.ebuild b/dev-ruby/flog/flog-4.6.2.ebuild new file mode 100644 index 000000000000..f62ae2fe9e27 --- /dev/null +++ b/dev-ruby/flog/flog-4.6.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Flog reports the most tortured code in an easy to read pain report" +HOMEPAGE="https://ruby.sadi.st/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +ruby_add_rdepend " + dev-ruby/path_expander:1 + >dev-ruby/ruby_parser-3.1.0:3 + >=dev-ruby/sexp_processor-4.8:4" + +each_ruby_test() { + ${RUBY} -Ilib test/test_flog.rb || die +} diff --git a/dev-ruby/flog/flog-4.6.3.ebuild b/dev-ruby/flog/flog-4.6.3.ebuild new file mode 100644 index 000000000000..75c17d704f75 --- /dev/null +++ b/dev-ruby/flog/flog-4.6.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Flog reports the most tortured code in an easy to read pain report" +HOMEPAGE="https://ruby.sadi.st/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +ruby_add_rdepend " + dev-ruby/path_expander:1 + >dev-ruby/ruby_parser-3.1.0:3 + >=dev-ruby/sexp_processor-4.8:4" + +each_ruby_test() { + ${RUBY} -Ilib test/test_flog.rb || die +} diff --git a/dev-ruby/flog/flog-4.6.4.ebuild b/dev-ruby/flog/flog-4.6.4.ebuild new file mode 100644 index 000000000000..75c17d704f75 --- /dev/null +++ b/dev-ruby/flog/flog-4.6.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Flog reports the most tortured code in an easy to read pain report" +HOMEPAGE="https://ruby.sadi.st/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +ruby_add_rdepend " + dev-ruby/path_expander:1 + >dev-ruby/ruby_parser-3.1.0:3 + >=dev-ruby/sexp_processor-4.8:4" + +each_ruby_test() { + ${RUBY} -Ilib test/test_flog.rb || die +} diff --git a/dev-ruby/flog/metadata.xml b/dev-ruby/flog/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/flog/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/font-awesome-rails/Manifest b/dev-ruby/font-awesome-rails/Manifest new file mode 100644 index 000000000000..1fde563b34b5 --- /dev/null +++ b/dev-ruby/font-awesome-rails/Manifest @@ -0,0 +1 @@ +DIST font-awesome-rails-4.7.0.5.gem 637952 BLAKE2B b4d4c8391fc3ff7fd9874c1c3d1ddcb60ea36999f8ab6ccaa5797c1d6b47adf9b70bf323b2f32c8c518ce8b96750e1cddcb9d2ff32f8718570f0c36ef18d2a48 SHA512 ffff431d5a76ba6618d9b505c599a28243038f6550c44b8bee930875e0294c724135aca40e5b591f999c98488fb35d362482eb5a53719a4e026c60ea08804781 diff --git a/dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.5.ebuild b/dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.5.ebuild new file mode 100644 index 000000000000..3d736f10c43b --- /dev/null +++ b/dev-ruby/font-awesome-rails/font-awesome-rails-4.7.0.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="Font-awesome for the asset pipeline" +HOMEPAGE="https://github.com/bokmann/font-awesome-rails https://rubygems.org/gems/font-awesome-rails" + +LICENSE="MIT OFL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "<dev-ruby/railties-6.1:* + >=dev-ruby/railties-3.2:*" diff --git a/dev-ruby/font-awesome-rails/metadata.xml b/dev-ruby/font-awesome-rails/metadata.xml new file mode 100644 index 000000000000..cd078138a84b --- /dev/null +++ b/dev-ruby/font-awesome-rails/metadata.xml @@ -0,0 +1,13 @@ +<?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">bokmann/font-awesome-rails</remote-id> + <remote-id type="rubygems">font-awesome-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/forgery/Manifest b/dev-ruby/forgery/Manifest new file mode 100644 index 000000000000..e65d720476ec --- /dev/null +++ b/dev-ruby/forgery/Manifest @@ -0,0 +1 @@ +DIST forgery-0.7.0.gem 47616 BLAKE2B 6f9a95770512213240659c55a8d9b72f4fbf9c39cd598253f151a5bf0d6e81604e279a5a47b41a8594ac42ab200238f6fafa19b8e9c7fdab74c10bf5d2855221 SHA512 c1f540f3640b99e2a574d0f677d2fe76b554e4ac0e15bd9c27c2648909e86ab972be0c65682e16db34abff576a6b1ac975ada8d39c87c57817e903aba36982d3 diff --git a/dev-ruby/forgery/forgery-0.7.0.ebuild b/dev-ruby/forgery/forgery-0.7.0.ebuild new file mode 100644 index 000000000000..914d2fa3cdb5 --- /dev/null +++ b/dev-ruby/forgery/forgery-0.7.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="Easy and customizable generation of forged data" +HOMEPAGE="https://github.com/sevenwire/forgery" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die +} diff --git a/dev-ruby/forgery/metadata.xml b/dev-ruby/forgery/metadata.xml new file mode 100644 index 000000000000..66c1a7e643d3 --- /dev/null +++ b/dev-ruby/forgery/metadata.xml @@ -0,0 +1,12 @@ +<?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">sevenwire/forgery</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/forwardable-extended/Manifest b/dev-ruby/forwardable-extended/Manifest new file mode 100644 index 000000000000..b74517daff81 --- /dev/null +++ b/dev-ruby/forwardable-extended/Manifest @@ -0,0 +1 @@ +DIST forwardable-extended-2.6.0.tar.gz 6602 BLAKE2B 2ad027f671bb308a02de8b0620df9b9dfdf49d08e9f6fcc6bc60becc57e3e7d184d131a2acb689d08dec26c4ec004f5791b4630ab653f974a0accdbb5f46331c SHA512 23a682e06ee823b076d6b9925a1ef4ada4f1fc7fa63b02d1b9122485204b62f55c191866170b63b34891934c762ac903df46bf5a2b17055d7504ee7a70627a8b diff --git a/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r1.ebuild b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r1.ebuild new file mode 100644 index 000000000000..ad954a948c95 --- /dev/null +++ b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="Gem.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Forwardable with hash, and instance variable extensions" +HOMEPAGE="https://rubygems.org/gems/forwardable-extended https://github.com/envygeeks/forwardable-extended" +SRC_URI="https://github.com/envygeeks/forwardable-extended/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' spec/rspec/helper.rb || die + rm -f spec/support/coverage.rb || die +} diff --git a/dev-ruby/forwardable-extended/metadata.xml b/dev-ruby/forwardable-extended/metadata.xml new file mode 100644 index 000000000000..ffb1a8a54c0f --- /dev/null +++ b/dev-ruby/forwardable-extended/metadata.xml @@ -0,0 +1,13 @@ +<?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">envygeeks/forwardable-extended</remote-id> + <remote-id type="rubygems">forwardable-extended</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/fuubar/Manifest b/dev-ruby/fuubar/Manifest new file mode 100644 index 000000000000..b8e0ceb00248 --- /dev/null +++ b/dev-ruby/fuubar/Manifest @@ -0,0 +1 @@ +DIST fuubar-2.5.0.tar.gz 32763 BLAKE2B 841f85cc867a8215e00f720f2ffc25aaa5444ee6536cd17663b789d7a947e957987f3b60659828d310c0fd816abfedd9c7ef90effe37b6f847ac119a41f134a1 SHA512 c0ad302516a7eb7df2b574c038068298aece8bc1606adcb81c53bba1f0315a774dd65f5c742586ef2b7f188bc01ea94e0c5a3eb8b3c5f225ad76027340165453 diff --git a/dev-ruby/fuubar/fuubar-2.5.0-r1.ebuild b/dev-ruby/fuubar/fuubar-2.5.0-r1.ebuild new file mode 100644 index 000000000000..1e4900265628 --- /dev/null +++ b/dev-ruby/fuubar/fuubar-2.5.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="fuubar.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Instafailing RSpec progress bar formatter" +HOMEPAGE="https://github.com/thekompanee/fuubar" +SRC_URI="https://github.com/thekompanee/fuubar/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~hppa ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="${PN}-releases-v${PV}" + +ruby_add_rdepend "dev-ruby/rspec:3 >=dev-ruby/ruby-progressbar-1.4:0" + +each_ruby_test() { + export CI=true + each_fakegem_test +} diff --git a/dev-ruby/fuubar/fuubar-2.5.0.ebuild b/dev-ruby/fuubar/fuubar-2.5.0.ebuild new file mode 100644 index 000000000000..d71517d2d7e1 --- /dev/null +++ b/dev-ruby/fuubar/fuubar-2.5.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="fuubar.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Instafailing RSpec progress bar formatter" +HOMEPAGE="https://github.com/thekompanee/fuubar" +SRC_URI="https://github.com/thekompanee/fuubar/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_S="${PN}-releases-v${PV}" + +ruby_add_rdepend "dev-ruby/rspec:3 >=dev-ruby/ruby-progressbar-1.4:0" + +each_ruby_test() { + export CI=true + each_fakegem_test +} diff --git a/dev-ruby/fuubar/metadata.xml b/dev-ruby/fuubar/metadata.xml new file mode 100644 index 000000000000..5f78b19998c2 --- /dev/null +++ b/dev-ruby/fuubar/metadata.xml @@ -0,0 +1,12 @@ +<?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">jeffkreeftmeijer/fuubar</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gettext-setup/Manifest b/dev-ruby/gettext-setup/Manifest new file mode 100644 index 000000000000..4818cee71f5f --- /dev/null +++ b/dev-ruby/gettext-setup/Manifest @@ -0,0 +1,3 @@ +DIST gettext-setup-0.30.tar.gz 15952 BLAKE2B d224e0fee34b0735fdf22abe2efe81b45c6494fc48ca509daf076cda9d3b83dc6dcd3e44c20ae9776d98b7d6128e5b9a93fa49ba1f2daa4b00929714e8d7365c SHA512 6ee398a131098f46dcc2951d166081a90872330b6ba5637292eb326b1bd6f40f46350f6be7b2b9ebee0c62442609700e06d25befcbcbf6510f3d96e656855124 +DIST gettext-setup-0.31.tar.gz 16043 BLAKE2B 762d40295644acaaae27045a8a03ddb6a9e0f44093754492da3af4ce9a65fe4f58b9eb53a5d837dd1e553a7301dde29cbe27d4f6a6e7c7fc737ca9516b6eb3c4 SHA512 ac408d37a4feb03043368db6dd1e0fe3cc1f08c5d0c161ae8e9b80d0ac514e7d5891fdbdbcafa7bc72c960d38b6965b73c56d5d4e9a3fe1da0502667c33142ef +DIST gettext-setup-0.34.tar.gz 16010 BLAKE2B 3da3810bba89205a0a2856760b7fbe7a415207ccc45a3cd2e8aad658131dc751b1ad44178beaee2d0c67164a5e3e7b1ee0aba1c4e1b099f77643d72aec753de3 SHA512 479e2a79768923796960b45f1e3b3963939a4166c636ad4c3af60840a5c8449fa7fff81271b4c938e5a441146b25fcdd9fd8bb60e1df7ef31bb39efc56577572 diff --git a/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild new file mode 100644 index 000000000000..e92995bb64c1 --- /dev/null +++ b/dev-ruby/gettext-setup/gettext-setup-0.30.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A gem to ease i18n" +HOMEPAGE="https://github.com/puppetlabs/gettext-setup-gem" +SRC_URI="https://github.com/puppetlabs/gettext-setup-gem/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-gem-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/fast_gettext-1.1.0:0 + >=dev-ruby/ruby-gettext-3.0.2 + dev-ruby/locale +" + +all_ruby_prepare() { + sed -i -e 's/1.1.0/1.1/' \ + -e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/,/^end/ s:^:#: ; 1irequire "date"' spec/spec_helper.rb || die + + # Avoid spec with specific locale requirements + sed -i -e '/can clear the locale/,/^ end/ s:^:#:' spec/lib/gettext-setup/gettext_setup_spec.rb || die +} diff --git a/dev-ruby/gettext-setup/gettext-setup-0.31.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.31.ebuild new file mode 100644 index 000000000000..0fc883565d7f --- /dev/null +++ b/dev-ruby/gettext-setup/gettext-setup-0.31.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A gem to ease i18n" +HOMEPAGE="https://github.com/puppetlabs/gettext-setup-gem" +SRC_URI="https://github.com/puppetlabs/gettext-setup-gem/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-gem-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/fast_gettext-1.1.0:0 + >=dev-ruby/ruby-gettext-3.0.2 + dev-ruby/locale +" + +all_ruby_prepare() { + sed -i -e 's/1.1.0/1.1/' \ + -e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/,/^end/ s:^:#: ; 1irequire "date"' spec/spec_helper.rb || die + + # Avoid spec with specific locale requirements + sed -i -e '/can clear the locale/,/^ end/ s:^:#:' spec/lib/gettext-setup/gettext_setup_spec.rb || die +} diff --git a/dev-ruby/gettext-setup/gettext-setup-0.34-r1.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.34-r1.ebuild new file mode 100644 index 000000000000..e56f46d82428 --- /dev/null +++ b/dev-ruby/gettext-setup/gettext-setup-0.34-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A gem to ease i18n" +HOMEPAGE="https://github.com/puppetlabs/gettext-setup-gem" +SRC_URI="https://github.com/puppetlabs/gettext-setup-gem/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-gem-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" dev-vcs/git" +DEPEND+=" test? ( dev-vcs/git )" + +ruby_add_rdepend " + >=dev-ruby/fast_gettext-1.1.0:0 + >=dev-ruby/ruby-gettext-3.0.2 + dev-ruby/locale +" + +all_ruby_prepare() { + sed -i -e 's/1.1.0/1.1/' \ + -e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/,/^end/ s:^:#: ; 1irequire "date"' spec/spec_helper.rb || die + + # Avoid spec with specific locale requirements + sed -i -e '/can clear the locale/,/^ end/ s:^:#:' spec/lib/gettext-setup/gettext_setup_spec.rb || die +} diff --git a/dev-ruby/gettext-setup/gettext-setup-0.34.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.34.ebuild new file mode 100644 index 000000000000..1acc0f83dc31 --- /dev/null +++ b/dev-ruby/gettext-setup/gettext-setup-0.34.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A gem to ease i18n" +HOMEPAGE="https://github.com/puppetlabs/gettext-setup-gem" +SRC_URI="https://github.com/puppetlabs/gettext-setup-gem/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-gem-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/fast_gettext-1.1.0:0 + >=dev-ruby/ruby-gettext-3.0.2 + dev-ruby/locale +" + +all_ruby_prepare() { + sed -i -e 's/1.1.0/1.1/' \ + -e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/,/^end/ s:^:#: ; 1irequire "date"' spec/spec_helper.rb || die + + # Avoid spec with specific locale requirements + sed -i -e '/can clear the locale/,/^ end/ s:^:#:' spec/lib/gettext-setup/gettext_setup_spec.rb || die +} diff --git a/dev-ruby/gettext-setup/metadata.xml b/dev-ruby/gettext-setup/metadata.xml new file mode 100644 index 000000000000..33f556fb5c28 --- /dev/null +++ b/dev-ruby/gettext-setup/metadata.xml @@ -0,0 +1,12 @@ +<?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">puppetlabs/gettext-setup-gem</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest new file mode 100644 index 000000000000..7ebf4c5c3694 --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -0,0 +1,2 @@ +DIST gettext_i18n_rails-1.8.0.tar.gz 21702 BLAKE2B 1742e12198313384e52fc43795086efb2112b00bdf4c740db717ee2feb7c25453f0e6acdeb4ec2ab79de82d291ef117e38cabf4596be2da760c4144b2c660115 SHA512 9005526dd14e5e36f5ffdd207af824ad110f5e0c8dcf34175b6a68caad257d45a7b9ee048c6d0f38ffb399fbeff689b5e64b7c26f00263001efeababfa85aa7e +DIST gettext_i18n_rails-1.8.1.tar.gz 21942 BLAKE2B 7925bfad0e1033fd363ca2c376594ba8ca6a7f5c1da940c680acae53e4b3902d7c07828b6023ed208f559af1b9ded7933ffae6b7385e066c0494aa16cc728256 SHA512 711c15620a23c070f47d4846f48b74564bfc23d27e9757936b432c1b3c534121d4cf58101fe533bc58b7d3e33e899134b92cd119e2cd2cd3eb39f54e93e394e0 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.0.ebuild new file mode 100644 index 000000000000..4769453a7c8d --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="FastGettext / Rails integration" +HOMEPAGE="https://github.com/grosser/gettext_i18n_rails" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rails:5.2 dev-ruby/activerecord:5.2[sqlite] dev-ruby/temple )" +ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0:*" + +all_ruby_prepare() { + rm Gemfile Gemfile.lock || die + + # Remove specs for slim and hamlet, template engines we don't package. + rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/haml_parser_spec.rb || die + + # Test against Rails 4.2.0 + sed -e '1igem "rails", "~>5.2.0"' -i spec/spec_helper.rb || die +} diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.1.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.1.ebuild new file mode 100644 index 000000000000..416863e6da95 --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="gettext_i18n_rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="FastGettext / Rails integration" +HOMEPAGE="https://github.com/grosser/gettext_i18n_rails" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rails:5.2 dev-ruby/activerecord:5.2[sqlite] dev-ruby/temple )" +ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0:*" + +all_ruby_prepare() { + rm Gemfile Gemfile.lock || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove specs for slim and hamlet, template engines we don't package. + rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/haml_parser_spec.rb || die + + # Test against Rails 4.2.0 + sed -e '1igem "rails", "~>5.2.0"' -i spec/spec_helper.rb || die +} diff --git a/dev-ruby/gettext_i18n_rails/metadata.xml b/dev-ruby/gettext_i18n_rails/metadata.xml new file mode 100644 index 000000000000..43414422f385 --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">grosser/gettext_i18n_rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gh/Manifest b/dev-ruby/gh/Manifest new file mode 100644 index 000000000000..8464b093c178 --- /dev/null +++ b/dev-ruby/gh/Manifest @@ -0,0 +1,2 @@ +DIST gh-0.16.0.tar.gz 129499 BLAKE2B 6dea86bcaa8191b2eb19daed487d80e5b55adadccb1c063320b44e742895cad1956e06a917ff35659834b4cf541892d3cd0b432f03783b4b860cf4c7136c7c49 SHA512 141a432b8d5f43feea6cc86be504e35b5133590466f1a28c5ba60a208cde9d3cc1a6f19702757e132e4255220e1161f6dc9621ec18a789d963738b9801e52da1 +DIST gh-0.17.0.tar.gz 129494 BLAKE2B c7c777fb1f0f417c62c9ec0598716302c2cb0a6870ff9534cabf03baea33e73581cac9bbe1f803d23adeb16b15e5af06e4dcc61ab2300846b6c5c227ddf7aaea SHA512 b655552180dd48a9de05d925d9795278ba8f293d03e07fc0675aae9bcef264f45a840b37cc855718c1118c31964625775b1156facf52781e99255bb16e7895a1 diff --git a/dev-ruby/gh/gh-0.16.0.ebuild b/dev-ruby/gh/gh-0.16.0.ebuild new file mode 100644 index 000000000000..8114569ae0ee --- /dev/null +++ b/dev-ruby/gh/gh-0.16.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="gh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="multi-layer client for the github api v3" +HOMEPAGE="https://github.com/travis-ci/gh" +SRC_URI="https://github.com/travis-ci/gh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend " + dev-ruby/webmock +" + +ruby_add_rdepend " + dev-ruby/activesupport:5.2 + >=dev-ruby/addressable-2.4.0:0 + >dev-ruby/faraday-0.8:* + >=dev-ruby/faraday_middleware-0.14:0 + >dev-ruby/multi_json-1.0 + dev-ruby/net-http-pipeline + dev-ruby/net-http-persistent:* +" + +all_ruby_prepare() { + sed -i \ + -e '/addressable/ s/2.4.0/2.4/' \ + -e '/net-http-persistent/ s/~> 2.9/>= 2.9/' \ + -e 's/git ls-files/find/' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/gh/gh-0.17.0.ebuild b/dev-ruby/gh/gh-0.17.0.ebuild new file mode 100644 index 000000000000..e119d3055028 --- /dev/null +++ b/dev-ruby/gh/gh-0.17.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="gh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="multi-layer client for the github api v3" +HOMEPAGE="https://github.com/travis-ci/gh" +SRC_URI="https://github.com/travis-ci/gh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend " + dev-ruby/webmock +" + +ruby_add_rdepend " + dev-ruby/activesupport:5.2 + >=dev-ruby/addressable-2.4.0:0 + dev-ruby/faraday:1 + dev-ruby/faraday_middleware:1 + >dev-ruby/multi_json-1.0 + dev-ruby/net-http-pipeline + >=dev-ruby/net-http-persistent-2.9:* +" + +all_ruby_prepare() { + sed -i \ + -e '/addressable/ s/2.4.0/2.4/' \ + -e '/net-http-persistent/ s/~> 2.9/>= 2.9/' \ + -e 's/git ls-files/find/' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/gh/metadata.xml b/dev-ruby/gh/metadata.xml new file mode 100644 index 000000000000..541e3c0a1562 --- /dev/null +++ b/dev-ruby/gh/metadata.xml @@ -0,0 +1,12 @@ +<?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">travis-ci/gh</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest new file mode 100644 index 000000000000..c953982a2e97 --- /dev/null +++ b/dev-ruby/gherkin/Manifest @@ -0,0 +1 @@ +DIST gherkin-5.1.0.gem 29696 BLAKE2B 2439b82a147a546e8df71e11996f9560a8720580e07795542fc81781449b483a42e54251f3d0dd3482331773b1cada1d61b468bfcec2a9464ee2542eef2ed13e SHA512 d935ccceaec493736f337a4c3db69909858d15f4c41e93ecfc6ca31a30fc48eec1cecbe71d455265e1062006f49f05461c9860c9b3cc4806bb25f42dec6f504e diff --git a/dev-ruby/gherkin/gherkin-5.1.0.ebuild b/dev-ruby/gherkin/gherkin-5.1.0.ebuild new file mode 100644 index 000000000000..2a33f20c8bad --- /dev/null +++ b/dev-ruby/gherkin/gherkin-5.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +# Don't install support scripts to avoid slot collisions. +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Fast Gherkin lexer and parser" +HOMEPAGE="https://github.com/cucumber/gherkin" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86" +SLOT="5" +IUSE="" diff --git a/dev-ruby/gherkin/metadata.xml b/dev-ruby/gherkin/metadata.xml new file mode 100644 index 000000000000..b5832a198ab2 --- /dev/null +++ b/dev-ruby/gherkin/metadata.xml @@ -0,0 +1,12 @@ +<?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">cucumber/gherkin</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gist/Manifest b/dev-ruby/gist/Manifest new file mode 100644 index 000000000000..c93e06b083c8 --- /dev/null +++ b/dev-ruby/gist/Manifest @@ -0,0 +1 @@ +DIST gist-5.1.0.gem 45568 BLAKE2B 829a307fb2f03afaa4b4ef8308e8afc03a1218d91f7ad1d104c5988e928d684a9fe8a54572b83d05ccc9aae5186ece7ab7ac5f8b43b0b0ebaa50f8706f22a90c SHA512 4684885142065929fce87a335749d5d5eac0486a3f340005409d178831b5ea616f8e8f34b2e43f1afd6e392cf91883bcfc4b2ca26183aea711420563b22aeccd diff --git a/dev-ruby/gist/gist-5.1.0.ebuild b/dev-ruby/gist/gist-5.1.0.ebuild new file mode 100644 index 000000000000..281d969d8c4d --- /dev/null +++ b/dev-ruby/gist/gist-5.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Potentially the best command line gister." +HOMEPAGE="https://github.com/defunkt/gist" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# dev-python/txgithub also installs a 'gist' binary. +RDEPEND="!dev-python/txgithub" + +ruby_add_bdepend "test? ( dev-ruby/webmock )" diff --git a/dev-ruby/gist/metadata.xml b/dev-ruby/gist/metadata.xml new file mode 100644 index 000000000000..5e134093821f --- /dev/null +++ b/dev-ruby/gist/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <longdescription> + Commandline tool for GitHub Gist interaction, including editing & listing. + </longdescription> + <upstream> + <remote-id type="github">defunkt/gist</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest new file mode 100644 index 000000000000..b0e32c79e936 --- /dev/null +++ b/dev-ruby/git/Manifest @@ -0,0 +1,2 @@ +DIST git-1.5.0.tar.gz 128607 BLAKE2B e2bf19af6c0dd95917b7f599ce2e9b0b4237da78020a86cab5c5985b6944f0921a8f245ef860b9e1faf31761296c4cb6a685ca8d6033e3a8ca7086eef8a9e75b SHA512 001b2e93c1a1f5010026e4b6ea280cc6d7649903cc6faec277b2389bd74fd274c6b2daa465bb66ad7e15f7bdc4b09e20e8c1cc1a55ccfd4ab80ec12bf8562af2 +DIST git-1.7.0.tar.gz 142017 BLAKE2B cb05ef711582b98b420c143dce8fcc3d932c7509ab8c5577a46d70f180ee37d865d7268f56c133d3327ed27058a4c5cd7b03a6c602c665d2f574bdec476c6eec SHA512 c90cd3fe46767a4db5391eb85534e3801f1bd2f345a324ee89d3c04c4348aef09a5424760c59a079d51f3fa003c3b31d30907bfcff4b854adf3b96339d25a8a0 diff --git a/dev-ruby/git/git-1.5.0.ebuild b/dev-ruby/git/git-1.5.0.ebuild new file mode 100644 index 000000000000..31109f97cc66 --- /dev/null +++ b/dev-ruby/git/git-1.5.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="git.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for using Git in Ruby" +HOMEPAGE="https://github.com/schacon/ruby-git" +SRC_URI="https://github.com/schacon/ruby-git/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-git-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +DEPEND+="test? ( >=dev-vcs/git-1.6.0.0 app-arch/tar )" +RDEPEND+=">=dev-vcs/git-1.6.0.0" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Don't use hardcoded /tmp directory. + sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die +} diff --git a/dev-ruby/git/git-1.7.0.ebuild b/dev-ruby/git/git-1.7.0.ebuild new file mode 100644 index 000000000000..b791657d2526 --- /dev/null +++ b/dev-ruby/git/git-1.7.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="git.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for using Git in Ruby" +HOMEPAGE="https://github.com/schacon/ruby-git" +SRC_URI="https://github.com/schacon/ruby-git/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-git-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND+="test? ( >=dev-vcs/git-1.6.0.0 app-arch/tar )" +RDEPEND+=">=dev-vcs/git-1.6.0.0" + +ruby_add_rdepend ">=dev-ruby/rchardet-1.8:1" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Don't use hardcoded /tmp directory. + sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die +} diff --git a/dev-ruby/git/metadata.xml b/dev-ruby/git/metadata.xml new file mode 100644 index 000000000000..8e776351d06d --- /dev/null +++ b/dev-ruby/git/metadata.xml @@ -0,0 +1,12 @@ +<?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">schacon/ruby-git</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/globalid/Manifest b/dev-ruby/globalid/Manifest new file mode 100644 index 000000000000..7fff81765cfc --- /dev/null +++ b/dev-ruby/globalid/Manifest @@ -0,0 +1 @@ +DIST globalid-0.4.2.tar.gz 18669 BLAKE2B 7773362a16f5e3d0fec2a45e9bc768b5f22072d148bc77289c6841f24e4187f88b34bb9134f3ac086390bea5664d4cfa4281d96b0b8a3750e09e461350a0a50a SHA512 2f101601e36fdb6ba912652bbcc78a0561e0233c58d481dacbddd250ed39a1fa68a9b9c1cdadbdc708ac3147f64475fd6b68562d1ebab376fd2a517c93a23e49 diff --git a/dev-ruby/globalid/globalid-0.4.2.ebuild b/dev-ruby/globalid/globalid-0.4.2.ebuild new file mode 100644 index 000000000000..72e08acc7fb9 --- /dev/null +++ b/dev-ruby/globalid/globalid-0.4.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Reference models by URI" +HOMEPAGE="https://github.com/rails/globalid" +SRC_URI="https://github.com/rails/globalid/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/activemodel-4.2.0 >=dev-ruby/railties-4.2.0 )" +ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + + sed -i -e '2irequire "forwardable"' test/helper.rb || die +} diff --git a/dev-ruby/globalid/metadata.xml b/dev-ruby/globalid/metadata.xml new file mode 100644 index 000000000000..8cb2479ef69c --- /dev/null +++ b/dev-ruby/globalid/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/globalid</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gnuplot/Manifest b/dev-ruby/gnuplot/Manifest new file mode 100644 index 000000000000..e6724ed38220 --- /dev/null +++ b/dev-ruby/gnuplot/Manifest @@ -0,0 +1 @@ +DIST gnuplot-2.6.2.gem 13824 BLAKE2B 5fe89c44bcfc8f73e4685fbf8300b5a43845ed8292db84bf3b21f884656a8cf29623bdef37fd4aebbb54ef1a582567fd2c12029a2e4584a92b52f66dad3b8e4f SHA512 bcc9dbdade4fdcaa590006ca925c4f1eb71b4c7d6235c948266a185c937d991ff559a1749f33993baca4437252afdfa7bde1a43c6e05dc6f180e9e7b06a4a8e6 diff --git a/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild b/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild new file mode 100644 index 000000000000..dc8731db9621 --- /dev/null +++ b/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="AUTHORS.txt ChangeLog README.textile" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="Gnuplot drawing library - Ruby Bindings" +HOMEPAGE="http://rgplot.rubyforge.org/" + +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" +SLOT="0" + +RDEPEND+=" sci-visualization/gnuplot" + +all_ruby_prepare() { + # Existing metadata causes a crash in jruby, so use our own. + rm -f ../metadata || die "Unable to remove metadata." + + sed -i -e 's/Config/RbConfig/' test/test_gnuplot.rb || die +} + +each_ruby_test() { + ${RUBY} -Ctest test_gnuplot.rb || die +} diff --git a/dev-ruby/gnuplot/metadata.xml b/dev-ruby/gnuplot/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/gnuplot/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest new file mode 100644 index 000000000000..2ab08de3e60a --- /dev/null +++ b/dev-ruby/google-protobuf/Manifest @@ -0,0 +1,6 @@ +DIST google-protobuf-3.10.1-ruby.tar.gz 4905995 BLAKE2B 1dde3b6260918da8430c2ce69210462f339c492b2a4e53d5d9c1bea3747aead905370507fc4bd703560f6885c0f3f8393a998b875c19744ad94827109ecbb49f SHA512 aba0c4034c0d3b1759904adb6270eee94dd5dc568f433b219e3f1f70c0033993cdfa3bf476ad3f5767c7629edb9fd029c686405abf93731dde808286b336330d +DIST google-protobuf-3.11.2-ruby.tar.gz 5133897 BLAKE2B 275ea52a072b4e0226e4b6dc476d4bc28e8f4f05bca0709eab51da91c02869e96c3b0ac9ab4cc46290f875d4eac6ac72374c5b45e27fa89ad3d58fd56a2c8b7e SHA512 8319c1e003e5fc64e91b512de016ec1cf10265b294d3b4beea60856beaeb02b4d7682343c74b2c12b0f6d4d6258451af9b9d72bcb4b495293b7637da21030c8f +DIST google-protobuf-3.11.3-ruby.tar.gz 5134757 BLAKE2B 1d03cd34ad90ef28b7bb9e1155f5b069fcc21d44fb509d96d7f2638229ce84f7c18e570f4fc644b007cac94104a473d168f0bf8cedcfe7557c63024adc4ecf38 SHA512 beac21d495bfd8e9b40120d1db9fd82251958f954533fc6f76cd0b9c28f92533ac35368a4c298ebb1d8e09047b670ed3bd948bb7da6eb5cca7fdc0c1c44aa39b +DIST google-protobuf-3.11.4-ruby.tar.gz 5140799 BLAKE2B 97b450c0623593efe6a42b66582ff183344b8831689e6a5b4d36096dbd57c33da9569bbf26578536aaf73ecd866ac0588b6cb7d55a6a9b9a6e840d4c57099001 SHA512 777bbb0e9e2375eaebe6b8c87abd660bac70ee469c9ad00dd25917b82d7fb5bbe33cf87f0d69c90e19d55c07a7285ec20974ba4768623ce9ccfadf147fd5e261 +DIST google-protobuf-3.8.0-ruby.tar.gz 4934577 BLAKE2B 4b86ab216e8a8b2c99c3620da9417c0562498e9d4dbf4957db186f51c62b0ed73b1322635a076b2d4054e015bdf6c8c50cc7fd0cb78d24a93b29d2a5b48f66fe SHA512 ba27c64e5193cd4a144bf0c9dc0d195fbbe6e580aaca01960362f0f185074588ca40046d3bcea76e1deae7508b722f6c5be484ea957122ae8e98229c7c3a4ad2 +DIST google-protobuf-3.9.2-ruby.tar.gz 4947582 BLAKE2B ff0150970286d1eb452bd2f252fa8200617ddf491dcb3b9b60cebb36268c5a3072df3d24142ca9863306df6690f53ad4d4761c7846c677c4610716ec22e0838c SHA512 510349ddc59b4e53087b5247ca8784e9f852d66d755e1b014c6214e14c003f31dd336a724e9eb87a5b85a70e22793eb3211744c85a514b24b687346563717bec diff --git a/dev-ruby/google-protobuf/google-protobuf-3.10.1.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.10.1.ebuild new file mode 100644 index 000000000000..749ced3b808c --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.10.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://developers.google.com/protocol-buffers" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( >=dev-libs/protobuf-3.7.0 )" + +each_ruby_prepare() { + sed -i -e 's:../src/protoc:protoc: ; /^task :build/ s/:compile,//' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/google/protobuf_c extconf.rb +} + +each_ruby_compile() { + emake -Cext/google/protobuf_c V=1 + cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die +} diff --git a/dev-ruby/google-protobuf/google-protobuf-3.11.2.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.11.2.ebuild new file mode 100644 index 000000000000..749ced3b808c --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.11.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://developers.google.com/protocol-buffers" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( >=dev-libs/protobuf-3.7.0 )" + +each_ruby_prepare() { + sed -i -e 's:../src/protoc:protoc: ; /^task :build/ s/:compile,//' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/google/protobuf_c extconf.rb +} + +each_ruby_compile() { + emake -Cext/google/protobuf_c V=1 + cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die +} diff --git a/dev-ruby/google-protobuf/google-protobuf-3.11.3.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.11.3.ebuild new file mode 100644 index 000000000000..95bcaa6b4caa --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.11.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://developers.google.com/protocol-buffers" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( >=dev-libs/protobuf-3.7.0 )" + +all_ruby_prepare() { + sed -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^ end/ s:^:#:' \ + -e 's:../src/protoc:protoc:' \ + -e 's/:compile,//' \ + -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/google/protobuf_c extconf.rb +} + +each_ruby_compile() { + emake -Cext/google/protobuf_c V=1 + cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die +} diff --git a/dev-ruby/google-protobuf/google-protobuf-3.11.4.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.11.4.ebuild new file mode 100644 index 000000000000..95bcaa6b4caa --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.11.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://developers.google.com/protocol-buffers" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( >=dev-libs/protobuf-3.7.0 )" + +all_ruby_prepare() { + sed -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^ end/ s:^:#:' \ + -e 's:../src/protoc:protoc:' \ + -e 's/:compile,//' \ + -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/google/protobuf_c extconf.rb +} + +each_ruby_compile() { + emake -Cext/google/protobuf_c V=1 + cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die +} diff --git a/dev-ruby/google-protobuf/google-protobuf-3.8.0.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.8.0.ebuild new file mode 100644 index 000000000000..5eefeb1f2412 --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.8.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://developers.google.com/protocol-buffers" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( >=dev-libs/protobuf-3.7.0 )" + +each_ruby_prepare() { + sed -i -e 's:../src/protoc:protoc: ; /^task :build/ s/:compile,//' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/google/protobuf_c extconf.rb +} + +each_ruby_compile() { + emake -Cext/google/protobuf_c V=1 + cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die +} diff --git a/dev-ruby/google-protobuf/google-protobuf-3.9.2.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.9.2.ebuild new file mode 100644 index 000000000000..749ced3b808c --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.9.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://developers.google.com/protocol-buffers" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( >=dev-libs/protobuf-3.7.0 )" + +each_ruby_prepare() { + sed -i -e 's:../src/protoc:protoc: ; /^task :build/ s/:compile,//' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/google/protobuf_c extconf.rb +} + +each_ruby_compile() { + emake -Cext/google/protobuf_c V=1 + cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die +} diff --git a/dev-ruby/google-protobuf/metadata.xml b/dev-ruby/google-protobuf/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/google-protobuf/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gpgme/Manifest b/dev-ruby/gpgme/Manifest new file mode 100644 index 000000000000..16a4335946cf --- /dev/null +++ b/dev-ruby/gpgme/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gpgme-2.0.18.tar.gz 2799633 BLAKE2B c50336a8f5ae75fc56a29c043a19e84083f122534bf5639124c991dfb55c03b9ddcfe9a07431e0b826adce2c4fa715576387ea51361df68bb3f86019e049a018 SHA512 9be9112572ee2bf92c54c763f3588d0348c62af1d053b3a9d97d89ccfb5f17507be41d89aacbf75a746682dc176d04599d8fb9cfe6d5ac071fc8435eb31513af +DIST ruby-gpgme-2.0.19.tar.gz 2801919 BLAKE2B 0a31099abb8786abd3e39aabb5cef3169a16f99d2aa74dec3957f435e9eb62b4724db8c7f5c0a5be0dec05a6a8832756772632557b88c2925e3d18c39283e2f1 SHA512 a9fea9ad33e423ede54f64e7804b6a940bec9a120be3d612a1985abd06c030441091ba397144cd5b484fcfee26b0885303dcd4d954aefef0ae02575b95f12a36 +DIST ruby-gpgme-2.0.20.tar.gz 2801991 BLAKE2B f5d4c58fd9ef38e0e843e3c59e9653166666ce3635cf479fcd007581b6c6c42ce7852bd36542b378e4152bd471af0131685c8a9f1024953f41832a54c477e1ac SHA512 3267cc77b57c22de3e505c34dfb0a8a4a76cda1fe6dbe547dfdb9ca1a75cf949ca75b3718fe6b6190c06dfdddf21d76b0d0a71631e53e4f439284ce7cf95f6df diff --git a/dev-ruby/gpgme/gpgme-2.0.18.ebuild b/dev-ruby/gpgme/gpgme-2.0.18.ebuild new file mode 100644 index 000000000000..5b41333119b0 --- /dev/null +++ b/dev-ruby/gpgme/gpgme-2.0.18.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-ng ruby-fakegem flag-o-matic + +DESCRIPTION="Ruby language binding for GnuPG Made Easy" +HOMEPAGE="https://github.com/ueno/ruby-gpgme" +SRC_URI="https://github.com/ueno/ruby-gpgme/archive/v${PV}.tar.gz -> ruby-${P}.tar.gz" +RUBY_S="ruby-${P}" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND+=">=app-crypt/gpgme-1.1.3 test? ( >=app-crypt/gpgme-1.13.0 )" +RDEPEND+=">=app-crypt/gpgme-1.1.3" + +ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )" + +all_ruby_prepare() { + sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \ + -e '3igem "mocha", "~> 0.14"' \ + test/test_helper.rb || die + + # Remove failing tests for now. This package was added without + # running any tests :-( + rm -f test/{ctx,crypto}_test.rb || die + sed -i -e '/knows if the key is expired/askip "fails on gentoo"' test/key_test.rb test/sub_key_test.rb || die + sed -i -e '/deletes the key itself and its secret one if called with true/askip "triggers interactive prompt"' test/key_test.rb || die + + sed -i -e '/portile/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + append-flags -fPIC + export RUBY_GPGME_USE_SYSTEM_LIBRARIES=1 + ${RUBY} -C ext "${S}/ext/gpgme/extconf.rb" || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext archflag="${LDFLAGS}" + cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die +} + +each_ruby_test() { + unset DISPLAY GPG_AGENT_INFO GPG_TTY + MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/gpgme/gpgme-2.0.19.ebuild b/dev-ruby/gpgme/gpgme-2.0.19.ebuild new file mode 100644 index 000000000000..23e7afd5d79b --- /dev/null +++ b/dev-ruby/gpgme/gpgme-2.0.19.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-ng ruby-fakegem flag-o-matic + +DESCRIPTION="Ruby language binding for GnuPG Made Easy" +HOMEPAGE="https://github.com/ueno/ruby-gpgme" +SRC_URI="https://github.com/ueno/ruby-gpgme/archive/v${PV}.tar.gz -> ruby-${P}.tar.gz" +RUBY_S="ruby-${P}" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND+=">=app-crypt/gpgme-1.1.3 test? ( >=app-crypt/gpgme-1.13.0 )" +RDEPEND+=">=app-crypt/gpgme-1.1.3" + +ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )" + +all_ruby_prepare() { + sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \ + -e '3igem "mocha", "~> 0.14"' \ + test/test_helper.rb || die + + # Remove failing tests for now. This package was added without + # running any tests :-( + rm -f test/{ctx,crypto}_test.rb || die + + sed -i -e '/portile/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + append-flags -fPIC + export RUBY_GPGME_USE_SYSTEM_LIBRARIES=1 + ${RUBY} -C ext "${S}/ext/gpgme/extconf.rb" || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext archflag="${LDFLAGS}" + cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die +} + +each_ruby_test() { + unset DISPLAY GPG_AGENT_INFO GPG_TTY + MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/gpgme/gpgme-2.0.20.ebuild b/dev-ruby/gpgme/gpgme-2.0.20.ebuild new file mode 100644 index 000000000000..e0e3c9d28214 --- /dev/null +++ b/dev-ruby/gpgme/gpgme-2.0.20.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-ng ruby-fakegem flag-o-matic + +DESCRIPTION="Ruby language binding for GnuPG Made Easy" +HOMEPAGE="https://github.com/ueno/ruby-gpgme" +SRC_URI="https://github.com/ueno/ruby-gpgme/archive/v${PV}.tar.gz -> ruby-${P}.tar.gz" +RUBY_S="ruby-${P}" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND+=">=app-crypt/gpgme-1.1.3 test? ( >=app-crypt/gpgme-1.13.0 )" +RDEPEND+=">=app-crypt/gpgme-1.1.3" + +ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )" + +all_ruby_prepare() { + sed -i -e '/\(coverall\|bundler\|ruby-debug\|byebug\)/I s:^:#:' \ + -e '3igem "mocha", "~> 0.14"' \ + test/test_helper.rb || die + + # Remove failing tests for now. This package was added without + # running any tests :-( + rm -f test/{ctx,crypto}_test.rb || die + + sed -i -e '/portile/d ; /rubyforge/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + append-flags -fPIC + export RUBY_GPGME_USE_SYSTEM_LIBRARIES=1 + ${RUBY} -C ext "${S}/ext/gpgme/extconf.rb" || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext archflag="${LDFLAGS}" + cp -f "${S}/ext/gpgme_n.so" "${S}/lib" || die +} + +each_ruby_test() { + unset DISPLAY GPG_AGENT_INFO GPG_TTY + MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/gpgme/metadata.xml b/dev-ruby/gpgme/metadata.xml new file mode 100644 index 000000000000..cdfd228307f0 --- /dev/null +++ b/dev-ruby/gpgme/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">ueno/ruby-gpgme</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest new file mode 100644 index 000000000000..c5d30fb81b6c --- /dev/null +++ b/dev-ruby/gruff/Manifest @@ -0,0 +1,2 @@ +DIST gruff-0.7.0.gem 318464 BLAKE2B bcc51f524089f53b89778143b444c70d4e168983edda247cdb4c9c84c288450154ce6e5234bbf7a0a8ae7251df611333c8bb411a8fd3765ccc5fe9650c3efc38 SHA512 b9842213ab3da7b4eccf8bd06e18d62aea14a6a15d7c45ebe7e51a76acd456ce140f094a9419d4c0bd1774e7d203bea49f9c39aca36c75d744f2732bcde9f688 +DIST gruff-0.8.0.tar.gz 24712264 BLAKE2B 836ea41e8c7a91ec09ef5356e4f021f99381be4ba437bd043ac628a31ad02f1846cfcf182c2ee038ff90918386413cc9d213d9958412c2bd0c89b1ee2d5c481d SHA512 867fdf50c41bf0e1040ef954c00bced11df0c3d382333aef42f6325a30a950f2ab04e0a5beedf1ab5c3cb23d1682b56d2a398d8afc8d7aa665980ddac4e6cdcb diff --git a/dev-ruby/gruff/gruff-0.7.0-r2.ebuild b/dev-ruby/gruff/gruff-0.7.0-r2.ebuild new file mode 100644 index 000000000000..6fc4274809e7 --- /dev/null +++ b/dev-ruby/gruff/gruff-0.7.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators" + +RUBY_FAKEGEM_GEMSPEC="gruff.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Beautiful graphs for one or multiple datasets" +HOMEPAGE="https://github.com/topfunky/gruff" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-macos" +IUSE="" + +# imagemagick is an indirect dependency through rmagick. However, for +# gruff to work properly imagemagick needs to be compiled with truetype +# support and this cannot be expressed in the rmagick dependency. Tests +# also require imagemagick to have jpeg and png support. +DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )" +RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]" + +ruby_add_rdepend ">=dev-ruby/rmagick-2.13.4:*" +ruby_add_bdepend " + test? ( + dev-ruby/test-unit + )" + +all_ruby_prepare() { + sed -i -e '/reporters/I s:^:#:' test/gruff_test_case.rb || die + sed -i -e '2irequire "date"' test/test_scatter.rb || die + + # Relax rmagick dependency since 3.x is API compatible + sed -e "/rmagick/ s/'~> 2.13',//" \ + -e 's/git ls-files/find . -print/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/gruff/gruff-0.8.0.ebuild b/dev-ruby/gruff/gruff-0.8.0.ebuild new file mode 100644 index 000000000000..a65092a0b85c --- /dev/null +++ b/dev-ruby/gruff/gruff-0.8.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators" + +RUBY_FAKEGEM_GEMSPEC="gruff.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Beautiful graphs for one or multiple datasets" +HOMEPAGE="https://github.com/topfunky/gruff" +SRC_URI="https://github.com/topfunky/gruff/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-macos" +IUSE="" + +# imagemagick is an indirect dependency through rmagick. However, for +# gruff to work properly imagemagick needs to be compiled with truetype +# support and this cannot be expressed in the rmagick dependency. Tests +# also require imagemagick to have jpeg and png support. +DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )" +RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]" + +ruby_add_rdepend "dev-ruby/rmagick:*" +ruby_add_bdepend " + test? ( + dev-ruby/test-unit + )" + +all_ruby_prepare() { + sed -i -e '/reporters/I s:^:#:' test/gruff_test_case.rb || die + sed -i -e '2irequire "date"' test/test_scatter.rb || die + + sed -e 's/git ls-files/find . -print/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/gruff/metadata.xml b/dev-ruby/gruff/metadata.xml new file mode 100644 index 000000000000..7cc488f5b336 --- /dev/null +++ b/dev-ruby/gruff/metadata.xml @@ -0,0 +1,12 @@ +<?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">topfunky/gruff</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/haml-rails/Manifest b/dev-ruby/haml-rails/Manifest new file mode 100644 index 000000000000..56742c89562e --- /dev/null +++ b/dev-ruby/haml-rails/Manifest @@ -0,0 +1,3 @@ +DIST haml-rails-1.0.0.gem 13312 BLAKE2B 9bd863d693121f2bb42bc0dc292f647220a4ba0b152c2fe6b04fabc0a0b537e1d31c12b040841ea2ac51cbfa771bdf21a94c8e482978dd2294a709916ee3aa06 SHA512 92aca4aa20591e47830779ec9d7a04f67cbcfbdcea3cbf2cbe50862ee61d1e373db96dcdb9b187fce2a167132b8394dc738db09416492689fb138d60f537b593 +DIST haml-rails-2.0.0.gem 13824 BLAKE2B 4d885be047f972cea11d3c7d0a9e56d557763d5bf3e95e7cefab33a4422ad114f6351db3226cd1d7645082d70f03a9ecbf86d6ef089ac0ab8836b74736d7ecc8 SHA512 47c5adfeb7b24ccf83ada7c2b453696f3544bc2ed4e7de3ae8ab52a64f6b5f3a3cef36f3144600c47b2f647ec42fd40d32651c7cd1b90184b767f81ec33ac855 +DIST haml-rails-2.0.1.gem 13824 BLAKE2B 24fded0f576d92083a10737954e1a32eb8e5f6a8db11fabc55ac0de3b17377419606d44f5b2e202e0733d9f538166172a6b5f7e08ee7efd71ddf7d3e7f6c9107 SHA512 7ccf9d618ca7b7c1681a063c51cf9dae9ce5e245479e3e7ba87a170ee1ba3eb35ff59061195928792f19f7e33a12ae7de3d5a36d35958e2a1761a12dc51b26d0 diff --git a/dev-ruby/haml-rails/haml-rails-1.0.0.ebuild b/dev-ruby/haml-rails/haml-rails-1.0.0.ebuild new file mode 100644 index 000000000000..cb53792b5c2d --- /dev/null +++ b/dev-ruby/haml-rails/haml-rails-1.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Provides Haml generators for Rails 4" +HOMEPAGE="https://github.com/indirect/haml-rails" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/actionpack-4.0.1:* + >=dev-ruby/activesupport-4.0.1:* + >=dev-ruby/railties-4.0.1:* + >=dev-ruby/haml-4.0.6:* <dev-ruby/haml-6:* + >=dev-ruby/html2haml-1.0.1" + +ruby_add_bdepend "test? ( >=dev-ruby/rails-4.0.1 )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die +} diff --git a/dev-ruby/haml-rails/haml-rails-2.0.0.ebuild b/dev-ruby/haml-rails/haml-rails-2.0.0.ebuild new file mode 100644 index 000000000000..3cf22ec4b4af --- /dev/null +++ b/dev-ruby/haml-rails/haml-rails-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Provides Haml generators for Rails 4" +HOMEPAGE="https://github.com/indirect/haml-rails" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/actionpack-5.1:* + >=dev-ruby/activesupport-5.1:* + >=dev-ruby/railties-5.1:* + >=dev-ruby/haml-4.0.6:* <dev-ruby/haml-6:* + >=dev-ruby/html2haml-1.0.1" + +ruby_add_bdepend "test? ( >=dev-ruby/rails-5.1 )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die +} diff --git a/dev-ruby/haml-rails/haml-rails-2.0.1.ebuild b/dev-ruby/haml-rails/haml-rails-2.0.1.ebuild new file mode 100644 index 000000000000..3cfe4a30206c --- /dev/null +++ b/dev-ruby/haml-rails/haml-rails-2.0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Provides Haml generators for Rails 4" +HOMEPAGE="https://github.com/indirect/haml-rails" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/actionpack-5.1:* + >=dev-ruby/activesupport-5.1:* + >=dev-ruby/railties-5.1:* + >=dev-ruby/haml-4.0.6:* <dev-ruby/haml-6:* + >=dev-ruby/html2haml-1.0.1" + +ruby_add_bdepend "test? ( >=dev-ruby/rails-5.1 )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die +} diff --git a/dev-ruby/haml-rails/metadata.xml b/dev-ruby/haml-rails/metadata.xml new file mode 100644 index 000000000000..9045978092bc --- /dev/null +++ b/dev-ruby/haml-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">indirect/haml-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest new file mode 100644 index 000000000000..065f9e5fd09d --- /dev/null +++ b/dev-ruby/haml/Manifest @@ -0,0 +1 @@ +DIST haml-5.1.2.tar.gz 126059 BLAKE2B 5d805f29c28d0f6355f7b79e5724ec1639a808cfae75c26633edddcc82d964a48dbc1654b780fb706529ca22abcaba953a1af6f483386c336035c079a719e585 SHA512 405976de297bfdbd6f010442d940205c404f057a54cd7162feb400b1831af3e4e60fd05a637a2f480204428512ca7dd66c02aca22b0006d6d515c06968eb08a3 diff --git a/dev-ruby/haml/haml-5.1.2.ebuild b/dev-ruby/haml/haml-5.1.2.ebuild new file mode 100644 index 000000000000..077a1d33f39b --- /dev/null +++ b/dev-ruby/haml/haml-5.1.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test" +RUBY_FAKEGEM_TASK_DOC="-Ilib doc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A ruby web page templating engine" +HOMEPAGE="http://haml.info/" +SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="doc test" + +RDEPEND="${RDEPEND} !!<dev-ruby/haml-4.0.7-r2" + +ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + dev-ruby/nokogiri + dev-ruby/railties:5.2 + dev-ruby/activemodel:5.2 + dev-ruby/actionpack:5.2 + ) + doc? ( + dev-ruby/yard + >=dev-ruby/maruku-0.7.2-r1 + )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die + sed -i -e '/bundler/I s:^:#:' \ + -e 's/gem "minitest"/gem "minitest", "~>5.0"/'\ + -e '1igem "actionpack", "~>5.2"'\ + -e '1igem "activesupport", "~>5.2"; gem "activemodel", "~>5.2"'\ + -e '1igem "railties", "~>5.2"'\ + test/test_helper.rb || die + # Remove test that fails when RedCloth is available + sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^ end/ s/^/#/"\ + test/filters_test.rb || die +} diff --git a/dev-ruby/haml/metadata.xml b/dev-ruby/haml/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/haml/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hamster/Manifest b/dev-ruby/hamster/Manifest new file mode 100644 index 000000000000..5d11e4a7ce1a --- /dev/null +++ b/dev-ruby/hamster/Manifest @@ -0,0 +1 @@ +DIST hamster-3.0.0.gem 129024 BLAKE2B f2d716d9304e9dea90b9832f1ae01bc6482fb57edc72f8e4edf0646ec066d08f9aa632401ff89dd979ee6513fcae7dab3289d8fada3a0e4392c688aca3d3e009 SHA512 2e9e388ca5a6b1d52dec60ce7711bf91fba8bc51a722139168c1aafbc9bbb98602675427e23a588950f56eaaa10c4b3aefd682970a77c479f47c77f00858342a diff --git a/dev-ruby/hamster/hamster-3.0.0-r1.ebuild b/dev-ruby/hamster/hamster-3.0.0-r1.ebuild new file mode 100644 index 000000000000..3ebc8b4021d3 --- /dev/null +++ b/dev-ruby/hamster/hamster-3.0.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Efficient, immutable, thread-safe collection classes for Ruby" +HOMEPAGE="https://github.com/hamstergem/hamster" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +all_ruby_prepare() { + sed -i -e '/codeclimate/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb spec/lib/hamster/vector/insert_spec.rb || die +} diff --git a/dev-ruby/hamster/metadata.xml b/dev-ruby/hamster/metadata.xml new file mode 100644 index 000000000000..05ff879afc8a --- /dev/null +++ b/dev-ruby/hamster/metadata.xml @@ -0,0 +1,12 @@ +<?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">hamstergem/hamster</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hashdiff/Manifest b/dev-ruby/hashdiff/Manifest new file mode 100644 index 000000000000..f4d64d65a53a --- /dev/null +++ b/dev-ruby/hashdiff/Manifest @@ -0,0 +1,2 @@ +DIST hashdiff-1.0.0.gem 19968 BLAKE2B c27da71ad9bfba1e967e3c67804c591b880eb8af905d736d5e25c7f732256ab980855fbede619bb935ff29e99d9247b50f4c1790f415bb232b127de7177a9e23 SHA512 39aa1513f6a03ed79ee3f6c26491b914df2527d5dede6b15362e02550751a13fbddc341c0b39ed8c55afb8cf0e7927d528c22f309e54422bfe4dc64229ad9a6f +DIST hashdiff-1.0.1.gem 20480 BLAKE2B 9f9723bd4e3547422b185df07d314699d0381ce6526be31c821f2d213f0721f077560567c830256a3bb2873b37a2616213113257e993fc364cd72a416b77cf10 SHA512 fa6e7ad88373038341473de25b7df5e146744efb8b5613fb4da41630498e68de585e2a8d66ba86d577ded574464948234f51e662a9caa6e695c3d6a2c3b85059 diff --git a/dev-ruby/hashdiff/hashdiff-1.0.0.ebuild b/dev-ruby/hashdiff/hashdiff-1.0.0.ebuild new file mode 100644 index 000000000000..d98a67f955e3 --- /dev/null +++ b/dev-ruby/hashdiff/hashdiff-1.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simple Hash extension to make working with nested hashes easier" +HOMEPAGE="https://github.com/liufengyun/hashdiff" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/hashdiff/hashdiff-1.0.1.ebuild b/dev-ruby/hashdiff/hashdiff-1.0.1.ebuild new file mode 100644 index 000000000000..266af44e1a96 --- /dev/null +++ b/dev-ruby/hashdiff/hashdiff-1.0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simple Hash extension to make working with nested hashes easier" +HOMEPAGE="https://github.com/liufengyun/hashdiff" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/hashdiff/metadata.xml b/dev-ruby/hashdiff/metadata.xml new file mode 100644 index 000000000000..497830e950d0 --- /dev/null +++ b/dev-ruby/hashdiff/metadata.xml @@ -0,0 +1,12 @@ +<?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">liufengyun/hashdiff</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hashery/Manifest b/dev-ruby/hashery/Manifest new file mode 100644 index 000000000000..9f2416e4e076 --- /dev/null +++ b/dev-ruby/hashery/Manifest @@ -0,0 +1 @@ +DIST hashery-2.1.2.gem 43008 BLAKE2B 2557db502c0f00f4d13cf9f123050a5212ff4bd2f22658e6034de5d533d64e6c97a4538b6a8f01f6f63da210823e49e17e9fbe349e4e81eeb2035c61b580cb83 SHA512 953fb7024aeeff8720c14880f8cbf0ee03cc09624ba33152215439a2e252cea22167258e8e8c1cb023129a51cd95b2d9d33ca794a6b38560a8eb1e0fe44f290b diff --git a/dev-ruby/hashery/hashery-2.1.2.ebuild b/dev-ruby/hashery/hashery-2.1.2.ebuild new file mode 100644 index 000000000000..94e3c052e315 --- /dev/null +++ b/dev-ruby/hashery/hashery-2.1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="The Hashery is a tight collection of Hash-like classes" +HOMEPAGE="https://rubyworks.github.com/hashery" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/lemon + dev-ruby/qed + dev-ruby/rubytest + dev-ruby/rubytest-cli )" + +each_ruby_test() { + ${RUBY} -S qed || die 'tests failed' + ${RUBY} -S rubytest -Ilib -Itest test/ || die 'tests failed' +} diff --git a/dev-ruby/hashery/metadata.xml b/dev-ruby/hashery/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/hashery/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hashicorp-checkpoint/Manifest b/dev-ruby/hashicorp-checkpoint/Manifest new file mode 100644 index 000000000000..9db8788b7eb5 --- /dev/null +++ b/dev-ruby/hashicorp-checkpoint/Manifest @@ -0,0 +1 @@ +DIST hashicorp-checkpoint-0.1.5.gem 13312 BLAKE2B 4318cc7748797732ea3719965debd9621136a097bdc6a9bc6577d563eb69c4bbabe8451396bd9281874c1b4adca690fe443f0a98eb10857b1f6b561aa732b508 SHA512 77effab526b798da1739c19021f3832bea7aab9503a159909a712f18da7a0cc6d750dd0783c2bc5a31f650f00f0a65dad706e2159882bae70dcf7425fdb35a40 diff --git a/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5.ebuild b/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5.ebuild new file mode 100644 index 000000000000..21d663e130cb --- /dev/null +++ b/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Internal HashiCorp service to check version information" +HOMEPAGE="https://www.hashicorp.com" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +ruby_add_bdepend " + test? ( dev-ruby/rspec-its ) +" diff --git a/dev-ruby/hashicorp-checkpoint/metadata.xml b/dev-ruby/hashicorp-checkpoint/metadata.xml new file mode 100644 index 000000000000..b77761e05e2e --- /dev/null +++ b/dev-ruby/hashicorp-checkpoint/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <upstream> + <remote-id type="github">hashicorp/ruby-checkpoint</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest new file mode 100644 index 000000000000..067807909dc3 --- /dev/null +++ b/dev-ruby/hashie/Manifest @@ -0,0 +1,4 @@ +DIST hashie-2.1.2.gem 34816 BLAKE2B 7406fece6c731f62ab8b73095b6c61d4d79cc3811ba20db68d2d6c54a780e8b37ce92ffa97ddc6c9ae2b802fbdbb04cc0d9c752761c9032739f3548f05696757 SHA512 6f72998710da58a2584939b4e74a114ae54168902020dc16ec5ea0422a91316b84aa6835fffb36a2985634f24ff5b0d01bcdb50134a414a269a4881ebcd728ac +DIST hashie-3.6.0.gem 74752 BLAKE2B b689843d30001dd7eaa09d62ab908d60e76128df66055283ccf0770830e5901b4e792c4bebd2cad8bb6d5e97a23016aee0d0114f2fb0f7ace8ebd722b8941020 SHA512 7b5355a2b93267d6b7c63608aeac4bb7d21f32a982e2c59771d5a791f9a0c921d11e1b4a185067447917315ce98f8cc5f2b48a31efec3068fb1f1ec0e4386e15 +DIST hashie-4.0.0.tar.gz 82096 BLAKE2B d2fa4f208e4bb08a15c7c14208fef368ea5653e556045378ead94b7002250a798637fede4f8438238111946a4393794828f88d19b7f8c733500d745a361049cf SHA512 b26b80a0b981fa534d17b20a7a2dfad82487950f94bf38d62129aa7af4de7875e1fd9519fae30c13d16a92e041033fe6f80978fd30014a571503650ee73ca549 +DIST hashie-4.1.0.tar.gz 86972 BLAKE2B 33979037db67f8a7f20ae85e3db6e8b5415b9b2659a5961e2c2a97e3197fef1500cedd8557af314baf8395a9790e8a457633ecade944c198c295f7f13847afa5 SHA512 f2a36ee812e39d679390647514ff894d4170b61ece6d37ef42f1203212d80d2dee63b4af162d81ded451a53c058746f26fc16810db4c748cce9ca6635a300a4b diff --git a/dev-ruby/hashie/hashie-2.1.2-r1.ebuild b/dev-ruby/hashie/hashie-2.1.2-r1.ebuild new file mode 100644 index 000000000000..0359eeb54b7a --- /dev/null +++ b/dev-ruby/hashie/hashie-2.1.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" +HOMEPAGE="http://intridea.com/posts/hashie-the-hash-toolkit" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" +IUSE="" + +all_ruby_prepare() { + # Remove bundler and fix one spec that depends on its requires + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -e '2irequire "hashie/version"' -i spec/hashie/version_spec.rb || die +} diff --git a/dev-ruby/hashie/hashie-3.6.0.ebuild b/dev-ruby/hashie/hashie-3.6.0.ebuild new file mode 100644 index 000000000000..17c082536848 --- /dev/null +++ b/dev-ruby/hashie/hashie-3.6.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" +HOMEPAGE="https://www.mobomo.com/2009/11/hashie-the-hash-toolkit/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/activesupport )" + +all_ruby_prepare() { + # Remove bundler and fix one spec that depends on its requires + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -e '/pry/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"' -i spec/spec_helper.rb || die + + # Avoid dependency on rspec-pending_for and its dependencies + sed -i -e '/pending_for/ s:^:#:' \ + spec/spec_helper.rb \ + spec/hashie/mash_spec.rb \ + spec/hashie/extensions/strict_key_access_spec.rb || die + + # Avoid integration specs to avoid complicated dependencies + rm spec/integration/{elasticsearch,omniauth*,rails}/integration_spec.rb || die +} diff --git a/dev-ruby/hashie/hashie-4.0.0.ebuild b/dev-ruby/hashie/hashie-4.0.0.ebuild new file mode 100644 index 000000000000..7bd5eb8b8875 --- /dev/null +++ b/dev-ruby/hashie/hashie-4.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="hashie.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" +HOMEPAGE="https://www.mobomo.com/2009/11/hashie-the-hash-toolkit/" +SRC_URI="https://github.com/intridea/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/activesupport )" + +all_ruby_prepare() { + # Remove bundler and fix one spec that depends on its requires + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -e '/pry/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"' -i spec/spec_helper.rb || die + + # Avoid dependency on rspec-pending_for and its dependencies + sed -i -e '/pending_for/ s:^:#:' \ + spec/spec_helper.rb \ + spec/hashie/mash_spec.rb \ + spec/hashie/extensions/strict_key_access_spec.rb || die + + # Avoid integration specs to avoid complicated dependencies + rm spec/integration/{elasticsearch,omniauth*,rails}/integration_spec.rb || die +} diff --git a/dev-ruby/hashie/hashie-4.1.0-r1.ebuild b/dev-ruby/hashie/hashie-4.1.0-r1.ebuild new file mode 100644 index 000000000000..9f66fbf88a1c --- /dev/null +++ b/dev-ruby/hashie/hashie-4.1.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="hashie.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" +HOMEPAGE="https://www.mobomo.com/2009/11/hashie-the-hash-toolkit/" +SRC_URI="https://github.com/intridea/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/activesupport )" + +all_ruby_prepare() { + # Remove bundler and fix one spec that depends on its requires + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -e '/pry/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"; require "json"' -i spec/spec_helper.rb || die + + # Avoid dependency on rspec-pending_for and its dependencies + sed -i -e '/pending_for/ s:^:#:' \ + spec/spec_helper.rb \ + spec/hashie/mash_spec.rb \ + spec/hashie/extensions/strict_key_access_spec.rb || die + + # Avoid integration specs to avoid complicated dependencies + rm spec/integration/{elasticsearch,omniauth*,rails}/integration_spec.rb || die +} diff --git a/dev-ruby/hashie/hashie-4.1.0.ebuild b/dev-ruby/hashie/hashie-4.1.0.ebuild new file mode 100644 index 000000000000..1bab83ccdada --- /dev/null +++ b/dev-ruby/hashie/hashie-4.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="hashie.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" +HOMEPAGE="https://www.mobomo.com/2009/11/hashie-the-hash-toolkit/" +SRC_URI="https://github.com/intridea/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/activesupport )" + +all_ruby_prepare() { + # Remove bundler and fix one spec that depends on its requires + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -e '/pry/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"; require "json"' -i spec/spec_helper.rb || die + + # Avoid dependency on rspec-pending_for and its dependencies + sed -i -e '/pending_for/ s:^:#:' \ + spec/spec_helper.rb \ + spec/hashie/mash_spec.rb \ + spec/hashie/extensions/strict_key_access_spec.rb || die + + # Avoid integration specs to avoid complicated dependencies + rm spec/integration/{elasticsearch,omniauth*,rails}/integration_spec.rb || die +} diff --git a/dev-ruby/hashie/metadata.xml b/dev-ruby/hashie/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/hashie/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hashr/Manifest b/dev-ruby/hashr/Manifest new file mode 100644 index 000000000000..b1e30a49aff6 --- /dev/null +++ b/dev-ruby/hashr/Manifest @@ -0,0 +1 @@ +DIST hashr-2.0.1.gem 10240 BLAKE2B 14455589acf3ffead6aa21ee9e789fe94c60f90beb5aeb451ac68bdf3637dc4f94c58d4b287aff5835a0bde7205172bffab26e86356105786994540138288e3a SHA512 0b79b32d857b4d6352de18ebfabf51b4af610f2a889088028d938afa8f38d4a3e91f285c3c39f120e31a92373d2eb2a92386331c082810c101fd035ac32c685d diff --git a/dev-ruby/hashr/hashr-2.0.1.ebuild b/dev-ruby/hashr/hashr-2.0.1.ebuild new file mode 100644 index 000000000000..f59278182aa4 --- /dev/null +++ b/dev-ruby/hashr/hashr-2.0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simple Hash extension to make working with nested hashes easier" +HOMEPAGE="https://github.com/svenfuchs/hashr" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '1i require "spec_helper"' spec/hashr/delegate/conditional_spec.rb || die +} diff --git a/dev-ruby/hashr/metadata.xml b/dev-ruby/hashr/metadata.xml new file mode 100644 index 000000000000..0dc7b6ff08d1 --- /dev/null +++ b/dev-ruby/hashr/metadata.xml @@ -0,0 +1,12 @@ +<?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">svenfuchs/hashr</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/heredoc_unindent/Manifest b/dev-ruby/heredoc_unindent/Manifest new file mode 100644 index 000000000000..ee4eb24e52d0 --- /dev/null +++ b/dev-ruby/heredoc_unindent/Manifest @@ -0,0 +1 @@ +DIST heredoc_unindent-1.2.0.gem 10240 BLAKE2B 2d29e85e03b4da87277e82ad3c7f85f8c4f4063651a5e1aa9931ae257c8e3416b6feb6403ee158b2fb6bd4bb0b6fcf00a09bf688b3ba3acc76b5000639a7c248 SHA512 a975ffdc2ae3716a7fb90145270df03d6f3d45d42d3fca3125044a2b960a9c8ffc74a7fb0e315b6021cb6ce535b08207a40351573ed89c27fe0c8e196ea02c76 diff --git a/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0.ebuild b/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0.ebuild new file mode 100644 index 000000000000..a6ce6d1ae7a5 --- /dev/null +++ b/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-fakegem + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" +DESCRIPTION="Removes leading whitespace from Ruby heredocs" +HOMEPAGE="https://github.com/adrianomitre/heredoc_unindent" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '1igem "test-unit"' test/test_heredoc_unindent.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/heredoc_unindent/metadata.xml b/dev-ruby/heredoc_unindent/metadata.xml new file mode 100644 index 000000000000..f9560c8c18a5 --- /dev/null +++ b/dev-ruby/heredoc_unindent/metadata.xml @@ -0,0 +1,12 @@ +<?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">adrianomitre/heredoc_unindent</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hiera-eyaml-gpg/Manifest b/dev-ruby/hiera-eyaml-gpg/Manifest new file mode 100644 index 000000000000..1e292be765f7 --- /dev/null +++ b/dev-ruby/hiera-eyaml-gpg/Manifest @@ -0,0 +1 @@ +DIST hiera-eyaml-gpg-0.7.4.gem 14848 BLAKE2B 68d6fb4047dcc80ceca5350459a60c42f7d3db753491b94c4710920ddd484eaf0bee76f3381a2fa663795baec58e6d26614782f7f1a88933152cce8cc284457c SHA512 5cee22e435f7bcc1e4a9d4775ecdf0eb9cd70cf3e26870107920993df480082f7bebd7d488b060880407a7debd11c7b9a202f8f3a99da811ae8f49f17a7495e6 diff --git a/dev-ruby/hiera-eyaml-gpg/hiera-eyaml-gpg-0.7.4.ebuild b/dev-ruby/hiera-eyaml-gpg/hiera-eyaml-gpg-0.7.4.ebuild new file mode 100644 index 000000000000..2564ba5530ea --- /dev/null +++ b/dev-ruby/hiera-eyaml-gpg/hiera-eyaml-gpg-0.7.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A GPG backend for hiera-eyaml" +HOMEPAGE="https://github.com/sihil/hiera-eyaml-gpg" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/hiera-eyaml-1.3.8:* + >=dev-ruby/gpgme-2.0.0 +" diff --git a/dev-ruby/hiera-eyaml-gpg/metadata.xml b/dev-ruby/hiera-eyaml-gpg/metadata.xml new file mode 100644 index 000000000000..7c847a1c6868 --- /dev/null +++ b/dev-ruby/hiera-eyaml-gpg/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">sihil/hiera-eyaml-gpg</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hiera-eyaml-plaintext/Manifest b/dev-ruby/hiera-eyaml-plaintext/Manifest new file mode 100644 index 000000000000..0ca25c01a291 --- /dev/null +++ b/dev-ruby/hiera-eyaml-plaintext/Manifest @@ -0,0 +1 @@ +DIST hiera-eyaml-plaintext-0.6.gem 5632 BLAKE2B cb9c721615ac68ea5a6ea823246b5d0234a4b0d4496d89f345956109d8bba2f0977f65af14d628f22f4457e710fe603e0cc1447d386c2bf8a47d6a5844d05365 SHA512 a6f1ccc5fb7249ae973aac0920b2eb14aa2b3472921cba50f4e9b791107cd5b2245b7d0f7533c66a84caa0a3f4bc1fb044983ba0b0dadd9cc514686dfd62b32c diff --git a/dev-ruby/hiera-eyaml-plaintext/hiera-eyaml-plaintext-0.6-r1.ebuild b/dev-ruby/hiera-eyaml-plaintext/hiera-eyaml-plaintext-0.6-r1.ebuild new file mode 100644 index 000000000000..c82fcad5d434 --- /dev/null +++ b/dev-ruby/hiera-eyaml-plaintext/hiera-eyaml-plaintext-0.6-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A plaintext backend for hiera-eyaml" +HOMEPAGE="https://github.com/gtmtechltd/hiera-eyaml-plaintext" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-ruby/hiera-eyaml-plaintext/metadata.xml b/dev-ruby/hiera-eyaml-plaintext/metadata.xml new file mode 100644 index 000000000000..7e205b840f0f --- /dev/null +++ b/dev-ruby/hiera-eyaml-plaintext/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">gtmtechltd/hiera-eyaml-plaintext</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest new file mode 100644 index 000000000000..73f441d2b829 --- /dev/null +++ b/dev-ruby/hiera-eyaml/Manifest @@ -0,0 +1,3 @@ +DIST hiera-eyaml-3.0.0.tar.gz 54416 BLAKE2B 75587799b228562ae89ab4e46fdd5d4a256f66403df0a2c0761aadec17fb3fa95c1207aee5a4663bcbd843c7d6e0594ce2c0edf6973184b64522a987d628b549 SHA512 805496478d0fe142ea1661345d92e5ad2ad4c18c98bb83c8f799031b784a997e1aee2a11b46600a8ddbe0b147072ea0f83fbfa100df5b5fc534d7489850d9827 +DIST hiera-eyaml-3.1.0.tar.gz 55857 BLAKE2B 6038798c86f6c7cfb56ed2519961bcdb7937d16e0376ba426c5ae4a892cef9863e6728368af8da31359abc956d78ab38d379bca5ba8cbf567c2c812ee33929fe SHA512 970aa0dd696acd77062ac5c289c9ac0e5992c58acc4df379500978904e58a2054801fa7c36fa3b156dd1b635ef19522cc9886bd91c83e8fda6d00058b18ab9d9 +DIST hiera-eyaml-3.1.1.tar.gz 54848 BLAKE2B 8daa4925bf1fb945ddb5ce7a485c3bf2bfca8747eb0cf00530eb91307d18d3f5c73699a30631b80e7825baac3a8b0c1695bd0313906bc8c7aba9c3c00d69b9cc SHA512 3bc93ca31af96383401f28644490f5540a70cf719e47d340794daf6c8bcc7fe9800d1d1e6ba99aba344831966f8d15f1a1fd9d1522696457f0bdec79dd45a108 diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild new file mode 100644 index 000000000000..744e6a1d5e21 --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Encrypted YAML backend for hiera" +HOMEPAGE="https://github.com/TomPoulton/hiera-eyaml" +SRC_URI="https://github.com/TomPoulton/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/highline-1.6.19:*" +ruby_add_rdepend "dev-ruby/optimist" +ruby_add_rdepend "!!dev-ruby/hiera-eyaml:0" # both install the /usr/bin/eyaml binary + +ruby_add_bdepend "test? ( dev-util/cucumber ~dev-util/aruba-0.6.2 <app-admin/puppet-6 dev-ruby/hiera-eyaml-plaintext )" + +all_ruby_prepare() { + # Fix highline dependency to be compatible with more versions. + sed -i -e '/highline/ s/~>/>=/' \ + -e '/gem.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's:/tmp:'${T}':' \ + features/sandbox/puppet/environments/local/modules/test/manifests/run.pp \ + features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/run.pp \ + features/puppet.feature +} + +each_ruby_prepare() { + # Run tests with the correct ruby interpreter + sed -i -e 's:I run `eyaml:I run `'${RUBY}' '${S}'/bin/eyaml:' features/*.feature || die + +} + +each_ruby_test() { + ${RUBY} -S cucumber --format progress features || die +} diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.0.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.0.ebuild new file mode 100644 index 000000000000..863a4be4abb3 --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Encrypted YAML backend for hiera" +HOMEPAGE="https://github.com/TomPoulton/hiera-eyaml" +SRC_URI="https://github.com/TomPoulton/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/highline-1.6.19:*" +ruby_add_rdepend "dev-ruby/optimist" +ruby_add_rdepend "!!dev-ruby/hiera-eyaml:0" # both install the /usr/bin/eyaml binary + +ruby_add_bdepend "test? ( dev-util/cucumber ~dev-util/aruba-0.6.2 <app-admin/puppet-6 dev-ruby/hiera-eyaml-plaintext )" + +all_ruby_prepare() { + # Fix highline dependency to be compatible with more versions. + sed -i -e '/highline/ s/~>/>=/' \ + -e '/gem.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's:/tmp:'${T}':' \ + features/sandbox/puppet/environments/local/modules/test/manifests/run.pp \ + features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/run.pp \ + features/puppet.feature +} + +each_ruby_prepare() { + # Run tests with the correct ruby interpreter + sed -i -e 's:I run `eyaml:I run `'${RUBY}' '${S}'/bin/eyaml:' features/*.feature || die + +} + +each_ruby_test() { + ${RUBY} -S cucumber --format progress features || die +} diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.1.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.1.ebuild new file mode 100644 index 000000000000..863a4be4abb3 --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Encrypted YAML backend for hiera" +HOMEPAGE="https://github.com/TomPoulton/hiera-eyaml" +SRC_URI="https://github.com/TomPoulton/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/highline-1.6.19:*" +ruby_add_rdepend "dev-ruby/optimist" +ruby_add_rdepend "!!dev-ruby/hiera-eyaml:0" # both install the /usr/bin/eyaml binary + +ruby_add_bdepend "test? ( dev-util/cucumber ~dev-util/aruba-0.6.2 <app-admin/puppet-6 dev-ruby/hiera-eyaml-plaintext )" + +all_ruby_prepare() { + # Fix highline dependency to be compatible with more versions. + sed -i -e '/highline/ s/~>/>=/' \ + -e '/gem.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's:/tmp:'${T}':' \ + features/sandbox/puppet/environments/local/modules/test/manifests/run.pp \ + features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/run.pp \ + features/puppet.feature +} + +each_ruby_prepare() { + # Run tests with the correct ruby interpreter + sed -i -e 's:I run `eyaml:I run `'${RUBY}' '${S}'/bin/eyaml:' features/*.feature || die + +} + +each_ruby_test() { + ${RUBY} -S cucumber --format progress features || die +} diff --git a/dev-ruby/hiera-eyaml/metadata.xml b/dev-ruby/hiera-eyaml/metadata.xml new file mode 100644 index 000000000000..91e21ff152cf --- /dev/null +++ b/dev-ruby/hiera-eyaml/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">TomPoulton/hiera-eyaml</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hiera/Manifest b/dev-ruby/hiera/Manifest new file mode 100644 index 000000000000..cceea5e6588f --- /dev/null +++ b/dev-ruby/hiera/Manifest @@ -0,0 +1 @@ +DIST hiera-3.6.0.gem 40960 BLAKE2B 1e49499ac5841d5fae884ffaf7ba7c72c55e3c04ee3023b2bee3e68e29d4827825e23ed4bb4a929d6337a1ff1d19dd1fbcad329495604c3171c3ab900e21b607 SHA512 6d76845e23732875c461d5b2df8599953f067ec84ea6648044e91822fea762118a108136e43ea9b7112511939978052f846d94e895b2b8f669df607fc90afbd0 diff --git a/dev-ruby/hiera/hiera-3.6.0.ebuild b/dev-ruby/hiera/hiera-3.6.0.ebuild new file mode 100644 index 000000000000..1ae2f8437ed9 --- /dev/null +++ b/dev-ruby/hiera/hiera-3.6.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A simple pluggable Hierarchical Database" +HOMEPAGE="https://docs.puppet.com/hiera/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +KEYWORDS="amd64 ~arm hppa ppc ~ppc64 ~sparc x86" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +ruby_add_rdepend "dev-ruby/deep_merge" diff --git a/dev-ruby/hiera/metadata.xml b/dev-ruby/hiera/metadata.xml new file mode 100644 index 000000000000..0845cbdbf57b --- /dev/null +++ b/dev-ruby/hiera/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>prometheanfire@gentoo.org</email> +</maintainer> +<maintainer type="project"> +<email>sysadmin@gentoo.org</email> +<name>Gentoo Sysadmin Project</name> +</maintainer> +<maintainer type="project"> +<email>ruby@gentoo.org</email> +<name>Gentoo Ruby Project</name> +</maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest new file mode 100644 index 000000000000..fa3c57aa68af --- /dev/null +++ b/dev-ruby/highline/Manifest @@ -0,0 +1,2 @@ +DIST highline-1.7.8.gem 224768 BLAKE2B 683fa70e3ea4bf697ab5a1cd40da2528e2586f8fe12fb0ffb799938f2bfa2efe64fe1424c0ee1f90ae3df69f86a92f44eebcbb2ab34f18b3c4cdbb143e596067 SHA512 85f57ab732009cc961b824e252f0b65bbe7c0a8c97849d453773a331016b2ea8fa0efe393bc1a0073eae6d3cf523d97b9434cd73bdceed55bc069be0b6f4b41d +DIST highline-2.0.3.tar.gz 234205 BLAKE2B 4748c3ad8a15e551162ab9f2eb6e176297d833d13e6f5db7898f99c71f25e8a2a01057b0438c5d30b56a66333bbba0da1a435cfa07db97f2ffc5e301157618ef SHA512 f432c8836040bcfb147a84efa2dd3feee7f3f6e03eafbf4232e9457aeef8cb9ca83fcf854d3b261f59a166666abc3f2c8fc0f1279a7efeb07dea8a13be22ebde diff --git a/dev-ruby/highline/highline-1.7.8.ebuild b/dev-ruby/highline/highline-1.7.8.ebuild new file mode 100644 index 000000000000..72db97dc5005 --- /dev/null +++ b/dev-ruby/highline/highline-1.7.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.rdoc TODO" +RUBY_FAKEGEM_DOCDIR="doc/html" + +inherit ruby-fakegem + +DESCRIPTION="Highline is a high-level command-line IO library for ruby" +HOMEPAGE="https://github.com/JEG2/highline" + +IUSE="" +LICENSE="|| ( GPL-2 Ruby )" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" + +ruby_add_bdepend "test? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + # fix up gemspec file not to call git + sed -i -e '/git ls-files/d' highline.gemspec || die + + # Avoid unneeded dependencies + sed -i -e '/\(bundler\|code_statistics\)/ s:^:#:' \ + -e '/PackageTask/,/end/ s:^:#:' Rakefile || die + + # Avoid tests that require a real console because we can't provide + # that when running tests through portage. These should pass when + # run in a console. We should probably narrow this down more to the + # specific tests. + rm test/tc_highline.rb || die + + sed -i -e '/test_question_options/,/^ end/ s:^:#:' \ + -e '/test_paged_print_infinite_loop_bug/,/^ end/ s:^:#:' \ + -e '/test_cancel_paging/,/^ end/ s:^:#:' \ + test/tc_menu.rb || die +} diff --git a/dev-ruby/highline/highline-2.0.3.ebuild b/dev-ruby/highline/highline-2.0.3.ebuild new file mode 100644 index 000000000000..a2bd9a85a0e2 --- /dev/null +++ b/dev-ruby/highline/highline-2.0.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="highline.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Highline is a high-level command-line IO library for ruby" +HOMEPAGE="https://github.com/JEG2/highline" +SRC_URI="https://github.com/JEG2/highline/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +IUSE="" +LICENSE="|| ( GPL-2 Ruby )" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" + +all_ruby_prepare() { + # fix up gemspec file not to call git + sed -i -e 's/git ls-files -z/find -print0/' highline.gemspec || die + + # Avoid unneeded dependencies + sed -i -e '/\(bundler\|code_statistics\)/ s:^:#:' \ + -e '/PackageTask/,/end/ s:^:#:' Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Remove almost empty doc directory to allow rdoc recipe to work + rm -rf doc || die +} diff --git a/dev-ruby/highline/metadata.xml b/dev-ruby/highline/metadata.xml new file mode 100644 index 000000000000..b1d118cbea89 --- /dev/null +++ b/dev-ruby/highline/metadata.xml @@ -0,0 +1,12 @@ +<?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">JEG2/highline</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hipchat/Manifest b/dev-ruby/hipchat/Manifest new file mode 100644 index 000000000000..a9bcbc2f0b22 --- /dev/null +++ b/dev-ruby/hipchat/Manifest @@ -0,0 +1 @@ +DIST hipchat-1.6.0.tar.gz 23328 BLAKE2B b9328e339f40ff1d865af5bbd660d479e94e18be98a74171125ff9d55e96353bf0ad9420e9eacc8b1a650f873d16a197418f7cc8728042fd403a7d1bceaa0b9a SHA512 43afbc2aca234d7d3778189874013df7847f9045ecc1d5ebd6b3772dce2a9cc5000fa6075867a9b0968d49410d775f3f56ed0a4ae637d6ad3893aa668895f2a3 diff --git a/dev-ruby/hipchat/hipchat-1.6.0.ebuild b/dev-ruby/hipchat/hipchat-1.6.0.ebuild new file mode 100644 index 000000000000..0a4ab80daf6d --- /dev/null +++ b/dev-ruby/hipchat/hipchat-1.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.textile" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library to interact with HipChat" +HOMEPAGE="https://github.com/hipchat/hipchat-rb" +SRC_URI="https://github.com/hipchat/hipchat-rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RUBY_S="hipchat-rb-${PV}" + +ruby_add_rdepend "dev-ruby/httparty dev-ruby/mimemagic" +ruby_add_bdepend "test? ( + dev-ruby/rr + dev-ruby/rake + dev-ruby/webmock + )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile ${PN}.gemspec || die "sed failed" + sed -i -e '/git ls-files/d' ${PN}.gemspec || die "sed failed" + + sed -i -e '/coveralls/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/hipchat/metadata.xml b/dev-ruby/hipchat/metadata.xml new file mode 100644 index 000000000000..4035265c9cd4 --- /dev/null +++ b/dev-ruby/hipchat/metadata.xml @@ -0,0 +1,12 @@ +<?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">hipchat/hipchat-rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hiredis/Manifest b/dev-ruby/hiredis/Manifest new file mode 100644 index 000000000000..fd179ef2c5bc --- /dev/null +++ b/dev-ruby/hiredis/Manifest @@ -0,0 +1 @@ +DIST hiredis-rb-0.6.3.tar.gz 19106 BLAKE2B 2892fd28bf7e7edfc3563a0c321fd781baeca9eb31a64dd559a6c828bb9c4fe37c995748782c5222db46b5b35a4d17f5b8b4d8e5306209a0e374ec7096d3cd4b SHA512 3e081d46aeb128789fa41fe9422186dd30e88c5a7a3c16dfcf1a92fe7faf99cced352ea39a885785fc12f0a974625be329d9ff2a5936a786febe8a2c81f5e139 diff --git a/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch b/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch new file mode 100644 index 000000000000..e8fb1f9ffa62 --- /dev/null +++ b/dev-ruby/hiredis/files/hiredis-0.6.1-unvendor-hiredis.patch @@ -0,0 +1,20 @@ +--- a/ext/hiredis_ext/extconf.rb 2015-12-29 15:53:00.000000000 +0100 ++++ b/ext/hiredis_ext/extconf.rb 2018-04-21 07:40:15.973747727 +0200 +@@ -27,15 +27,8 @@ + end + + if build_hiredis +- # Make sure hiredis is built... +- Dir.chdir(hiredis_dir) do +- success = system("#{make_program} static") +- raise "Building hiredis failed" if !success +- end +- +- # Statically link to hiredis (mkmf can't do this for us) +- $CFLAGS << " -I#{hiredis_dir}" +- $LDFLAGS << " #{hiredis_dir}/libhiredis.a" ++ $CFLAGS << ' ' << `pkg-config hiredis --cflags-only-I`.chomp ++ $LDFLAGS << ' -lhiredis' + + have_func("rb_thread_fd_select") + create_makefile('hiredis/ext/hiredis_ext') diff --git a/dev-ruby/hiredis/hiredis-0.6.3.ebuild b/dev-ruby/hiredis/hiredis-0.6.3.ebuild new file mode 100644 index 000000000000..79371e1ba364 --- /dev/null +++ b/dev-ruby/hiredis/hiredis-0.6.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +MY_P="hiredis-rb-${PV}" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Wrapper for hiredis (protocol serialization/deserialization and blocking I/O)" +HOMEPAGE="https://github.com/redis/hiredis-rb" +SRC_URI="https://github.com/redis/hiredis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND+=" >=dev-libs/hiredis-0.14:=" +DEPEND+=" dev-libs/hiredis test? ( dev-ruby/test-unit:2 )" + +RUBY_S="${MY_P}" + +PATCHES=( "${FILESDIR}/${PN}-0.6.1-unvendor-hiredis.patch" ) + +all_ruby_prepare() { + sed -i -e 's:/tmp/:'${T}'/:' test/connection_test.rb || die +} + +each_ruby_configure() { + CC=$(tc-getCC) ${RUBY} -Cext/hiredis_ext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/hiredis_ext + cp ext/hiredis_ext/hiredis_ext.so lib/hiredis/ext/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/hiredis/metadata.xml b/dev-ruby/hiredis/metadata.xml new file mode 100644 index 000000000000..b73844c463f1 --- /dev/null +++ b/dev-ruby/hiredis/metadata.xml @@ -0,0 +1,12 @@ +<?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">redis/hiredis-rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hitimes/Manifest b/dev-ruby/hitimes/Manifest new file mode 100644 index 000000000000..d4ad0950d447 --- /dev/null +++ b/dev-ruby/hitimes/Manifest @@ -0,0 +1,2 @@ +DIST hitimes-1.3.1.gem 32768 BLAKE2B 8eb1d45896b52e51fe01fadbc3373be8a0a6262d872ee584ec94cd240a42770381fe0e355c2898df245885b4009f3684ea152d124ebb30faf8eccb7ced1bfc8d SHA512 47a276d9ca26e6ea5612b73638f9a46965123a0040fe8d4ec5559edaccbdb72d3ec7f9e9bf6aebb3f0595107f941fa88501578fd3b8a3bd79b937538aeadd5d4 +DIST hitimes-2.0.0.gem 27136 BLAKE2B e2bab57b70d63f3b2bbe29584b7051f6c829f7957da483fd83b38ffee4d5f6a8c1af16c2ee8aa71d56ee71160e7df87a46e420d70d0430e514ead6576453fc7e SHA512 06f1c17d9914054bc17244f1a22761c98f7409cb401136e582deec18bbee07358b339ddd49ddfbc01cf9eb46bf84fbf5e2dccd6c77eb36e98c357e99687e8201 diff --git a/dev-ruby/hitimes/hitimes-1.3.1.ebuild b/dev-ruby/hitimes/hitimes-1.3.1.ebuild new file mode 100644 index 000000000000..f605ee1bea63 --- /dev/null +++ b/dev-ruby/hitimes/hitimes-1.3.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A fast, high resolution timer library" +HOMEPAGE="https://github.com/copiousfreetime/hitimes" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e "/RUBY_VERSION >= '1.9.2'/,+4d" spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/hitimes/c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/hitimes/c V=1 + cp ext/hitimes/c/hitimes$(get_modname) lib/hitimes || die +} + +each_ruby_test() { + ${RUBY} -Ilib:spec:. -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/hitimes/hitimes-2.0.0.ebuild b/dev-ruby/hitimes/hitimes-2.0.0.ebuild new file mode 100644 index 000000000000..077a13c814b0 --- /dev/null +++ b/dev-ruby/hitimes/hitimes-2.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A fast, high resolution timer library" +HOMEPAGE="https://github.com/copiousfreetime/hitimes" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e "/RUBY_VERSION >= '1.9.2'/,+4d" spec/spec_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:spec:. -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/hitimes/metadata.xml b/dev-ruby/hitimes/metadata.xml new file mode 100644 index 000000000000..b16e31386e07 --- /dev/null +++ b/dev-ruby/hitimes/metadata.xml @@ -0,0 +1,12 @@ +<?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">copiousfreetime/hitimes</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hocon/Manifest b/dev-ruby/hocon/Manifest new file mode 100644 index 000000000000..c3c04fce5278 --- /dev/null +++ b/dev-ruby/hocon/Manifest @@ -0,0 +1,4 @@ +DIST hocon-1.2.5.gem 147968 BLAKE2B 9fe004d59cc3e66d770c7c8069ff2934a17befa120ccfb2e382f36f632a186095c3a94eb25e77ba3fff422394444ae85cf3adde2ed045d50f0ac99871c6dd909 SHA512 7d2d86c28edd6ed6dd99358558093cd224b9922bcbcdd2e95e23134ef0e9a2bae6129e7273435032850b672094e77f8f5b6d8cfeec03762b39ed6b63fc5fb5dd +DIST hocon-1.2.6.tar.gz 145888 BLAKE2B 743b58d156e046e8226aec7d616bc4a8f6a044687270d50c7e618dde890927293bf750e6d4cbc0f394d1bd9b089c751f30aa08685026dab658efad1313b54d1c SHA512 dbc48fc1c895ee3278431e4dd6bb6b8a84f50bb630a768cc1fa295440d7d057c0eb72ab54d9ed35d397bbeb0febf110586a7d641d91b6898100ab7bf7b2a9001 +DIST hocon-1.3.0.tar.gz 146291 BLAKE2B c7104cd7fa2621ef5e39148de6e67c1b272153ae1b39dc5558b38202b5315f600f2933c19b6e075a5344bb215ba7ddaf95a73e0980cd3ff006dc67437b10823d SHA512 67a69b516197b4a0e64c275fe4b930a3b1128ef1949c47263ba9a20bd8397152a2a5dce0c64ce54dbcf7bd3c81d77aa2fb450e12f5aa7bacb0c85e61083904f6 +DIST hocon-1.3.1.tar.gz 146330 BLAKE2B 4eaa791f148347cf30cea04c79ed63fbc804a0ef7f4bdf1640da706f857a46a99342d338a8444b2df316ef972e11d5a3e10aae8d82f464b2964aa30c2086274c SHA512 c73cfd8d6c77751d1d2a35d85cad2f2eef700a01e8b8de9449c0c9dfefe8d4a80c4a79dd3db8ee4a6d2c3649f26d6780cbe05fe9b067de05ee3711b00faf4255 diff --git a/dev-ruby/hocon/hocon-1.2.5.ebuild b/dev-ruby/hocon/hocon-1.2.5.ebuild new file mode 100644 index 000000000000..fb65e2ad220d --- /dev/null +++ b/dev-ruby/hocon/hocon-1.2.5.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_BINWRAP="hocon" + +inherit ruby-fakegem + +DESCRIPTION="This is a port of the Typesafe Config library to Ruby." +HOMEPAGE="https://github.com/puppetlabs/ruby-hocon" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" + +RDEPEND+="" +DEPEND+="" diff --git a/dev-ruby/hocon/hocon-1.2.6.ebuild b/dev-ruby/hocon/hocon-1.2.6.ebuild new file mode 100644 index 000000000000..c9a3580f249f --- /dev/null +++ b/dev-ruby/hocon/hocon-1.2.6.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_BINWRAP="hocon" + +RUBY_FAKEGEM_GEMSPEC="hocon.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="This is a port of the Typesafe Config library to Ruby." +HOMEPAGE="https://github.com/puppetlabs/ruby-hocon" +SRC_URI="https://github.com/puppetlabs/ruby-hocon/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-hocon-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" diff --git a/dev-ruby/hocon/hocon-1.3.0.ebuild b/dev-ruby/hocon/hocon-1.3.0.ebuild new file mode 100644 index 000000000000..ce808c13ff26 --- /dev/null +++ b/dev-ruby/hocon/hocon-1.3.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_BINWRAP="hocon" + +RUBY_FAKEGEM_GEMSPEC="hocon.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="This is a port of the Typesafe Config library to Ruby." +HOMEPAGE="https://github.com/puppetlabs/ruby-hocon" +SRC_URI="https://github.com/puppetlabs/ruby-hocon/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-hocon-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" diff --git a/dev-ruby/hocon/hocon-1.3.1.ebuild b/dev-ruby/hocon/hocon-1.3.1.ebuild new file mode 100644 index 000000000000..ce808c13ff26 --- /dev/null +++ b/dev-ruby/hocon/hocon-1.3.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_BINWRAP="hocon" + +RUBY_FAKEGEM_GEMSPEC="hocon.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="This is a port of the Typesafe Config library to Ruby." +HOMEPAGE="https://github.com/puppetlabs/ruby-hocon" +SRC_URI="https://github.com/puppetlabs/ruby-hocon/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-hocon-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" diff --git a/dev-ruby/hocon/metadata.xml b/dev-ruby/hocon/metadata.xml new file mode 100644 index 000000000000..d6e0e7e3e926 --- /dev/null +++ b/dev-ruby/hocon/metadata.xml @@ -0,0 +1,16 @@ +<?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> + </maintainer> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <longdescription lang="en"> + This is a port of the Typesafe Config library to Ruby. + The library provides Ruby support for the HOCON configuration file format. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hoe-seattlerb/Manifest b/dev-ruby/hoe-seattlerb/Manifest new file mode 100644 index 000000000000..e85629b7d77f --- /dev/null +++ b/dev-ruby/hoe-seattlerb/Manifest @@ -0,0 +1 @@ +DIST hoe-seattlerb-1.3.5.gem 14336 BLAKE2B 76dd4e82e4b3ceee897d484e2bbf596414bfbe50d998f2f3833e6be63dacbec4d4d1014b14d9504cbf9615736f584ea3c083c8f5b15609f400264ce5cb31856b SHA512 a5cdb38114e22e07824749e721ad7ff85724c04d8ca1c66996ca86fc9ec150a3b0b7b3bc83511932af0c4acd7e9b581d6b1583eda60160bf7ed91021ab803d0f diff --git a/dev-ruby/hoe-seattlerb/hoe-seattlerb-1.3.5.ebuild b/dev-ruby/hoe-seattlerb/hoe-seattlerb-1.3.5.ebuild new file mode 100644 index 000000000000..07cdf2ebf308 --- /dev/null +++ b/dev-ruby/hoe-seattlerb/hoe-seattlerb-1.3.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# no tests present +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.txt History.txt" + +inherit ruby-fakegem + +DESCRIPTION="Hoe plugins providing tasks used by seattle.rb" +HOMEPAGE="https://github.com/seattlerb/hoe-seattlerb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + # Not a real fix, but otherwise USE="doc" breaks and defaulte license is MIT + sed -i -e "/license/d" Rakefile || die +} diff --git a/dev-ruby/hoe-seattlerb/metadata.xml b/dev-ruby/hoe-seattlerb/metadata.xml new file mode 100644 index 000000000000..47561d4d801f --- /dev/null +++ b/dev-ruby/hoe-seattlerb/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/hoe-seattlerb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest new file mode 100644 index 000000000000..0b6b0575bb02 --- /dev/null +++ b/dev-ruby/hoe/Manifest @@ -0,0 +1,2 @@ +DIST hoe-3.16.0.gem 188416 BLAKE2B 48383c46512a359a269ca3475ec701b1443e0ef71b31d1ca1604de391ed4df6b0ad27dd1c5f6ed04751047d211f2c6299245361cf131e2418f224324ac9934c3 SHA512 66cefb5a24906e19bbf0c82c8539d6d101b84d0dc1d3ce1910e4117357639489968271e76e86bd3c432b9ef7e3b24a78294c06210cbef280860f7dac18100606 +DIST hoe-3.21.0.gem 193024 BLAKE2B 2ff65edc6e0aebc93ebc8f3e628261ac3fabec4034b8e7b1bb3c38ab45c8b4641267a8c46c851ad69425c08782553c628574ae0a1417257cf64ba05a86de08f3 SHA512 39da93520bdb4efcbc58af58562ff8abbdecf45f92071ddb31f68ac799eb6f704431cea3d699aa039ba3a5217dc9b0f2d87f8b553d62860c34cb63803b625754 diff --git a/dev-ruby/hoe/hoe-3.16.0.ebuild b/dev-ruby/hoe/hoe-3.16.0.ebuild new file mode 100644 index 000000000000..48ff1b3da9bc --- /dev/null +++ b/dev-ruby/hoe/hoe-3.16.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="template" + +inherit ruby-fakegem + +DESCRIPTION="Hoe extends rake to provide full project automation" +HOMEPAGE="https://www.zenspider.com/projects/hoe.html" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )" + +ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-13.0" + +all_ruby_prepare() { + # Skip isolation + sed -i -e '/isolate/ s:^:#:' Rakefile || die + + # Skip test depending on specifics of gem command name + sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die + + # Gem.bin_wrapper does not work as expected on Gentoo. + sed -i -e 's/Gem.bin_wrapper//' lib/hoe/rcov.rb lib/hoe/publish.rb test/test_hoe_publish.rb || die + + # Fix broken test by including the right plugin first + sed -i -e '/test_extensions/a Hoe.plugin :clean' test/test_hoe.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die + fi +} diff --git a/dev-ruby/hoe/hoe-3.21.0.ebuild b/dev-ruby/hoe/hoe-3.21.0.ebuild new file mode 100644 index 000000000000..2c6c7b46276e --- /dev/null +++ b/dev-ruby/hoe/hoe-3.21.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="template" + +inherit ruby-fakegem + +DESCRIPTION="Hoe extends rake to provide full project automation" +HOMEPAGE="https://www.zenspider.com/projects/hoe.html" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )" + +ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-15.0" + +all_ruby_prepare() { + # Skip isolation + sed -i -e '/isolate/ s:^:#:' Rakefile || die + + # Skip test depending on specifics of gem command name + sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die + + # Avoid test with random sort order + sed -i -e '/test_possibly_better/askip "ordering issues"' test/test_hoe.rb || die + + # Avoid test that depends on specifics of merged packages + sed -i -e '/test_make_rdoc_cmd/askip "dependent on merged packages"' test/test_hoe_publish.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rdoc --title "seattlerb's hoe-${PV} Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die + rm -f doc/js/*.gz || die + fi +} diff --git a/dev-ruby/hoe/metadata.xml b/dev-ruby/hoe/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/hoe/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/hpricot/Manifest b/dev-ruby/hpricot/Manifest new file mode 100644 index 000000000000..e2a1747d7308 --- /dev/null +++ b/dev-ruby/hpricot/Manifest @@ -0,0 +1 @@ +DIST hpricot-0.8.6.gem 293888 BLAKE2B 5c054c6fcd5c3365dbf44f3c502bc4c1c3885f4aa43fd1fd15365aea19600ef0ef48157c39ef1709386bda0bc3fb6bba6d98862e8e28bdb5c173429969ef5ab9 SHA512 f0ea9168ae79d099cdb751dd5a205e0896dfb229759e499fff833e94209d1497aa97becb285176dcbcc1fee19bc11913ca3ac0d7a467067e5d837c1eb6e310ad diff --git a/dev-ruby/hpricot/files/hpricot-0.8.6-fast_xs.patch b/dev-ruby/hpricot/files/hpricot-0.8.6-fast_xs.patch new file mode 100644 index 000000000000..0b16b6c61b93 --- /dev/null +++ b/dev-ruby/hpricot/files/hpricot-0.8.6-fast_xs.patch @@ -0,0 +1,24 @@ +Index: hpricot-0.8.6/metadata +=================================================================== +--- hpricot-0.8.6.orig/metadata ++++ hpricot-0.8.6/metadata +@@ -16,7 +16,18 @@ bindir: bin + cert_chain: [] + + date: 2012-01-17 00:00:00 Z +-dependencies: [] ++dependencies: ++- !ruby/object:Gem::Dependency ++ name: fast_xs ++ prerelease: false ++ requirement: &id003 !ruby/object:Gem::Requirement ++ none: false ++ requirements: ++ - - ">=" ++ - !ruby/object:Gem::Version ++ version: 0.7.3 ++ type: :runtime ++ version_requirements: *id003 + + description: a swift, liberal HTML parser with a fantastic library + email: why@ruby-lang.org diff --git a/dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild b/dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild new file mode 100644 index 000000000000..0f57dad30721 --- /dev/null +++ b/dev-ruby/hpricot/hpricot-0.8.6-r5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="A fast and liberal HTML parser for Ruby" +HOMEPAGE="https://wiki.github.com/hpricot/hpricot" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "dev-ruby/rake + dev-ruby/rdoc + dev-ruby/rake-compiler" + +ruby_add_rdepend "dev-ruby/fast_xs" + +# Probably needs the same jdk as JRuby but I'm not sure how to express +# that just yet. +DEPEND+=" dev-util/ragel" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + + # Fix encoding assumption of environment for Ruby 1.9. + # https://github.com/hpricot/hpricot/issues/52 + # sed -i -e '1 iEncoding.default_external=Encoding::UTF_8 if RUBY_VERSION =~ /1.9/' test/load_files.rb || die + + # Avoid unneeded dependency on git. + sed -i -e '/^REV/ s/.*/REV = "6"/' Rakefile || die + + # Fix int size warning + sed -i -e 's/te - ts/(int)(te - ts)/' ext/hpricot_scan/hpricot_css.rl || die +} + +each_ruby_prepare() { + pushd .. &>/dev/null + epatch "${FILESDIR}"/${P}-fast_xs.patch + popd .. &>/dev/null +} + +each_ruby_configure() { + ${RUBY} -Cext/hpricot_scan extconf.rb || die "hpricot_scan/extconf.rb failed" +} + +each_ruby_compile() { + local modname=$(get_modname) + + ${RUBY} -S rake ragel || die + emake V=1 -Cext/hpricot_scan CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/hpricot_scan/hpricot_scan${modname} lib/ || die +} diff --git a/dev-ruby/hpricot/metadata.xml b/dev-ruby/hpricot/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/hpricot/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/html2haml/Manifest b/dev-ruby/html2haml/Manifest new file mode 100644 index 000000000000..3a29cdfdf90b --- /dev/null +++ b/dev-ruby/html2haml/Manifest @@ -0,0 +1 @@ +DIST html2haml-2.2.0.gem 21504 BLAKE2B ead2c636baacb8dbba7bd650356da5e2ebfa8ab565edb38ab03df287d8d0709b9271ef3f46fae0f2d2b86d37dbf6a0212fbf6803aaf7757a9f2653b773e46482 SHA512 b6988182073f35d4d9b9f07f2cc2ba01c66679fa646fd2d1e3c8cf0643c88b04a2b1a36d584bdcca897f804e32486a618abc8fbd8db023ff9c22ee66d93ed9f0 diff --git a/dev-ruby/html2haml/html2haml-2.2.0.ebuild b/dev-ruby/html2haml/html2haml-2.2.0.ebuild new file mode 100644 index 000000000000..3dac0ad3ef2d --- /dev/null +++ b/dev-ruby/html2haml/html2haml-2.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md Changelog.markdown" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Convert HTML and HTML+Erb to Haml" +HOMEPAGE="https://github.com/haml/html2haml" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.0 + >=dev-ruby/erubis-2.7.0 + >=dev-ruby/ruby_parser-3.5 + dev-ruby/haml:5" + +ruby_add_bdepend "test? ( dev-ruby/minitest:0 )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/html2haml_test.rb || die + ${RUBY} -Ilib:test test/erb_test.rb || die +} diff --git a/dev-ruby/html2haml/metadata.xml b/dev-ruby/html2haml/metadata.xml new file mode 100644 index 000000000000..7d4b2e6aa00f --- /dev/null +++ b/dev-ruby/html2haml/metadata.xml @@ -0,0 +1,12 @@ +<?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">haml/html2haml</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/htmlentities/Manifest b/dev-ruby/htmlentities/Manifest new file mode 100644 index 000000000000..a0ff0f79bf57 --- /dev/null +++ b/dev-ruby/htmlentities/Manifest @@ -0,0 +1 @@ +DIST htmlentities-4.3.4.gem 31744 BLAKE2B 519f84a05ab8fa5cc2e7994785606b6d66a70169af7acdd9f5e2a71d08e06a29d93587175f7e13608bf2a05a21a7597cb435653282c2485aa07d89cbfb83d9f5 SHA512 0163d6c014ffebb4ee9bdb15d32884c8d6af60681f240d3f0177811d37647776b8f8fd0aa4f1c7559403f36a5538ce8da6926bc16cc8105bd6eed5c180db700b diff --git a/dev-ruby/htmlentities/htmlentities-4.3.4.ebuild b/dev-ruby/htmlentities/htmlentities-4.3.4.ebuild new file mode 100644 index 000000000000..31ea5330efcb --- /dev/null +++ b/dev-ruby/htmlentities/htmlentities-4.3.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="History.txt" + +inherit ruby-fakegem + +DESCRIPTION="A simple library for encoding/decoding entities in (X)HTML documents" +HOMEPAGE="https://github.com/threedaymonk/htmlentities" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-macos" +IUSE="" + +each_ruby_test() { + ${RUBY} -Ilib:. -S testrb-2 test/*_test.rb || die "tests failed" +} diff --git a/dev-ruby/htmlentities/metadata.xml b/dev-ruby/htmlentities/metadata.xml new file mode 100644 index 000000000000..1b7ab2396b0b --- /dev/null +++ b/dev-ruby/htmlentities/metadata.xml @@ -0,0 +1,12 @@ +<?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">threedaymonk/htmlentities</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/http-accept/Manifest b/dev-ruby/http-accept/Manifest new file mode 100644 index 000000000000..091802c08b4e --- /dev/null +++ b/dev-ruby/http-accept/Manifest @@ -0,0 +1,3 @@ +DIST http-accept-1.7.0.tar.gz 12289 BLAKE2B 5eda9bd29e2dd2b52c8f2589adf57872a80aaf93c37d28b1668dc24fc1e2fa81d00ec12766dd558691dbf3e6560bba013f456a659ead47fffd77b1565c186a7f SHA512 3502bfbd07f6bb0164843c728cd5ef27adfd675317fd60372539180de212d02d6d446cff8eb081d1cbe5a19b30d5759a55b22bc63736cea83254595bd691522f +DIST http-accept-2.1.0.tar.gz 12473 BLAKE2B afb5513207c0491fbac6e28e14f7637de805f3da60f0f00b6efa54a21686444f3a669a0f47895f21b335031856a1bee1e60b1f11e22b8a7caac23168bc6f7892 SHA512 c8eff607b697ff1691644e4e2e0447a64f238dbbc13413afc7bc3042cbb49d2d825bc9b698845dce4be2ebb3ecd9b31f3d5910a371982e74927085c9121c4dd6 +DIST http-accept-2.1.1.tar.gz 12488 BLAKE2B b909736c0fda14b32f30c38f12f4c4c2b2bf1a36ddf753069484b6b7151d518b80a6ae8dba929e27f8f758c0c0ae0c52c24802f02b1bfd4674ca33b50d7a0de0 SHA512 e0231cae90ce9180006714485df2cf205bf1f114887dc581ea50fb558c1c7e434838d10d0c9f69c1d747249b8d0c73e628a6ea7b1ffa1ffa7059ba2447307df2 diff --git a/dev-ruby/http-accept/http-accept-1.7.0.ebuild b/dev-ruby/http-accept/http-accept-1.7.0.ebuild new file mode 100644 index 000000000000..fe574509a5c3 --- /dev/null +++ b/dev-ruby/http-accept/http-accept-1.7.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Parse Accept and Accept-Language HTTP headers" +HOMEPAGE="https://github.com/socketry/http-accept" +SRC_URI="https://github.com/socketry/http-accept/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64" +IUSE="" diff --git a/dev-ruby/http-accept/http-accept-2.1.0.ebuild b/dev-ruby/http-accept/http-accept-2.1.0.ebuild new file mode 100644 index 000000000000..96888b18982e --- /dev/null +++ b/dev-ruby/http-accept/http-accept-2.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Parse Accept and Accept-Language HTTP headers" +HOMEPAGE="https://github.com/socketry/http-accept" +SRC_URI="https://github.com/socketry/http-accept/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/http-accept/http-accept-2.1.1.ebuild b/dev-ruby/http-accept/http-accept-2.1.1.ebuild new file mode 100644 index 000000000000..905cafe31da3 --- /dev/null +++ b/dev-ruby/http-accept/http-accept-2.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Parse Accept and Accept-Language HTTP headers" +HOMEPAGE="https://github.com/socketry/http-accept" +SRC_URI="https://github.com/socketry/http-accept/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/http-accept/metadata.xml b/dev-ruby/http-accept/metadata.xml new file mode 100644 index 000000000000..e2cedc71fa0a --- /dev/null +++ b/dev-ruby/http-accept/metadata.xml @@ -0,0 +1,12 @@ +<?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">socketry/http-accept</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/http-cookie/Manifest b/dev-ruby/http-cookie/Manifest new file mode 100644 index 000000000000..c387366caeae --- /dev/null +++ b/dev-ruby/http-cookie/Manifest @@ -0,0 +1 @@ +DIST http-cookie-1.0.3.gem 38400 BLAKE2B 6b7292b2a5d7c37b6769cdd38f01d8cf78aa9557b4a204d736dffeae5d31768c57ac58f00577df78252f9a8bdb12a7faecf5e1be64c8ee29aaf67cc9307d0a35 SHA512 43ac1218e98dd47ee22e33e72e20bc5b55f65e60aadd417641f8a4221eba88995d418c7738a4c35dfba132e05c0c4b0df2b2bedd56c22e82c062d1f03de0052f diff --git a/dev-ruby/http-cookie/http-cookie-1.0.3.ebuild b/dev-ruby/http-cookie/http-cookie-1.0.3.ebuild new file mode 100644 index 000000000000..67943dd50354 --- /dev/null +++ b/dev-ruby/http-cookie/http-cookie-1.0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library to handle HTTP cookies" +HOMEPAGE="https://github.com/sparklemotion/http-cookie" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/domain_name-0.5:0" + +all_ruby_prepare() { + sed -i -e "/simplecov/d" -e "/bundler/d" Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_http_cookie.rb || die + ${RUBY} -Ilib test/test_http_cookie_jar.rb || die +} diff --git a/dev-ruby/http-cookie/metadata.xml b/dev-ruby/http-cookie/metadata.xml new file mode 100644 index 000000000000..64f3026c0f29 --- /dev/null +++ b/dev-ruby/http-cookie/metadata.xml @@ -0,0 +1,12 @@ +<?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/http-cookie</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/http-form_data/Manifest b/dev-ruby/http-form_data/Manifest new file mode 100644 index 000000000000..2114221018ea --- /dev/null +++ b/dev-ruby/http-form_data/Manifest @@ -0,0 +1,4 @@ +DIST http-form_data-1.0.3.gem 14336 BLAKE2B f58410dfa309fbec55e97f5bd10e56a7be0d915a0e87d4873c66a2d0f112552450424fe3a54529bc77e8bfbd5ac019f9ec231881d48942eaf55725d618203d56 SHA512 6e438a1c0c56116555737785d9b0b624f2cbee010146d0683c94e72473ed6f8a872c2ecbd878bc71f4aa378ebcd820d2743e0f6236778b65aad99c14e9c79fdf +DIST http-form_data-2.1.1.gem 16896 BLAKE2B b19507dddf5c072b5a190bff98c61b94209652445ba995c3834bdf47faa515cc3877afcb46ef4946b4b6ad265d917cfc0fcdba2ee98c440c134343883740917e SHA512 43e1d9a522a748ab5d1633392225d87b5b178f6ae46a9bc4296b2a71b95b54d0a0c5fa1c3d8a8f48134df7c8c5893bfd7a5db060da275f49a147385cb4d04627 +DIST http-form_data-2.2.0.gem 17408 BLAKE2B 35669a42e366297eb54cb3b291b0cedcd70387f3e903056ff3dbbab52a6efaa9d536111f00dd9cd360268e75dffcd8cc91ad0ed898236f0e7af89f14979d3240 SHA512 dbcc2453388ba586556b86d4cff9cf12fcde4ee5f5a913e8c5f24857b10010e920fba447c1d34bed78a1e636c2ef2649ea4dd1b428c29842b3c45eeaa1281e74 +DIST http-form_data-2.3.0.gem 17408 BLAKE2B faa29c86d57fac1554680bb10e1a71e591ec873a04c63c0d0fa2c993c03df03dd35f3b762a290d188285efc0cf63d5040b262d386cdf7a4abc4b7477a6a1e00f SHA512 c070126d18a66bd505005d7dae4ece6c751e52593806daf618bbb437b7f9296a5f18aac2e317b3526c9b34adc2f4d9fc7b7bab8cf2a8c8ca67fdc5940969ff21 diff --git a/dev-ruby/http-form_data/http-form_data-1.0.3.ebuild b/dev-ruby/http-form_data/http-form_data-1.0.3.ebuild new file mode 100644 index 000000000000..5e6c7f35800c --- /dev/null +++ b/dev-ruby/http-form_data/http-form_data-1.0.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Utility-belt to build form data request bodies" +HOMEPAGE="https://github.com/httprb/form_data.rb" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.start/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/http-form_data/http-form_data-2.1.1.ebuild b/dev-ruby/http-form_data/http-form_data-2.1.1.ebuild new file mode 100644 index 000000000000..f257fbc89f00 --- /dev/null +++ b/dev-ruby/http-form_data/http-form_data-2.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Utility-belt to build form data request bodies" +HOMEPAGE="https://github.com/httprb/form_data.rb" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.start/ s:^:#: ; 1irequire "json"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/http-form_data/http-form_data-2.2.0.ebuild b/dev-ruby/http-form_data/http-form_data-2.2.0.ebuild new file mode 100644 index 000000000000..2d3968c6b5b3 --- /dev/null +++ b/dev-ruby/http-form_data/http-form_data-2.2.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Utility-belt to build form data request bodies" +HOMEPAGE="https://github.com/httprb/form_data.rb" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.start/ s:^:#: ; 1irequire "json"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/http-form_data/http-form_data-2.3.0.ebuild b/dev-ruby/http-form_data/http-form_data-2.3.0.ebuild new file mode 100644 index 000000000000..19cc657ae534 --- /dev/null +++ b/dev-ruby/http-form_data/http-form_data-2.3.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Utility-belt to build form data request bodies" +HOMEPAGE="https://github.com/httprb/form_data.rb" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.start/ s:^:#: ; 1irequire "json"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/http-form_data/metadata.xml b/dev-ruby/http-form_data/metadata.xml new file mode 100644 index 000000000000..ddf3a33d79f7 --- /dev/null +++ b/dev-ruby/http-form_data/metadata.xml @@ -0,0 +1,12 @@ +<?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">httprb/form_data.rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/http/Manifest b/dev-ruby/http/Manifest new file mode 100644 index 000000000000..05168d07615d --- /dev/null +++ b/dev-ruby/http/Manifest @@ -0,0 +1,2 @@ +DIST http-3.3.0.gem 70656 BLAKE2B 5c52864168663640389a0f107e1bf8a202654a8b479c92bf5126354d360adcae45a9b4596da7cff2e412fee88ed3622870c4e2bb18eca97466b4ede28baa2a08 SHA512 fcb2549c22974712e129306b472c1a32466c50add85eee9a558582697c7ece26cb7a1db6da6aaceedb8bfd134d1213090c158db510fe53ddbe201bba6bd22c68 +DIST http-4.1.1.gem 74240 BLAKE2B 350d4a2eb966f8dae05a206e20a92d8ce0601df36673cae8c969b8849d6715c5d0ab0e24c4b6cc4f117e4788e535296f86d5193198df4a8229572817c9cd3f75 SHA512 89e088521212293db692b66a7058327c215bba119b3f01d4120fd32f0754294d4cbada88ed9cffb6f182f6d712a0923dadfc645c1618e25a802fcc3d467356de diff --git a/dev-ruby/http/http-3.3.0.ebuild b/dev-ruby/http/http-3.3.0.ebuild new file mode 100644 index 000000000000..42ad9f2a5123 --- /dev/null +++ b/dev-ruby/http/http-3.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="An easy-to-use client library for making requests from Ruby" +HOMEPAGE="https://github.com/tarcieri/http" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.3:0 + >=dev-ruby/http-cookie-1.0:0 + dev-ruby/http-form_data:2 + >=dev-ruby/http_parser_rb-0.6.0 =dev-ruby/http_parser_rb-0.6*" + +ruby_add_bdepend " + test? ( dev-ruby/certificate_authority dev-ruby/rspec-its )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/end/ s:^:#:' \ + -e '1irequire "cgi"' spec/spec_helper.rb || die + + # Avoid specs that require network access + sed -i -e '/.persistent/,/^ end/ s:^:#:' \ + spec/lib/http_spec.rb || die + sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \ + spec/lib/http/client_spec.rb || die + + # Avoid spec that may fail with a running web server + sed -i -e '/unifies socket errors into HTTP::ConnectionError/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die +} diff --git a/dev-ruby/http/http-4.1.1.ebuild b/dev-ruby/http/http-4.1.1.ebuild new file mode 100644 index 000000000000..8bb8d0f06924 --- /dev/null +++ b/dev-ruby/http/http-4.1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="An easy-to-use client library for making requests from Ruby" +HOMEPAGE="https://github.com/tarcieri/http" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.3:0 + >=dev-ruby/http-cookie-1.0:0 + dev-ruby/http-form_data:2 + >=dev-ruby/http_parser_rb-0.6.0 =dev-ruby/http_parser_rb-0.6*" + +ruby_add_bdepend " + test? ( dev-ruby/certificate_authority dev-ruby/rspec-its )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/end/ s:^:#:' \ + -e '1irequire "cgi"' spec/spec_helper.rb || die + + # Avoid specs that require network access + sed -i -e '/.persistent/,/^ end/ s:^:#:' \ + spec/lib/http_spec.rb || die + sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \ + spec/lib/http/client_spec.rb || die + + # Avoid spec that may fail with a running web server + sed -i -e '/unifies socket errors into HTTP::ConnectionError/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die + + # Fix spec for production release + sed -i -e '/User-Agent:/ s/.dev//' spec/lib/http/features/logging_spec.rb || die +} diff --git a/dev-ruby/http/metadata.xml b/dev-ruby/http/metadata.xml new file mode 100644 index 000000000000..8421bdb5f8b6 --- /dev/null +++ b/dev-ruby/http/metadata.xml @@ -0,0 +1,12 @@ +<?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">tarcieri/http</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/http_parser_rb/Manifest b/dev-ruby/http_parser_rb/Manifest new file mode 100644 index 000000000000..255fe0ce8758 --- /dev/null +++ b/dev-ruby/http_parser_rb/Manifest @@ -0,0 +1 @@ +DIST http_parser.rb-0.6.0.gem 177664 BLAKE2B ecae9e862454584759cbb3158eb16dd6de09fe95c6b38099f1c6d4be2376ca1d3eb8a6713994da600c9c567193466da30f4784652e19ad796891a53d67578fff SHA512 51c29bfc85de8cedb4e98fec84c955252556abaa4d0848fbc38b232879ffc946c72acf38440e8e9f1e31a8b734a68d43a96924af5f48ac4f1a054153ec913a08 diff --git a/dev-ruby/http_parser_rb/http_parser_rb-0.6.0-r1.ebuild b/dev-ruby/http_parser_rb/http_parser_rb-0.6.0-r1.ebuild new file mode 100644 index 000000000000..4621701a57f9 --- /dev/null +++ b/dev-ruby/http_parser_rb/http_parser_rb-0.6.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_NAME="http_parser.rb" + +inherit ruby-fakegem + +DESCRIPTION="Simple callback-based HTTP request/response parser" +HOMEPAGE="https://github.com/tmm1/http_parser.rb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ruby_http_parser extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ruby_http_parser V=1 + cp ext/ruby_http_parser/ruby_http_parser.so lib/ || die +} diff --git a/dev-ruby/http_parser_rb/metadata.xml b/dev-ruby/http_parser_rb/metadata.xml new file mode 100644 index 000000000000..4c71f99fe499 --- /dev/null +++ b/dev-ruby/http_parser_rb/metadata.xml @@ -0,0 +1,12 @@ +<?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">tmm1/http_parser.rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest new file mode 100644 index 000000000000..bc1e27454114 --- /dev/null +++ b/dev-ruby/httparty/Manifest @@ -0,0 +1,4 @@ +DIST httparty-0.17.1.tar.gz 97249 BLAKE2B 044a074c0a11c02d5fd929585b1dd6853871bdbfcf9be0f16b92999ac5e9ad7b0fb60a403a24d4e3ae3901f8fdb119f51e3decfc61e9ddf61419fa50581c1970 SHA512 2e92573e164575c462afceec26234731e8eb4472f127374503ee1361d8399116c78f900f88485629ca7ddb51a6383c963a5b1e21d9d5b0acbcc8544ce3f37465 +DIST httparty-0.17.3.tar.gz 97444 BLAKE2B 773e40fc35ca44cd3b14a30e7a7ea5783c0c158cdb8488b34ffa36af5a572d5f6eef697cab147c5be1448906c35071284947ba598409be35af54a20846f4d98c SHA512 c06aa4456c692e2a32f8e44b2316d46f664c4e2c8efb370607796f6801d96e989a54e61bdf125cff679b8c5f5abb1557b87aef48d8f3a392c1942ac4821db84d +DIST httparty-0.18.0.tar.gz 97667 BLAKE2B 8c4086c3186152944a7ae9a57b679bba6ed803067ec849d9fac8323cdef41a45a44f2454ca83a6aecff7fc1e9795793a2fb035f1bf46c5c998703fc5d7425a44 SHA512 a208bfd411de6fc080221410d5730f37db074fca25ff0f71b796e4a73ac3a595ca57dde1f415327f710ed23ebed6bbf0f671d0e5940ce60073e6727ac8963580 +DIST httparty-0.18.1.tar.gz 97813 BLAKE2B 3192ad5f1e8c292456710529f4e1595ea5b70ae4ad61695d6d0b036872d40b2afbc0c958ffb25b0c1222ba8004593d20c4d3954c530d6c836e915b87150d954a SHA512 fca9de534199fbf6a058c39c3ebe28587c34df2bffee313a0e05204258fb6b6b6643bd0a28deca9d0b42de21c90c54dab058124349e4774489578fb23e8bacf5 diff --git a/dev-ruby/httparty/httparty-0.17.1.ebuild b/dev-ruby/httparty/httparty-0.17.1.ebuild new file mode 100644 index 000000000000..f63c28612675 --- /dev/null +++ b/dev-ruby/httparty/httparty-0.17.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="httparty.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy" +HOMEPAGE="https://jnunemaker.github.com/httparty" +SRC_URI="https://github.com/jnunemaker/httparty/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="" + +ruby_add_rdepend 'dev-ruby/mime-types:3 >=dev-ruby/multi_xml-0.5.2' + +ruby_add_bdepend 'test? ( dev-ruby/webmock )' + +all_ruby_prepare() { + sed -i -e 's/git ls-files \?-\?-\?/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove bundler + rm Gemfile || die + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + + # Avoid test dependency on cucumber. We can't run the features since + # they depend on mongrel which is no longer packaged. + sed -i -e '/cucumber/I s:^:#:' Rakefile || die + + # Avoid test dependency on simplecov + sed -i -e '/simplecov/I s:^:#:' \ + -e '1i require "cgi"; require "delegate"' spec/spec_helper.rb || die + + # Avoid test that works standalone but fails in the suite + sed -i -e '/calls block given to perform with each redirect/,/^ end/ s:^:#:' spec/httparty/request_spec.rb + + # Avoid test that is not fully compatible with newer multi_xml + sed -i -e '/should be able parse response type xml automatically/askip "multi_xml"' spec/httparty_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/httparty/httparty-0.17.3.ebuild b/dev-ruby/httparty/httparty-0.17.3.ebuild new file mode 100644 index 000000000000..568d1d507061 --- /dev/null +++ b/dev-ruby/httparty/httparty-0.17.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="httparty.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy" +HOMEPAGE="https://jnunemaker.github.com/httparty" +SRC_URI="https://github.com/jnunemaker/httparty/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="" + +ruby_add_rdepend 'dev-ruby/mime-types:3 >=dev-ruby/multi_xml-0.5.2' + +ruby_add_bdepend 'test? ( dev-ruby/webmock )' + +all_ruby_prepare() { + sed -i -e 's/git ls-files \?-\?-\?/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove bundler + rm Gemfile || die + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + + # Avoid test dependency on cucumber. We can't run the features since + # they depend on mongrel which is no longer packaged. + sed -i -e '/cucumber/I s:^:#:' Rakefile || die + + # Avoid test dependency on simplecov + sed -i -e '/simplecov/I s:^:#:' \ + -e '1i require "cgi"; require "delegate"' spec/spec_helper.rb || die + + # Avoid test that works standalone but fails in the suite + sed -i -e '/calls block given to perform with each redirect/,/^ end/ s:^:#:' spec/httparty/request_spec.rb + + # Avoid test that is not fully compatible with newer multi_xml + sed -i -e '/should be able parse response type xml automatically/askip "multi_xml"' spec/httparty_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/httparty/httparty-0.18.0.ebuild b/dev-ruby/httparty/httparty-0.18.0.ebuild new file mode 100644 index 000000000000..54637324e245 --- /dev/null +++ b/dev-ruby/httparty/httparty-0.18.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="httparty.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy" +HOMEPAGE="https://jnunemaker.github.com/httparty" +SRC_URI="https://github.com/jnunemaker/httparty/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend 'dev-ruby/mime-types:3 >=dev-ruby/multi_xml-0.5.2' + +ruby_add_bdepend 'test? ( dev-ruby/webmock )' + +all_ruby_prepare() { + sed -i -e 's/git ls-files \?-\?-\?/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove bundler + rm Gemfile || die + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + + # Avoid test dependency on cucumber. We can't run the features since + # they depend on mongrel which is no longer packaged. + sed -i -e '/cucumber/I s:^:#:' Rakefile || die + + # Avoid test dependency on simplecov + sed -i -e '/simplecov/I s:^:#:' \ + -e '/pry/ s:^:#:' \ + -e '1i require "cgi"; require "delegate"' spec/spec_helper.rb || die + + # Avoid test that works standalone but fails in the suite + sed -i -e '/calls block given to perform with each redirect/,/^ end/ s:^:#:' spec/httparty/request_spec.rb + + # Avoid test that is not fully compatible with newer multi_xml + sed -i -e '/should be able parse response type xml automatically/askip "multi_xml"' spec/httparty_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/httparty/httparty-0.18.1.ebuild b/dev-ruby/httparty/httparty-0.18.1.ebuild new file mode 100644 index 000000000000..c7782d5184c8 --- /dev/null +++ b/dev-ruby/httparty/httparty-0.18.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="httparty.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy" +HOMEPAGE="https://jnunemaker.github.com/httparty" +SRC_URI="https://github.com/jnunemaker/httparty/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend 'dev-ruby/mime-types:3 >=dev-ruby/multi_xml-0.5.2' + +ruby_add_bdepend 'test? ( dev-ruby/webmock )' + +all_ruby_prepare() { + sed -i -e 's/git ls-files \?-\?-\?/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove bundler + rm Gemfile || die + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + + # Avoid test dependency on cucumber. We can't run the features since + # they depend on mongrel which is no longer packaged. + sed -i -e '/cucumber/I s:^:#:' Rakefile || die + + # Avoid test dependency on simplecov + sed -i -e '/simplecov/I s:^:#:' \ + -e '/pry/ s:^:#:' \ + -e '1i require "cgi"; require "delegate"' spec/spec_helper.rb || die + + # Avoid test that works standalone but fails in the suite + #sed -i -e '/calls block given to perform with each redirect/,/^ end/ s:^:#:' spec/httparty/request_spec.rb + + # Avoid test that is not fully compatible with newer multi_xml + sed -i -e '/should be able parse response type xml automatically/askip "multi_xml"' spec/httparty_spec.rb || die + + # Avoid test that fails due to unicode normalization differences + sed -i -e '/handles international domains/askip "unicode differences"' spec/httparty_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/httparty/metadata.xml b/dev-ruby/httparty/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/httparty/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/httpauth/Manifest b/dev-ruby/httpauth/Manifest new file mode 100644 index 000000000000..da43b583e31d --- /dev/null +++ b/dev-ruby/httpauth/Manifest @@ -0,0 +1 @@ +DIST httpauth-0.2.1.tar.gz 17300 BLAKE2B 4609f35fd26b1eb8e3d17586553f5dd5555d3c676f2189f7da5ff23057438c91919cb0838fdf219f0b26682b2a08d903c7906edc9fbfa58ce9afae9e0f58a6a8 SHA512 c861089c2dc5242b86867e0a6561672361ba53ccaaf8a931c996502fc12bbce769abf3ebd7fce826cbcfbc943fc901ba1c96e8ce014333582c5d2fa2c3e56a60 diff --git a/dev-ruby/httpauth/httpauth-0.2.1.ebuild b/dev-ruby/httpauth/httpauth-0.2.1.ebuild new file mode 100644 index 000000000000..29b67c9b9e8c --- /dev/null +++ b/dev-ruby/httpauth/httpauth-0.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md TODO" + +inherit ruby-fakegem + +DESCRIPTION="Library implementing the full HTTP Authentication protocol (RFC 2617)" +HOMEPAGE="https://github.com/Manfred/HTTPauth" +SRC_URI="https://github.com/Manfred/HTTPauth/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +RUBY_S=HTTPauth-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die +} diff --git a/dev-ruby/httpauth/metadata.xml b/dev-ruby/httpauth/metadata.xml new file mode 100644 index 000000000000..8b44a340ea94 --- /dev/null +++ b/dev-ruby/httpauth/metadata.xml @@ -0,0 +1,12 @@ +<?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">Manfred/HTTPauth</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/httpclient/Manifest b/dev-ruby/httpclient/Manifest new file mode 100644 index 000000000000..80f53172771c --- /dev/null +++ b/dev-ruby/httpclient/Manifest @@ -0,0 +1 @@ +DIST httpclient-2.8.3.tgz 464624 BLAKE2B ce8ed523a24acce219027a4f1985caf2b4dae29bdba038ca2397e5f4d4b36c90b35cedfb62faa7faf426c3ce8589906df7832968c81b64bc9100eff6f4fe9745 SHA512 b65b5adb97af069d7ff6b6f4cccd6a42c6d9c88b797e9495768fe1f36a6bd93defe50190edc201de5e39c4e306ba0bd17a8ff2f8eba4d636dacafa06c172967d diff --git a/dev-ruby/httpclient/httpclient-2.8.3.ebuild b/dev-ruby/httpclient/httpclient-2.8.3.ebuild new file mode 100644 index 000000000000..4bd83dac17d9 --- /dev/null +++ b/dev-ruby/httpclient/httpclient-2.8.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="-Ilib test" +RUBY_FAKEGEM_TASK_DOC="doc" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="httpclient.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby" +HOMEPAGE="https://github.com/nahi/httpclient" +SRC_URI="https://github.com/nahi/httpclient/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="Ruby" +SLOT="0" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc )" +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/http-cookie )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[bB]undler/s:^:#:' Rakefile || die + + # Fix documentation task + sed -i -e 's/README.txt/README.md/' Rakefile || die + + # Remove mandatory CI reports since we don't need this for testing. + sed -i -e '/reporter/s:^:#:' Rakefile || die + + # Remove mandatory simplecov dependency + sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' test/helper.rb || die + + # Comment out test requiring network access that makes assumptions + # about the environment, bug 395155 + sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die + + # Skip tests using rack-ntlm which is not packaged. Weirdly these + # only fail on jruby. + rm test/test_auth.rb || die + + # Skip test failing due to hard-coded expired certificate + sed -i -e '/test_verification_without_httpclient/,/^ end/ s:^:#:' test/test_ssl.rb || die + + # Skip test depending on obsolete and vulnerable SSLv3 + sed -i -e '/test_no_sslv3/,/^ end/ s:^:#:' test/test_ssl.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'gem "test-unit"; Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/httpclient/metadata.xml b/dev-ruby/httpclient/metadata.xml new file mode 100644 index 000000000000..70cff9b4474d --- /dev/null +++ b/dev-ruby/httpclient/metadata.xml @@ -0,0 +1,12 @@ +<?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">nahi/httpclient</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest new file mode 100644 index 000000000000..86777ad95df3 --- /dev/null +++ b/dev-ruby/i18n/Manifest @@ -0,0 +1,9 @@ +DIST i18n-0.7.0.tar.gz 57647 BLAKE2B 50ea36ec616b90a261151cce47c98250e85b25ae75f90eb52ea01e8bb7e0c6288abb9055a4f80a199deb93c9ca66efd1ad568950d3f505206e0ba9ee9cdb8bc6 SHA512 8824feb3fb99bba759963d2ae34555f27b85dbac3d3001168471a27e47fc805e5ffe5c3b4e10d6ca4b2e2524ec16c98260b981ef504f274aab93f912a57d2e14 +DIST i18n-0.9.5.tar.gz 61494 BLAKE2B 2a7bb401d5e75022ba6c40c6ee08809bc8728fe9aa22f308c4d532e6c042df57970b7fbfa574494072d8e5d0e125a01498c1964780d2ad9588b0a57da299a520 SHA512 356ce1290b207ce1b3dbed4d0ae542d027e74c43f453359ebf401755a5a55fd1fd815a2f046a634246e41f54c5360174dac1076be9cb7bf82f893f0dafdbd4bb +DIST i18n-1.6.0.tar.gz 64957 BLAKE2B c74bc8f712939ecf4a8850b047180dd6390494da778567de73a225c40a28dce7a12e63041ca90b3ac0ade9bb88be36e26a00404afe74abb8e0ca686084ac4952 SHA512 653a5368618fb938f5663edb79178ddff24fce1549d5085d5302a40ff82124ce64ffdef6c5626f07731c7cd617665906a741e2581d79c5cc161301b69cf66b0e +DIST i18n-1.7.0.tar.gz 65125 BLAKE2B 0ead0a8208f89b778d5273e231b79e024417f211531ed25367086dd74483667a7b229ed4e023fe5cd09371977d42f5fe5e3af88c636283e373ad5ddf7cefa3b8 SHA512 f25eb48904a7c51d6e81b1959176a06397354fadd84e8da9a1704165d96b7b3eba16823186deb29eb1254332fa88f0c44529e389d7085fdc5e3adf96562db4ee +DIST i18n-1.7.1.tar.gz 66346 BLAKE2B 4fc0ba1130e2a1c5c9c603ff06ab076ef2d9ee57e968bce8dca4f2c5ee70079af5e38e69700f4df65101c141ef3b38e2cabd478dbeb274b17504f4f818fae161 SHA512 bc6c3587f084bb582a22647eb27ac53ccfbedbf8fe16f2a5605221f8033cbb920a557b5c7fe8247d407630ae5d245db55484a4da9396f519b705878371672e99 +DIST i18n-1.8.0.tar.gz 66404 BLAKE2B 2712ccb3d08edd9058b12bbb1e7ae665f752e76a89a65a2ca67f02ae7af0ce16203941722247c9df6ae078749132f46cd52eadc686d5237534ffb67ad99f74d8 SHA512 a83f19d66532772bdbebcfdfbfa43d13cf333c1f26eb347c14dabc6325765d20222a989f32cdc3063ff138c68c7b19727c7ebb0684f120f7e5ce53c14b21316c +DIST i18n-1.8.1.tar.gz 66350 BLAKE2B f5e44810f31b00c0b6dfdd8c56d76011eaaafc8504ba252250eb45aa3e25c181333af12c13c401ea531dfbf72174bd8e3fa98f9e2575a87be6b2b243e014dc58 SHA512 8bdf4864f649b33d6f71a4bfeeabcaaa4f7baaea7765831c72c1d5c3a139af5be478786997e7829e4dce09152ca885a01ac78938dc8da93f2fac86f0635ca3f4 +DIST i18n-1.8.2.tar.gz 66623 BLAKE2B 2bc2a6174ae9b6a3342d925d29501e9cf959bf78f683a446330ab40064f39bbba5a715acf6b3baa2a1250308823880f9f91ec09aed03686f3d5bcbc314ef5807 SHA512 20cc06ab63c1e4343a49e2d979399dd599dc14e9a0faed260874d2c44419ca9b7262eb95b9949ed5cf0439b79854f5d810fe1731823b625449065666102340d3 +DIST i18n-1.8.3.tar.gz 67360 BLAKE2B 8122904d2d4167c4502ce01c4d7c72949a5f7af0f0efb73bd98341cd8ebe35649acdda53e04f376fbc4efaecbe1a984a7efd13e2dce5953aacc1d66a84b8f2e9 SHA512 d122eba8af72b7b6fc737775a188862c7dcea280e783323a6cc624dbfb87618db45b01a93fcb8cdf08973e012d0e2089f5debec68be75c64deee0136436cf0ec diff --git a/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch b/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch new file mode 100644 index 000000000000..ff6019498fc5 --- /dev/null +++ b/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch @@ -0,0 +1,31 @@ +From bbbdedc0c78ec941a84d161d5c610a358310cf99 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> +Date: Tue, 20 Jan 2015 14:34:44 +0100 +Subject: [PATCH] Ignore metadata for frozen classes. + +--- + lib/i18n/backend/metadata.rb | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/lib/i18n/backend/metadata.rb b/lib/i18n/backend/metadata.rb +index 52c0a29..a8d922a 100644 +--- a/lib/i18n/backend/metadata.rb ++++ b/lib/i18n/backend/metadata.rb +@@ -21,11 +21,15 @@ class << self + def included(base) + Object.class_eval do + def translation_metadata +- @translation_metadata ||= {} ++ unless self.frozen? ++ @translation_metadata ||= {} ++ else ++ {} ++ end + end + + def translation_metadata=(translation_metadata) +- @translation_metadata = translation_metadata ++ @translation_metadata = translation_metadata unless self.frozen? + end + end unless Object.method_defined?(:translation_metadata) + end diff --git a/dev-ruby/i18n/i18n-0.7.0-r3.ebuild b/dev-ruby/i18n/i18n-0.7.0-r3.ebuild new file mode 100644 index 000000000000..20e503e260bf --- /dev/null +++ b/dev-ruby/i18n/i18n-0.7.0-r3.ebuild @@ -0,0 +1,61 @@ +# 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_RECIPE_TEST="test" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_PATCHES=( ${P}-frozen-classes.patch ) + +ruby_add_bdepend "test? ( + dev-ruby/activesupport + dev-ruby/bundler + >=dev-ruby/mocha-0.13 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + # Remove bundler lock files since we cannot depend on specific + # versions in Gentoo. + rm gemfiles/*.lock || die + + # Also test activesupport 5.2. + sed -e 's/4.2.0/5.2.0/' < gemfiles/Gemfile.rails-4.2.x > gemfiles/Gemfile.rails-5.2.x || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby25) + versions="5.2" + ;; + *ruby23|*ruby24) + versions="4.2 5.2" + ;; + *) + die "Unexpected ruby target" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-0.9.5-r1.ebuild b/dev-ruby/i18n/i18n-0.9.5-r1.ebuild new file mode 100644 index 000000000000..92ea56215747 --- /dev/null +++ b/dev-ruby/i18n/i18n-0.9.5-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-4.2 + dev-ruby/bundler + >=dev-ruby/mocha-0.13 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby25) + versions="5.1" + ;; + *ruby23|*ruby24) + versions="4.2 5.0 5.1" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.6.0.ebuild b/dev-ruby/i18n/i18n-1.6.0.ebuild new file mode 100644 index 000000000000..865fb025f66c --- /dev/null +++ b/dev-ruby/i18n/i18n-1.6.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e 's/12.2.1/12/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby26) + versions="5.2" + ;; + *ruby23|*ruby24|*ruby25) + versions="5.1 5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.7.0.ebuild b/dev-ruby/i18n/i18n-1.7.0.ebuild new file mode 100644 index 000000000000..a6ca426bc748 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.7.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e 's/12.2.1/12/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby26) + versions="5.2" + ;; + *ruby24|*ruby25) + versions="5.1 5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.7.1.ebuild b/dev-ruby/i18n/i18n-1.7.1.ebuild new file mode 100644 index 000000000000..66c5c406233c --- /dev/null +++ b/dev-ruby/i18n/i18n-1.7.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby26) + versions="5.2 6.0" + ;; + *ruby25) + versions="5.2 6.0" + ;; + *ruby24) + versions="5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.8.0.ebuild b/dev-ruby/i18n/i18n-1.8.0.ebuild new file mode 100644 index 000000000000..2b0bdc5573d6 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.8.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby26) + versions="5.2 6.0" + ;; + *ruby25) + versions="5.2 6.0" + ;; + *ruby24) + versions="5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.8.1.ebuild b/dev-ruby/i18n/i18n-1.8.1.ebuild new file mode 100644 index 000000000000..2b0bdc5573d6 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.8.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby26) + versions="5.2 6.0" + ;; + *ruby25) + versions="5.2 6.0" + ;; + *ruby24) + versions="5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.8.2-r1.ebuild b/dev-ruby/i18n/i18n-1.8.2-r1.ebuild new file mode 100644 index 000000000000..f1485553a937 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.8.2-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby27) + versions="6.0" + ;; + *ruby26) + versions="5.2 6.0" + ;; + *ruby25) + versions="5.2 6.0" + ;; + *ruby24) + versions="5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.8.2.ebuild b/dev-ruby/i18n/i18n-1.8.2.ebuild new file mode 100644 index 000000000000..2b0bdc5573d6 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.8.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby26) + versions="5.2 6.0" + ;; + *ruby25) + versions="5.2 6.0" + ;; + *ruby24) + versions="5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/i18n-1.8.3.ebuild b/dev-ruby/i18n/i18n-1.8.3.ebuild new file mode 100644 index 000000000000..f1485553a937 --- /dev/null +++ b/dev-ruby/i18n/i18n-1.8.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-5.1 + dev-ruby/bundler + >=dev-ruby/mocha-1.7.0 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + rm -f gemfiles/*.lock || die + + # Remove optional unpackaged oj gem + sed -i -e '/oj/ s:^:#:' gemfiles/* || die + + # Update old test dependencies + sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' gemfiles/* || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby27) + versions="6.0" + ;; + *ruby26) + versions="5.2 6.0" + ;; + *ruby25) + versions="5.2 6.0" + ;; + *ruby24) + versions="5.2" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/metadata.xml b/dev-ruby/i18n/metadata.xml new file mode 100644 index 000000000000..0a0bab9335b6 --- /dev/null +++ b/dev-ruby/i18n/metadata.xml @@ -0,0 +1,12 @@ +<?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">svenfuchs/i18n</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ice_nine/Manifest b/dev-ruby/ice_nine/Manifest new file mode 100644 index 000000000000..61fe66d5b588 --- /dev/null +++ b/dev-ruby/ice_nine/Manifest @@ -0,0 +1 @@ +DIST ice_nine-0.11.2.gem 17920 BLAKE2B d70aee3ba5d82719936e355bacd0c157fae262abb494c8d584e8530928218fb3c8a736e15903cdef2acd421fa5d08eafda11a0544651389e8b4b791299f1afca SHA512 e75237d901235dadeea159279b324982c6288d7c200ef3363eaa09340a480d5d94b8977915341218e6e2e6e439d40364f8569d757cdf47175bdc69ddb8d959ac diff --git a/dev-ruby/ice_nine/ice_nine-0.11.2.ebuild b/dev-ruby/ice_nine/ice_nine-0.11.2.ebuild new file mode 100644 index 000000000000..6af4b448fc8a --- /dev/null +++ b/dev-ruby/ice_nine/ice_nine-0.11.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md TODO CONTRIBUTING.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Deep Freeze Ruby Objects" +HOMEPAGE="https://rubygems.org/gems/ice_nine https://github.com/dkubb/ice_nine" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="test" diff --git a/dev-ruby/ice_nine/metadata.xml b/dev-ruby/ice_nine/metadata.xml new file mode 100644 index 000000000000..4a4d4a1d4d71 --- /dev/null +++ b/dev-ruby/ice_nine/metadata.xml @@ -0,0 +1,13 @@ +<?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">dkubb/ice_nine</remote-id> + <remote-id type="rubygems">ice_nine</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/idn-ruby/Manifest b/dev-ruby/idn-ruby/Manifest new file mode 100644 index 000000000000..11d0b8db0a7a --- /dev/null +++ b/dev-ruby/idn-ruby/Manifest @@ -0,0 +1 @@ +DIST idn-ruby-0.1.0.gem 17408 BLAKE2B 42bc51f28dbe02c1dcf111de00a52352adcb173be3634a20503708e38c48cb0290cd9861f7ffe7dd0442afd8874b5db4249c1b5956b0acb368fbfc30e6fc0029 SHA512 5356266daefabfc5213f91c419ee1beb91972510bb016e7beac9719c501c643f9c35335ea8a46da1c1905a30d02d4b1cbec0f0ebb080ce2683faf8f29422295c diff --git a/dev-ruby/idn-ruby/idn-ruby-0.1.0.ebuild b/dev-ruby/idn-ruby/idn-ruby-0.1.0.ebuild new file mode 100644 index 000000000000..748cd174463f --- /dev/null +++ b/dev-ruby/idn-ruby/idn-ruby-0.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES README" + +inherit ruby-fakegem + +DESCRIPTION="LibIDN Ruby Bindings" +HOMEPAGE="https://github.com/deepfryed/idn-ruby" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND+=" net-dns/libidn:0" +DEPEND+=" net-dns/libidn:0" + +all_ruby_prepare() { + # Avoid UTF-8 tests since we cannot guarantee a UTF-8 environment + rm -f test/tc_Stringprep.rb || die +} + +each_ruby_prepare() { + mkdir lib || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/idn.so lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/idn-ruby/metadata.xml b/dev-ruby/idn-ruby/metadata.xml new file mode 100644 index 000000000000..cb9cfdec6e8e --- /dev/null +++ b/dev-ruby/idn-ruby/metadata.xml @@ -0,0 +1,12 @@ +<?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">deepfryed/idn-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/image_processing/Manifest b/dev-ruby/image_processing/Manifest new file mode 100644 index 000000000000..f240c1f3ee04 --- /dev/null +++ b/dev-ruby/image_processing/Manifest @@ -0,0 +1,4 @@ +DIST image_processing-1.10.0.tar.gz 984866 BLAKE2B 3afcdff652eec40ea652c68a99d6f18970596a8221883ec627b678b8af0013127471490a093ff190134d12e2b6eb4f8a42252d49b4fc61cfff8858b49d1f124e SHA512 47a465ce4e450647a67bda376bfdb5da5a0ceacfc01be5e15dfc819232b76509fdc2c6a8196042dd8508c69e0d19c8f08a54b939dd3e808f9a2ff31efd891c9a +DIST image_processing-1.10.3.tar.gz 985090 BLAKE2B 9626dd41ae97cd0c68b857ccce2dd2b5eebbc04a5a3fc145cfde681b8ba9cc78806ddf1e7542afa2799ad707ced592149304216875297fc1bac112501dfcdbbb SHA512 7883199b2ccd693ae91a5d028a7c7bf5834cb36c7a48b4d02d1d92d7681e382a4e6605ca80cb0ca2f9949bfa95d8dafac3057e2508bb2932c5c3c0c3dee99b12 +DIST image_processing-1.11.0.tar.gz 985565 BLAKE2B 2ab1cfcdb0637dfbba50558cdb0b778cbb2f7bccf2a12aff5515171e252b0f41624d1867a2cb825d7200b5c09eb57d4f002cd086fdb987a9513a2ef3401a2db3 SHA512 2978ab351f6afaa9bb4ff08be6f89a27a634ac49a239a88c59cd40c877ffe4da57bdfe0d02af31577be113f04d7dc736e891b1edebc09fd4829bbe89085c4282 +DIST image_processing-1.9.3.tar.gz 984561 BLAKE2B 71c729c36e7048ceee3bd452d0429b24303f6898658337211cda4c697823e275f84c8b5ccbce857caa8f63a80e620f11822d3c0024f05343c3d72f9c8aedbdb9 SHA512 117e45146b646632bb2990f1651a494887ec8b75d8dcfcbea241b75d4691329597b7c8979fd13d4e51bacd5065b51594d6de9357e63c8b9b959b78fe075d0a76 diff --git a/dev-ruby/image_processing/image_processing-1.10.0.ebuild b/dev-ruby/image_processing/image_processing-1.10.0.ebuild new file mode 100644 index 000000000000..2cc5366adc3f --- /dev/null +++ b/dev-ruby/image_processing/image_processing-1.10.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md doc/*.md" + +RUBY_FAKEGEM_GEMSPEC="image_processing.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="High-level image processing helper methods with libvips and ImageMagick" +HOMEPAGE="https://github.com/janko/image_processing" +SRC_URI="https://github.com/janko/image_processing/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/mini_magick-4.9.5:0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.8:5 + >=dev-ruby/minitest-hooks-1.4.2 +)" + +all_ruby_prepare() { + # Only support imagemagick for now since vips is not packaged + sed -i -e '/ruby-vips/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + rm -f test/{pipeline,vips}_test.rb || die + sed -i -e '/assert_dimensions/ s:^:#:' test/*_test.rb || die + + # phash is not packaged + sed -i -e '/\(assert\|refute\)_similar/ s:^:#:' test/*_test.rb || die + + sed -i -e '/\(bundler\|phashion\|vips\)/ s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/image_processing/image_processing-1.10.3.ebuild b/dev-ruby/image_processing/image_processing-1.10.3.ebuild new file mode 100644 index 000000000000..80e6c6be3000 --- /dev/null +++ b/dev-ruby/image_processing/image_processing-1.10.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md doc/*.md" + +RUBY_FAKEGEM_GEMSPEC="image_processing.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="High-level image processing helper methods with libvips and ImageMagick" +HOMEPAGE="https://github.com/janko/image_processing" +SRC_URI="https://github.com/janko/image_processing/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( media-gfx/imagemagick[jpeg,tiff] )" + +ruby_add_rdepend " + >=dev-ruby/mini_magick-4.9.5:0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.8:5 + >=dev-ruby/minitest-hooks-1.4.2 + dev-ruby/minispec-metadata +)" + +all_ruby_prepare() { + # Only support imagemagick for now since vips is not packaged + sed -i -e '/ruby-vips/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + rm -f test/{pipeline,vips}_test.rb || die + sed -i -e '/assert_dimensions/ s:^:#:' test/*_test.rb || die + + # phash is not packaged + sed -i -e '/\(assert\|refute\)_similar/ s:^:#:' test/*_test.rb || die + + sed -i -e '/\(bundler\|phashion\|vips\)/ s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/image_processing/image_processing-1.11.0.ebuild b/dev-ruby/image_processing/image_processing-1.11.0.ebuild new file mode 100644 index 000000000000..80e6c6be3000 --- /dev/null +++ b/dev-ruby/image_processing/image_processing-1.11.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md doc/*.md" + +RUBY_FAKEGEM_GEMSPEC="image_processing.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="High-level image processing helper methods with libvips and ImageMagick" +HOMEPAGE="https://github.com/janko/image_processing" +SRC_URI="https://github.com/janko/image_processing/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" test? ( media-gfx/imagemagick[jpeg,tiff] )" + +ruby_add_rdepend " + >=dev-ruby/mini_magick-4.9.5:0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.8:5 + >=dev-ruby/minitest-hooks-1.4.2 + dev-ruby/minispec-metadata +)" + +all_ruby_prepare() { + # Only support imagemagick for now since vips is not packaged + sed -i -e '/ruby-vips/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + rm -f test/{pipeline,vips}_test.rb || die + sed -i -e '/assert_dimensions/ s:^:#:' test/*_test.rb || die + + # phash is not packaged + sed -i -e '/\(assert\|refute\)_similar/ s:^:#:' test/*_test.rb || die + + sed -i -e '/\(bundler\|phashion\|vips\)/ s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/image_processing/image_processing-1.9.3.ebuild b/dev-ruby/image_processing/image_processing-1.9.3.ebuild new file mode 100644 index 000000000000..2cc5366adc3f --- /dev/null +++ b/dev-ruby/image_processing/image_processing-1.9.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md doc/*.md" + +RUBY_FAKEGEM_GEMSPEC="image_processing.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="High-level image processing helper methods with libvips and ImageMagick" +HOMEPAGE="https://github.com/janko/image_processing" +SRC_URI="https://github.com/janko/image_processing/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/mini_magick-4.9.5:0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.8:5 + >=dev-ruby/minitest-hooks-1.4.2 +)" + +all_ruby_prepare() { + # Only support imagemagick for now since vips is not packaged + sed -i -e '/ruby-vips/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + rm -f test/{pipeline,vips}_test.rb || die + sed -i -e '/assert_dimensions/ s:^:#:' test/*_test.rb || die + + # phash is not packaged + sed -i -e '/\(assert\|refute\)_similar/ s:^:#:' test/*_test.rb || die + + sed -i -e '/\(bundler\|phashion\|vips\)/ s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/image_processing/metadata.xml b/dev-ruby/image_processing/metadata.xml new file mode 100644 index 000000000000..5edd398139c6 --- /dev/null +++ b/dev-ruby/image_processing/metadata.xml @@ -0,0 +1,12 @@ +<?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">janko/image_processing</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/imagesize/Manifest b/dev-ruby/imagesize/Manifest new file mode 100644 index 000000000000..6ec67681a144 --- /dev/null +++ b/dev-ruby/imagesize/Manifest @@ -0,0 +1 @@ +DIST imagesize-0.1.1_p20100902.tar.gz 77378 BLAKE2B fae6f2a8b83b3824e184b4973e901cfdc24cfa529068cc856631b8408c225eeb00c112a0f44d369a5afa35374e95682b3b7691d6c60ee5200a1ebcf669f4476b SHA512 62f0b5d1330e5cc63cccfed79e6aaa4c9de0b2d3598d241c143067c3811788bec14128d2f2465b802b91b428c239c3df272523e3026930ce26da8c7b04c2d55b diff --git a/dev-ruby/imagesize/imagesize-0.1.1_p20100902-r1.ebuild b/dev-ruby/imagesize/imagesize-0.1.1_p20100902-r1.ebuild new file mode 100644 index 000000000000..c2c2dbb0d230 --- /dev/null +++ b/dev-ruby/imagesize/imagesize-0.1.1_p20100902-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.txt" + +RUBY_FAKEGEM_VERSION="0.1.1.20100902" + +inherit ruby-fakegem + +DESCRIPTION="Measure image size (GIF, PNG, JPEG, etc)" +HOMEPAGE="http://imagesize.rubyforge.org/" +COMMIT_ID="bd5be2afb088beba3f0d863cef4eac7db56ca804" +SRC_URI="https://github.com/mattheworiordan/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RUBY_S="${PN}-${COMMIT_ID}" + +each_ruby_test() { + ${RUBY} -Ilib -S test/test_image_size.rb || die +} diff --git a/dev-ruby/imagesize/metadata.xml b/dev-ruby/imagesize/metadata.xml new file mode 100644 index 000000000000..f25681f4364a --- /dev/null +++ b/dev-ruby/imagesize/metadata.xml @@ -0,0 +1,12 @@ +<?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">mattheworiordan/imagesize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/inflecto/Manifest b/dev-ruby/inflecto/Manifest new file mode 100644 index 000000000000..c6afa1e8be10 --- /dev/null +++ b/dev-ruby/inflecto/Manifest @@ -0,0 +1 @@ +DIST inflecto-0.0.2.gem 16384 BLAKE2B 08c23177c02459cd37f14dc39a838d587df775aa0ade13c9c0fc93749cc669534837f865ddff85cdc5f304d0c8582b28284d35b2061eae96469783137472b617 SHA512 dbd1aa3a199365aa301d2570894e347e4f4fe6202924d6337b936ce3e5ed934e7e5c57c6c4ade42d6e0ffa43c574f3ac530ec6dccc6ad8d16b6ff96e4d057628 diff --git a/dev-ruby/inflecto/inflecto-0.0.2.ebuild b/dev-ruby/inflecto/inflecto-0.0.2.ebuild new file mode 100644 index 000000000000..f1c6f01aad97 --- /dev/null +++ b/dev-ruby/inflecto/inflecto-0.0.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Inflector for ruby" +HOMEPAGE="https://github.com/mbj/inflecto" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/inflecto/metadata.xml b/dev-ruby/inflecto/metadata.xml new file mode 100644 index 000000000000..2be796a311fb --- /dev/null +++ b/dev-ruby/inflecto/metadata.xml @@ -0,0 +1,12 @@ +<?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">mjb/inflecto</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/inifile/Manifest b/dev-ruby/inifile/Manifest new file mode 100644 index 000000000000..ecb474f22dca --- /dev/null +++ b/dev-ruby/inifile/Manifest @@ -0,0 +1 @@ +DIST inifile-3.0.0.gem 18432 BLAKE2B 28c778b9dc49e618dd5f86ab6d87a21e6a1e8ff577ce98390a7767778033012fc3c4d5476de48d80807b0a74bace0b5f775317106949fe142e88854a95436e94 SHA512 d77344812bb62a5639b0a36e5ac2726280990210000b85bab700819fe0fb9f56415517c00436d0056ca090e3d568596bc30f8ed211a00aced5b929e534d0a72b diff --git a/dev-ruby/inifile/inifile-3.0.0.ebuild b/dev-ruby/inifile/inifile-3.0.0.ebuild new file mode 100644 index 000000000000..5623638e05df --- /dev/null +++ b/dev-ruby/inifile/inifile-3.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md History.txt" + +inherit ruby-fakegem + +DESCRIPTION="Native Ruby package for reading and writing INI files" +HOMEPAGE="https://github.com/TwP/inifile" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/inifile/metadata.xml b/dev-ruby/inifile/metadata.xml new file mode 100644 index 000000000000..affb524f15d7 --- /dev/null +++ b/dev-ruby/inifile/metadata.xml @@ -0,0 +1,12 @@ +<?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">TwP/inifile</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/instance_storage/Manifest b/dev-ruby/instance_storage/Manifest new file mode 100644 index 000000000000..ca6b42a1cf2f --- /dev/null +++ b/dev-ruby/instance_storage/Manifest @@ -0,0 +1 @@ +DIST instance_storage-1.0.0.gem 7680 BLAKE2B e8c4f90c90c6efebcbaa577ab17824f4d759782f1b3985679200ca97b89f04245c562f6d9aa96ac894d488417f4e393bb7faf28ab18aa3f3ede1e03365706a29 SHA512 45ff98b3d0ab47d3459d868eb1b0075abb83b23bbc3a9b84f261077bdddc385ed016e81d01c19f93fa6cffd7cb9020ce1e22411636709f18af09a76c7d44598f diff --git a/dev-ruby/instance_storage/instance_storage-1.0.0.ebuild b/dev-ruby/instance_storage/instance_storage-1.0.0.ebuild new file mode 100644 index 000000000000..69d31d800ab3 --- /dev/null +++ b/dev-ruby/instance_storage/instance_storage-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Manage class instances with dictionary" +HOMEPAGE="https://rubygems.org/gems/instance_storage/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/instance_storage_test.rb || die +} diff --git a/dev-ruby/instance_storage/metadata.xml b/dev-ruby/instance_storage/metadata.xml new file mode 100644 index 000000000000..a5c71bf92813 --- /dev/null +++ b/dev-ruby/instance_storage/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">instance_storage</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/instantiator/Manifest b/dev-ruby/instantiator/Manifest new file mode 100644 index 000000000000..fc27de477aa6 --- /dev/null +++ b/dev-ruby/instantiator/Manifest @@ -0,0 +1 @@ +DIST instantiator-0.0.7.gem 8192 BLAKE2B c1cc0bf4a3f2aaf9afd522e33fdd2b32d78ca114fc7b113f6ae297e825177827cb6aa5398917d6d05523f912bebf22e43709e53c0dfe4e1a941ebda4350d3098 SHA512 b37a9380d787252244d2b85bb99365f4a4ecdab58f76caf5e59df00b239f4981119eb5c2eb2fe6ddcf810bb0fb43695f8926370a101f4223fa28811953e6731d diff --git a/dev-ruby/instantiator/instantiator-0.0.7.ebuild b/dev-ruby/instantiator/instantiator-0.0.7.ebuild new file mode 100644 index 000000000000..394288963bea --- /dev/null +++ b/dev-ruby/instantiator/instantiator-0.0.7.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Instantiate an arbitrary Ruby class" +HOMEPAGE="https://github.com/floehopper/introspection" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/blankslate:*" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/instantiator/metadata.xml b/dev-ruby/instantiator/metadata.xml new file mode 100644 index 000000000000..9aca9fa395b4 --- /dev/null +++ b/dev-ruby/instantiator/metadata.xml @@ -0,0 +1,12 @@ +<?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">floehopper/introspection</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/introspection/Manifest b/dev-ruby/introspection/Manifest new file mode 100644 index 000000000000..07b06559985c --- /dev/null +++ b/dev-ruby/introspection/Manifest @@ -0,0 +1 @@ +DIST introspection-0.0.4.gem 9216 BLAKE2B c97279576a60dfd74453d16a6eb0885326dad18748bd182fe3b5c2a73121553cd3ea66690841df6554fd105e50f5f6df075afb94795b94dbd7caf4615ca67764 SHA512 c228827ac9d8a82a104e78daadf038c674cd464bf726fc3bd1efa82e9d9cab37f6ee909f578585e7846378f0b755ed4d60fa119fd699f6c40188ea2de4ac7084 diff --git a/dev-ruby/introspection/introspection-0.0.4.ebuild b/dev-ruby/introspection/introspection-0.0.4.ebuild new file mode 100644 index 000000000000..50ffa84cc4ee --- /dev/null +++ b/dev-ruby/introspection/introspection-0.0.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# No documentation task +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Dynamic inspection of the hierarchy of method definitions on a Ruby object" +HOMEPAGE="http://jamesmead.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/metaclass-0.0.1" + +ruby_add_bdepend "test? ( dev-ruby/blankslate )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/introspection/metadata.xml b/dev-ruby/introspection/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/introspection/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/iobuffer/Manifest b/dev-ruby/iobuffer/Manifest new file mode 100644 index 000000000000..fe1e2ddfeba5 --- /dev/null +++ b/dev-ruby/iobuffer/Manifest @@ -0,0 +1 @@ +DIST iobuffer-git-1.1.2.tgz 9286 BLAKE2B 8e5a1fc5b33bfd40ba561c27259079c5511b7cba8b0a55bf120b1c6dcf5552cc0adcf6e08aa8f8cda083aba1013a7f690c20268908760e50ca6bc63a02ae020e SHA512 cec67ac42b3966c144fc61c8fa1a36f166d0a892ec4ebb2f6e0fc218eac5fd7bfb803973b05ae52ff05b04eb86caae0cfee4cc1430e876e58157b5bdc41723c7 diff --git a/dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild b/dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild new file mode 100644 index 000000000000..273ffb3940b0 --- /dev/null +++ b/dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit multilib ruby-fakegem + +GITHUB_USER="tarcieri" + +DESCRIPTION="IO::Buffer is a byte queue which is intended for non-blocking I/O applications" +HOMEPAGE="https://github.com/tarcieri/iobuffer" +SRC_URI="https://github.com/${GITHUB_USER}/iobuffer/tarball/v${PV} -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~x86-macos" +SLOT="0" +IUSE="" + +RUBY_S="${GITHUB_USER}-${PN}-*" + +all_ruby_prepare() { + rm .rspec lib/.gitignore Gemfile* || die +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die + sed -i -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" ext/Makefile || die +} + +each_ruby_compile() { + emake -C ext V=1 + cp ext/iobuffer_ext$(get_modname) lib/ || die +} diff --git a/dev-ruby/iobuffer/metadata.xml b/dev-ruby/iobuffer/metadata.xml new file mode 100644 index 000000000000..b9d289a0f91b --- /dev/null +++ b/dev-ruby/iobuffer/metadata.xml @@ -0,0 +1,12 @@ +<?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">tarcieri/iobuffer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/itextomml/Manifest b/dev-ruby/itextomml/Manifest new file mode 100644 index 000000000000..cdcb83045df2 --- /dev/null +++ b/dev-ruby/itextomml/Manifest @@ -0,0 +1,2 @@ +DIST itextomml-1.5.8.gem 125952 BLAKE2B 1fd68b00bed86e8f799d5cffd4de40d50151d18a11dbfbc91dbbc857295959d44c118bf39fcf4e7089e466d07f2ed03ad0d04c16c696fd6b7c4c8d101fd0c0ac SHA512 5fb1776ba7de3f0d09eed64bff8fc04c4a508cb7360d82853d65dc481bd0a43253c0a4edd4c9eaa0df835f9a21d6ed2c2d318f621c5d071b6566709d769c1312 +DIST itextomml-1.6.0.gem 125952 BLAKE2B 9422d7a7f0a872dc60fce6f5d217c8c085785787d40b1f976a0f3df04f49d8de37a6fb658d8960b27f27dec03401a013b51a9ebe2446f5deecd70cfab00a7756 SHA512 cabff2d8d36cea6b280c4c928675e368e02ce346870c2d933ebb5554722e729ef7a05132776d29e4a62f0fa89ef1ad2fdd729ac97a35d7aed6da24f90de75839 diff --git a/dev-ruby/itextomml/itextomml-1.5.8.ebuild b/dev-ruby/itextomml/itextomml-1.5.8.ebuild new file mode 100644 index 000000000000..22fcbeb33d94 --- /dev/null +++ b/dev-ruby/itextomml/itextomml-1.5.8.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Native Ruby bindings to itex2MML, which converts itex equations to MathML" +HOMEPAGE="https://golem.ph.utexas.edu/~distler/blog/itex2MML.html" + +LICENSE="|| ( GPL-2+ MPL-1.1 LGPL-2+ )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +#Tests don't fail here +RESTRICT="test" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/itex2MML$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} test/test_itextomml.rb || die +} diff --git a/dev-ruby/itextomml/itextomml-1.6.0.ebuild b/dev-ruby/itextomml/itextomml-1.6.0.ebuild new file mode 100644 index 000000000000..22fcbeb33d94 --- /dev/null +++ b/dev-ruby/itextomml/itextomml-1.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Native Ruby bindings to itex2MML, which converts itex equations to MathML" +HOMEPAGE="https://golem.ph.utexas.edu/~distler/blog/itex2MML.html" + +LICENSE="|| ( GPL-2+ MPL-1.1 LGPL-2+ )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +#Tests don't fail here +RESTRICT="test" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/itex2MML$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} test/test_itextomml.rb || die +} diff --git a/dev-ruby/itextomml/metadata.xml b/dev-ruby/itextomml/metadata.xml new file mode 100644 index 000000000000..25d9831f9436 --- /dev/null +++ b/dev-ruby/itextomml/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/jbuilder/Manifest b/dev-ruby/jbuilder/Manifest new file mode 100644 index 000000000000..0761dbe6063d --- /dev/null +++ b/dev-ruby/jbuilder/Manifest @@ -0,0 +1 @@ +DIST jbuilder-2.10.0.gem 28160 BLAKE2B c277a59d53f30132ebe88d6afda5c221d74a399b01cedf6a4863f29e94d329137669942957a21ae9c5c192177dc9e78b6d66d9b5a29c7d4667a0432556c6b28c SHA512 a429422d65ed3eec55f46597f73a97b267fe7d6c7554ec6a6d60e1e1c0a9306b81f7283524602a30af11a141f7cd466a0f7b0a804172bd4008787462f0fa4ffc diff --git a/dev-ruby/jbuilder/jbuilder-2.10.0.ebuild b/dev-ruby/jbuilder/jbuilder-2.10.0.ebuild new file mode 100644 index 000000000000..8842f2f99a14 --- /dev/null +++ b/dev-ruby/jbuilder/jbuilder-2.10.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="TRAVIS=true test" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Create JSON structures via a Builder-style DSL" +HOMEPAGE="https://github.com/rails/jbuilder" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-5.0.0:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/railties-5.0.0 +)" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/jbuilder/metadata.xml b/dev-ruby/jbuilder/metadata.xml new file mode 100644 index 000000000000..4df4ed918c8a --- /dev/null +++ b/dev-ruby/jbuilder/metadata.xml @@ -0,0 +1,12 @@ +<?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="rubygems">jbuilder</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/jmespath/Manifest b/dev-ruby/jmespath/Manifest new file mode 100644 index 000000000000..707b62513fad --- /dev/null +++ b/dev-ruby/jmespath/Manifest @@ -0,0 +1 @@ +DIST jmespath-1.4.0.tar.gz 40899 BLAKE2B 45e52f649950b00205af6010084e009a7327600971fdf84e0569498a031e9307876e412a4491fc176724667246fe9f81317a80dd7ff6c44b7e24a135af224e01 SHA512 2b3923a5c853c527ae10ed95da49e3f4888f80ec4eec18fcec2eff16698765e6e875575994ce2fa681977fb5329b122d95cab77fb80ead3548fc26fcbfb33859 diff --git a/dev-ruby/jmespath/jmespath-1.4.0.ebuild b/dev-ruby/jmespath/jmespath-1.4.0.ebuild new file mode 100644 index 000000000000..86c0218678b9 --- /dev/null +++ b/dev-ruby/jmespath/jmespath-1.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Implements JMESPath for Ruby" +HOMEPAGE="https://github.com/jmespath/jmespath.rb" +SRC_URI="https://github.com/jmespath/jmespath.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}.rb-${PV}" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' \ + spec/{compliance_spec,compliance_without_errors_spec,spec_helper}.rb || die + sed -i -e '/bundler/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/jmespath/metadata.xml b/dev-ruby/jmespath/metadata.xml new file mode 100644 index 000000000000..5402c8b63ce1 --- /dev/null +++ b/dev-ruby/jmespath/metadata.xml @@ -0,0 +1,12 @@ +<?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">jmespath/jmespath.rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/journey/Manifest b/dev-ruby/journey/Manifest new file mode 100644 index 000000000000..e62bf9fefcb4 --- /dev/null +++ b/dev-ruby/journey/Manifest @@ -0,0 +1 @@ +DIST journey-1.0.4.gem 28672 BLAKE2B fe78647c9f80ad4b9874eab9488cca199cd69d354e69f3f5b47b417452ca259790109d07a27c4c2d99778683d9264413399d4d7acd7eb4d8e78f7e37ccf2a8d7 SHA512 9e6a06da8b77f6efb9941c58f53254e8cf3a1ebb6f8261a66ef3fed9c21ff4e4a90567fee88507b8e2c1fecc0fbdf204a9d3c8473b671bbb4b8c6b9faa6f2a07 diff --git a/dev-ruby/journey/files/journey-1.0.4-fix-tests.patch b/dev-ruby/journey/files/journey-1.0.4-fix-tests.patch new file mode 100644 index 000000000000..f977172e6464 --- /dev/null +++ b/dev-ruby/journey/files/journey-1.0.4-fix-tests.patch @@ -0,0 +1,66 @@ +From d836e960d9a20c4c5bc986630d2ba34a340959ea Mon Sep 17 00:00:00 2001 +From: Aaron Patterson <aaron.patterson@gmail.com> +Date: Fri, 27 Jul 2012 11:20:58 -0700 +Subject: [PATCH] fix assertion calls + +--- + test/path/test_pattern.rb | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +diff --git a/test/path/test_pattern.rb b/test/path/test_pattern.rb +index c684a0a..ec93471 100644 +--- a/test/path/test_pattern.rb ++++ b/test/path/test_pattern.rb +@@ -85,9 +85,9 @@ def test_to_regexp_with_extended_group + ["/", ".", "?"] + ) + path = Pattern.new strexp +- assert_match('/page/tender', path) +- assert_match('/page/love', path) +- refute_match('/page/loving', path) ++ assert_match(path, '/page/tender') ++ assert_match(path, '/page/love') ++ refute_match(path, '/page/loving') + end + + def test_optional_names +@@ -108,8 +108,8 @@ def test_to_regexp_match_non_optional + ["/", ".", "?"] + ) + path = Pattern.new strexp +- assert_match('/123', path) +- refute_match('/', path) ++ assert_match(path, '/123') ++ refute_match(path, '/') + end + + def test_to_regexp_with_group +@@ -119,9 +119,9 @@ def test_to_regexp_with_group + ["/", ".", "?"] + ) + path = Pattern.new strexp +- assert_match('/page/tender', path) +- assert_match('/page/love', path) +- refute_match('/page/loving', path) ++ assert_match(path, '/page/tender') ++ assert_match(path, '/page/love') ++ refute_match(path, '/page/loving') + end + + def test_ast_sets_regular_expressions +@@ -186,9 +186,9 @@ def test_insensitive_regexp_with_group + ["/", ".", "?"] + ) + path = Pattern.new strexp +- assert_match('/page/TENDER/aaron', path) +- assert_match('/page/loVE/aaron', path) +- refute_match('/page/loVE/AAron', path) ++ assert_match(path, '/page/TENDER/aaron') ++ assert_match(path, '/page/loVE/aaron') ++ refute_match(path, '/page/loVE/AAron') + end + + def test_to_regexp_with_strexp +-- +1.9.1 + diff --git a/dev-ruby/journey/journey-1.0.4-r1.ebuild b/dev-ruby/journey/journey-1.0.4-r1.ebuild new file mode 100644 index 000000000000..1e510b67e67e --- /dev/null +++ b/dev-ruby/journey/journey-1.0.4-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" + +inherit ruby-fakegem versionator + +DESCRIPTION="Journey is a router. It routes requests" +HOMEPAGE="https://github.com/rails/journey" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/hoe + dev-ruby/json + dev-ruby/minitest )" + +RUBY_PATCHES=( "${FILESDIR}"/${P}-fix-tests.patch ) diff --git a/dev-ruby/journey/metadata.xml b/dev-ruby/journey/metadata.xml new file mode 100644 index 000000000000..4dc4214dfa77 --- /dev/null +++ b/dev-ruby/journey/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/journey</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/jquery-rails/Manifest b/dev-ruby/jquery-rails/Manifest new file mode 100644 index 000000000000..8b63f11aa59a --- /dev/null +++ b/dev-ruby/jquery-rails/Manifest @@ -0,0 +1,2 @@ +DIST jquery-rails-4.3.5.gem 523776 BLAKE2B cf5338380f1551ee5bbec61dab818f4c45eef49947647dc41cc71cc06438a3454f793122eed7934b2288a9a895578770b236fcb5f1f5a2d0c8c211708e6452e6 SHA512 78afb6ad2cfa331ffed52ef6ba67bbd6e1fd7da210223e1b0cd097b0823455036aba58a1f31b70c8a9525f1f62508ec7f688924af7b0b18f262ab8d845c9ad78 +DIST jquery-rails-4.4.0.gem 526336 BLAKE2B d6a498424fd89ed575fe778a91ba199eb81fe7c98ac042df8602d0fd680305543d8bb1c1a663d12cf696ec50e1196c59b068051c4bf34b0e3b321cc3ea898bdf SHA512 af363fe81f9689ccb7effd8a755368245b14fdbc67e14698c7dc48e69e18b731e1c65ceefedf86638d6dca6378d21c3175b02f16f6c03bd76c45494c1d0e5eab diff --git a/dev-ruby/jquery-rails/jquery-rails-4.3.5.ebuild b/dev-ruby/jquery-rails/jquery-rails-4.3.5.ebuild new file mode 100644 index 000000000000..4c3f8c9954fb --- /dev/null +++ b/dev-ruby/jquery-rails/jquery-rails-4.3.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md VERSIONS.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +RUBY_FAKEGEM_GEMSPEC="jquery-rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="jQuery! For Rails! So great" +HOMEPAGE="https://www.rubyonrails.org" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/railties-4.2.0:* + >=dev-ruby/thor-0.14 <dev-ruby/thor-2 + dev-ruby/rails-dom-testing:2" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' jquery-rails.gemspec || die +} diff --git a/dev-ruby/jquery-rails/jquery-rails-4.4.0.ebuild b/dev-ruby/jquery-rails/jquery-rails-4.4.0.ebuild new file mode 100644 index 000000000000..35c067115537 --- /dev/null +++ b/dev-ruby/jquery-rails/jquery-rails-4.4.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md VERSIONS.md" + +RUBY_FAKEGEM_EXTRAINSTALL="vendor" + +RUBY_FAKEGEM_GEMSPEC="jquery-rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="jQuery! For Rails! So great" +HOMEPAGE="https://www.rubyonrails.org" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/railties-4.2.0:* + >=dev-ruby/thor-0.14:* <dev-ruby/thor-2:* + dev-ruby/rails-dom-testing:2" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' jquery-rails.gemspec || die +} diff --git a/dev-ruby/jquery-rails/metadata.xml b/dev-ruby/jquery-rails/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/jquery-rails/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/jquery-ui-rails/Manifest b/dev-ruby/jquery-ui-rails/Manifest new file mode 100644 index 000000000000..382b59a72b9b --- /dev/null +++ b/dev-ruby/jquery-ui-rails/Manifest @@ -0,0 +1,2 @@ +DIST jquery-ui-rails-5.0.5.gem 163840 BLAKE2B 6eb6b788c826da95143a2d739732e1d1c18a13e76a71a0666f5b4163ca882b4b2b68f273610ccb340352b13c0f6763348fa4ae80b1f6a79d5e6d85110a06a36a SHA512 1db2e47d6a70d4326a25e89d3ff297e39bcbffbe644ddd97b95a837c3d4af7ff812bf165858382e0448f73406a4edf2b7e9c0e1622c1fdae68c52b1a60f77ff5 +DIST jquery-ui-rails-6.0.1.gem 175104 BLAKE2B f990968bc75d5f2c5556363f41eafd9ce2207dc08e20bbf10f857656219253fd5f29e8b4d131f7a8b942682d6c32bb11797c08621b34847f77984e7fe57e111b SHA512 ec0fd8c15ef9dbdbef01bdaca22fb36251a2ced090ade6859cff7c72e183c3c750fc384fdf757db7160ec1c6426ce84c972cce255c3d42a2bb9ebe5539390485 diff --git a/dev-ruby/jquery-ui-rails/jquery-ui-rails-5.0.5-r1.ebuild b/dev-ruby/jquery-ui-rails/jquery-ui-rails-5.0.5-r1.ebuild new file mode 100644 index 000000000000..f27e9179bbde --- /dev/null +++ b/dev-ruby/jquery-ui-rails/jquery-ui-rails-5.0.5-r1.ebuild @@ -0,0 +1,25 @@ +# 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="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md VERSIONS.md" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +inherit ruby-fakegem + +DESCRIPTION="The jQuery UI assets for the Rails 3.2+ asset pipeline" +HOMEPAGE="http://www.rubyonrails.org" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" + +IUSE="" + +ruby_add_rdepend ">=dev-ruby/railties-3.2.16:*" diff --git a/dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r1.ebuild b/dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r1.ebuild new file mode 100644 index 000000000000..500c02e76f8d --- /dev/null +++ b/dev-ruby/jquery-ui-rails/jquery-ui-rails-6.0.1-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md VERSIONS.md" + +RUBY_FAKEGEM_EXTRAINSTALL="app" + +inherit ruby-fakegem + +DESCRIPTION="The jQuery UI assets for the Rails 3.2+ asset pipeline" +HOMEPAGE="https://github.com/joliss/jquery-ui-rails" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" + +IUSE="" + +ruby_add_rdepend ">=dev-ruby/railties-3.2.16:*" diff --git a/dev-ruby/jquery-ui-rails/metadata.xml b/dev-ruby/jquery-ui-rails/metadata.xml new file mode 100644 index 000000000000..fee2ac728fd4 --- /dev/null +++ b/dev-ruby/jquery-ui-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">joliss/jquery-ui-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/jsobfu/Manifest b/dev-ruby/jsobfu/Manifest new file mode 100644 index 000000000000..ef7e104c1efc --- /dev/null +++ b/dev-ruby/jsobfu/Manifest @@ -0,0 +1 @@ +DIST jsobfu-0.4.2.gem 27648 BLAKE2B 280629f104a6aa1cfd4603fff2edf5d2dde5885bf074e39e790e06f03d17a2cf107a6bed61fb2279a3c1e1879e4a74d7faa266561ca10590fb67543ec52e02ec SHA512 84374c8c65691eac6fbdaef78a6faf8a1659474789df2ad0b938cd9101e5b51c69ac5fb157eff3e714decb1402372fe98015a2ef3d77775f0af22fba34f93227 diff --git a/dev-ruby/jsobfu/jsobfu-0.4.2.ebuild b/dev-ruby/jsobfu/jsobfu-0.4.2.ebuild new file mode 100644 index 000000000000..f331460cbb79 --- /dev/null +++ b/dev-ruby/jsobfu/jsobfu-0.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A Javascript code obfuscator" +HOMEPAGE="https://github.com/rapid7/jsobfu" + +LICENSE="BSD" +#rapid7 gems are slotted so we can have multiple versions installed at once to support multiple versions of metasploit +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "!dev-ruby/jsobfu:0 + >=dev-ruby/rkelly-remix-0.0.6:0" + +ruby_add_bdepend "test? ( dev-ruby/execjs )" + +all_ruby_prepare() { + sed -i -e '/simplecov/ s:^:#:' \ + -e '/config.\(color\|tty\|formatter\)/ s:^:#:' \ + spec/spec_helper.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper jsobfu jsobfu-${PV} +} diff --git a/dev-ruby/jsobfu/metadata.xml b/dev-ruby/jsobfu/metadata.xml new file mode 100644 index 000000000000..496e0374e8cc --- /dev/null +++ b/dev-ruby/jsobfu/metadata.xml @@ -0,0 +1,12 @@ +<?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">rapid7/jsobfu</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest new file mode 100644 index 000000000000..6ef49e66810a --- /dev/null +++ b/dev-ruby/json/Manifest @@ -0,0 +1,2 @@ +DIST json-1.8.6.gem 144384 BLAKE2B db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b +DIST json-2.3.0.gem 114176 BLAKE2B 329f1305a0cae3d44c74cc7475c7340e86b8447d5e4ffdd5854620669ee4ef5bba0ed7dbc617b0beffb7bfd8b3d79d46ce26feef37685413a4a5a9c230d0ce0c SHA512 9086a64b664f2d774439c0c9f10c2c1cd897684050eb60f8e3ad9256e0b9541deec3bd22fab0bdcf66e3d5bc795720c6923d514b6edb824c9962fc22f162b332 diff --git a/dev-ruby/json/files/json-1.8.6-heap-exposure.patch b/dev-ruby/json/files/json-1.8.6-heap-exposure.patch new file mode 100644 index 000000000000..d3da7a0f86f9 --- /dev/null +++ b/dev-ruby/json/files/json-1.8.6-heap-exposure.patch @@ -0,0 +1,82 @@ +diff --git ext/json/generator/generator.c ext/json/generator/generator.c +index a135e28348..2cdca5685f 100644 +--- a/ext/json/ext/generator/generator.c ++++ b/ext/json/ext/generator/generator.c +@@ -301,7 +301,7 @@ static char *fstrndup(const char *ptr, unsigned long len) { + char *result; + if (len <= 0) return NULL; + result = ALLOC_N(char, len); +- memccpy(result, ptr, 0, len); ++ memcpy(result, ptr, len); + return result; + } + +@@ -1055,7 +1055,7 @@ static VALUE cState_indent_set(VALUE self, VALUE indent) + } + } else { + if (state->indent) ruby_xfree(state->indent); +- state->indent = strdup(RSTRING_PTR(indent)); ++ state->indent = fstrndup(RSTRING_PTR(indent), len); + state->indent_len = len; + } + return Qnil; +@@ -1093,7 +1093,7 @@ static VALUE cState_space_set(VALUE self, VALUE space) + } + } else { + if (state->space) ruby_xfree(state->space); +- state->space = strdup(RSTRING_PTR(space)); ++ state->space = fstrndup(RSTRING_PTR(space), len); + state->space_len = len; + } + return Qnil; +@@ -1129,7 +1129,7 @@ static VALUE cState_space_before_set(VALUE self, VALUE space_before) + } + } else { + if (state->space_before) ruby_xfree(state->space_before); +- state->space_before = strdup(RSTRING_PTR(space_before)); ++ state->space_before = fstrndup(RSTRING_PTR(space_before), len); + state->space_before_len = len; + } + return Qnil; +@@ -1166,7 +1166,7 @@ static VALUE cState_object_nl_set(VALUE self, VALUE object_nl) + } + } else { + if (state->object_nl) ruby_xfree(state->object_nl); +- state->object_nl = strdup(RSTRING_PTR(object_nl)); ++ state->object_nl = fstrndup(RSTRING_PTR(object_nl), len); + state->object_nl_len = len; + } + return Qnil; +@@ -1201,7 +1201,7 @@ static VALUE cState_array_nl_set(VALUE self, VALUE array_nl) + } + } else { + if (state->array_nl) ruby_xfree(state->array_nl); +- state->array_nl = strdup(RSTRING_PTR(array_nl)); ++ state->array_nl = fstrndup(RSTRING_PTR(array_nl), len); + state->array_nl_len = len; + } + return Qnil; +diff --git ext/json/generator/generator.h ext/json/generator/generator.h +index 298c0a4965..6bbf817b7d 100644 +--- a/ext/json/ext/generator/generator.h ++++ b/ext/json/ext/generator/generator.h +@@ -1,7 +1,6 @@ + #ifndef _GENERATOR_H_ + #define _GENERATOR_H_ + +-#include <string.h> + #include <math.h> + #include <ctype.h> + +diff --git ext/json/lib/json/version.rb ext/json/lib/json/version.rb +index b5748334b9..cd7ddf8777 100644 +--- a/lib/json/version.rb ++++ b/lib/json/version.rb +@@ -1,7 +1,7 @@ + module JSON + # JSON version +- VERSION = '1.8.6' ++ VERSION = '1.8.6.1' + VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc: + VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc: + VERSION_MINOR = VERSION_ARRAY[1] # :nodoc: diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild new file mode 100644 index 000000000000..dc3afe54b2ef --- /dev/null +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.md README-json-jruby.markdown" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A JSON implementation as a Ruby extension" +HOMEPAGE="https://github.com/flori/json" +LICENSE="|| ( Ruby GPL-2 )" + +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND}" +DEPEND="${DEPEND} + dev-util/ragel" + +ruby_add_bdepend "dev-ruby/rake + doc? ( dev-ruby/rdoc )" + +PATCHES=( "${FILESDIR}/${P}-heap-exposure.patch" ) + +all_ruby_prepare() { + # Avoid building the extension twice! + # And use rdoc instead of sdoc which we don't have packaged + # And don't call git to list files. We're using the pregenerated spec anyway. + sed -i \ + -e 's| => :compile||' \ + -e 's| => :clean||' \ + -e 's|sdoc|rdoc|' \ + -e 's|`git ls-files`|""|' \ + Rakefile || die "rakefile fix failed" + + # Remove hardcoded and broken -O setting. + sed -i -e '/^ \(if\|unless\)/,/^ end/ s:^:#:' \ + -e '/^unless/,/^end/ s:^:#:' ext/json/ext/*/extconf.rb || die +} + +each_ruby_compile() { + # Since 1.5.0 a Java extension is provided but it does not compile. + if [[ $(basename ${RUBY}) != "jruby" ]]; then + ${RUBY} -S rake compile || die "extension compile failed" + fi +} + +each_ruby_test() { + JSON=pure \ + ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "pure ruby tests failed" + + if [[ $(basename ${RUBY}) != "jruby" ]]; then + JSON=ext \ + ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "ext ruby tests failed" + fi +} + +each_ruby_install() { + each_fakegem_install + if [[ $(basename ${RUBY}) != "jruby" ]]; then + ruby_fakegem_newins ext/json/ext/generator$(get_modname) lib/json/ext/generator$(get_modname) + ruby_fakegem_newins ext/json/ext/parser$(get_modname) lib/json/ext/parser$(get_modname) + fi +} diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild new file mode 100644 index 000000000000..faf3e07c3ac4 --- /dev/null +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A JSON implementation as a Ruby extension" +HOMEPAGE="https://github.com/flori/json" +LICENSE="Ruby" + +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="2" +IUSE="" + +RDEPEND="${RDEPEND}" +DEPEND="${DEPEND} + dev-util/ragel" + +ruby_add_bdepend "dev-ruby/rake + doc? ( dev-ruby/rdoc ) + test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Avoid building the extension twice! + # And use rdoc instead of sdoc which we don't have packaged + # And don't call git to list files. We're using the pregenerated spec anyway. + sed -i \ + -e '/task :test/ s|:compile,||' \ + -e 's| => :clean||' \ + -e 's|sdoc|rdoc|' \ + -e 's|`git ls-files`|""|' \ + Rakefile || die "rakefile fix failed" + + # Remove hardcoded and broken -O setting. + sed -i -e '/^ \(if\|unless\)/,/^ end/ s:^:#:' \ + -e '/^unless/,/^end/ s:^:#:' ext/json/ext/*/extconf.rb || die + + # Avoid setting gem since it will not be available yet when installing + sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die +} + +each_ruby_configure() { + for ext in parser generator ; do + ${RUBY} -Cext/json/ext/${ext} extconf.rb || die + done +} + +each_ruby_compile() { + for ext in parser generator ; do + emake V=1 -Cext/json/ext/${ext} + cp ext/json/ext/${ext}/${ext}$(get_modname) ext/json/ext/ || die + done +} + +each_ruby_test() { + for t in pure ext ; do + JSON=${T} ${RUBY} -S rake do_test_${t} || die + done +} + +each_ruby_install() { + each_fakegem_install + + ruby_fakegem_newins ext/json/ext/generator$(get_modname) lib/json/ext/generator$(get_modname) + ruby_fakegem_newins ext/json/ext/parser$(get_modname) lib/json/ext/parser$(get_modname) +} diff --git a/dev-ruby/json/metadata.xml b/dev-ruby/json/metadata.xml new file mode 100644 index 000000000000..801031df34cf --- /dev/null +++ b/dev-ruby/json/metadata.xml @@ -0,0 +1,12 @@ +<?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">flori/json</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/json_schema/Manifest b/dev-ruby/json_schema/Manifest new file mode 100644 index 000000000000..c754f4d0b687 --- /dev/null +++ b/dev-ruby/json_schema/Manifest @@ -0,0 +1,2 @@ +DIST json_schema-0.20.8.tar.gz 36456 BLAKE2B 4159b8a293ab41d0d5f6c3877de98fe3ba0f1f9f151e938ebf03cdbd563fc06e80603b49ca0132877d0369901b8724229ee618bd2133a159fc34201de7d9541a SHA512 f3e2314d66fdd4fd0968a1e98f363e5f008fa91c46c068c198b89f54cd856d4d87bcab02eb23b46fbce34749885579178955a84d22aad2ae131928ceaaf80065 +DIST json_schema-0.20.9.tar.gz 36498 BLAKE2B 5eb79271b3a1627e2759783b176917d09ae9c20f84723f526f48653c99f1ce52f6e377ac9835bafee64ce2899222edc19ccbdd186e1fa82f66ab40601975800c SHA512 7dd2d7394fb7300d34dcd3e8b5fd6ee29259a762065b99cb55012248ef385dd89460fc58bfa4ac4c3f6255f1546cf3ba363310420d89057c27d1be55ef50ae73 diff --git a/dev-ruby/json_schema/json_schema-0.20.8.ebuild b/dev-ruby/json_schema/json_schema-0.20.8.ebuild new file mode 100644 index 000000000000..548559b4ebb0 --- /dev/null +++ b/dev-ruby/json_schema/json_schema-0.20.8.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO.md" + +RUBY_FAKEGEM_EXTRAINSTALL="schemas" + +RUBY_FAKEGEM_GEMSPEC="json_schema.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A JSON Schema V4 and Hyperschema V4 parser and validator" +HOMEPAGE="https://github.com/brandur/json_schema" +SRC_URI="https://github.com/brandur/json_schema/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/ecma-re-validator )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + sed -i -e '/^if/,/^end/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/json_schema/json_schema-0.20.9.ebuild b/dev-ruby/json_schema/json_schema-0.20.9.ebuild new file mode 100644 index 000000000000..270f0f2666e3 --- /dev/null +++ b/dev-ruby/json_schema/json_schema-0.20.9.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO.md" + +RUBY_FAKEGEM_EXTRAINSTALL="schemas" + +RUBY_FAKEGEM_GEMSPEC="json_schema.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A JSON Schema V4 and Hyperschema V4 parser and validator" +HOMEPAGE="https://github.com/brandur/json_schema" +SRC_URI="https://github.com/brandur/json_schema/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/ecma-re-validator )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + sed -i -e '/^if/,/^end/ s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/json_schema/metadata.xml b/dev-ruby/json_schema/metadata.xml new file mode 100644 index 000000000000..802f1a7c3280 --- /dev/null +++ b/dev-ruby/json_schema/metadata.xml @@ -0,0 +1,12 @@ +<?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="rubygems">json_schema</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest new file mode 100644 index 000000000000..9ca4091af1bc --- /dev/null +++ b/dev-ruby/jwt/Manifest @@ -0,0 +1,4 @@ +DIST jwt-1.5.6.tar.gz 28586 BLAKE2B d1fa2e735cf93126866c7a5eca14d63ee2646a66b9759fa59ec3191544efb2e0f502c7474e41a1b0d494ed8d692462db64efd718b8c6fa8acb4fcd9b58ab1c32 SHA512 f112bb815ef1af1f77d082574f5157f33469c2caba88716aa16b20dc48d279f8579730f75db81aa31480d6edd5deaa110adbaf3f52372b0397d5822a964a759e +DIST jwt-2.1.0.tar.gz 34188 BLAKE2B 0022dbb76cd8570aee84b6590f24639320977ae8d6d5fa53ef1d260da12bc732f9fdc01d59f6c994dc36642a7b67786b607ae76aca8044b7d5f5c60dc300966a SHA512 ad65b6ddd5fb7f33efe0036103f8f7482fd35090b8545219141e8885298fb4809d2386fd6e986c9bca0f85c823c9d4a6500785c0c5964db22d023a99c603ec47 +DIST jwt-2.2.0.tar.gz 41060 BLAKE2B 80958a9a88ad0f281f0eb545e584bc1035d1f13ddd0e2c337896300981fcb09849dfdd97828a5820fd241a3387b545c67e600d9148314860380398819f321aff SHA512 66da3ea525041080ed6c1da50e61a7e5ec9c8de70d5dc592c781b89aab7feebcfc419ae4362504b793cdc8857b37797efaf2847eab9425a53628680f5acdc0ce +DIST jwt-2.2.1.tar.gz 41269 BLAKE2B 51a47d07c9386c42dd22832d4b1c5a7c8c1b599dad15801d8192f023ee73336de4ee1c7c61c76ab9e181b26e168c661090cffca2d8db27a7a2f6a8be40dfb6e1 SHA512 cdcbbbb7af4bccc471a8a8ee3341c8b23d634b3f46522585fa51d228963c58305d16b45f3455c811a86bff13d3e4c3911e54d8a2932228d0feb5133ae43949c6 diff --git a/dev-ruby/jwt/jwt-1.5.6.ebuild b/dev-ruby/jwt/jwt-1.5.6.ebuild new file mode 100644 index 000000000000..2169431e738d --- /dev/null +++ b/dev-ruby/jwt/jwt-1.5.6.ebuild @@ -0,0 +1,29 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" +HOMEPAGE="https://github.com/jwt/ruby-jwt" +SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="ruby-jwt-${PV}" + +all_ruby_prepare() { + sed -i -e "/simplecov/ s:^:#:" \ + -e '/^SimpleCov.configure/,/^end/ s:^:#:' \ + -e '/codeclimate/I s:^:#:' \ + spec/spec_helper.rb || die +} diff --git a/dev-ruby/jwt/jwt-2.1.0.ebuild b/dev-ruby/jwt/jwt-2.1.0.ebuild new file mode 100644 index 000000000000..0d2f10ce4f4c --- /dev/null +++ b/dev-ruby/jwt/jwt-2.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" +HOMEPAGE="https://github.com/jwt/ruby-jwt" +SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="ruby-jwt-${PV}" + +all_ruby_prepare() { + sed -i -e "/simplecov/ s:^:#:" \ + -e '/^SimpleCov.configure/,/^end/ s:^:#:' \ + -e '/codeclimate/I s:^:#:' \ + -e '/codacy/I s:^:#:' \ + spec/spec_helper.rb || die +} diff --git a/dev-ruby/jwt/jwt-2.2.0.ebuild b/dev-ruby/jwt/jwt-2.2.0.ebuild new file mode 100644 index 000000000000..297c32535e27 --- /dev/null +++ b/dev-ruby/jwt/jwt-2.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" +HOMEPAGE="https://github.com/jwt/ruby-jwt" +SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="ruby-jwt-${PV}" + +all_ruby_prepare() { + sed -i -e "/simplecov/ s:^:#:" \ + -e '/^SimpleCov.configure/,/^end/ s:^:#:' \ + -e '/codeclimate/I s:^:#:' \ + -e '/codacy/I s:^:#:' \ + spec/spec_helper.rb || die +} diff --git a/dev-ruby/jwt/jwt-2.2.1.ebuild b/dev-ruby/jwt/jwt-2.2.1.ebuild new file mode 100644 index 000000000000..1f2bda08e687 --- /dev/null +++ b/dev-ruby/jwt/jwt-2.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" +HOMEPAGE="https://github.com/jwt/ruby-jwt" +SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="ruby-jwt-${PV}" + +ruby_add_bdepend "test? ( dev-ruby/rbnacl )" + +all_ruby_prepare() { + sed -i -e "/simplecov/ s:^:#:" \ + -e '/^SimpleCov.configure/,/^end/ s:^:#:' \ + -e '/codeclimate/I s:^:#:' \ + -e '/codacy/I s:^:#:' \ + spec/spec_helper.rb || die +} diff --git a/dev-ruby/jwt/metadata.xml b/dev-ruby/jwt/metadata.xml new file mode 100644 index 000000000000..02deeb3d9542 --- /dev/null +++ b/dev-ruby/jwt/metadata.xml @@ -0,0 +1,12 @@ +<?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">jwt/ruby-jwt</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/kirbybase/Manifest b/dev-ruby/kirbybase/Manifest new file mode 100644 index 000000000000..fb5c38be4203 --- /dev/null +++ b/dev-ruby/kirbybase/Manifest @@ -0,0 +1 @@ +DIST KirbyBase-2.6.1.gem 304128 BLAKE2B 4fabc7d431b607d18b1474ba815ad1d19d3362734ac0a562858ab6deca6193e6fa13e668d17d84b228af4459b75d082aebbb04cc91c6dd7bfa667e9b38613032 SHA512 84a471b77ef9c91d50b61ad9993956fb25739155fe55049c1e20f1c87593f726604801ddb7968b19d8234d1d9ad9b112df53f1a2c8c85ec3559d88eedbd2314f diff --git a/dev-ruby/kirbybase/kirbybase-2.6.1-r2.ebuild b/dev-ruby/kirbybase/kirbybase-2.6.1-r2.ebuild new file mode 100644 index 000000000000..38f551632406 --- /dev/null +++ b/dev-ruby/kirbybase/kirbybase-2.6.1-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_NAME="KirbyBase" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="changes.txt kirbybaserubymanual.html README" + +inherit ruby-fakegem + +DESCRIPTION="A simple Ruby DBMS that stores data in plaintext files" +HOMEPAGE="http://www.netpromi.com/kirbybase_ruby.html" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +each_ruby_test() { + ${RUBY} -I.:lib -S testrb-2 test/t*.rb || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples images +} diff --git a/dev-ruby/kirbybase/metadata.xml b/dev-ruby/kirbybase/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/kirbybase/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/kissfft/Manifest b/dev-ruby/kissfft/Manifest new file mode 100644 index 000000000000..043863a2a010 --- /dev/null +++ b/dev-ruby/kissfft/Manifest @@ -0,0 +1 @@ +DIST kissfft-0.0.2.gem 13824 BLAKE2B 89c08365e23dce06f1c9acea7ddc7d463d3b8df1a5c238656fe9a43fd411077b9dfdf90288437ec9a30bba16d8eeb5a6a2b1a9d725cbff7ef07c632be6877f88 SHA512 3513008db848c92948e35c01bb568dcb8d52656ffe3510b81fb57b71b5abab121b3f1e6f3c20f2c94d0cbf1870d612b48f983a6639588ecd8a54f8b736fe81cc diff --git a/dev-ruby/kissfft/kissfft-0.0.2.ebuild b/dev-ruby/kissfft/kissfft-0.0.2.ebuild new file mode 100644 index 000000000000..06f07ff6687a --- /dev/null +++ b/dev-ruby/kissfft/kissfft-0.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="ruby interface to kissfft" +HOMEPAGE="https://rubygems.org/gems/kissfft" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/${PN} V=1 + mkdir lib || die + cp ext/${PN}/${PN}$(get_modname) lib/ || die +} diff --git a/dev-ruby/kissfft/metadata.xml b/dev-ruby/kissfft/metadata.xml new file mode 100644 index 000000000000..6a2546ababf8 --- /dev/null +++ b/dev-ruby/kissfft/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">kissfft</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/kpeg/Manifest b/dev-ruby/kpeg/Manifest new file mode 100644 index 000000000000..3bf97fa66a69 --- /dev/null +++ b/dev-ruby/kpeg/Manifest @@ -0,0 +1 @@ +DIST kpeg-1.1.0.gem 57856 BLAKE2B 6aab84aec59c4962ef39f31a7de89a7bb84f0ae2b64327206fefa8bc243e0dd405db121bfe2f50c72b18933c2f4ce7a47a842c741cbd53db1ad73415d41b95dc SHA512 4ca7007bea74485ceb7c3f53eef1cd2e162fed45872f8f078d5b5d2ffd1ecaa0e8fc65ed6f1b220bf6f4642d455a582cb754cdc6350edf856b33d9908510cb66 diff --git a/dev-ruby/kpeg/files/kpeg-1.1.0-utf8.patch b/dev-ruby/kpeg/files/kpeg-1.1.0-utf8.patch new file mode 100644 index 000000000000..1b565c466c2d --- /dev/null +++ b/dev-ruby/kpeg/files/kpeg-1.1.0-utf8.patch @@ -0,0 +1,17 @@ +Ensure proper encoding in non-UTF-8 locales. + +https://bugs.gentoo.org/640150 + +--- a/lib/kpeg/grammar.rb.orig 2018-05-20 09:26:13.597648830 +0200 ++++ b/lib/kpeg/grammar.rb 2018-05-20 09:28:19.606460712 +0200 +@@ -130,6 +130,10 @@ + end + end + ++ if reg =~ /\{[LMNPSZC][c-u]?\}/ && reg.encoding != Encoding::UTF_8 ++ reg.force_encoding('UTF-8') ++ end ++ + @regexp = Regexp.new(reg, flags, lang) + else + @regexp = reg diff --git a/dev-ruby/kpeg/kpeg-1.1.0-r1.ebuild b/dev-ruby/kpeg/kpeg-1.1.0-r1.ebuild new file mode 100644 index 000000000000..cfd6168c7144 --- /dev/null +++ b/dev-ruby/kpeg/kpeg-1.1.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A simple PEG library for Ruby" +HOMEPAGE="https://github.com/evanphx/kpeg" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +PATCHES=( "${FILESDIR}/${P}-utf8.patch" ) + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>5.0"; Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/kpeg/metadata.xml b/dev-ruby/kpeg/metadata.xml new file mode 100644 index 000000000000..b4f9d5a215e3 --- /dev/null +++ b/dev-ruby/kpeg/metadata.xml @@ -0,0 +1,12 @@ +<?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">evanphx/kpeg</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/kramdown-parser-gfm/Manifest b/dev-ruby/kramdown-parser-gfm/Manifest new file mode 100644 index 000000000000..1b412ffd7dbc --- /dev/null +++ b/dev-ruby/kramdown-parser-gfm/Manifest @@ -0,0 +1 @@ +DIST kramdown-parser-gfm-1.1.0.gem 11776 BLAKE2B 99a77ea02d0f48421cc6c582629f6cdc7504174867cac8927bdc26fd50f851e294c0f71ab985e9d0d6e595906c458b1f96d06903d6765eabf8b6f617c6303f14 SHA512 5662c1a50da7c8e50fd50afb5fe1dcd3bd63f4282d9940f96bb56266b63841c0b09902ce90eb3162aa89c54047970667b17299b3a7cf475bab2641604aa15d8c diff --git a/dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild b/dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild new file mode 100644 index 000000000000..198e6f11b1e7 --- /dev/null +++ b/dev-ruby/kramdown-parser-gfm/kramdown-parser-gfm-1.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-fakegem + +DESCRIPTION="A kramdown parser for the GFM dialect of Markdown" +HOMEPAGE="https://github.com/kramdown/parser-gfm" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="doc" + +ruby_add_rdepend "dev-ruby/kramdown:2" +ruby_add_bdepend "test? ( dev-ruby/kramdown[latex] )" + +all_ruby_prepare() { + # Avoid testcase which is no longer compatible with newer rouge + rm -f test/testcases/codeblock_fenced.text || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/kramdown-parser-gfm/metadata.xml b/dev-ruby/kramdown-parser-gfm/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/kramdown-parser-gfm/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/kramdown-syntax-coderay/Manifest b/dev-ruby/kramdown-syntax-coderay/Manifest new file mode 100644 index 000000000000..1642437f57c0 --- /dev/null +++ b/dev-ruby/kramdown-syntax-coderay/Manifest @@ -0,0 +1 @@ +DIST kramdown-syntax-coderay-1.0.1.gem 7680 BLAKE2B 66385a651b4a03980984385d09a0076388bcf5f8506ab19267bd75824300c431630280ab5dc9bed41310e69938d2b1d9d42ecef2feace7a5b184c84e9614fdb1 SHA512 bd3e1d919cba7a797f43706f5b8543817654b10abb6c7eed56d99c3a8b75e91f7896db0c04ab999df9f39d21d7dfbc7a39a290e39129812fa5ed3cc8d674abad diff --git a/dev-ruby/kramdown-syntax-coderay/kramdown-syntax-coderay-1.0.1.ebuild b/dev-ruby/kramdown-syntax-coderay/kramdown-syntax-coderay-1.0.1.ebuild new file mode 100644 index 000000000000..32cb7421eb3b --- /dev/null +++ b/dev-ruby/kramdown-syntax-coderay/kramdown-syntax-coderay-1.0.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +inherit ruby-fakegem + +DESCRIPTION="Uses coderay to highlight code blocks/spans" +HOMEPAGE="https://github.com/kramdown/syntax-coderay" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/coderay-1.1:0 dev-ruby/kramdown:2" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/kramdown-syntax-coderay/metadata.xml b/dev-ruby/kramdown-syntax-coderay/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/kramdown-syntax-coderay/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest new file mode 100644 index 000000000000..8839ea91c17e --- /dev/null +++ b/dev-ruby/kramdown/Manifest @@ -0,0 +1,3 @@ +DIST kramdown-1.17.0.gem 260608 BLAKE2B 56f0abb2c94ab2de31bcd71940c22610efc8143c434295627513735b5983a369b0d9b36a88477a4e0b14bb23a3d314280702655c854cb7134e29bebc1f276966 SHA512 0f98f4234dec41b53d7f116be1075176c7fcbf21621c6f52a9e5b4055a777b01f1a0a912be81a651e85df022e7bab3ac183ee66cd87abeae092cd1920aceff04 +DIST kramdown-2.1.0.gem 119808 BLAKE2B a5beac52349fb49d315d83391d52574013bd76e084edb25a0b3bc0d813fc5b0dae0799a03bdd20fb500560effc94ad8f262fab9bbb8eef275aaead3405d3a64c SHA512 86a2934218365c71ff4f99591cba3b49ddc5ee60a78fcd7bf1f72e86281cda7bbea3c67b1b7caca6c4b8ca6e5b62d4df25e85089db659c93bd4da4b1c8eada69 +DIST kramdown-2.2.1.gem 121344 BLAKE2B e1da7e1289b64cc3d4db253330405b03b1a430a690e2f5b32970dc8c1d52bbf1f418e8aa1c597a3333141c3974893e1532e870a131fc297b9080b66bc6918882 SHA512 7c322010a8a418706c48d5a1011354aba215d50be94354fff93a636ff3453906bb381cf5669560a6bd10ecaf3bab7b04f446efa0a4b85322865b879f74de4c43 diff --git a/dev-ruby/kramdown/kramdown-1.17.0-r2.ebuild b/dev-ruby/kramdown/kramdown-1.17.0-r2.ebuild new file mode 100644 index 000000000000..fa09fd3b6894 --- /dev/null +++ b/dev-ruby/kramdown/kramdown-1.17.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition" +HOMEPAGE="https://kramdown.gettalong.org/" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +IUSE="latex" + +LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )" +RDEPEND+=" ${LATEX_DEPS}" +DEPEND+=" test? ( ${LATEX_DEPS} app-text/tidy-html5 )" + +ruby_add_rdepend "dev-ruby/prawn:2 + >=dev-ruby/prawn-table-0.2.2 =dev-ruby/prawn-table-0.2* + >=dev-ruby/rouge-1.8 + >=dev-ruby/itextomml-1.5 + >=dev-ruby/coderay-1.0.0 + >=dev-ruby/ritex-1.0 + >=dev-ruby/stringex-1.5.1" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc ) + test? ( >=dev-ruby/minitest-5.0 )" + +all_ruby_prepare() { + if ! use latex; then + # Remove latex tests. They will fail gracefully when latex isn't + # present at all, but not when components are missing (most + # notable ucs.sty). + sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die + fi + + # Avoid tests requiring node to be installed with mathjaxnode or + # unpackaged katex. + rm -f test/testcases/span/math/{katex,mathjaxnode}* \ + test/testcases/block/15_math/{katex,mathjaxnode}* || die +} diff --git a/dev-ruby/kramdown/kramdown-1.17.0.ebuild b/dev-ruby/kramdown/kramdown-1.17.0.ebuild new file mode 100644 index 000000000000..ea509c6f7441 --- /dev/null +++ b/dev-ruby/kramdown/kramdown-1.17.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition" +HOMEPAGE="https://kramdown.gettalong.org/" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +IUSE="latex" + +LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )" +RDEPEND+=" ${LATEX_DEPS}" +DEPEND+=" test? ( ${LATEX_DEPS} app-text/tidy-html5 )" + +ruby_add_rdepend "dev-ruby/prawn:2 + >=dev-ruby/prawn-table-0.2.2 =dev-ruby/prawn-table-0.2* + >=dev-ruby/rouge-1.8 + >=dev-ruby/itextomml-1.5 + >=dev-ruby/coderay-1.0.0 + >=dev-ruby/ritex-1.0 + >=dev-ruby/stringex-1.5.1" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc ) + test? ( >=dev-ruby/minitest-5.0 )" + +all_ruby_prepare() { + if ! use latex; then + # Remove latex tests. They will fail gracefully when latex isn't + # present at all, but not when components are missing (most + # notable ucs.sty). + sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die + fi + + # Avoid tests requiring node to be installed with mathjaxnode or + # unpackaged katex. + rm -f test/testcases/span/math/{katex,mathjaxnode}* \ + test/testcases/block/15_math/{katex,mathjaxnode}* || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/man1/kramdown.1 +} diff --git a/dev-ruby/kramdown/kramdown-2.1.0.ebuild b/dev-ruby/kramdown/kramdown-2.1.0.ebuild new file mode 100644 index 000000000000..9c204f1bac72 --- /dev/null +++ b/dev-ruby/kramdown/kramdown-2.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition" +HOMEPAGE="https://kramdown.gettalong.org/" + +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +IUSE="latex" + +LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )" +RDEPEND+=" ${LATEX_DEPS}" +DEPEND+=" test? ( ${LATEX_DEPS} app-text/tidy-html5 )" + +ruby_add_rdepend " + >=dev-ruby/rouge-1.8 + >=dev-ruby/stringex-1.5.1 + !!<dev-ruby/kramdown-1.17.0-r2:0" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc ) + test? ( >=dev-ruby/minitest-5.0 )" + +all_ruby_prepare() { + if ! use latex; then + # Remove latex tests. They will fail gracefully when latex isn't + # present at all, but not when components are missing (most + # notable ucs.sty). + sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/man1/kramdown.1 +} diff --git a/dev-ruby/kramdown/kramdown-2.2.1.ebuild b/dev-ruby/kramdown/kramdown-2.2.1.ebuild new file mode 100644 index 000000000000..9deca750988b --- /dev/null +++ b/dev-ruby/kramdown/kramdown-2.2.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition" +HOMEPAGE="https://kramdown.gettalong.org/" + +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +IUSE="latex" + +LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )" +RDEPEND+=" ${LATEX_DEPS}" +DEPEND+=" test? ( ${LATEX_DEPS} app-text/tidy-html5 )" + +ruby_add_rdepend " + dev-ruby/rexml + >=dev-ruby/rouge-1.8 + >=dev-ruby/stringex-1.5.1 + !!<dev-ruby/kramdown-1.17.0-r2:0" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc ) + test? ( >=dev-ruby/minitest-5.0 )" + +all_ruby_prepare() { + if ! use latex; then + # Remove latex tests. They will fail gracefully when latex isn't + # present at all, but not when components are missing (most + # notable ucs.sty). + sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/man1/kramdown.1 +} diff --git a/dev-ruby/kramdown/metadata.xml b/dev-ruby/kramdown/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/kramdown/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/launchy/Manifest b/dev-ruby/launchy/Manifest new file mode 100644 index 000000000000..b85aeb88b089 --- /dev/null +++ b/dev-ruby/launchy/Manifest @@ -0,0 +1,2 @@ +DIST launchy-2.4.3.gem 29184 BLAKE2B d6e8e26f37a811fc994ee762791ea9ddb424dc99d23790905f80416734677535aa8b2087eab233dc1535556c240f260c5995185e10642cd682bbe508e3e30654 SHA512 7c3e0377c9a310b2e7a4d1544b4790f6f959d24b6aba91660e979eb943f4bee641e0b5a44687b693ffe99304ceb96a9a6cf9fed142e231af01135bd2b73321d6 +DIST launchy-2.5.0.gem 30208 BLAKE2B 30719f97fdf1bca8a66eb113992c8714103a7fe87262c3677a0fa64b58070593bcbdba7357b81e5bada9e8a143e6601e28ef2d2730f0028fdaecefad23156fd8 SHA512 d80811009155d9cea6a2e69b5f7482aaec7d0bf23ecca4cbe72e440fb4eae1c38bc5904e863998f1966c7a99b98bad1f4456cec1cb076f96f5a99b835448b39f diff --git a/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch b/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch new file mode 100644 index 000000000000..00a0d4bf27e0 --- /dev/null +++ b/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch @@ -0,0 +1,25 @@ +diff --git a/spec/applications/browser_spec.rb b/spec/applications/browser_spec.rb +index 8cfa8e7..3886ce3 100644 +--- a/spec/applications/browser_spec.rb ++++ b/spec/applications/browser_spec.rb +@@ -12,20 +12,7 @@ describe Launchy::Application::Browser do + ENV.delete( 'KDE_FULL_SESSION' ) + ENV.delete( 'BROWSER' ) + end + +- { 'windows' => 'start "launchy" /b' , +- 'darwin' => '/usr/bin/open', +- 'cygwin' => 'cmd /C start "launchy" /b', +- +- # when running these tests on a linux box, this test will fail +- 'linux' => nil }.each do |host_os, cmdline| +- it "when host_os is '#{host_os}' the appropriate 'app_list' method is called" do +- Launchy.host_os = host_os +- browser = Launchy::Application::Browser.new +- browser.app_list.first.must_equal cmdline +- end +- end +- + %w[ linux windows darwin cygwin ].each do |host_os| + it "the BROWSER environment variable overrides any host defaults on '#{host_os}'" do + ENV['BROWSER'] = "my_special_browser --new-tab '%s'" diff --git a/dev-ruby/launchy/launchy-2.4.3-r2.ebuild b/dev-ruby/launchy/launchy-2.4.3-r2.ebuild new file mode 100644 index 000000000000..061b8cfc357f --- /dev/null +++ b/dev-ruby/launchy/launchy-2.4.3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +inherit ruby-fakegem + +DESCRIPTION="Helper class for launching cross-platform applications" +HOMEPAGE="https://github.com/copiousfreetime/launchy" + +LICENSE="ISC" + +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~x86" +IUSE="" + +# File collision conflict with x11-misc/launchy, bug 545170 +ruby_add_rdepend ">=dev-ruby/addressable-2.3 !!x11-misc/launchy" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0:5 )" + +# This test is expected to fail on linux, drop it +RUBY_PATCHES=( "${FILESDIR}"/${PN}-2.4.2-drop-failing-test.patch ) + +all_ruby_prepare() { + sed -i -e "/[Ss]implecov/d" spec/spec_helper.rb || die + + # Avoid tests depending on the current user's desktop environment. + sed -e '/returns NotFound if it cannot determine/askip "gentoo"' \ + -i spec/detect/nix_desktop_environment_spec.rb || die + sed -e '/asssumes we open a local file if we have an exception/askip "gentoo"' \ + -i spec/launchy_spec.rb || die +} diff --git a/dev-ruby/launchy/launchy-2.5.0.ebuild b/dev-ruby/launchy/launchy-2.5.0.ebuild new file mode 100644 index 000000000000..8cf4802c944a --- /dev/null +++ b/dev-ruby/launchy/launchy-2.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +inherit ruby-fakegem + +DESCRIPTION="Helper class for launching cross-platform applications" +HOMEPAGE="https://github.com/copiousfreetime/launchy" + +LICENSE="ISC" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/addressable-2.7" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0:5 )" + +all_ruby_prepare() { + sed -i -e "/[Ss]implecov/d" spec/spec_helper.rb || die + + # Avoid tests depending on the current user's desktop environment. + sed -e '/returns NotFound if it cannot determine/askip "gentoo"' \ + -i spec/detect/nix_desktop_environment_spec.rb || die + sed -e '/asssumes we open a local file if we have an exception/askip "gentoo"' \ + -i spec/launchy_spec.rb || die + sed -e "/'darwin'/ s:^:#:" \ + -i spec/applications/browser_spec.rb || die +} diff --git a/dev-ruby/launchy/metadata.xml b/dev-ruby/launchy/metadata.xml new file mode 100644 index 000000000000..db8cd6c5be42 --- /dev/null +++ b/dev-ruby/launchy/metadata.xml @@ -0,0 +1,12 @@ +<?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">copiousfreetime/launchy</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/lemon/Manifest b/dev-ruby/lemon/Manifest new file mode 100644 index 000000000000..5380cab20f9d --- /dev/null +++ b/dev-ruby/lemon/Manifest @@ -0,0 +1 @@ +DIST lemon-0.9.1.gem 31744 BLAKE2B e1b213e9fb5690c6dcc03cac1d83e9dca48540c41ecaa8bc90873c91d393c6b5fdbd800610238e485d42c1a3412541beb6119eae1e8830753fbc0c786084f3d2 SHA512 8e77d049982ab4e0ae3a18ea3f4d0e4164026fffe1ad94d3098a4165102630c529a9909c3978febb816723a4ff7e17a159a0e067f5f826f93d11f720e49062e8 diff --git a/dev-ruby/lemon/lemon-0.9.1.ebuild b/dev-ruby/lemon/lemon-0.9.1.ebuild new file mode 100644 index 000000000000..5196ee5358fe --- /dev/null +++ b/dev-ruby/lemon/lemon-0.9.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Lemon is a unit testing framework" +HOMEPAGE="https://rubyworks.github.io/lemon/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/qed )" +ruby_add_rdepend " + dev-ruby/ae + >=dev-ruby/ansi-1.3 + dev-ruby/rubytest" + +each_ruby_test() { + ${RUBY} -S qed || die 'tests failed' +} diff --git a/dev-ruby/lemon/metadata.xml b/dev-ruby/lemon/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/lemon/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/letter_opener/Manifest b/dev-ruby/letter_opener/Manifest new file mode 100644 index 000000000000..bd74e9c62dae --- /dev/null +++ b/dev-ruby/letter_opener/Manifest @@ -0,0 +1 @@ +DIST letter_opener-1.7.0.tar.gz 10907 BLAKE2B 0ac93d28a1eb0198d5d5c34a40dd03ac6406093c40d978ef35640893ce6feab672799cd628d4a43520c14277b50201d181aebb18819c8e0e5a561d108b08d3dc SHA512 99a62e4720e1b18085546b5ce09c136da951921e0a6436a37b747d3d8ce6f83fd6e35be23f1da0d49e7859967f06a479530845663665ce4abbac3938d3a4eae0 diff --git a/dev-ruby/letter_opener/letter_opener-1.7.0.ebuild b/dev-ruby/letter_opener/letter_opener-1.7.0.ebuild new file mode 100644 index 000000000000..bb732fe8c164 --- /dev/null +++ b/dev-ruby/letter_opener/letter_opener-1.7.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Preview mail in the browser instead of sending" +HOMEPAGE="https://github.com/ryanb/letter_opener" +SRC_URI="https://github.com/ryanb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/mail-2.6:* )" +ruby_add_rdepend ">=dev-ruby/launchy-2.2:0" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die + sed -i -e '4irequire "letter_opener"' spec/spec_helper.rb || die + + # Avoid tests that require some kind of browser + sed -i -e '/opens email/askip "requires installed browser"' spec/letter_opener/delivery_method_spec.rb || die +} diff --git a/dev-ruby/letter_opener/metadata.xml b/dev-ruby/letter_opener/metadata.xml new file mode 100644 index 000000000000..74d747aef480 --- /dev/null +++ b/dev-ruby/letter_opener/metadata.xml @@ -0,0 +1,12 @@ +<?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">ryanb/letter_opener</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/levenshtein/Manifest b/dev-ruby/levenshtein/Manifest new file mode 100644 index 000000000000..761a1db8865d --- /dev/null +++ b/dev-ruby/levenshtein/Manifest @@ -0,0 +1 @@ +DIST levenshtein-0.2.2.gem 7680 BLAKE2B f10a6b4079c74bfd5ade5113fc96e3551d7b78192aeb8ad68ef40e5813b3c00707614bab362d4cd9a7331be04f74611e016c2d95f7a82964cb2d4ef7ce813e8d SHA512 a84300b6590ab8c5fe2cc4e6f243ccec397cb97f7a241f635d2344433365b846701f9f4cccd7e574a1e50cf389ed03e3fe9992b6c2f21e12806a0c3ab08f03d0 diff --git a/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild b/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild new file mode 100644 index 000000000000..54102527bb19 --- /dev/null +++ b/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Levenshtein distance algorithm" +HOMEPAGE="https://github.com/mbleigh/mash" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/levenshtein extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/levenshtein V=1 + cp ext/levenshtein/levenshtein_fast$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test.rb || die +} diff --git a/dev-ruby/levenshtein/metadata.xml b/dev-ruby/levenshtein/metadata.xml new file mode 100644 index 000000000000..fea18794e436 --- /dev/null +++ b/dev-ruby/levenshtein/metadata.xml @@ -0,0 +1,12 @@ +<?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">mbleigh/mash</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/libusb/Manifest b/dev-ruby/libusb/Manifest new file mode 100644 index 000000000000..e92d2a89f110 --- /dev/null +++ b/dev-ruby/libusb/Manifest @@ -0,0 +1 @@ +DIST libusb-0.6.4.gem 762368 BLAKE2B daca8049b82cb56fb8cac350f6953ce292c74370bf468497773b34b6017eef9c0252daf2a0213e660db99120a53193ea67943bb1d851ae1ee723ea84dbe289e0 SHA512 433425f9cc2600615a3e4baec962ff0901e9c0eae7a77c410d099f22742995b23bf9c143797b393843b3de26b8336263cd5b3d3d1cdcd8f91266d90201a6a6de diff --git a/dev-ruby/libusb/libusb-0.6.4.ebuild b/dev-ruby/libusb/libusb-0.6.4.ebuild new file mode 100644 index 000000000000..92f4a629ea74 --- /dev/null +++ b/dev-ruby/libusb/libusb-0.6.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="binding that gives Ruby programmers access to arbitrary USB devices" +HOMEPAGE="https://github.com/larskanis/libusb" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND+="virtual/libusb:1" +RDEPEND+="${DEPEND}" + +ruby_add_rdepend "dev-ruby/ffi:0" + +all_ruby_prepare() { + sed -i '/mini_portile2/d' ${PN}.gemspec || die + + # Avoid tests that try to open devices + rm -f test/test_libusb_bos.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/libusb/metadata.xml b/dev-ruby/libusb/metadata.xml new file mode 100644 index 000000000000..dff036c0ca3e --- /dev/null +++ b/dev-ruby/libusb/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">larskanis/libusb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/liquid-c/Manifest b/dev-ruby/liquid-c/Manifest new file mode 100644 index 000000000000..5c031f14cc10 --- /dev/null +++ b/dev-ruby/liquid-c/Manifest @@ -0,0 +1,2 @@ +DIST liquid-c-3.0.0.gem 15360 BLAKE2B 2fa64ede17b25fb7e83f6b1b74dfc9b2777eda51773e1efdda2fff921ec740f7628e1a87a73896f0adaea5abd48bdb04331fcccd122ac35db5e8ca0ce4092bd9 SHA512 500afb4669555b0e7c8ac2ab46b3bfdcf4db2e67fd89369669125e5d4598edad6dff5270599e659c64abe33c254dde556ff12e74fe35f7baae3bbd9bf9c60b36 +DIST liquid-c-4.0.0.gem 15872 BLAKE2B 8083ae622da685db2aa557ffff0927a900a51c92227ea2523dcf4c408ff4df6f417cbf7fe019383220c3fe580d53f40d496787d8f7328a1e42c3f17a435eebe6 SHA512 a9f3618a7286c6417e9d22cad8c0716f84f33c43e9b12708711f9c4bdebb94a30e408b3dca99cdfe0a7c5b5e5b39ffa79e978ef6b44e5359975e3d74106932be diff --git a/dev-ruby/liquid-c/liquid-c-3.0.0.ebuild b/dev-ruby/liquid-c/liquid-c-3.0.0.ebuild new file mode 100644 index 000000000000..4054dcd847e9 --- /dev/null +++ b/dev-ruby/liquid-c/liquid-c-3.0.0.ebuild @@ -0,0 +1,37 @@ +# 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="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Liquid performance extension in C" +HOMEPAGE="https://github.com/Shopify/liquid-c" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +MY_PN=${PN/-/_} + +ruby_add_rdepend ">=dev-ruby/liquid-3.0.0:*" + +all_ruby_prepare() { + sed -i -e "s/-Werror//" ext/${MY_PN}/extconf.rb || die + sed -i -e "/[Bb]undler/d" Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${MY_PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${MY_PN} + cp ext/${MY_PN}/${MY_PN}$(get_modname) lib/ || die +} diff --git a/dev-ruby/liquid-c/liquid-c-4.0.0.ebuild b/dev-ruby/liquid-c/liquid-c-4.0.0.ebuild new file mode 100644 index 000000000000..73f65f75946d --- /dev/null +++ b/dev-ruby/liquid-c/liquid-c-4.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Liquid performance extension in C" +HOMEPAGE="https://github.com/Shopify/liquid-c" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64" +IUSE="" + +MY_PN=${PN/-/_} + +ruby_add_rdepend ">=dev-ruby/liquid-3.0.0:*" + +all_ruby_prepare() { + sed -i -e "s/-Werror//" ext/${MY_PN}/extconf.rb || die + sed -i -e "/[Bb]undler/d" Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${MY_PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${MY_PN} + cp ext/${MY_PN}/${MY_PN}$(get_modname) lib/ || die +} diff --git a/dev-ruby/liquid-c/metadata.xml b/dev-ruby/liquid-c/metadata.xml new file mode 100644 index 000000000000..b363cee1237b --- /dev/null +++ b/dev-ruby/liquid-c/metadata.xml @@ -0,0 +1,12 @@ +<?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">Shopify/liquid-c</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/liquid/Manifest b/dev-ruby/liquid/Manifest new file mode 100644 index 000000000000..2961ed92367d --- /dev/null +++ b/dev-ruby/liquid/Manifest @@ -0,0 +1,5 @@ +DIST liquid-2.6.2.gem 46592 BLAKE2B a20d7bd263dc983c5f23316ad4779ba50ea6a75f53602f687269d3a2b3644bdeb049de047fa69f29d919c84fa429fc343c989f6f014d5b739ca7cc523e7576f1 SHA512 bd369fe2e9bd89013f9bbd4a7f721b2db4376ac02c5ea4b4da6a08fa6af24fe782fae38b32d250edde548980f042c7187a673da47fa8d5569ed0959fd1569827 +DIST liquid-3.0.6.tar.gz 88159 BLAKE2B 58cc0efbf45622470b3edb1e6e04af4014b670490b577f53af1f4f87498ff3fd507784ad524bb03ed97cdee9192832f1eae5b2b9ba9ae32db1761ff2b2d83a07 SHA512 66e1be904f3dcd18e345bf3fedf314fdf4ae84a0e1354859ee8e33f82386e929b4c871ec3c37c2c752358d76017fb5b1fef59f4bad04d3e7e89672146a3f8229 +DIST liquid-4.0.1.tar.gz 99014 BLAKE2B dfe5b4bb76f67f070beff22f19fbf1c3825489d258493099522c78f370497cafddb70e895a3d0d9a84b9ec8ad4ef7343bfcea113a508fb7baeac5b5dd7f23661 SHA512 6d8a792ea2fa5cd723e826dc9dd26be60179ab3405e9f74bc47a068b863aa0233e3a570faff65c19e669663c4f30201cb4144d2ab4ed23176d695c3d7f0553d0 +DIST liquid-4.0.2.tar.gz 102151 BLAKE2B bd9f37c3d7c209edacdf8a1565ae235b0e18b5d15c02279de8c604a84cd1a000f96199e533d41597036cd7d3f8e5f3b67fc1b45d5eec7285484e5e283796fbcc SHA512 cdb8c808517d1e257202a36f672a1d67269ba44aa474a315699cab4ee67b766b01e2a1ae8e638d209adfaa87c7bb6438a1a47abb5ae925c78cfef944ec9d2d7c +DIST liquid-4.0.3.tar.gz 102242 BLAKE2B 4a025fd8501e237f7619ed989e185a6c55a234577c99423857a826b616c40625c1fd205d998a368488306a88c0b84fc3d3ac59bd01c1231055aa9f60a3d14338 SHA512 5aed3b98fa486a00744e0225f7a3b8004be8ded1e3347f9118fd062684fe33b725b84d1f88bdd5e881399e6efa60b4aa32f57cf10f4583aa27ec8c8288b52bf9 diff --git a/dev-ruby/liquid/liquid-2.6.2.ebuild b/dev-ruby/liquid/liquid-2.6.2.ebuild new file mode 100644 index 000000000000..944d89c31008 --- /dev/null +++ b/dev-ruby/liquid/liquid-2.6.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Template engine for Ruby" +HOMEPAGE="http://www.liquidmarkup.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib:test test/liquid/*_test.rb +} diff --git a/dev-ruby/liquid/liquid-3.0.6.ebuild b/dev-ruby/liquid/liquid-3.0.6.ebuild new file mode 100644 index 000000000000..db85e35d7ba6 --- /dev/null +++ b/dev-ruby/liquid/liquid-3.0.6.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +inherit ruby-fakegem + +SRC_URI="https://github.com/Shopify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Template engine for Ruby" +HOMEPAGE="http://www.liquidmarkup.org/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest + dev-ruby/spy )" diff --git a/dev-ruby/liquid/liquid-4.0.1.ebuild b/dev-ruby/liquid/liquid-4.0.1.ebuild new file mode 100644 index 000000000000..c00ee1fe0cbb --- /dev/null +++ b/dev-ruby/liquid/liquid-4.0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +inherit ruby-fakegem + +SRC_URI="https://github.com/Shopify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Template engine for Ruby" +HOMEPAGE="https://shopify.github.io/liquid/" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest + dev-ruby/spy )" + +all_ruby_prepare() { + # liquid-c is not packaged + sed -i -e '/LIQUID-C/ s:^:#:' Rakefile || die + + # Avoid test requiring unpackaged stackprof + sed -i -e '/assert_no_object_allocations/askip "unpackaged stackprof"' test/unit/context_unit_test.rb +} diff --git a/dev-ruby/liquid/liquid-4.0.2.ebuild b/dev-ruby/liquid/liquid-4.0.2.ebuild new file mode 100644 index 000000000000..c00ee1fe0cbb --- /dev/null +++ b/dev-ruby/liquid/liquid-4.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +inherit ruby-fakegem + +SRC_URI="https://github.com/Shopify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Template engine for Ruby" +HOMEPAGE="https://shopify.github.io/liquid/" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest + dev-ruby/spy )" + +all_ruby_prepare() { + # liquid-c is not packaged + sed -i -e '/LIQUID-C/ s:^:#:' Rakefile || die + + # Avoid test requiring unpackaged stackprof + sed -i -e '/assert_no_object_allocations/askip "unpackaged stackprof"' test/unit/context_unit_test.rb +} diff --git a/dev-ruby/liquid/liquid-4.0.3.ebuild b/dev-ruby/liquid/liquid-4.0.3.ebuild new file mode 100644 index 000000000000..c00ee1fe0cbb --- /dev/null +++ b/dev-ruby/liquid/liquid-4.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +inherit ruby-fakegem + +SRC_URI="https://github.com/Shopify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Template engine for Ruby" +HOMEPAGE="https://shopify.github.io/liquid/" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest + dev-ruby/spy )" + +all_ruby_prepare() { + # liquid-c is not packaged + sed -i -e '/LIQUID-C/ s:^:#:' Rakefile || die + + # Avoid test requiring unpackaged stackprof + sed -i -e '/assert_no_object_allocations/askip "unpackaged stackprof"' test/unit/context_unit_test.rb +} diff --git a/dev-ruby/liquid/metadata.xml b/dev-ruby/liquid/metadata.xml new file mode 100644 index 000000000000..bffab34657fa --- /dev/null +++ b/dev-ruby/liquid/metadata.xml @@ -0,0 +1,12 @@ +<?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">Shopify/liquid</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest new file mode 100644 index 000000000000..56d0a086279c --- /dev/null +++ b/dev-ruby/listen/Manifest @@ -0,0 +1,5 @@ +DIST listen-0.7.3-git.tgz 34831 BLAKE2B 38ad9805080606f17cfe4073ce503985ee4a131258e4887c06901ac42da6ee5a987f1db97c26747e3f518d56336b074b485ac1e4c4d3cee6cf15ff9586e9a090 SHA512 9d4297f24b63449f3293f750d903170793b31c2a7d0a87c16bc4c3b741b993e0cc06ec5408d7a2c706505641fa3cd3f070cc09e7a7a5d358d8f18f26b41fb408 +DIST listen-1.3.1-git.tgz 35521 BLAKE2B 6b93daff2b3ba221d0c0f196c67353963e983610dd9deb3409c8ad270f7221d50e9eefee826c16c51ac0361cf7f5da727db216b1bd92a02077b0bee580fa368c SHA512 4676d030a3e676249a221cf4a136ce69651009ce5855821924be184460e404e4f33026627c9d524156a89344c826b48a690a249f1059493d7d214b922381bdd0 +DIST listen-3.1.5.tar.gz 51250 BLAKE2B 8ed941ed72293fad3327f2fb939920f82b02a9c0f25e8b1273961d9bff64830d619e9e97c184e353b69a78fe38be01a2fd2f0453cf94d3ca9fff66e40d18f59d SHA512 132266485d70002da5bd1e680530331db6b74e8ea12011d60a6ba7df0ec045459b5b3a6305bb2ea6a80ff6a4a1244ef935a4143f6c8709df7a176d6db69da08a +DIST listen-3.2.0.tar.gz 50938 BLAKE2B 5373e3a04b17226da74b2b7f55de6706e5c30439024abf8b45c2933c2eb64593104ddeb21bfb30a41893f1982accc5321a04fb3b81aa3f1e228efc8c2e6439a9 SHA512 7270f0f7a4e71ce729ab82fae6f3d779effb2733e18353f937971daa23316f8c86495ea5f1c62ce8bdc8b2539f2abbfed3277f5b27993a3834562a5e92462d29 +DIST listen-3.2.1.tar.gz 51030 BLAKE2B 1c7df3910c856c472f42417d51449f04d56635f0c77dbc6eb7a30d25042482f4efc7bbfa2d74609aa9f8d4ae134f53dc675b621efe35c2cc6faed8780d7128c8 SHA512 24cd67b926589401123dfce1a344a6d1ab1d0f9435b9646b7f638deebc0f683b77df70064537f84538eaf800beca4c67fd7c02e40d955fac92866b8ce1eeb769 diff --git a/dev-ruby/listen/files/listen-3.1.5-ruby26.patch b/dev-ruby/listen/files/listen-3.1.5-ruby26.patch new file mode 100644 index 000000000000..f90ab1ed213c --- /dev/null +++ b/dev-ruby/listen/files/listen-3.1.5-ruby26.patch @@ -0,0 +1,33 @@ +From 2908365366792ac3ba010fa32bc3be2beaed451a Mon Sep 17 00:00:00 2001 +From: Samuel Williams <samuel.williams@oriontransfer.co.nz> +Date: Sun, 16 Dec 2018 11:32:45 +1300 +Subject: [PATCH] Use raw Pathname to fix Linux specs. + +--- + lib/listen/adapter/linux.rb | 2 +- + spec/lib/listen/adapter/linux_spec.rb | 12 +----------- + 2 files changed, 2 insertions(+), 12 deletions(-) + +diff --git a/spec/lib/listen/adapter/linux_spec.rb b/spec/lib/listen/adapter/linux_spec.rb +index d77f0c0..da48319 100644 +--- a/spec/lib/listen/adapter/linux_spec.rb ++++ b/spec/lib/listen/adapter/linux_spec.rb +@@ -10,17 +10,7 @@ + end + + if linux? +- let(:dir1) do +- instance_double( +- Pathname, +- 'dir1', +- to_s: '/foo/dir1', +- cleanpath: real_dir1 +- ) +- end +- +- # just so cleanpath works in above double +- let(:real_dir1) { instance_double(Pathname, 'dir1', to_s: '/foo/dir1') } ++ let(:dir1) {Pathname.new("/foo/dir1")} + + let(:config) { instance_double(Listen::Adapter::Config) } + let(:queue) { instance_double(Queue) } diff --git a/dev-ruby/listen/listen-0.7.3-r2.ebuild b/dev-ruby/listen/listen-0.7.3-r2.ebuild new file mode 100644 index 000000000000..40d05b507c32 --- /dev/null +++ b/dev-ruby/listen/listen-0.7.3-r2.ebuild @@ -0,0 +1,33 @@ +# 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_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~x64-macos" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.0" + +all_ruby_prepare() { + # Avoid a spec with incorrect stubbing. + sed -i -e '/loads all the registerd dependencies/,/ end/ s:^:#:' \ + -e '/return true when dependencies are loaded/,/ end/ s:^:#:' \ + spec/listen/dependency_manager_spec.rb || die +} diff --git a/dev-ruby/listen/listen-1.3.1-r4.ebuild b/dev-ruby/listen/listen-1.3.1-r4.ebuild new file mode 100644 index 000000000000..a89fed5972d3 --- /dev/null +++ b/dev-ruby/listen/listen-1.3.1-r4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x64-macos" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.0" + +all_ruby_prepare() { + sed -i -e '/[Cc]overalls/d' spec/spec_helper.rb || die + # Drop failing test + sed -i -e '/#85/,+17d' spec/listen/directory_record_spec.rb || die + + # Drop dependencies for file system events not available on Gentoo. + sed -i -e '/\(fsevent\|kqueue\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/listen/listen-3.1.5-r3.ebuild b/dev-ruby/listen/listen-3.1.5-r3.ebuild new file mode 100644 index 000000000000..5bff18f9d13c --- /dev/null +++ b/dev-ruby/listen/listen-3.1.5-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +# Block on other packages trying to install a /usr/bin/listen +RDEPEND+="!!media-radio/ax25-apps !!<dev-ruby/listen-2.8.6-r1:2" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.7 >=dev-ruby/ruby_dep-1.2:1" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +PATCHES=( "${FILESDIR}/${P}-ruby26.patch" ) + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +} diff --git a/dev-ruby/listen/listen-3.2.0.ebuild b/dev-ruby/listen/listen-3.2.0.ebuild new file mode 100644 index 000000000000..ff03d7250959 --- /dev/null +++ b/dev-ruby/listen/listen-3.2.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +# Block on other packages trying to install a /usr/bin/listen +RDEPEND+="!!media-radio/ax25-apps !!<dev-ruby/listen-2.8.6-r1:2" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.10" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +} diff --git a/dev-ruby/listen/listen-3.2.1.ebuild b/dev-ruby/listen/listen-3.2.1.ebuild new file mode 100644 index 000000000000..9493ad4c6989 --- /dev/null +++ b/dev-ruby/listen/listen-3.2.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +# Block on other packages trying to install a /usr/bin/listen +RDEPEND+="!!media-radio/ax25-apps !!<dev-ruby/listen-2.8.6-r1:2" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.10" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +} diff --git a/dev-ruby/listen/metadata.xml b/dev-ruby/listen/metadata.xml new file mode 100644 index 000000000000..a7b311bece0e --- /dev/null +++ b/dev-ruby/listen/metadata.xml @@ -0,0 +1,12 @@ +<?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">guard/listen</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/litc/Manifest b/dev-ruby/litc/Manifest new file mode 100644 index 000000000000..994c12971abd --- /dev/null +++ b/dev-ruby/litc/Manifest @@ -0,0 +1 @@ +DIST litc-1.0.3.gem 9216 BLAKE2B b7ca4224e3a0fe0d5b109ed1b2dd07e93faacb13779ec245b1e6e2357cee54af137d5fee0685705efdb10c19131ff9eb8142fc8e9a77eedb7702ee441300035e SHA512 7fb36a051d0056a8ae2c7c48a404b8fc71b3e8f40d6487c7ba5c8d3896ff6c936604c47f8ccbe011c4ba7c1fc4ef863f9a551cdb06f40a93896692b1375b8b31 diff --git a/dev-ruby/litc/litc-1.0.3-r1.ebuild b/dev-ruby/litc/litc-1.0.3-r1.ebuild new file mode 100644 index 000000000000..f38a0d9b8c67 --- /dev/null +++ b/dev-ruby/litc/litc-1.0.3-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="rerdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A tiny ruby module for Amazon EC2 intance metadata" +HOMEPAGE="https://github.com/bkaney/litc" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/fakeweb dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Don't check dependencies since we provide slightly different packages. + sed -i -e '/check_dependencies/d'\ + -e 's#rake/rdoctask#rdoc/task#' Rakefile || die + sed -i -e '/ruby-debug/ s:^:#:' \ + -e '2agem "minitest", "~> 5.0"' test/helper.rb || die +} diff --git a/dev-ruby/litc/metadata.xml b/dev-ruby/litc/metadata.xml new file mode 100644 index 000000000000..44f7c98aabcd --- /dev/null +++ b/dev-ruby/litc/metadata.xml @@ -0,0 +1,12 @@ +<?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">bkaney/litc</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/little-plugger/Manifest b/dev-ruby/little-plugger/Manifest new file mode 100644 index 000000000000..5e26cd0a9f02 --- /dev/null +++ b/dev-ruby/little-plugger/Manifest @@ -0,0 +1 @@ +DIST little-plugger-1.1.4.gem 10240 BLAKE2B 389abe95f8eaf815e4cbffe184416a2846c917cc3cd90dff6f6f7d6fc9e162c0304652f3173c84fa61b5d25135cb295131733aed4911d19719b2b032ec3c4ad7 SHA512 79b26509c56084a93997e011870de085f9e5222d631bf410c9bb2a361949e80f3d8be279b26b6c405dd47aedbea72089de212990ae0906f7493a3e8edfa8cb87 diff --git a/dev-ruby/little-plugger/little-plugger-1.1.4.ebuild b/dev-ruby/little-plugger/little-plugger-1.1.4.ebuild new file mode 100644 index 000000000000..64d0a5d0af66 --- /dev/null +++ b/dev-ruby/little-plugger/little-plugger-1.1.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Module that provides Gem based plugin management" +HOMEPAGE="https://github.com/TwP/little-plugger" + +IUSE="test" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-ruby/little-plugger/metadata.xml b/dev-ruby/little-plugger/metadata.xml new file mode 100644 index 000000000000..909c0c7d4d6c --- /dev/null +++ b/dev-ruby/little-plugger/metadata.xml @@ -0,0 +1,12 @@ +<?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">TwP/little-plugger</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/locale/Manifest b/dev-ruby/locale/Manifest new file mode 100644 index 000000000000..814289ce13b1 --- /dev/null +++ b/dev-ruby/locale/Manifest @@ -0,0 +1,2 @@ +DIST locale-2.1.2-git.tgz 99433 BLAKE2B b735d913e4a2f1f09131eb9aabc17cee93cd4b28f10458928942a3edd159cd1cde71226d4ad9aa9e340f5df5ba52a298805d1a4e73cb8dbc83d00bcecb7ceb85 SHA512 62a0c60f2102cd2d144126985748f4ab186b8f582c9597f7f4080e782196a39d72b9947b90aaecf5b208ccad0175064ac90e816472fb374d19cb5209da0f7ff4 +DIST locale-2.1.3-git.tgz 99648 BLAKE2B e395a442f674c73ed03d0d4d55d875c796add076132964ce2abb457d5d6e2ed8643395f283728735bbbf1ffee8b03549e882e5c66f6a589106a0a36f5b9e4ff1 SHA512 77877f15914dbee5ca83155f8cb84815296b4e2e4205218c9926e0265b40940cbdbe68fb048870ce4f53a6caeeb593813a2e16e8c130a19e44a28cb67c82fe25 diff --git a/dev-ruby/locale/locale-2.1.2-r1.ebuild b/dev-ruby/locale/locale-2.1.2-r1.ebuild new file mode 100644 index 000000000000..f4a9181e11de --- /dev/null +++ b/dev-ruby/locale/locale-2.1.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc/reference" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="test" + +inherit ruby-fakegem + +DESCRIPTION="A pure ruby library which provides basic APIs for localization" +HOMEPAGE="https://github.com/ruby-gettext/locale" +LICENSE="|| ( Ruby GPL-2 )" +SRC_URI="https://github.com/ruby-gettext/locale/archive/${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~x86-macos" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/test-unit-rr )" + +all_ruby_prepare() { + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + yard || die + fi +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r samples +} diff --git a/dev-ruby/locale/locale-2.1.3.ebuild b/dev-ruby/locale/locale-2.1.3.ebuild new file mode 100644 index 000000000000..088f8aa41a3f --- /dev/null +++ b/dev-ruby/locale/locale-2.1.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc/reference" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="locale.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A pure ruby library which provides basic APIs for localization" +HOMEPAGE="https://github.com/ruby-gettext/locale" +LICENSE="|| ( Ruby GPL-2 )" +SRC_URI="https://github.com/ruby-gettext/locale/archive/${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/test-unit-rr )" + +all_ruby_prepare() { + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + yard || die + fi +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/locale/metadata.xml b/dev-ruby/locale/metadata.xml new file mode 100644 index 000000000000..e77d0d0c9b8d --- /dev/null +++ b/dev-ruby/locale/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-gettext/locale</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/lockfile/Manifest b/dev-ruby/lockfile/Manifest new file mode 100644 index 000000000000..16bd41bfc9ed --- /dev/null +++ b/dev-ruby/lockfile/Manifest @@ -0,0 +1 @@ +DIST lockfile-2.1.3.gem 24064 BLAKE2B c66bccbc1ca750388138f16e730f833e8a6eaa3f357ad56ddceae4dff7cebb93bd56681714ebd499d9df48d342d79cefa2ae43817c2705b52d7657ffdc7568ab SHA512 7674d3f556bf69b547678d8e30199315437995ab86289f1f9099d5192b49862e9ff227e4312ff9bcf9bb02ff4ebb1002832a0a324a6cf672e4e124b35393d6fc diff --git a/dev-ruby/lockfile/lockfile-2.1.3.ebuild b/dev-ruby/lockfile/lockfile-2.1.3.ebuild new file mode 100644 index 000000000000..ca0ba653799b --- /dev/null +++ b/dev-ruby/lockfile/lockfile-2.1.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library for creating NFS safe lockfiles" +HOMEPAGE="https://github.com/ahoward/lockfile" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/lockfile/metadata.xml b/dev-ruby/lockfile/metadata.xml new file mode 100644 index 000000000000..a246a0c3a878 --- /dev/null +++ b/dev-ruby/lockfile/metadata.xml @@ -0,0 +1,12 @@ +<?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">ahoward/lockfile</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/log4r/Manifest b/dev-ruby/log4r/Manifest new file mode 100644 index 000000000000..5d7a9b6f0277 --- /dev/null +++ b/dev-ruby/log4r/Manifest @@ -0,0 +1 @@ +DIST log4r-1.1.10.gem 118272 BLAKE2B 32b47cd7896b4b1769c51542a4b7f98b22874d40abe59fea4859079f8af10c07810d51cad275d3962f9948b6237a3e507d6d010cf7ebca232ea282ddb108b70a SHA512 a3a9e6c9ef5b388106afc4d402455ec480729cb58054794e6ff6c963b4d819776bf5b57ef5ab7499ddc9a6b3c10f299a133f3f5986d94ee0a438b64ede5bc143 diff --git a/dev-ruby/log4r/log4r-1.1.10-r2.ebuild b/dev-ruby/log4r/log4r-1.1.10-r2.ebuild new file mode 100644 index 000000000000..2337cbf8adcc --- /dev/null +++ b/dev-ruby/log4r/log4r-1.1.10-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" + +# There are no working tests atm, to be checked on next version bump. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" + +inherit ruby-fakegem + +DESCRIPTION="A comprehensive and flexible logging library written in Ruby" +HOMEPAGE="http://log4r.sourceforge.net/" +IUSE="" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86" + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples +} diff --git a/dev-ruby/log4r/metadata.xml b/dev-ruby/log4r/metadata.xml new file mode 100644 index 000000000000..f5be0ba16af5 --- /dev/null +++ b/dev-ruby/log4r/metadata.xml @@ -0,0 +1,12 @@ +<?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="sourceforge">log4r</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/log_buddy/Manifest b/dev-ruby/log_buddy/Manifest new file mode 100644 index 000000000000..84cbce50fc8e --- /dev/null +++ b/dev-ruby/log_buddy/Manifest @@ -0,0 +1 @@ +DIST log_buddy-0.7.0.gem 11264 BLAKE2B 688d8545a57361ecdecef3021db69d285a040b6439b2391337b8842408ad5e6d4b79d0d9391db07172e0bde6e27f151f6b6f93a3e4d9448730c32e4cf21a2c56 SHA512 ce7d068157f2fc3513f330a8616dbf126f218f2f5166a91d3cd0179cd5899a696acc364001a677324581eefc0ebbe20d1e01413b1f363fd424c25232f4a791e2 diff --git a/dev-ruby/log_buddy/log_buddy-0.7.0.ebuild b/dev-ruby/log_buddy/log_buddy-0.7.0.ebuild new file mode 100644 index 000000000000..cc8079558618 --- /dev/null +++ b/dev-ruby/log_buddy/log_buddy-0.7.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.markdown examples.rb" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem eutils + +DESCRIPTION="Log statements along with their name easily" +HOMEPAGE="https://github.com/relevance/log_buddy" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/mocha-0.9 )" + +all_ruby_prepare() { + rm Gemfile || die +} diff --git a/dev-ruby/log_buddy/metadata.xml b/dev-ruby/log_buddy/metadata.xml new file mode 100644 index 000000000000..58616588922c --- /dev/null +++ b/dev-ruby/log_buddy/metadata.xml @@ -0,0 +1,12 @@ +<?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">relevance/log_buddy</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/logue/Manifest b/dev-ruby/logue/Manifest new file mode 100644 index 000000000000..8c2bbc9e39d6 --- /dev/null +++ b/dev-ruby/logue/Manifest @@ -0,0 +1,3 @@ +DIST logue-git-1.0.13.tgz 14389 BLAKE2B a6886989e561124904e6e6016c84b53abd1ea5be2f92958dffdc9b5ce9741728b9760034a9a7517ff35dfe0ebf10d6a6937aee426b85de3e71690098e9eec0ad SHA512 677ef2a8fecc50cb923dcf85ab0bdd984ea5806c31e11df9438af92912b94a4ce227837fac4baee05595f894f6a0fd4167f2984357628eb3e8036479103340c4 +DIST logue-git-1.0.16.tgz 13364 BLAKE2B 1eaedcd8cd2a45713a39fd2bfc59fa8234903e01495072d905d461c799fb210be828a5d9685e285c44858c2a10e6016b0053686c3a7c31df64d829ed1c216df9 SHA512 bb8168b69f614f8b2e85bac982dbc85a4a0705cb8cf2d13bf1c361c120c1f66155782bccefbc9069bd9cb4595d6ae8e090c882677d52245ca3478892ce226c56 +DIST logue-git-1.0.18.tgz 13310 BLAKE2B 42669cae48b5efe5785470410b694c7330dad5273d3a788612729d0e2efb9aabb8b3024727efddb4efedc1addd377242bc5a3ad5e9ede602f0f606be4db84608 SHA512 654681b2d1735790a08d8c53f9097ca28b64c37e902ff1260c8f2fa669067d404103944f0c78c5382a10b9491d8b0a10495516d3529d68be97c62027c2812c9b diff --git a/dev-ruby/logue/logue-1.0.13-r1.ebuild b/dev-ruby/logue/logue-1.0.13-r1.ebuild new file mode 100644 index 000000000000..0c44d02ea4be --- /dev/null +++ b/dev-ruby/logue/logue-1.0.13-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A module that adds logging/trace functionality" +HOMEPAGE="https://github.com/jpace/logue" + +SRC_URI="https://github.com/jpace/logue/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ~ppc ~sparc x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/rainbow:3" + +ruby_add_bdepend "test? ( dev-ruby/paramesan )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Fix path to match installed gem path + sed -i -e 's:logue/lib/logue:/lib/logue:' lib/logue/stack.rb || die +} diff --git a/dev-ruby/logue/logue-1.0.16.ebuild b/dev-ruby/logue/logue-1.0.16.ebuild new file mode 100644 index 000000000000..509da71330aa --- /dev/null +++ b/dev-ruby/logue/logue-1.0.16.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A module that adds logging/trace functionality" +HOMEPAGE="https://github.com/jpace/logue" + +SRC_URI="https://github.com/jpace/logue/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/rainbow:3" + +ruby_add_bdepend "test? ( dev-ruby/paramesan )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Fix path to match installed gem path + sed -i -e 's:logue/lib/logue:/lib/logue:' lib/logue/stack.rb || die +} diff --git a/dev-ruby/logue/logue-1.0.18.ebuild b/dev-ruby/logue/logue-1.0.18.ebuild new file mode 100644 index 000000000000..dcef55f32fec --- /dev/null +++ b/dev-ruby/logue/logue-1.0.18.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A module that adds logging/trace functionality" +HOMEPAGE="https://github.com/jpace/logue" + +SRC_URI="https://github.com/jpace/logue/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/rainbow:3" + +ruby_add_bdepend "test? ( dev-ruby/paramesan )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Fix path to match installed gem path + sed -i -e 's:logue/lib/logue:/lib/logue:' lib/logue/stack.rb || die +} diff --git a/dev-ruby/logue/metadata.xml b/dev-ruby/logue/metadata.xml new file mode 100644 index 000000000000..0110dcf905f6 --- /dev/null +++ b/dev-ruby/logue/metadata.xml @@ -0,0 +1,12 @@ +<?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">jpace/logue</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest new file mode 100644 index 000000000000..b8c77267dd7b --- /dev/null +++ b/dev-ruby/loofah/Manifest @@ -0,0 +1,3 @@ +DIST loofah-2.4.0.gem 68096 BLAKE2B 7bffd489c6234b3afeebafad5029802aa0370ded269de018517e914c4c2ec151936e899c633e157045f93dce3e0d829e9821a3ab42447f71ca679f1bd3965423 SHA512 95bea374c0cf9e49becd4533c141a6ebb388f4ae0a1c27263612d3a4089177fd97956e4fbe7a8c8a8b17d8d69387e4629cf7c004f17008fb592f6b71297ed22a +DIST loofah-2.5.0.tar.gz 68497 BLAKE2B a4e13bb4b7e5b76b9cc753031617110c61db8b7f13c2dc7f0f9423a1ff106e45e79f62b80f595a3e1e2958de9ed717e718b5d58e57a32d4baaa2d8355713580e SHA512 77d84a26f93605bf231e893dd7b010013d97077ceed44ae16164210f029a044e36d5bcacebffbbefdd8fe371e7ab0aa322bc48565c2ccaed1e8a386385176301 +DIST loofah-2.6.0.tar.gz 68970 BLAKE2B 507e907e9c744734594dbb0aefdfb76f57f57ccb9fde6c52b15b56289d6cbeb8c1a7bc0fff0259d22204c45f55b06a360cb56e8c8731736a0d70ef079e006cbb SHA512 6c3948844b5f66f14a86049fa0527967a120df9a51661bab88449f0a60093493b5b948901b7227995747d253d915ca0176f708b126000036ca3396b794cd49db diff --git a/dev-ruby/loofah/loofah-2.4.0.ebuild b/dev-ruby/loofah/loofah-2.4.0.ebuild new file mode 100644 index 000000000000..a1c0ba8a9d28 --- /dev/null +++ b/dev-ruby/loofah/loofah-2.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Library for manipulating and transforming HTML/XML documents and fragments." +HOMEPAGE="https://github.com/flavorjones/loofah" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogiri-1.5.9" + +ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 )" + +all_ruby_prepare() { + # Avoid unneeded development dependencies + sed -i -e '/concourse/I s:^:#:' Rakefile || die + + # Avoid test failing on different whitespace. + sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/loofah/loofah-2.5.0-r2.ebuild b/dev-ruby/loofah/loofah-2.5.0-r2.ebuild new file mode 100644 index 000000000000..aa2eaf69d5c7 --- /dev/null +++ b/dev-ruby/loofah/loofah-2.5.0-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="loofah.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for manipulating and transforming HTML/XML documents and fragments." +HOMEPAGE="https://github.com/flavorjones/loofah" +SRC_URI="https://github.com/flavorjones/loofah/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogiri-1.5.9" + +ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 )" + +all_ruby_prepare() { + # Fix version in gemspec + sed -i -e '/s.version/ s/".*"/"'${PV}'"/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid unneeded development dependencies + sed -i -e '/concourse/I s:^:#:' Rakefile || die + + # Avoid test failing on different whitespace. + sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/loofah/loofah-2.6.0.ebuild b/dev-ruby/loofah/loofah-2.6.0.ebuild new file mode 100644 index 000000000000..8df5a613a61f --- /dev/null +++ b/dev-ruby/loofah/loofah-2.6.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="loofah.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for manipulating and transforming HTML/XML documents and fragments." +HOMEPAGE="https://github.com/flavorjones/loofah" +SRC_URI="https://github.com/flavorjones/loofah/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogiri-1.5.9" + +ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 )" + +all_ruby_prepare() { + # Fix version in gemspec + sed -i -e '/s.version/ s/".*"/"'${PV}'"/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid unneeded development dependencies + sed -i -e '/concourse/I s:^:#:' Rakefile || die + + # Avoid test failing on different whitespace. + sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/loofah/metadata.xml b/dev-ruby/loofah/metadata.xml new file mode 100644 index 000000000000..c6fddce487b9 --- /dev/null +++ b/dev-ruby/loofah/metadata.xml @@ -0,0 +1,12 @@ +<?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">flavorjones/loofah</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/loquacious/Manifest b/dev-ruby/loquacious/Manifest new file mode 100644 index 000000000000..3cfd321d41b7 --- /dev/null +++ b/dev-ruby/loquacious/Manifest @@ -0,0 +1 @@ +DIST loquacious-1.9.1.gem 22528 BLAKE2B 5ab28283e40f63a1bacdf6e7ca0c3c9e64527c21bbc7992720b7e2581c156fd449e18e56e10d6cdbe6c4238e129a0b99f5bf1b0487afbd3fc988ba6e9835d37b SHA512 49d176d0229e80a5af69a7cdd24fb2947332faeb70846f28c21249e5297d81246f55eb7f033cc444999267ae727b26f7540f1ec4a542a65af11c3d3ddf7bb129 diff --git a/dev-ruby/loquacious/loquacious-1.9.1-r2.ebuild b/dev-ruby/loquacious/loquacious-1.9.1-r2.ebuild new file mode 100644 index 000000000000..3150989e1cb8 --- /dev/null +++ b/dev-ruby/loquacious/loquacious-1.9.1-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Descriptive configuration files for Ruby written in Ruby" +HOMEPAGE="https://github.com/TwP/loquacious" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +all_ruby_compile() { + if use doc; then + rdoc lib || die "Documentation generation failed." + fi +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/loquacious/metadata.xml b/dev-ruby/loquacious/metadata.xml new file mode 100644 index 000000000000..77c2fea8a583 --- /dev/null +++ b/dev-ruby/loquacious/metadata.xml @@ -0,0 +1,12 @@ +<?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">TwP/loquacious</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/lumberjack/Manifest b/dev-ruby/lumberjack/Manifest new file mode 100644 index 000000000000..87f4ef2a7a47 --- /dev/null +++ b/dev-ruby/lumberjack/Manifest @@ -0,0 +1 @@ +DIST lumberjack-1.0.13.gem 26624 BLAKE2B 16e911d832425d0adf8ee1bd18435733c5451b705c48493dd80e5e8f6b07cb462be2686dcce7a8c46b799fb8a4fa1a82d4d9c06e675cd6e7a990d93140cea395 SHA512 e9e9c65bdeb42de51ad27b70c86d36c5e63e8d73c3568661d52619ca9eeab36cf6aede5e6cd6ab8e8d30446c0b0e7a9702f696e03e06d8b7a73e1c028953eef4 diff --git a/dev-ruby/lumberjack/lumberjack-1.0.13.ebuild b/dev-ruby/lumberjack/lumberjack-1.0.13.ebuild new file mode 100644 index 000000000000..dd7457f682dd --- /dev/null +++ b/dev-ruby/lumberjack/lumberjack-1.0.13.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A simple, powerful, and very fast logging utility" +HOMEPAGE="https://github.com/bdurand/lumberjack" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.8 )" diff --git a/dev-ruby/lumberjack/metadata.xml b/dev-ruby/lumberjack/metadata.xml new file mode 100644 index 000000000000..7b387c1de528 --- /dev/null +++ b/dev-ruby/lumberjack/metadata.xml @@ -0,0 +1,12 @@ +<?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">bdurand/lumberjack</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mab/Manifest b/dev-ruby/mab/Manifest new file mode 100644 index 000000000000..db3cae79d1ed --- /dev/null +++ b/dev-ruby/mab/Manifest @@ -0,0 +1 @@ +DIST mab-0.0.3.gem 25088 BLAKE2B 70d250f0fde8a2b7cc8bd50836b8a95b9c0d3e4c738ab2698781c685de508ee58465ce2710ef1fdc63316bfd4db9e16b1951f0d04a9db2a7b9ec0e237bd1c416 SHA512 0761a8de59243356981555ac5000cd98a0413f75bd9eb84848f8efd77be1895a44cf3b90f1182193f90c63a256ebe4a179e8f94a992a30f30ccaf4183b8d4c67 diff --git a/dev-ruby/mab/mab-0.0.3.ebuild b/dev-ruby/mab/mab-0.0.3.ebuild new file mode 100644 index 000000000000..2c6f119cdd8c --- /dev/null +++ b/dev-ruby/mab/mab-0.0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Markup as Ruby" +HOMEPAGE="https://github.com/camping/mab" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +IUSE="test" + +ruby_add_bdepend " + test? ( >=dev-ruby/minitest-4:0 )" + +all_ruby_prepare() { + sed -i -e '1igem "minitest", "~> 4.0"' test/helper.rb || die +} diff --git a/dev-ruby/mab/metadata.xml b/dev-ruby/mab/metadata.xml new file mode 100644 index 000000000000..f1859f4c54b5 --- /dev/null +++ b/dev-ruby/mab/metadata.xml @@ -0,0 +1,12 @@ +<?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">camping/mab</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/magic/Manifest b/dev-ruby/magic/Manifest new file mode 100644 index 000000000000..c5542ec0f98e --- /dev/null +++ b/dev-ruby/magic/Manifest @@ -0,0 +1 @@ +DIST magic-0.2.9.tar.gz 11642 BLAKE2B 1208e40e1c95ebd8a31f71d860b68acf9663a165fa5f775459f874d79f41c51268a0f0be5d9f6ca416b85a838879d179ccbc10e40047cba1e330f891dbd6297c SHA512 5bc6d6e1b2646b12af7dad15273dc125db68be2d6e6c109484339c8f651349827a90ea81d8feb0441c5811567d85130cda35167e2dbb426842f952fc2ff8ea15 diff --git a/dev-ruby/magic/magic-0.2.9-r1.ebuild b/dev-ruby/magic/magic-0.2.9-r1.ebuild new file mode 100644 index 000000000000..c3cef164eaed --- /dev/null +++ b/dev-ruby/magic/magic-0.2.9-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +SRC_URI="https://github.com/qoobaa/magic/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Ruby FFI bindings to libmagic" +HOMEPAGE="https://github.com/qoobaa/magic" + +IUSE="test" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND+="sys-apps/file" +DEPEND+="test? ( sys-apps/file )" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" +ruby_add_rdepend "dev-ruby/ffi" + +each_ruby_test() { + ${RUBY} -Ilib -Itest test/test_magic.rb || die +} diff --git a/dev-ruby/magic/metadata.xml b/dev-ruby/magic/metadata.xml new file mode 100644 index 000000000000..4f4a09574b3b --- /dev/null +++ b/dev-ruby/magic/metadata.xml @@ -0,0 +1,12 @@ +<?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">qoobaa/magic</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mail/Manifest b/dev-ruby/mail/Manifest new file mode 100644 index 000000000000..8063e96e4fd4 --- /dev/null +++ b/dev-ruby/mail/Manifest @@ -0,0 +1 @@ +DIST mail-2.7.1-git.tar.gz 625251 BLAKE2B c1efbb259042155e983c1971fe9821eb0dd850089bd04cb0c74513f6f17dabf8ecc3155d9e5846ae657383f522872323f8fba37d51fba4318ac682d18a6d4c50 SHA512 17c601c86715135331f750048339a11a67a17f34486dbafa3ba7e9af9970d60927a2fa95c72a398418548df1fdf5addb2ed3afe9da7dff1f0bd949438726be1b diff --git a/dev-ruby/mail/mail-2.7.1.ebuild b/dev-ruby/mail/mail-2.7.1.ebuild new file mode 100644 index 000000000000..e1fa979df837 --- /dev/null +++ b/dev-ruby/mail/mail-2.7.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +RUBY_FAKEGEM_GEMSPEC="mail.gemspec" + +inherit ruby-fakegem eapi7-ver + +GITHUB_USER="mikel" + +DESCRIPTION="An email handling library" +HOMEPAGE="https://github.com/mikel/mail" +SRC_URI="https://github.com/${GITHUB_USER}/mail/archive/${PV}.tar.gz -> ${P}-git.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/mini_mime-0.1.1" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code." +} diff --git a/dev-ruby/mail/metadata.xml b/dev-ruby/mail/metadata.xml new file mode 100644 index 000000000000..29ac9c2f5235 --- /dev/null +++ b/dev-ruby/mail/metadata.xml @@ -0,0 +1,12 @@ +<?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">mikel/mail</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/maildir/Manifest b/dev-ruby/maildir/Manifest new file mode 100644 index 000000000000..c8c79ba20fed --- /dev/null +++ b/dev-ruby/maildir/Manifest @@ -0,0 +1,2 @@ +DIST maildir-2.2.1.gem 15360 BLAKE2B d3ea037ba38e83bc7b21bde9ccb2296fc922c3f657a73ad3637faf708cfa16ac75c2e6535714ba18b00aafc5a94265c56f6e086d25de5810c0a0112d6c876e1f SHA512 4c366333c802bbe0cbd19e6abaef1fa31ad84596518d24ddcc33aa3afe39890896d107bc864c68787c90c3a38115979f6a4fe8b442aecaead39306122d560f18 +DIST maildir-2.2.2.gem 15360 BLAKE2B 3e926057b4a625b95879a8ac91fbc5d0ae002ae7f4658c1a9b7a997a5071f30d05ff8e59df405139b0e3a0a060286c61112ca07671ae5e443b6eb2b2f0b33983 SHA512 90f4896cef297262d2bfafa9a2ec155d83f405114b80df8015cf0c6a5450e1b28807d073cf48b2ff03309bf2b7d50a77138cb524826cfb2c429b3c606e02c093 diff --git a/dev-ruby/maildir/maildir-2.2.1-r1.ebuild b/dev-ruby/maildir/maildir-2.2.1-r1.ebuild new file mode 100644 index 000000000000..79530e64c068 --- /dev/null +++ b/dev-ruby/maildir/maildir-2.2.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for reading and writing arbitrary messages in DJB's maildir format" +HOMEPAGE="https://github.com/ktheory/maildir" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="test" + +ruby_add_bdepend " + test? ( >=dev-ruby/fakefs-0.3.2 dev-ruby/mail dev-ruby/shoulda-context dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die + sed -i -e 's/shoulda/shoulda-context/' test/helper.rb || die + + # Avoid tests that appear to need activesupport for .blank? support + sed -i -e '/add and remove flags/,/^ end/ s:^:#:' test/test_message.rb || die + sed -i -e '/be removed from flag list/,/^ end/ s:^:#:' test/test_maildir.rb || die +} diff --git a/dev-ruby/maildir/maildir-2.2.2.ebuild b/dev-ruby/maildir/maildir-2.2.2.ebuild new file mode 100644 index 000000000000..e5614828fcab --- /dev/null +++ b/dev-ruby/maildir/maildir-2.2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for reading and writing arbitrary messages in DJB's maildir format" +HOMEPAGE="https://github.com/ktheory/maildir" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="test" + +ruby_add_rdepend "dev-ruby/activesupport:*" + +ruby_add_bdepend " + test? ( >=dev-ruby/fakefs-0.3.2 dev-ruby/mail dev-ruby/shoulda-context dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die + sed -i -e 's/shoulda/shoulda-context/' test/helper.rb || die + + # Avoid tests that appear to need activesupport for .blank? support + sed -i -e '/add and remove flags/,/^ end/ s:^:#:' test/test_message.rb || die + sed -i -e '/be removed from flag list/,/^ end/ s:^:#:' test/test_maildir.rb || die +} diff --git a/dev-ruby/maildir/metadata.xml b/dev-ruby/maildir/metadata.xml new file mode 100644 index 000000000000..4911f7825f58 --- /dev/null +++ b/dev-ruby/maildir/metadata.xml @@ -0,0 +1,12 @@ +<?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">ktheory/maildir</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/marcel/Manifest b/dev-ruby/marcel/Manifest new file mode 100644 index 000000000000..a1304b1415da --- /dev/null +++ b/dev-ruby/marcel/Manifest @@ -0,0 +1 @@ +DIST marcel-0.3.3.tar.gz 7845456 BLAKE2B e27d851119f434144a790cd1bfb1ca21662357b1875ae9193273e00c5abc6156c217efeb961356d4967d984b4c8fb4b4047620fa5d0448cc20651aa1ce05bb69 SHA512 d9be185fd6f5185fc67f3eed931ecf3084da671840b6e464bf341f51c9dec4ab1b4650abd1916e640b7caced230d6cb90370bffb559151e0047a8b03211dc751 diff --git a/dev-ruby/marcel/marcel-0.3.3-r1.ebuild b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild new file mode 100644 index 000000000000..d92cbf438233 --- /dev/null +++ b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simple mime type detection using magic numbers, filenames, and extensions" +HOMEPAGE="https://github.com/basecamp/marcel" +SRC_URI="https://github.com/basecamp/marcel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/mimemagic-0.3.2:0" + +all_ruby_prepare() { + sed -i -e '2irequire "pathname"' test/test_helper.rb || die + + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Account for changes in shared-mime-info 1.10 + mkdir test/fixtures/{magic,name}/font || die + mv test/fixtures/magic/application/x-font-ttf.ttf test/fixtures/magic/font/ttf.ttf || die + mv test/fixtures/name/application/x-font-ttf.ttf test/fixtures/name/font/ttf.ttf || die +} diff --git a/dev-ruby/marcel/metadata.xml b/dev-ruby/marcel/metadata.xml new file mode 100644 index 000000000000..bd59248f17e3 --- /dev/null +++ b/dev-ruby/marcel/metadata.xml @@ -0,0 +1,12 @@ +<?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">basecamp/marcel</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/maruku/Manifest b/dev-ruby/maruku/Manifest new file mode 100644 index 000000000000..77144b0a0a27 --- /dev/null +++ b/dev-ruby/maruku/Manifest @@ -0,0 +1 @@ +DIST maruku-0.7.3.gem 140288 BLAKE2B 31da6bf63272a2e5a77aa6f3cdc1462f0039751424bd0888d69f2f2660534cab8868238cbde37d184c2ddbe50b76dbfa5305a450fc27b9995f74284a1f962724 SHA512 efef3eea7451e32c06c0820834cb98eb5424f6837b2e66e44482679d73d958e1e2c59e790a3e5ba26e0c91ece0a5c17f91877a7797d9a15a73b5344b0d444507 diff --git a/dev-ruby/maruku/maruku-0.7.3.ebuild b/dev-ruby/maruku/maruku-0.7.3.ebuild new file mode 100644 index 000000000000..a80df7d70193 --- /dev/null +++ b/dev-ruby/maruku/maruku-0.7.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="docs/div_syntax.md docs/entity_test.md + docs/markdown_syntax.md docs/maruku.md docs/math.md docs/other_stuff.md + docs/proposal.md" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="A Markdown-superset interpreter written in Ruby" +HOMEPAGE="https://github.com/bhollis/maruku" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="highlight test" + +ruby_add_bdepend "test? ( dev-ruby/nokogiri-diff dev-ruby/syntax )" +ruby_add_rdepend "highlight? ( dev-ruby/syntax )" + +DEPEND+=" test? ( app-text/blahtexml )" + +all_ruby_prepare() { + sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' spec/spec_helper.rb || die +} + +pkg_postinst() { + elog + elog "You need to emerge app-text/texlive and dev-texlive/texlive-latexextra if" + elog "you want to use --pdf with Maruku. You may also want to emerge" + elog "dev-texlive/texlive-latexrecommended to enable LaTeX syntax highlighting." + elog +} diff --git a/dev-ruby/maruku/metadata.xml b/dev-ruby/maruku/metadata.xml new file mode 100644 index 000000000000..d78c23759da8 --- /dev/null +++ b/dev-ruby/maruku/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <use> + <flag name="highlight">Enable source code highlighting via <pkg>dev-ruby/syntax</pkg></flag> + </use> + <upstream> + <remote-id type="github">bhollis/maruku</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mash/Manifest b/dev-ruby/mash/Manifest new file mode 100644 index 000000000000..dd1b772a3b14 --- /dev/null +++ b/dev-ruby/mash/Manifest @@ -0,0 +1 @@ +DIST mash-0.1.1.gem 8704 BLAKE2B 071559e64bc6b4be639f854405bed695a9e8136e9e20d2793a47336f4fc68acdf587051f920c3429b882c2941b9d0396adaf12352b4306d64af5cdefec3aae83 SHA512 5d3a0997b9a98e3228f6e838e449597f88c53f3f310b1c19b40dd1d5439887afc8e47710f0062b6bf0ab776aa6a9563b21b2fb402667701b215edd9d2ccb7e8e diff --git a/dev-ruby/mash/mash-0.1.1-r2.ebuild b/dev-ruby/mash/mash-0.1.1-r2.ebuild new file mode 100644 index 000000000000..32e76335fd59 --- /dev/null +++ b/dev-ruby/mash/mash-0.1.1-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Mash is an extended Hash that gives simple pseudo-object functionality" +HOMEPAGE="https://github.com/mbleigh/mash" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-ruby/mash/metadata.xml b/dev-ruby/mash/metadata.xml new file mode 100644 index 000000000000..fea18794e436 --- /dev/null +++ b/dev-ruby/mash/metadata.xml @@ -0,0 +1,12 @@ +<?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">mbleigh/mash</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest new file mode 100644 index 000000000000..6d91a5185802 --- /dev/null +++ b/dev-ruby/maxitest/Manifest @@ -0,0 +1,2 @@ +DIST maxitest-3.5.0.tar.gz 61982 BLAKE2B 2098e0b1c2f77ea535d78e5165ba9289a8470ce5c883a0994b03b822cdcba2a6d90077940a3d483505579fc7c89f347f0d492196b28fe8292406e5d6975c6241 SHA512 1a2557cea0ac70d3fd9b487157e5b6943dfd5cdf8b953731041d495049a9c58be84110e831cc57171ded3d5540ce5a3cd3c68e97f7767e30b04e933849202f40 +DIST maxitest-3.6.0.tar.gz 62261 BLAKE2B 4863b5892997ea7019d5dc65d1adf7febd7934e743276423b1fa8b1d81f3ec5d1deadbe57890e0af525a91ae371ab4c499be031b9a6875e5fc6f64d2e7c2cfad SHA512 41e816d21769382af598ebd64f918437a5816308fd9a9695a88ed97d05e7b41085b2a6f8343ffea50bc7016562857f09057591c2698e920a6bfbd5536edc283f diff --git a/dev-ruby/maxitest/maxitest-3.5.0.ebuild b/dev-ruby/maxitest/maxitest-3.5.0.ebuild new file mode 100644 index 000000000000..31ace0fe6630 --- /dev/null +++ b/dev-ruby/maxitest/maxitest-3.5.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Minitest + all the features you always wanted" +HOMEPAGE="https://github.com/grosser/maxitest" +SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "<dev-ruby/minitest-5.14:5" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + # Remove developer-only gems from the gemspec and avoid git issues + sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \ + -e 's/git ls-files/find/' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/byebug/ s:^:#:' Gemfile || die + +} + +each_ruby_prepare() { + # Use the correct target + sed -i -e '/sh/ s:ruby:'${RUBY}':' \ + -e '/sh/ s:mtest:'${RUBY}' -S mtest:' \ + spec/maxitest_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec +} diff --git a/dev-ruby/maxitest/maxitest-3.6.0.ebuild b/dev-ruby/maxitest/maxitest-3.6.0.ebuild new file mode 100644 index 000000000000..835cea14f1d5 --- /dev/null +++ b/dev-ruby/maxitest/maxitest-3.6.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Minitest + all the features you always wanted" +HOMEPAGE="https://github.com/grosser/maxitest" +SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "<dev-ruby/minitest-5.14:5" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + # Remove developer-only gems from the gemspec and avoid git issues + sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \ + -e 's/git ls-files/find/' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/byebug/ s:^:#:' Gemfile || die + + sed -e '/shows short backtraces/askip "fails on ruby27"' \ + -e '/fails when not used/askip "fails with newer maxitest by design"' \ + -i spec/maxitest_spec.rb || die +} + +each_ruby_prepare() { + # Use the correct target + sed -i -e '/sh/ s:ruby:'${RUBY}':' \ + -e '/sh/ s:mtest:'${RUBY}' -S mtest:' \ + spec/maxitest_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec +} diff --git a/dev-ruby/maxitest/metadata.xml b/dev-ruby/maxitest/metadata.xml new file mode 100644 index 000000000000..9801a8474e8b --- /dev/null +++ b/dev-ruby/maxitest/metadata.xml @@ -0,0 +1,12 @@ +<?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">grosser/maxitest</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mecab-ruby/Manifest b/dev-ruby/mecab-ruby/Manifest new file mode 100644 index 000000000000..7fd3778e2bc0 --- /dev/null +++ b/dev-ruby/mecab-ruby/Manifest @@ -0,0 +1 @@ +DIST mecab-ruby-0.996.tar.gz 48723 BLAKE2B 205cb2764327ed9e377bc94d65711555683bfce55e87b7a2cc4a985df5078b598c932fff23aaca889040295b96ebf59b0acbcfb638e42f71c6ed338a2b9a6e37 SHA512 a6beb9992d441118e4d824a7c8378bc1bd86d232a843e2327ab43cac0e0b1bf65c17f27ca8787f336c21796c77f4e8c350813e1ee84f7938654d1dcba876b4db diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild new file mode 100644 index 000000000000..81506b330413 --- /dev/null +++ b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng + +DESCRIPTION="Ruby binding for MeCab" +HOMEPAGE="http://taku910.github.io/mecab/" +SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN%-*}/${P}.tar.gz" + +LICENSE="|| ( BSD LGPL-2.1 GPL-2 )" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +DEPEND="~app-text/mecab-${PV}" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS README test.rb ) +HTML_DOCS=( bindings.html ) + +each_ruby_configure() { + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 +} + +each_ruby_install() { + emake DESTDIR="${D}" install +} + +all_ruby_install() { + einstalldocs +} diff --git a/dev-ruby/mecab-ruby/metadata.xml b/dev-ruby/mecab-ruby/metadata.xml new file mode 100644 index 000000000000..6f344856bc4b --- /dev/null +++ b/dev-ruby/mecab-ruby/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <upstream> + <remote-id type="github">taku910/mecab</remote-id> + <remote-id type="google-code">mecab</remote-id> + <remote-id type="sourceforge">mecab</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mechanize/Manifest b/dev-ruby/mechanize/Manifest new file mode 100644 index 000000000000..dcda81211f1f --- /dev/null +++ b/dev-ruby/mechanize/Manifest @@ -0,0 +1 @@ +DIST mechanize-2.7.6.gem 138752 BLAKE2B be4e8f53c3ad88ae5aac867f836a20b5bcd47aa61db07e2dfb7e2d0c72d368ddfa620411fdddd5c2a408eeceb3c4c1ed3a15f6086ec846cda3a3c3808977309d SHA512 e89eb75af169ba198e5a82ffe4ce3c0962bc3fb6793f88bc735b647b7816d0c78d8968c43d213071e017e7f836ab91ed0c546c9eb986647355a1d38b1ba18138 diff --git a/dev-ruby/mechanize/mechanize-2.7.6.ebuild b/dev-ruby/mechanize/mechanize-2.7.6.ebuild new file mode 100644 index 000000000000..b8d12cfab949 --- /dev/null +++ b/dev-ruby/mechanize/mechanize-2.7.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc EXAMPLES.rdoc GUIDE.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library used for automating interaction with websites" +HOMEPAGE="https://github.com/sparklemotion/mechanize" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +ruby_add_bdepend ">=dev-ruby/hoe-3.7 + test? ( dev-ruby/minitest:5 )" +ruby_add_rdepend ">=dev-ruby/nokogiri-1.6 + >=dev-ruby/net-http-digest_auth-1.1.1 + >=dev-ruby/net-http-persistent-2.5.2:* + >=dev-ruby/ntlm-http-0.1.1 + >=dev-ruby/webrobots-0.0.9 + >=dev-ruby/http-cookie-1.0.2 + >=dev-ruby/mime-types-1.17.2:* + >=dev-ruby/domain_name-0.5.1" + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/mechanize/metadata.xml b/dev-ruby/mechanize/metadata.xml new file mode 100644 index 000000000000..73f4aa13769f --- /dev/null +++ b/dev-ruby/mechanize/metadata.xml @@ -0,0 +1,12 @@ +<?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/mechanize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/memoist/Manifest b/dev-ruby/memoist/Manifest new file mode 100644 index 000000000000..152805e9f7bd --- /dev/null +++ b/dev-ruby/memoist/Manifest @@ -0,0 +1,3 @@ +DIST memoist-0.16.0.gem 12288 BLAKE2B 268d0ad8b197101b7a1af0e9c67fae7cabe7d4d91bbf7bbd4435f4390176faad46d2a2f0699830bed86eb39acceb698870cd7b0a79cb1038390478d37596c700 SHA512 55a560793cfb911ef15085de6fac2816e8340b9939394a4c2c01264e0da3ca4008081916a0431e6f76e6b90c0294305cbd0803643f159f946973ff4dc7c94df5 +DIST memoist-0.16.1.gem 13824 BLAKE2B 0f5f67c8d206602adf53093e0a840d38f31b5b91403b56061e9dcce754ef1c9effb4d9edc4ce85128051bb91ddd2c1152396f28cc2da6bcb7d02af7c43342307 SHA512 bd5212e9821e185e900be1cdd22670743546ec81ec498327fa452cfaf43a7f55b94ccfa7e30483abd6a0952db9ef357b49667ba966a157920d6bfad1a971dd08 +DIST memoist-0.16.2.gem 13824 BLAKE2B c3ec292126cd5254a2561317554d4bfebd11155de88138bf82a2a09b4342a0833d87cad33dc149cd40bf962843230161b766fcd5b03c55c1d55fd705a5e768f1 SHA512 8de7c73362e621c420f04e1b37c27a21fdc46c5e341c8cfbfd835f1cb53eb1a763dc43565fcc9723bcbdaa439a7c6921a8541a741646db4ef127cb8f6018fb10 diff --git a/dev-ruby/memoist/memoist-0.16.0.ebuild b/dev-ruby/memoist/memoist-0.16.0.ebuild new file mode 100644 index 000000000000..a9e7a3fec0fd --- /dev/null +++ b/dev-ruby/memoist/memoist-0.16.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="ActiveSupport::Memoizable with a few enhancements" +HOMEPAGE="https://github.com/matthewrudy/memoist" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/memoist/memoist-0.16.1.ebuild b/dev-ruby/memoist/memoist-0.16.1.ebuild new file mode 100644 index 000000000000..f35cca6299a6 --- /dev/null +++ b/dev-ruby/memoist/memoist-0.16.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="ActiveSupport::Memoizable with a few enhancements" +HOMEPAGE="https://github.com/matthewrudy/memoist" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/memoist/memoist-0.16.2.ebuild b/dev-ruby/memoist/memoist-0.16.2.ebuild new file mode 100644 index 000000000000..f35cca6299a6 --- /dev/null +++ b/dev-ruby/memoist/memoist-0.16.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="ActiveSupport::Memoizable with a few enhancements" +HOMEPAGE="https://github.com/matthewrudy/memoist" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/memoist/metadata.xml b/dev-ruby/memoist/metadata.xml new file mode 100644 index 000000000000..46f01ad3f6da --- /dev/null +++ b/dev-ruby/memoist/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">memoist</remote-id> + <remote-id type="github">matthewrudy/memoist</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/memoizable/Manifest b/dev-ruby/memoizable/Manifest new file mode 100644 index 000000000000..3931cabd56d6 --- /dev/null +++ b/dev-ruby/memoizable/Manifest @@ -0,0 +1 @@ +DIST memoizable-0.4.2.gem 13312 BLAKE2B f1071a8ae50820c3a1d79950c09bf85c3885b4175c13dfe5ae24c6ab521b9ba74368544cd5d4e3d251629bd849d4e618380b45ad263986f30c547d80de25277b SHA512 6fa80eea7922bf93f9e2fcf88c0d0890e658820e8fdf9fc6bf7becf822435fbb95332a1d7b51aebb85018e787d87500899eb4d95f7467b6b2eb7c391c0e9583c diff --git a/dev-ruby/memoizable/memoizable-0.4.2.ebuild b/dev-ruby/memoizable/memoizable-0.4.2.ebuild new file mode 100644 index 000000000000..643c480350dd --- /dev/null +++ b/dev-ruby/memoizable/memoizable-0.4.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Memoize method return values" +HOMEPAGE="https://github.com/dkubb/memoizable" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/thread_safe-0.3.1:0" + +all_ruby_prepare() { + sed -i -e "/simplecov/,/^end$/d" spec/spec_helper.rb || die + + # Avoid a failing test that also fails for upstream Travis. + rm spec/unit/memoizable/class_methods/included_spec.rb || die +} diff --git a/dev-ruby/memoizable/metadata.xml b/dev-ruby/memoizable/metadata.xml new file mode 100644 index 000000000000..c48494478167 --- /dev/null +++ b/dev-ruby/memoizable/metadata.xml @@ -0,0 +1,12 @@ +<?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">dkubb/memoizable</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/memoize/Manifest b/dev-ruby/memoize/Manifest new file mode 100644 index 000000000000..869ca7c0e6d3 --- /dev/null +++ b/dev-ruby/memoize/Manifest @@ -0,0 +1 @@ +DIST memoize-1.3.1.gem 7680 BLAKE2B 3636f1911b6aac615a216edec8a154cf143174b63904f62120dd92123dd390193aea43967c60b3674f5ae2f81dcde9874e90c3222bb211e64db58a31eda174ab SHA512 048e1f6025519a32ca828cf1cf92c97ff94a0fb60ac64bf5b4d59ec715e610472307df8905f06f0be3d46529bf8eaaaf4d4874463b6e46934af0fea4766fd3ce diff --git a/dev-ruby/memoize/memoize-1.3.1-r1.ebuild b/dev-ruby/memoize/memoize-1.3.1-r1.ebuild new file mode 100644 index 000000000000..bd28a2486997 --- /dev/null +++ b/dev-ruby/memoize/memoize-1.3.1-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem +DESCRIPTION="A Ruby library that lets you memoize methods" +HOMEPAGE="https://github.com/djberg96/memoize" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 ) " + +all_ruby_prepare() { + sed -i -e 's/Config/RbConfig/' Rakefile || die +} diff --git a/dev-ruby/memoize/metadata.xml b/dev-ruby/memoize/metadata.xml new file mode 100644 index 000000000000..acdc6f90a0ee --- /dev/null +++ b/dev-ruby/memoize/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">djberg96/memoize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mercenary/Manifest b/dev-ruby/mercenary/Manifest new file mode 100644 index 000000000000..202d2ee5974d --- /dev/null +++ b/dev-ruby/mercenary/Manifest @@ -0,0 +1,2 @@ +DIST mercenary-0.3.6.gem 16896 BLAKE2B 3109dd6e6469713ab11adabeb67eb949e5d343d43fbfa60a207c87d6731d872a0627b16cb237a96e57f59616e9844b19ddf176b0b80aa140f2d4ea36aaf957ae SHA512 90ec97ceaea74c511bcd8227e4f466e4e254ae868db0b61ad5703d0f78d9bb771e431eda0361cc224c721b150c3066d1796c333c41964f04d88ba22a4e7884be +DIST mercenary-0.4.0.gem 17920 BLAKE2B 298d4f0e2e44e32d18d8043d0af41094a8ffc041690a022133d2418242d97d56979519d54041be213dbd97eb75217ec4a4f2c6a3335f5a7dfe04aeb9d765a3ed SHA512 1421bef136587f7c7cb3296b115a90f389ec7d61e7bbe6c396249cd5e090ac548c82166bbf2c43cc589725a740faef5b5f0e921fae8e9948fe506f80578045eb diff --git a/dev-ruby/mercenary/mercenary-0.3.6.ebuild b/dev-ruby/mercenary/mercenary-0.3.6.ebuild new file mode 100644 index 000000000000..a0406fee6dbe --- /dev/null +++ b/dev-ruby/mercenary/mercenary-0.3.6.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.markdown README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="Lightweight and flexible library for writing command-line apps" +HOMEPAGE="https://github.com/jekyll/mercenary" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-ruby/mercenary/mercenary-0.4.0.ebuild b/dev-ruby/mercenary/mercenary-0.4.0.ebuild new file mode 100644 index 000000000000..09371093d32b --- /dev/null +++ b/dev-ruby/mercenary/mercenary-0.4.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.markdown README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Lightweight and flexible library for writing command-line apps" +HOMEPAGE="https://github.com/jekyll/mercenary" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-ruby/mercenary/metadata.xml b/dev-ruby/mercenary/metadata.xml new file mode 100644 index 000000000000..6631294a83fa --- /dev/null +++ b/dev-ruby/mercenary/metadata.xml @@ -0,0 +1,12 @@ +<?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">jekyll/mercenary</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/metaclass/Manifest b/dev-ruby/metaclass/Manifest new file mode 100644 index 000000000000..70c8d71c7357 --- /dev/null +++ b/dev-ruby/metaclass/Manifest @@ -0,0 +1 @@ +DIST metaclass-0.0.4.tar.gz 2482 BLAKE2B f4993bbe61b0f4bd1b060f9e8b5ea0a6f6666e5012b31b1d5913c1bf31aec94f344b88f35e76c9ec9d442604550b7765a20f0683beaae0025ee64f1212237f35 SHA512 5f41fe3db9c682ab6ab01c737c8531d2b4c2fdbc0f35f8fc9f40ce09a84ddf0d442c17caa1c3e87bb2c5e4703556c5d50fd9f72434b89e03d163db375046f0a4 diff --git a/dev-ruby/metaclass/metaclass-0.0.4.ebuild b/dev-ruby/metaclass/metaclass-0.0.4.ebuild new file mode 100644 index 000000000000..ef955b45ccb4 --- /dev/null +++ b/dev-ruby/metaclass/metaclass-0.0.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +SRC_URI="https://github.com/floehopper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Adds a __metaclass__ method to all Ruby objects" +HOMEPAGE="https://github.com/floehopper/metaclass" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/metaclass/metadata.xml b/dev-ruby/metaclass/metadata.xml new file mode 100644 index 000000000000..9eabc2126881 --- /dev/null +++ b/dev-ruby/metaclass/metadata.xml @@ -0,0 +1,12 @@ +<?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">floehopper/metaclass</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/metadata.xml b/dev-ruby/metadata.xml new file mode 100644 index 000000000000..42a8e90ecd8e --- /dev/null +++ b/dev-ruby/metadata.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The dev-ruby category contains libraries and utilities relevant to the + Ruby programming language. + </longdescription> + <longdescription lang="de"> + Die Kategorie dev-ruby enthält Bibliotheken und Werkzeuge für die + Programmiersprache Ruby. + </longdescription> + <longdescription lang="es"> + La categoría dev-ruby contiene librerias y utilidades referentes al + lenguaje de programación Ruby. + </longdescription> + <longdescription lang="ja"> + dev-ruby カテゴリーにはRubyプログラミング言語に関連したライブラリーと + ユーティリティが含まれます。 + </longdescription> + <longdescription lang="nl"> + De categorie dev-ruby bevat bibliotheken en hulpmiddelen voor het gebruik + van de programmeertaal Ruby. + </longdescription> + <longdescription lang="vi"> + Nhóm dev-ruby chứa các thư viện và tiện ích liên quan + đến ngôn ngữ lập trình Ruby. + </longdescription> + <longdescription lang="it"> + La categoria dev-ruby contiene librerie ed utilità per il linguaggio di programmazione Ruby. + </longdescription> + <longdescription lang="pt"> + A categoria dev-ruby contém bibliotecas e utilitários referentes + à linguagem de programação Ruby. + </longdescription> + <longdescription lang="pl"> + Kategoria dev-ruby zawiera biblioteki i narzędzia związane z językiem + programowania Ruby. + </longdescription> +</catmetadata> + diff --git a/dev-ruby/metaid/Manifest b/dev-ruby/metaid/Manifest new file mode 100644 index 000000000000..cb1a336fe0ad --- /dev/null +++ b/dev-ruby/metaid/Manifest @@ -0,0 +1 @@ +DIST metaid-1.0.gem 3072 BLAKE2B 56a316b1cd56d918e6feedfe7f5a946415ed32d1f2ff9d43ccc31f9ecd8d80755492a52c1ce5aa1e71b8fcb33a8edbe316eee000d18757e22ff0eeb684bea08c SHA512 3c841a759568b9273b1e8addbe58a23df643e93a9d1f24a75a5686e26b7f16de1ab0573fd9f5032451ef813ab29c0801442a8bc74df94fc1d58f09062569ba33 diff --git a/dev-ruby/metaid/metadata.xml b/dev-ruby/metaid/metadata.xml new file mode 100644 index 000000000000..0de868c419c9 --- /dev/null +++ b/dev-ruby/metaid/metadata.xml @@ -0,0 +1,12 @@ +<?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="rubygems">metaid</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/metaid/metaid-1.0-r3.ebuild b/dev-ruby/metaid/metaid-1.0-r3.ebuild new file mode 100644 index 000000000000..c53c1d999376 --- /dev/null +++ b/dev-ruby/metaid/metaid-1.0-r3.ebuild @@ -0,0 +1,20 @@ +# 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_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="metaid.rb" + +inherit ruby-fakegem + +DESCRIPTION="An aid to Ruby metaprogramming" +HOMEPAGE="https://rubygems.org/gems/metaid" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" diff --git a/dev-ruby/metasm/Manifest b/dev-ruby/metasm/Manifest new file mode 100644 index 000000000000..359c802b8fbd --- /dev/null +++ b/dev-ruby/metasm/Manifest @@ -0,0 +1,2 @@ +DIST metasm-1.0.2.gem 746496 BLAKE2B e7248ba61702fa74d2f53b6f8f112d1cbc113742891478c932151771a6ec66bc560d1b6d2a886c018e48d64e515c5a09e4c9d98deea7608dc2579741117bb04b SHA512 b5f90e46be0d3b86c2b525823aa1fc1ea711a8abe9edaf2908af73d869e1f6dc5163f45ea20bd1034b0f10b17c25e7b7cd9af6a77ebfbf24d925a68a84d264e3 +DIST metasm-1.0.4.gem 802816 BLAKE2B 8950f4c3c0d56bc414795c5a348fb07767223163c1cece4a7b5f5374b1c9c901a576b6adbb10d28b6b4541649e176863ad68da3a7e2155025c7f1bc9eaadff90 SHA512 35fe98bfd9d8b2f0d6a69cce409319288d9a54458f22a308682c3ea432e2c34d50d33a3849c08f773e87ee0a67aa5cc6bb337ec99045f23b6aca43c9f5ce70cc diff --git a/dev-ruby/metasm/metadata.xml b/dev-ruby/metasm/metadata.xml new file mode 100644 index 000000000000..db4096832050 --- /dev/null +++ b/dev-ruby/metasm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/metasm/metasm-1.0.2-r4.ebuild b/dev-ruby/metasm/metasm-1.0.2-r4.ebuild new file mode 100644 index 000000000000..ce2838ed056f --- /dev/null +++ b/dev-ruby/metasm/metasm-1.0.2-r4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="BUGS README TODO" +RUBY_FAKEGEM_EXTRAINSTALL="metasm metasm.rb misc samples" + +inherit ruby-fakegem + +DESCRIPTION="cross-architecture assembler, disassembler, linker, and debugger" +HOMEPAGE="http://metasm.cr0.org/" + +LICENSE="LGPL-2.1" +SLOT="${PV}" +IUSE="" + +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jjyg/metasm.git" + KEYWORDS="" + SRC_URI="" + EGIT_CHECKOUT_DIR="${WORKDIR}/all" +else + KEYWORDS="~amd64 ~arm ~x86" +fi + +QA_PREBUILT="usr/lib*/ruby/gems/*/gems/${P}/${PN}/dynldr-linux-x64-233.so" + +ruby_add_bdepend "dev-ruby/bundler" + +all_ruby_prepare() { + if [ -f Gemfile.lock ]; then + rm Gemfile.lock || die + fi + + mkdir bin + ln -s ../samples/disassemble.rb ./bin/disassemble +} + +each_ruby_prepare() { + if [ -f Gemfile ] + then + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die + fi +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper disassemble +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['tests/*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/metasm/metasm-1.0.4.ebuild b/dev-ruby/metasm/metasm-1.0.4.ebuild new file mode 100644 index 000000000000..c8698af680ca --- /dev/null +++ b/dev-ruby/metasm/metasm-1.0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="BUGS README TODO" +RUBY_FAKEGEM_EXTRAINSTALL="metasm metasm.rb misc samples" + +inherit ruby-fakegem + +DESCRIPTION="cross-architecture assembler, disassembler, linker, and debugger" +HOMEPAGE="https://metasm.cr0.org/" + +LICENSE="LGPL-2.1" +SLOT="${PV}" +IUSE="" + +KEYWORDS="~amd64 ~arm ~x86" + +all_ruby_prepare() { + mkdir bin + ln -s ../samples/disassemble.rb ./bin/disassemble +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper disassemble +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['tests/*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/meterpreter_bins/Manifest b/dev-ruby/meterpreter_bins/Manifest new file mode 100644 index 000000000000..3d1a14957232 --- /dev/null +++ b/dev-ruby/meterpreter_bins/Manifest @@ -0,0 +1 @@ +DIST meterpreter_bins-0.0.22.gem 3565568 BLAKE2B 9f3b73908220dafc7e5b41fa09e86317658191cfd20acee8247d13671ce378fecb566177ac7cdc6243caddd10767952002f90eb433b9f5b5f855824468fd191d SHA512 80b7856bdab0ec91f6adae5497f8d119f21e8f36a2c1750e50f2dda9323dbaf7ebccf6f1a8e57f2459d8a2e6ab7b718454d35a653da6ec03e1e01c1d04c9288d diff --git a/dev-ruby/meterpreter_bins/metadata.xml b/dev-ruby/meterpreter_bins/metadata.xml new file mode 100644 index 000000000000..722f89e4ac49 --- /dev/null +++ b/dev-ruby/meterpreter_bins/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">rapid7/meterpreter_bins</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.22.ebuild b/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.22.ebuild new file mode 100644 index 000000000000..7aa1ec3de677 --- /dev/null +++ b/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.22.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="meterpreter" + +inherit ruby-fakegem + +DESCRIPTION="Compiled binaries for Metasploit's Meterpreter" +HOMEPAGE="https://github.com/rapid7/meterpreter_bins" + +#https://github.com/rapid7/meterpreter_bins/issues/5 +LICENSE="BSD" + +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +#no tests +RESTRICT=test + +RDEPEND="${RDEPEND} !dev-ruby/meterpreter_bins:0" diff --git a/dev-ruby/method_source/Manifest b/dev-ruby/method_source/Manifest new file mode 100644 index 000000000000..ecf447caf49c --- /dev/null +++ b/dev-ruby/method_source/Manifest @@ -0,0 +1,2 @@ +DIST method_source-0.9.2.gem 13824 BLAKE2B 842277a0a38331430c3c6a9f45c01d965de1997d8e9aa291d1948103c9812a23c5e67f3e7b7a2e6ec982de2a5eb841a78f6b8d1633ed17c5b7fa916698737ffb SHA512 87bac1d9ef2f1b09a26358d6d2e7e1035703d1bee9b6689567e8967baa544a456b63b2a1271305979ba077ebae32062708666588500e5810dd9f8e282d444b8c +DIST method_source-1.0.0.gem 13824 BLAKE2B 1b6b4c23b2e73972acb69bf488f39d88fae3bffdc4e28559d880ce817199b9c1da8183f10cf8be5122535415b938c9f3964c9b4bade1dfba7fb4457c052185dd SHA512 d3a2dace01d987203d0520583120bfe08812237602421efc3ec7ff8054f2403b0aac13f15b8b91dfdb6e6679a519f707ede67ea6fed72cd8242edacc828a9caa diff --git a/dev-ruby/method_source/metadata.xml b/dev-ruby/method_source/metadata.xml new file mode 100644 index 000000000000..dd43b116e6eb --- /dev/null +++ b/dev-ruby/method_source/metadata.xml @@ -0,0 +1,12 @@ +<?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">banister/method_source</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/method_source/method_source-0.9.2.ebuild b/dev-ruby/method_source/method_source-0.9.2.ebuild new file mode 100644 index 000000000000..150dcf7328f7 --- /dev/null +++ b/dev-ruby/method_source/method_source-0.9.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Retrieve the source code for a method" +HOMEPAGE="https://github.com/banister/method_source" +IUSE="" +SLOT="0" + +LICENSE="MIT" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" diff --git a/dev-ruby/method_source/method_source-1.0.0.ebuild b/dev-ruby/method_source/method_source-1.0.0.ebuild new file mode 100644 index 000000000000..2a4204579b8d --- /dev/null +++ b/dev-ruby/method_source/method_source-1.0.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Retrieve the source code for a method" +HOMEPAGE="https://github.com/banister/method_source" +IUSE="" +SLOT="0" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" diff --git a/dev-ruby/middleware/Manifest b/dev-ruby/middleware/Manifest new file mode 100644 index 000000000000..e67082b1e616 --- /dev/null +++ b/dev-ruby/middleware/Manifest @@ -0,0 +1 @@ +DIST middleware-0.1.0.gem 11264 BLAKE2B 27d8db46ef95f30a751c26aade2331285887abf8360a07a99bce02ad1193650edf1d9dab30078ae9a6e56d8e1f3384f7c357d5a01d9a5ed52fedc9d3c4f559d3 SHA512 a485c254accefb915a56a6aaebb0bf5fa8520e5aefb1dca9945f4402fd6fb28cd69b34692d5d276f2f025c6f919d983acba44ef0ad9d8966fc571f7cfd64da12 diff --git a/dev-ruby/middleware/metadata.xml b/dev-ruby/middleware/metadata.xml new file mode 100644 index 000000000000..25d9831f9436 --- /dev/null +++ b/dev-ruby/middleware/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/middleware/middleware-0.1.0.ebuild b/dev-ruby/middleware/middleware-0.1.0.ebuild new file mode 100644 index 000000000000..8dd0a3713490 --- /dev/null +++ b/dev-ruby/middleware/middleware-0.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md user_guide.md" + +inherit ruby-fakegem + +DESCRIPTION="Generalized implementation of the middleware abstraction for Ruby" +HOMEPAGE="https://github.com/mitchellh/middleware" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + # Avoid test failing with rspec 2.14+ + sed -i -e '/should raise an error if an invalid middleware is given/,/^ end/ s:^:#:' spec/middleware/runner_spec.rb +} diff --git a/dev-ruby/mime-types-data/Manifest b/dev-ruby/mime-types-data/Manifest new file mode 100644 index 000000000000..9d495c67b63b --- /dev/null +++ b/dev-ruby/mime-types-data/Manifest @@ -0,0 +1,5 @@ +DIST mime-types-data-3.2019.0331.gem 158720 BLAKE2B 513716a6095208f63eb479497af4e713308a367ef24808d7dd05fae5844482d4eccae7fe32834302caf9a6161df0bbc2506e2f34395315dae98b32e96dba1af8 SHA512 e5b158a90ce78eba2e0f328bda98d3622d8114ab61bb9636069b5e89a507d39e4c41de7f6ab48a4f49e4b5976cad645928c5d1bcc79f09654dde87e5babeba03 +DIST mime-types-data-3.2019.0904.gem 160256 BLAKE2B 7329657e943de126efe83dd48f6583a55b93978837665e71bc9a138b4826933d083e365e0f5bbbd4074a323d8d69731e3e0a4b831bb67503d652b0104fa03ec6 SHA512 a91d31fbc051b6ad57d22e6c4810191f8fdc05137418f11280744cb3164b912e81073c0ee92c18e9b3fb415071ca764a541c30a0a98e1850fba87a4b5b25899e +DIST mime-types-data-3.2019.1009.gem 160768 BLAKE2B c03348c8fb03d6398ca542679789e323cd9e11a575119d84c8310c78f05a4b71f0b26b7268b95dbaa4b5a5c19ee005c25ce0b4d31acd3a6de9c731e78c1ca0a9 SHA512 f4a18fccb5bb4cb558c273276ba83cc1189faa9ce97ea671f2168449b9b1d35fa0be26d7147c2b80ef12624b427a754b9fa78fc4684c835b4a51f7b6d888d6cf +DIST mime-types-data-3.2020.0425.gem 163840 BLAKE2B f9139aaac4bde42391efb1d1227cb55560d7fac1240ae240074c7895b252a87e0cc2ff4e17c691089749c20957690f13f451e2d6a3bed5f7e9b34bdc33af9cee SHA512 b32aeed2cc8943db3ba3275c704279c43f31bed70631eae11c258244804b8080f0ea2da3705d7ab7e0f5934a8d1eca0c4b64e40eac520102991109106a3c507c +DIST mime-types-data-3.2020.0512.gem 164352 BLAKE2B 6884cb029386dbcc3ee433dbe13baba99bc67f1ae409aef5f698731ce141b00c44221b667c2efd3d3b949d5ecaa0b4f0a3ad5a5fe5ddc99e309cf4a925db8e0d SHA512 019e45ed63ec86ef3eb4784a1526d4f163daaec676786b21c345bb8e1c57b26444ac7ee11fb25ffa9bbc687a60ae98d1cbc5d9ef60b446f50c5896a30299bd71 diff --git a/dev-ruby/mime-types-data/metadata.xml b/dev-ruby/mime-types-data/metadata.xml new file mode 100644 index 000000000000..2281c07815ba --- /dev/null +++ b/dev-ruby/mime-types-data/metadata.xml @@ -0,0 +1,12 @@ +<?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">mime-types/mime-types-data</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mime-types-data/mime-types-data-3.2019.0331.ebuild b/dev-ruby/mime-types-data/mime-types-data-3.2019.0331.ebuild new file mode 100644 index 000000000000..97634cab9899 --- /dev/null +++ b/dev-ruby/mime-types-data/mime-types-data-3.2019.0331.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Registry for information about MIME media type definitions" +HOMEPAGE="https://github.com/mime-types/mime-types-data" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" diff --git a/dev-ruby/mime-types-data/mime-types-data-3.2019.0904.ebuild b/dev-ruby/mime-types-data/mime-types-data-3.2019.0904.ebuild new file mode 100644 index 000000000000..4634a61f00a3 --- /dev/null +++ b/dev-ruby/mime-types-data/mime-types-data-3.2019.0904.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Registry for information about MIME media type definitions" +HOMEPAGE="https://github.com/mime-types/mime-types-data" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" diff --git a/dev-ruby/mime-types-data/mime-types-data-3.2019.1009.ebuild b/dev-ruby/mime-types-data/mime-types-data-3.2019.1009.ebuild new file mode 100644 index 000000000000..0cf2b502e748 --- /dev/null +++ b/dev-ruby/mime-types-data/mime-types-data-3.2019.1009.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Registry for information about MIME media type definitions" +HOMEPAGE="https://github.com/mime-types/mime-types-data" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" diff --git a/dev-ruby/mime-types-data/mime-types-data-3.2020.0425.ebuild b/dev-ruby/mime-types-data/mime-types-data-3.2020.0425.ebuild new file mode 100644 index 000000000000..ba9714b220ff --- /dev/null +++ b/dev-ruby/mime-types-data/mime-types-data-3.2020.0425.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Registry for information about MIME media type definitions" +HOMEPAGE="https://github.com/mime-types/mime-types-data" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" diff --git a/dev-ruby/mime-types-data/mime-types-data-3.2020.0512.ebuild b/dev-ruby/mime-types-data/mime-types-data-3.2020.0512.ebuild new file mode 100644 index 000000000000..ba9714b220ff --- /dev/null +++ b/dev-ruby/mime-types-data/mime-types-data-3.2020.0512.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Registry for information about MIME media type definitions" +HOMEPAGE="https://github.com/mime-types/mime-types-data" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" diff --git a/dev-ruby/mime-types/Manifest b/dev-ruby/mime-types/Manifest new file mode 100644 index 000000000000..5326e3c4332c --- /dev/null +++ b/dev-ruby/mime-types/Manifest @@ -0,0 +1,5 @@ +DIST mime-types-1.25.1.gem 61440 BLAKE2B ba28c605e910c41840645780ff42d2eea032fd9baaa5d758085ece8ae43dd33582e21c57fff791783424d3c4d666bc48b6f77a0312754bfbcb185e22b1d53f5f SHA512 50a79bc0378bb9bf694656b15ac69446447fc863a5a6556e68ad736768627c9f43e59c68b0ed141cee5dbd81a8ccca1a33a61aa01af7d0a5949b00d6edb6525e +DIST mime-types-2.99.2.gem 149504 BLAKE2B d2088d606b0210a8607d351ce7b7e3b7f25c3d518eaa3cb32ccfbf56a16eea104c908614f315317cece175003261d240f43bbf203619b54da35702abb94be8ce SHA512 46b3add451c3a6879f0f5df5f1e09c41d78d5a5b3872c2fcae7c8b097008cb04a9f5606360af9cc9880d7d659fe2dad19a118e6dfca1774ec3f5a5b852e31720 +DIST mime-types-3.2.2.gem 35840 BLAKE2B dd77473793d68007a3f096971366b5c2120391f3bdd5c758d8e4fac2c1df509a9e367766ac8f1dd292e9b000beb6346d22f2e21c599d2d9117cee84ae7fee864 SHA512 e098df6001ddb53225cf2f48df4e13f2cb9c5e86f64dfaebfba82ed9f1d60149b05069800ea14d1d76554d760169f3c3cb506cc3c789c74da7e1c8df61d67b7c +DIST mime-types-3.3.1.gem 36352 BLAKE2B 66b97cc51d157d445d05823a3059efb6684a59d6b976945df77beb6497979a83d3ada4832cc36a42b6fad2353d1b5f2d7d1271a7947a0264978f30b857c0c7c3 SHA512 48646c5d3cc1b65ad0418bd765c86102d5dd7d0196f1b2b4b92acd350d6927e0c0fec3d30d04bf8b073d342f56b38663dee791f2c87f82b5743c6508265692ec +DIST mime-types-3.3.gem 36352 BLAKE2B 3e774ecd832865c339e1c53e8def710f9b39e9711bc3ac4a7b55a4f500d6daf4f7ec7607ad7a30de5b9a8e717100cd96999e2c6d72baf5e1196ee8bd0897c178 SHA512 288f5f2dbb3ea970703e3b0d84a89246db410f8ccab5da3cc8fa9113ebb44a46144bb48f2216d37fd293b3ae156d596aff234721ec62e10c6b024f1eef2c9fb8 diff --git a/dev-ruby/mime-types/metadata.xml b/dev-ruby/mime-types/metadata.xml new file mode 100644 index 000000000000..4324e915667c --- /dev/null +++ b/dev-ruby/mime-types/metadata.xml @@ -0,0 +1,12 @@ +<?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">mime-types/ruby-mime-types</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mime-types/mime-types-1.25.1.ebuild b/dev-ruby/mime-types/mime-types-1.25.1.ebuild new file mode 100644 index 000000000000..8966c63fc77f --- /dev/null +++ b/dev-ruby/mime-types/mime-types-1.25.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby" +HOMEPAGE="https://github.com/halostatue/mime-types/" + +LICENSE="MIT Artistic GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Handle minitest ourselves to avoid bundler dependency. + sed -i -e '2igem "minitest", "~> 5.0"; require "minitest/autorun"' test/test_*.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/mime-types/mime-types-2.99.2.ebuild b/dev-ruby/mime-types/mime-types-2.99.2.ebuild new file mode 100644 index 000000000000..7f459a822c65 --- /dev/null +++ b/dev-ruby/mime-types/mime-types-2.99.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc History-Types.rdoc README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby" +HOMEPAGE="https://github.com/mime-types/ruby-mime-types" + +LICENSE="MIT Artistic GPL-2" +SLOT="2" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Avoid unneeded dependency on minitest-focus. + sed -i -e '/focus/ s:^:#:' \ + -e 's:fivemat/::' \ + test/minitest_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/mime-types/mime-types-3.2.2.ebuild b/dev-ruby/mime-types/mime-types-3.2.2.ebuild new file mode 100644 index 000000000000..2df887b66003 --- /dev/null +++ b/dev-ruby/mime-types/mime-types-3.2.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby" +HOMEPAGE="https://github.com/mime-types/ruby-mime-types" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/minitest-bonus-assertions:2 dev-ruby/minitest-hooks:1 )" + +ruby_add_rdepend ">=dev-ruby/mime-types-data-3.2015:3" + +all_ruby_prepare() { + # Avoid unneeded developer-only dependencies. + sed -i -e '/\(focus\|rg\)/ s:^:#:' \ + -e 's:fivemat/::' test/minitest_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/mime-types/mime-types-3.3.1.ebuild b/dev-ruby/mime-types/mime-types-3.3.1.ebuild new file mode 100644 index 000000000000..57094e7ceb65 --- /dev/null +++ b/dev-ruby/mime-types/mime-types-3.3.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby" +HOMEPAGE="https://github.com/mime-types/ruby-mime-types" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/minitest-bonus-assertions:2 dev-ruby/minitest-hooks:1 )" + +ruby_add_rdepend ">=dev-ruby/mime-types-data-3.2015:3" + +all_ruby_prepare() { + # Avoid unneeded developer-only dependencies. + sed -i -e '/\(focus\|rg\)/ s:^:#:' \ + -e 's:fivemat/::' test/minitest_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/mime-types/mime-types-3.3.ebuild b/dev-ruby/mime-types/mime-types-3.3.ebuild new file mode 100644 index 000000000000..fbfc69607fdc --- /dev/null +++ b/dev-ruby/mime-types/mime-types-3.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby" +HOMEPAGE="https://github.com/mime-types/ruby-mime-types" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/minitest-bonus-assertions:2 dev-ruby/minitest-hooks:1 )" + +ruby_add_rdepend ">=dev-ruby/mime-types-data-3.2015:3" + +all_ruby_prepare() { + # Avoid unneeded developer-only dependencies. + sed -i -e '/\(focus\|rg\)/ s:^:#:' \ + -e 's:fivemat/::' test/minitest_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/mimemagic/Manifest b/dev-ruby/mimemagic/Manifest new file mode 100644 index 000000000000..cb7ee4af7152 --- /dev/null +++ b/dev-ruby/mimemagic/Manifest @@ -0,0 +1,2 @@ +DIST mimemagic-0.3.3.gem 402944 BLAKE2B 422dd8bcadb2f04fcad2956339cf66a9b5c256462775be9c222b1be968ebde185e15c1fc0107d495dcad6dde59b7a35910d0139740d96a474ec037ccf181f2cc SHA512 ea62cf519af76324ed62863142422a4b5546927b243a9ac45c37ae0b8bfc97813b2276a1fd898bce470b091b1818190a0dc1637d167233a2e187d78e27bb8b77 +DIST mimemagic-0.3.4.gem 410112 BLAKE2B 42838f488bce370f3ea4bf7519f94b64b4e444f04a8758ac19ea1688e003158b000de22274c53451fd471c22de9773b9024f7823ea842e59fe0321301570f0dc SHA512 40b97e523fe96bba28bcc80da02d824c5a3d3be55b0bb1ae1e4eed0337ae8d8e625325adcbfcacd19a2b1ccefbd77b6c3a20af1cf00e03722959ba98659d4281 diff --git a/dev-ruby/mimemagic/metadata.xml b/dev-ruby/mimemagic/metadata.xml new file mode 100644 index 000000000000..06982aaf53d4 --- /dev/null +++ b/dev-ruby/mimemagic/metadata.xml @@ -0,0 +1,12 @@ +<?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">minad/mimemagic</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mimemagic/mimemagic-0.3.3.ebuild b/dev-ruby/mimemagic/mimemagic-0.3.3.ebuild new file mode 100644 index 000000000000..b7d599615b4d --- /dev/null +++ b/dev-ruby/mimemagic/mimemagic-0.3.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Fast mime detection by extension or content" +HOMEPAGE="https://github.com/minad/mimemagic" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" diff --git a/dev-ruby/mimemagic/mimemagic-0.3.4.ebuild b/dev-ruby/mimemagic/mimemagic-0.3.4.ebuild new file mode 100644 index 000000000000..9bcb3ae1df07 --- /dev/null +++ b/dev-ruby/mimemagic/mimemagic-0.3.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Fast mime detection by extension or content" +HOMEPAGE="https://github.com/minad/mimemagic" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest new file mode 100644 index 000000000000..d197c9d16883 --- /dev/null +++ b/dev-ruby/mini_magick/Manifest @@ -0,0 +1,2 @@ +DIST mini_magick-4.10.1.tar.gz 1192455 BLAKE2B 269f0fbf0e49bb14c3a39124dfeb8171775db7a9e51e4662e5dac0a98c4668156bf5bbf22af62a9f62d7834d2205a9475e5631b768d27cac0527cab0baad25fa SHA512 28e4a4cf213db69182adb56daa3e09eb576e96e8ff4ad95121f9a16f8ecceb98ad790d3897463fa1ab3b7d4b9925777f9e71302adfd3f31b3f88aa520371e77b +DIST mini_magick-4.9.5.tar.gz 1192220 BLAKE2B 18867664682b82c689beadd190d203f9a460a229ee07271fdfd3b9ef7c7fb2a913107b2f318c33b7aa15aad88488a4da5548f371f9f9b38246aa8f2210e04d15 SHA512 06a82b3c5bf47ae1254fb669f4cb63a7a944977eaa790501ee715740c6a2fdfe81ea886235fe310d2c0ca07253f4167e72ddae6e29a551315ecafc595c2a3a53 diff --git a/dev-ruby/mini_magick/metadata.xml b/dev-ruby/mini_magick/metadata.xml new file mode 100644 index 000000000000..eb12b7bbd69b --- /dev/null +++ b/dev-ruby/mini_magick/metadata.xml @@ -0,0 +1,12 @@ +<?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">minimagick/minimagick</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mini_magick/mini_magick-4.10.1.ebuild b/dev-ruby/mini_magick/mini_magick-4.10.1.ebuild new file mode 100644 index 000000000000..155b9385df44 --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-4.10.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eutils + +DESCRIPTION="Manipulate images with minimal use of memory" +HOMEPAGE="https://github.com/minimagick/minimagick" +SRC_URI="https://github.com/minimagick/minimagick/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="minimagick-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +# It's only used at runtime in this case because this extension only +# _calls_ the commands. But when we run tests we're going to need tiff +# and jpeg support at a minimum. +RDEPEND+=" media-gfx/imagemagick" +DEPEND+=" test? ( virtual/imagemagick-tools[jpeg,png,tiff] )" + +ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn dev-ruby/webmock )" + +all_ruby_prepare() { + # remove executable bit from all files + find "${S}" -type f -exec chmod -x {} + + + sed -i -e '/\([Bb]undler\|pry\)/ s:^:#:' spec/spec_helper.rb || die + + # Don't force a specific formatter but use overall Gentoo defaults. + sed -i -e '/config.formatter/d' spec/spec_helper.rb || die + + # Avoid broken spec that does not assume . in path name + sed -i -e '/reformats a layer/,/end/ s:^:#:' spec/lib/mini_magick/image_spec.rb || die + + # Avoid spec broken by recent imagemagick updates + sed -i -e '/cache files generated from .mpc/askip' spec/lib/mini_magick/image_spec.rb || die + sed -i -e '/does not hang when parsing verbose data/askip' spec/lib/mini_magick/image_spec.rb || die + + # Avoid graphicsmagick tests because installing both in parallel for + # tests is hard. + sed -i -e 's/:graphicsmagick//' spec/spec_helper.rb || die + sed -i -e '/identifies when gm exists/,/^ end/ s:^:#:' spec/lib/mini_magick/utilities_spec.rb || die + sed -i -e '/returns GraphicsMagick/,/^ end/ s:^:#:' spec/lib/mini_magick_spec.rb || die +} diff --git a/dev-ruby/mini_magick/mini_magick-4.9.5.ebuild b/dev-ruby/mini_magick/mini_magick-4.9.5.ebuild new file mode 100644 index 000000000000..f10d9b866449 --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-4.9.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eutils + +DESCRIPTION="Manipulate images with minimal use of memory" +HOMEPAGE="https://github.com/minimagick/minimagick" +SRC_URI="https://github.com/minimagick/minimagick/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="minimagick-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +# It's only used at runtime in this case because this extension only +# _calls_ the commands. But when we run tests we're going to need tiff +# and jpeg support at a minimum. +RDEPEND+=" media-gfx/imagemagick" +DEPEND+=" test? ( virtual/imagemagick-tools[jpeg,png,tiff] )" + +ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn dev-ruby/webmock )" + +all_ruby_prepare() { + # remove executable bit from all files + find "${S}" -type f -exec chmod -x {} + + + sed -i -e '/\([Bb]undler\|pry\)/ s:^:#:' spec/spec_helper.rb || die + + # Don't force a specific formatter but use overall Gentoo defaults. + sed -i -e '/config.formatter/d' spec/spec_helper.rb || die + + # Avoid broken spec that does not assume . in path name + sed -i -e '/reformats a layer/,/end/ s:^:#:' spec/lib/mini_magick/image_spec.rb || die + + # Avoid spec broken by recent imagemagick updates + sed -i -e '/cache files generated from .mpc/askip' spec/lib/mini_magick/image_spec.rb || die + + # Avoid graphicsmagick tests because installing both in parallel for + # tests is hard. + sed -i -e 's/:graphicsmagick//' spec/spec_helper.rb || die + sed -i -e '/identifies when gm exists/,/^ end/ s:^:#:' spec/lib/mini_magick/utilities_spec.rb || die + sed -i -e '/returns GraphicsMagick/,/^ end/ s:^:#:' spec/lib/mini_magick_spec.rb || die +} diff --git a/dev-ruby/mini_mime/Manifest b/dev-ruby/mini_mime/Manifest new file mode 100644 index 000000000000..323b0de2ce7b --- /dev/null +++ b/dev-ruby/mini_mime/Manifest @@ -0,0 +1,2 @@ +DIST mini_mime-1.0.1.tar.gz 31329 BLAKE2B 970927c8bb2d00f2e0b71cbca9aa954f732eb9d46d2e9b35a6b042ade88aaea993b40023a189b4ce1515b2b476d123945b4ec2d3fef05d4444f3e1a0f492df65 SHA512 2002ed95fe49bf71a95987f35e25e9086a5365e6eff9f7cf8a33a742cbbbd31e5020fbcd0d35b31e7dc61c0e82390a03e5241f4e5a88e9f7d7a2d3020c0ea9ee +DIST mini_mime-1.0.2.tar.gz 31971 BLAKE2B b2783f9376d5299ba77d1cab0326f706cc671a96aac58e8c65879f9180cf3f1f359eba1b8ed4028c775728d4d633d6e8cce06acee90cfe9b60cde2e53f9a2360 SHA512 644eefdc9277642b8b94ce8071826ec993f7da1a5bc8903bd17ece05a374f286014d05b5765ec5a5f7f0fa9252b56d3bdd03109a3702075f6e8ccb68a4cef98d diff --git a/dev-ruby/mini_mime/metadata.xml b/dev-ruby/mini_mime/metadata.xml new file mode 100644 index 000000000000..e71ae63ff57f --- /dev/null +++ b/dev-ruby/mini_mime/metadata.xml @@ -0,0 +1,12 @@ +<?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">discourse/mini_mime</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mini_mime/mini_mime-1.0.1.ebuild b/dev-ruby/mini_mime/mini_mime-1.0.1.ebuild new file mode 100644 index 000000000000..a75bebae5da0 --- /dev/null +++ b/dev-ruby/mini_mime/mini_mime-1.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="mini_mime.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A lightweight mime type lookup toy" +HOMEPAGE="https://github.com/discourse/mini_mime" +SRC_URI="https://github.com/discourse/mini_mime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid comparison with MIME::Types because types may vary over time + # as they get reclassified leading to random harmless failures. + sed -i -e '/test_full_parity_with_mime_types/askip "gentoo"' test/mini_mime_test.rb || die +} diff --git a/dev-ruby/mini_mime/mini_mime-1.0.2.ebuild b/dev-ruby/mini_mime/mini_mime-1.0.2.ebuild new file mode 100644 index 000000000000..2cfcfdb07cae --- /dev/null +++ b/dev-ruby/mini_mime/mini_mime-1.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="mini_mime.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A lightweight mime type lookup toy" +HOMEPAGE="https://github.com/discourse/mini_mime" +SRC_URI="https://github.com/discourse/mini_mime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid comparison with MIME::Types because types may vary over time + # as they get reclassified leading to random harmless failures. + sed -i -e '/test_full_parity_with_mime_types/askip "gentoo"' test/mini_mime_test.rb || die +} diff --git a/dev-ruby/minispec-metadata/Manifest b/dev-ruby/minispec-metadata/Manifest new file mode 100644 index 000000000000..9fa57a2190a7 --- /dev/null +++ b/dev-ruby/minispec-metadata/Manifest @@ -0,0 +1 @@ +DIST minispec-metadata-3.3.1.gem 12288 BLAKE2B fe8b921d7c2927cdd413da29b4953482b8b673c3ad0e997d2fb4f5b1f212e46c1597125378524213a4929fa3db5e6dc75a56a0e42f478cfa0000332b6e1b9073 SHA512 54d08b96f39e3fa7fbffcc4fdb5ef22725af1e3eada333d8a5963304d2d736cb2a6be7166a70a5ae893029fb920a0541d93f0bd7a2e3c51066536a3c02567b75 diff --git a/dev-ruby/minispec-metadata/metadata.xml b/dev-ruby/minispec-metadata/metadata.xml new file mode 100644 index 000000000000..c81a591fc864 --- /dev/null +++ b/dev-ruby/minispec-metadata/metadata.xml @@ -0,0 +1,12 @@ +<?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">ordinaryzelig/minispec-metadata</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minispec-metadata/minispec-metadata-3.3.1.ebuild b/dev-ruby/minispec-metadata/minispec-metadata-3.3.1.ebuild new file mode 100644 index 000000000000..ed82de6b081a --- /dev/null +++ b/dev-ruby/minispec-metadata/minispec-metadata-3.3.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Define and access metadata in MiniTest::Spec descriptions and specs" +HOMEPAGE="https://github.com/ordinaryzelig/minispec-metadata" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/minitest" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|awesome_print\)/ s:^:#:' Rakefile spec/helper.rb || die +} diff --git a/dev-ruby/minitar/Manifest b/dev-ruby/minitar/Manifest new file mode 100644 index 000000000000..45f887181984 --- /dev/null +++ b/dev-ruby/minitar/Manifest @@ -0,0 +1,2 @@ +DIST minitar-0.8.tar.gz 33632 BLAKE2B b576c74cfd59893d4c0c935703453551f9a0ca6258bc6a2b1ecb3151a44ff166607931e554c811fffb489b6398123cd9e8e58372a94b303df45d88ef903868ad SHA512 cab4798b98d91a17dd5ce4aed3f6fd166dab61e8c9e3bef3df218944fe1657a9ec9d40a52ab2773430070e50410c401da799469b096dcc2b22d6466da1e50b8d +DIST minitar-0.9.tar.gz 33873 BLAKE2B 6d285c181510c96f173d850a9411da8a214459da14895e2d186ce712387d390c8ac95e27e4e768005540fdfb7463f32206085a72faf4de6b24c31cb732234260 SHA512 e3aaf0e664a985704cf9dccb72250ea2a7ebb2db9b6120590fb8d5525fe2717e0a90b3020f461ae0c4dfb19dc8728b4eeb6ba2e24ab75d12fbd7f5d98b269c79 diff --git a/dev-ruby/minitar/metadata.xml b/dev-ruby/minitar/metadata.xml new file mode 100644 index 000000000000..ed43c8937fd1 --- /dev/null +++ b/dev-ruby/minitar/metadata.xml @@ -0,0 +1,12 @@ +<?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">halostatue/minitar</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitar/minitar-0.8.ebuild b/dev-ruby/minitar/minitar-0.8.ebuild new file mode 100644 index 000000000000..e51a5080669e --- /dev/null +++ b/dev-ruby/minitar/minitar-0.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Provides POSIX tarchive management from Ruby programs" +HOMEPAGE="https://github.com/halostatue/minitar" +SRC_URI="https://github.com/halostatue/minitar/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="minitar-${PV}" + +LICENSE="|| ( BSD-2 Ruby )" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 )" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/minitar/minitar-0.9.ebuild b/dev-ruby/minitar/minitar-0.9.ebuild new file mode 100644 index 000000000000..dacb83e5e871 --- /dev/null +++ b/dev-ruby/minitar/minitar-0.9.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="minitar.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides POSIX tarchive management from Ruby programs" +HOMEPAGE="https://github.com/halostatue/minitar" +SRC_URI="https://github.com/halostatue/minitar/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="minitar-${PV}" + +LICENSE="|| ( BSD-2 Ruby )" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 )" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/minitest-around/Manifest b/dev-ruby/minitest-around/Manifest new file mode 100644 index 000000000000..b2daff263804 --- /dev/null +++ b/dev-ruby/minitest-around/Manifest @@ -0,0 +1 @@ +DIST minitest-around-0.5.0.gem 11776 BLAKE2B 1b1bacc229252e41412380d95e50ad05f918c13d37e7939f96fa19e4254c7f5222482d0f080355e5a900ff8ef89f768cc527c9b1c2644817e4d46842cbf83140 SHA512 8e57d436d39a41c5a08df6006a5cd46f92550844f01f9b6662918b9ba9536b74f6c83fcaea64180c7e025a1a14d4e037e1b17b84ae395a2b745e58f21ba5c752 diff --git a/dev-ruby/minitest-around/metadata.xml b/dev-ruby/minitest-around/metadata.xml new file mode 100644 index 000000000000..2160a878b39d --- /dev/null +++ b/dev-ruby/minitest-around/metadata.xml @@ -0,0 +1,12 @@ +<?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">splattael/minitest-around</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitest-around/minitest-around-0.5.0.ebuild b/dev-ruby/minitest-around/minitest-around-0.5.0.ebuild new file mode 100644 index 000000000000..286620470fb8 --- /dev/null +++ b/dev-ruby/minitest-around/minitest-around-0.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Alternative for setup/teardown dance" +HOMEPAGE="https://github.com/splattael/minitest-around" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/minitest:5" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-util/cucumber )" + +all_ruby_prepare() { + sed -i -e '/bump/ s:^:#:' \ + -e '/ls-files/d' \ + -e '/cucumber/ s/,.*$//' minitest-around.gemspec Rakefile || die +} + +each_ruby_test() { + for f in test/*_{test,spec}.rb ; do + ${RUBY} -S rake test:isolated TEST="${f}" || die + done +} diff --git a/dev-ruby/minitest-bonus-assertions/Manifest b/dev-ruby/minitest-bonus-assertions/Manifest new file mode 100644 index 000000000000..b2191b5dcade --- /dev/null +++ b/dev-ruby/minitest-bonus-assertions/Manifest @@ -0,0 +1 @@ +DIST minitest-bonus-assertions-3.0.gem 13824 BLAKE2B 415f8b48875b8335ded9fc21b5430b575d3d104179066de19aa58d1602da7ff9994c8ceb49b1cf34fd4c8553c76999bf1b638d2c44761af84d510ca1e276cec1 SHA512 8b07e5d3be7cf68be53b06f6b545445efd9021ff5423bb67c4b0e8e40aa004d75f34eef3fc23ebe83bceaaa064c57a5ac1b9969a28f48203a6ae4c34092c5621 diff --git a/dev-ruby/minitest-bonus-assertions/metadata.xml b/dev-ruby/minitest-bonus-assertions/metadata.xml new file mode 100644 index 000000000000..86212391e847 --- /dev/null +++ b/dev-ruby/minitest-bonus-assertions/metadata.xml @@ -0,0 +1,12 @@ +<?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">halostatue/minitest-bonus-assertions</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0.ebuild b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0.ebuild new file mode 100644 index 000000000000..9b89cd38003a --- /dev/null +++ b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Bonus assertions for minitest" +HOMEPAGE="https://github.com/halostatue/minitest-bonus-assertions" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/minitest-pretty_diff )" + +all_ruby_prepare() { + sed -i -e '/\(bisect\|focus\|moar\)/ s:^:#:' test/minitest_config.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/minitest-global_expectations/Manifest b/dev-ruby/minitest-global_expectations/Manifest new file mode 100644 index 000000000000..2cc14329552b --- /dev/null +++ b/dev-ruby/minitest-global_expectations/Manifest @@ -0,0 +1 @@ +DIST minitest-global_expectations-1.0.1.gem 6656 BLAKE2B 19df8ad02f9dad9711e219389fa2d0114d1b2b07b3d7e263eb69e48d78596184261c5de91d3f03d996bf45e897d1a7ac6bb3efb77cede34203f6712263eb573e SHA512 e63b50b02612d751b1bd0b3c9e100e0f6b674dfa5475434a213f78c5e556004c43f00b9bf5b9c479c2381be87015125a334308fae27d70a6aed1e9b392ece546 diff --git a/dev-ruby/minitest-global_expectations/metadata.xml b/dev-ruby/minitest-global_expectations/metadata.xml new file mode 100644 index 000000000000..6970fb1ca2cb --- /dev/null +++ b/dev-ruby/minitest-global_expectations/metadata.xml @@ -0,0 +1,12 @@ +<?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">jeremyevans/minitest-global_expectations</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitest-global_expectations/minitest-global_expectations-1.0.1.ebuild b/dev-ruby/minitest-global_expectations/minitest-global_expectations-1.0.1.ebuild new file mode 100644 index 000000000000..48bd743c4e6f --- /dev/null +++ b/dev-ruby/minitest-global_expectations/minitest-global_expectations-1.0.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-fakegem + +DESCRIPTION="Support minitest expectation methods for all objects" +HOMEPAGE="https://github.com/jeremyevans/minitest-global_expectations" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 sparc x86" +IUSE="" diff --git a/dev-ruby/minitest-hooks/Manifest b/dev-ruby/minitest-hooks/Manifest new file mode 100644 index 000000000000..0c9d9d2869a7 --- /dev/null +++ b/dev-ruby/minitest-hooks/Manifest @@ -0,0 +1 @@ +DIST minitest-hooks-1.5.0.gem 11264 BLAKE2B 740df3b75ade3372fbf75ed7bd861c70af6f11d8cd1f37819272b98bc8cd1fad6ea09375856cd48a75499e0a692411c6da4f5aec212ebae91b47531c4bedda54 SHA512 4e7c969485c6e8d3414710b787c8880ad26b71de9f0b4a93ca1bf343deba426feee1cc06fcc51eee05c4880d851664fff045026d44728e217607e4cb32aa8f4b diff --git a/dev-ruby/minitest-hooks/metadata.xml b/dev-ruby/minitest-hooks/metadata.xml new file mode 100644 index 000000000000..5092cefe0007 --- /dev/null +++ b/dev-ruby/minitest-hooks/metadata.xml @@ -0,0 +1,12 @@ +<?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">jeremyevans/minitest-hooks</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitest-hooks/minitest-hooks-1.5.0.ebuild b/dev-ruby/minitest-hooks/minitest-hooks-1.5.0.ebuild new file mode 100644 index 000000000000..bb7988eddacc --- /dev/null +++ b/dev-ruby/minitest-hooks/minitest-hooks-1.5.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Skip tests since they require unpackaged sequel +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Adds around and before_all/after_all/around_all hooks for Minitest" +HOMEPAGE="https://github.com/jeremyevans/minitest-hooks" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" diff --git a/dev-ruby/minitest-power_assert/Manifest b/dev-ruby/minitest-power_assert/Manifest new file mode 100644 index 000000000000..37f41b76f666 --- /dev/null +++ b/dev-ruby/minitest-power_assert/Manifest @@ -0,0 +1 @@ +DIST minitest-power_assert-0.3.1.gem 8192 BLAKE2B d5b9a862d19776d673fb510d2cc52b6741ac20c9b286228a672e49f681d37d2d2c3517253c70b5d1a8d8dc08ca2ac35f8105717edb74a28b6a2ed8667d94a9c3 SHA512 178c70dbe0db2b2248fa83437241d80c7054bf51e21afce74c61bc178907b98ae5b691e0cb644d5754a497d4944520e1ebf7727f1d7f286b4aa28b4560a54cbc diff --git a/dev-ruby/minitest-power_assert/metadata.xml b/dev-ruby/minitest-power_assert/metadata.xml new file mode 100644 index 000000000000..88bc3bf20e75 --- /dev/null +++ b/dev-ruby/minitest-power_assert/metadata.xml @@ -0,0 +1,12 @@ +<?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">hsbt/minitest-power_assert</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1.ebuild b/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1.ebuild new file mode 100644 index 000000000000..08bfda66df0c --- /dev/null +++ b/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Power Assert for Minitest" +HOMEPAGE="https://github.com/hsbt/minitest-power_assert" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/minitest:* + >=dev-ruby/power_assert-1.1 +" + +all_ruby_prepare() { + sed -i -e '/bundle/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/minitest-pretty_diff/Manifest b/dev-ruby/minitest-pretty_diff/Manifest new file mode 100644 index 000000000000..1185edd9b8e8 --- /dev/null +++ b/dev-ruby/minitest-pretty_diff/Manifest @@ -0,0 +1 @@ +DIST minitest-pretty_diff-0.1.gem 4608 BLAKE2B 4002f4f2df03885a0c1f13c5561bbf48ccd707f44af44f4e91d4f6337a31791754b3e38160f088abb7aee8ec6d9abb6734d3305dec808033697611864559efa1 SHA512 e04cbbdb9cd12f2b60824dc0e20f5f3ee3e97b6cf3c8b290da941f26af120fd8eb47e33cb501380954ebfd84db817095f2f8a205ea8ee2095868befd443172b6 diff --git a/dev-ruby/minitest-pretty_diff/metadata.xml b/dev-ruby/minitest-pretty_diff/metadata.xml new file mode 100644 index 000000000000..16056285620a --- /dev/null +++ b/dev-ruby/minitest-pretty_diff/metadata.xml @@ -0,0 +1,12 @@ +<?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">adammck/minitest-pretty_diff</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild new file mode 100644 index 000000000000..1088f09239f7 --- /dev/null +++ b/dev-ruby/minitest-pretty_diff/minitest-pretty_diff-0.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Pretty-print hashes and arrays before diffing them in MiniTest" +HOMEPAGE="https://github.com/adammck/minitest-pretty_diff" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest new file mode 100644 index 000000000000..772c9e0ede74 --- /dev/null +++ b/dev-ruby/minitest/Manifest @@ -0,0 +1,6 @@ +DIST minitest-4.7.5.gem 57856 BLAKE2B d0ecb0a0693c35ebbda52e9c755b72f07e38d6ccc266312a3426f9de3c40165d68bf07d5ed162ce51e31b1bb8502dc844fe61d9e93733108501f156c3096af23 SHA512 7ea0a52d37f4631fb8b11d4389da2123e4207093f7b34c497fced8729c9086faaa35e997debdb53b694e05eb52b16e843960f0b54515c32207f87161a76c3851 +DIST minitest-5.11.3.gem 79360 BLAKE2B c348957e094bd91e88c6dace522b8e88c37ec435d58b4f6f8c8b458cfd26b789cb00cd43fa9d515112a8f3c9a736756d59c46f4117d1c1948d08cab0a5eed6aa SHA512 387537aff51f8e8f9cc2feddadf6813d11f0ba623ae3d5929d7b7a88e180b60c961dfa1d2ba0f3a4ad7d2c1af250245376fa62b23f68c8b57812c7e86efba0c7 +DIST minitest-5.12.2.gem 82432 BLAKE2B fb8df3d5407a96b7be9611c19763a4480c20ac29aababc147f14f0684926806a76e2b38a75009a11cb2cb1e3ded371ef5b9275ddb87251496315f0ce023e4382 SHA512 7a14769e7eb1c4c950380da86a1e7ff8836f05bfb5b08216f4c0fe9e1709982e3f189fb579b1d74b307f6a17e3136d4ec3d7811562415942154a905364e1428e +DIST minitest-5.13.0.gem 83968 BLAKE2B 90f2bc20328a5522a51bcfee94d69e6fd03189190a04ee77499d574531e95b8f8b6652cc51a5917e51920f58c0f95465c27c5d69bab7aba01e02502ccf72ae38 SHA512 bdd0d665cfd6f6e36dcb1f2f069f5154a468f68eb4c41f5c39e3a3397644141d5e05024023b20fafbceb983b019b00a0ec6da98432f505cc8fd1cebc11cc1fca +DIST minitest-5.14.0.gem 84992 BLAKE2B 3bf733ae992e83af862773b6b76997b7a3262290c8239fe2871e9d55bfdd0a9c921a88965167a693794e064fcc2efdf9f6c111075f59921c55669fca1a8ada27 SHA512 4d65cbc96fe96bd79fd1dce36ce3b72d8e01efc12dcfeb6264075bb36430110f1c8fb519e0885e3449379fb5237cbdf7e24803ef49034e46ddf1d3a24c56b45f +DIST minitest-5.14.1.gem 84992 BLAKE2B 1bc258ea21ff887381ce9d13ea08f07d6242bf1daa8e65063ac9bfa41c5a9363d0c7e25356d803e780814fcc62c54b9f62e76c7db8e0666f19dbb52bd94e171d SHA512 57a205ce8f71a494d9d8b0343cbc39f8d3ee22f33145b53b6b0bebebc0a2ed542eba3e1df91bf115be0910f0c2e65d5c24be6b595f13e6ccbbe417e06c54ffce diff --git a/dev-ruby/minitest/metadata.xml b/dev-ruby/minitest/metadata.xml new file mode 100644 index 000000000000..dedaa53618a8 --- /dev/null +++ b/dev-ruby/minitest/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/minitest</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/minitest/minitest-4.7.5-r2.ebuild b/dev-ruby/minitest/minitest-4.7.5-r2.ebuild new file mode 100644 index 000000000000..98508643022c --- /dev/null +++ b/dev-ruby/minitest/minitest-4.7.5-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit" +HOMEPAGE="https://github.com/seattlerb/minitest" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +each_ruby_prepare() { + sed -i -e 's/Fixnum/Integer/' test/minitest/test_minitest_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:bin:test:. -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/minitest/minitest-5.11.3.ebuild b/dev-ruby/minitest/minitest-5.11.3.ebuild new file mode 100644 index 000000000000..918c1db21242 --- /dev/null +++ b/dev-ruby/minitest/minitest-5.11.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit" +HOMEPAGE="https://github.com/seattlerb/minitest" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" +} diff --git a/dev-ruby/minitest/minitest-5.12.2.ebuild b/dev-ruby/minitest/minitest-5.12.2.ebuild new file mode 100644 index 000000000000..3a0a1e201aa4 --- /dev/null +++ b/dev-ruby/minitest/minitest-5.12.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit" +HOMEPAGE="https://github.com/seattlerb/minitest" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" +} diff --git a/dev-ruby/minitest/minitest-5.13.0.ebuild b/dev-ruby/minitest/minitest-5.13.0.ebuild new file mode 100644 index 000000000000..59e6973c806c --- /dev/null +++ b/dev-ruby/minitest/minitest-5.13.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit" +HOMEPAGE="https://github.com/seattlerb/minitest" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" +} diff --git a/dev-ruby/minitest/minitest-5.14.0.ebuild b/dev-ruby/minitest/minitest-5.14.0.ebuild new file mode 100644 index 000000000000..59e6973c806c --- /dev/null +++ b/dev-ruby/minitest/minitest-5.14.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit" +HOMEPAGE="https://github.com/seattlerb/minitest" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" +} diff --git a/dev-ruby/minitest/minitest-5.14.1.ebuild b/dev-ruby/minitest/minitest-5.14.1.ebuild new file mode 100644 index 000000000000..59e6973c806c --- /dev/null +++ b/dev-ruby/minitest/minitest-5.14.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit" +HOMEPAGE="https://github.com/seattlerb/minitest" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" +} diff --git a/dev-ruby/mixlib-shellout/Manifest b/dev-ruby/mixlib-shellout/Manifest new file mode 100644 index 000000000000..2ccbe502e254 --- /dev/null +++ b/dev-ruby/mixlib-shellout/Manifest @@ -0,0 +1,3 @@ +DIST mixlib-shellout-2.4.4.tar.gz 38305 BLAKE2B 19e4211dee056e03f007971d4d77685a2d2d6a111439903bd33e0ed8dee62090b54b6f15e0bc6db168591491c2462869645174a909609b7499bdce251a6ceeef SHA512 e42217a6ced0fb8335cb2df60947168c629d637d280b36fe3d77f47593dc73eda72578b0e9ddf48498e27460cb878764c5dff1b5648a0c7d244c16558d57eef4 +DIST mixlib-shellout-3.0.4.tar.gz 42533 BLAKE2B 4d71cfb2d41120be04613749fd5c0e73d6939fe64410e46285a6f81ec61107b1e658ecc011c032621b433eb15e9ffd42b4f589419ffd8f68b7c5977691e011d1 SHA512 2ed866333874c8c40109de9bb4a1e5a3afea4f4c4cf537b11a1ccd670d374b9ce132717e87d43bb41065a9361e45de13bb1fa2db3e1f2d9f4af18253548f5811 +DIST mixlib-shellout-3.0.9.tar.gz 42476 BLAKE2B 4fab1d0f7d7ee5190f65d312304c7137d940b5cc19bb205d4de1d14eb5bc5829671560785b7f3179220246433b15b9022f8a1d16fb7491e180940c9dc6da5280 SHA512 7234c188e25cc6da3c4859eb12e4f86ce0d6538d17e4c90b1b5105fe677fcd13d884d7045be9767473c3ac63ffcfac7af25dc8efcec184928ba32852a5a760cc diff --git a/dev-ruby/mixlib-shellout/metadata.xml b/dev-ruby/mixlib-shellout/metadata.xml new file mode 100644 index 000000000000..507d0cadad6e --- /dev/null +++ b/dev-ruby/mixlib-shellout/metadata.xml @@ -0,0 +1,12 @@ +<?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">opscode/mixlib-shellout</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-2.4.4.ebuild b/dev-ruby/mixlib-shellout/mixlib-shellout-2.4.4.ebuild new file mode 100644 index 000000000000..bba0f8772a27 --- /dev/null +++ b/dev-ruby/mixlib-shellout/mixlib-shellout-2.4.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Run external commands on Unix or Windows" +HOMEPAGE="https://github.com/opscode/mixlib-shellout" +SRC_URI="https://github.com/opscode/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +each_ruby_prepare() { + # Make sure we actually use the right interpreter for testing + sed -i -e "/ruby_eval/ s:ruby :${RUBY} :" spec/mixlib/shellout_spec.rb || die + + # Avoid spec that requires an interactive terminal + sed -i -e '/with subprocess writing lots of data to both stdout and stderr/,/^ end/ s:^:#:' spec/mixlib/shellout_spec.rb || die +} diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-3.0.4.ebuild b/dev-ruby/mixlib-shellout/mixlib-shellout-3.0.4.ebuild new file mode 100644 index 000000000000..95d017b5ca3e --- /dev/null +++ b/dev-ruby/mixlib-shellout/mixlib-shellout-3.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Run external commands on Unix or Windows" +HOMEPAGE="https://github.com/opscode/mixlib-shellout" +SRC_URI="https://github.com/opscode/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +each_ruby_prepare() { + # Make sure we actually use the right interpreter for testing + sed -i -e "/ruby_eval/ s:ruby :${RUBY} :" spec/mixlib/shellout_spec.rb || die + + # Avoid spec that requires an interactive terminal + sed -i -e '/with subprocess writing lots of data to both stdout and stderr/,/^ end/ s:^:#:' spec/mixlib/shellout_spec.rb || die +} diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-3.0.9.ebuild b/dev-ruby/mixlib-shellout/mixlib-shellout-3.0.9.ebuild new file mode 100644 index 000000000000..ce5ed5b376c3 --- /dev/null +++ b/dev-ruby/mixlib-shellout/mixlib-shellout-3.0.9.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="mixlib-shellout.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Run external commands on Unix or Windows" +HOMEPAGE="https://github.com/opscode/mixlib-shellout" +SRC_URI="https://github.com/opscode/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +each_ruby_prepare() { + # Make sure we actually use the right interpreter for testing + sed -i -e "/ruby_eval/ s:ruby :${RUBY} :" spec/mixlib/shellout_spec.rb || die + + # Avoid spec that requires an interactive terminal + sed -i -e '/with subprocess writing lots of data to both stdout and stderr/,/^ end/ s:^:#:' spec/mixlib/shellout_spec.rb || die +} diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest new file mode 100644 index 000000000000..c72e84e0d318 --- /dev/null +++ b/dev-ruby/mocha/Manifest @@ -0,0 +1,6 @@ +DIST mocha-0.14.0.gem 82944 BLAKE2B 50a066e2f5007df08a7f76785fd4c2b12327b4969c11324a0574c707bea3219d51edb9ab40635378c16b46ad826ec7eff42434a27cd61113a6f40251fa2e6930 SHA512 918e45f2ee761c7dc399c7958e4d406f9e186c90f479fd01a421aa542944b47e9b2c5e938f4fc5292a7da345726447b2d47dc5f417e114201f8a4d9893c4d461 +DIST mocha-1.10.2.gem 240128 BLAKE2B 50c638a729cf7e11b982f60b3e511166ca896d67167e8c4ae1c8bdb87fed11c9feef21046f84701f93131e1399320635eeb73a8f08adc1f38a4b36e2134cc690 SHA512 efcfaa266f8e6ac84598f69078855f9a36aaea1f5f6bb2b6759ed17577c390bd60c52b0e09de3c2099cc72e6731099f55b647cea158a4b3996d290c79d006670 +DIST mocha-1.11.1.gem 242176 BLAKE2B 163e490462d820998694650abc480c77ecaaf086d38899d31b2fa6734474df781d4cc2958f49d36d6f894a3d083dcdf1cc8182d4f58f5968095219c5d141c7fb SHA512 c34a9c574e69c39b1e38056cd9a99e6b574f5f0d0746fe5ebf54316af26dfe13a6baf02473f035b221edbddc2b996bc9571949007843cae918d0eccda6eada38 +DIST mocha-1.11.2.gem 242688 BLAKE2B 60df172257e8767fd3b48e3716cd31cb69ec6f10cc74908bee2e0dfd2d042550b10c7ffc8d2dcf05853c96cf2745fae776bdc9abcd6728f5a4f3fb349d997bec SHA512 8408d7b4c4d979caebabb75b1b870e6473fb0a5abe6055bdf7b4c4679b92c963138ec9a2947e60b9741a2cb50ea7ddfe949544dc4b0bdac22242b2a7eb5fd54d +DIST mocha-1.8.0.gem 223744 BLAKE2B 625f38d6ec53cbf549cbace873172b8511f2e6a2ccb5d7fd4133c3d9a67a8e5d55626fead7a70de363c8564b687530d3e0515ed7fc167a65091d9e17d89dde47 SHA512 b0abd6234f34dfd92d44019001e97914dff80ece5fbe2b53ccc91192f99f06a79f9c96cdb136b2a389a1a1b7038076fce688d8d8ee8645538d3c58f73e345fe4 +DIST mocha-1.9.0.gem 224768 BLAKE2B cbba687669691c4771762fdc87285e1d2a2e9cd4a97f42111e0014118dd358e30b4cf3147c973631b491fa981fe4a3212a7eb160b1d7517db78e3f8647ebda15 SHA512 76aa6c1a59d98cf2e592b94785f102fae7d46923cd30494df944a322a6286fb854867ccb32c396f522008b8a0e368ff115693ec6dc63d7cbe84fa26a3a42d9e6 diff --git a/dev-ruby/mocha/metadata.xml b/dev-ruby/mocha/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/mocha/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mocha/mocha-0.14.0.ebuild b/dev-ruby/mocha/mocha-0.14.0.ebuild new file mode 100644 index 000000000000..7e0692716b9d --- /dev/null +++ b/dev-ruby/mocha/mocha-0.14.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="MOCHA_NO_DOCS=true test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="http://gofreerange.com/mocha/docs/" + +LICENSE="MIT" +SLOT="0.14" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 ~sparc x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1 + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die + sed -i -e '20irequire "mocha/setup"' test/test_helper.rb || die +} diff --git a/dev-ruby/mocha/mocha-1.10.2.ebuild b/dev-ruby/mocha/mocha-1.10.2.ebuild new file mode 100644 index 000000000000..217ff4dd19c6 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.10.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" + +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/mocha/mocha-1.11.1.ebuild b/dev-ruby/mocha/mocha-1.11.1.ebuild new file mode 100644 index 000000000000..217ff4dd19c6 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.11.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" + +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/mocha/mocha-1.11.2.ebuild b/dev-ruby/mocha/mocha-1.11.2.ebuild new file mode 100644 index 000000000000..95b6d1545f34 --- /dev/null +++ b/dev-ruby/mocha/mocha-1.11.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" + +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/mocha/mocha-1.8.0.ebuild b/dev-ruby/mocha/mocha-1.8.0.ebuild new file mode 100644 index 000000000000..5e207fbdb35c --- /dev/null +++ b/dev-ruby/mocha/mocha-1.8.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "=dev-ruby/metaclass-0.0*" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/mocha/mocha-1.9.0.ebuild b/dev-ruby/mocha/mocha-1.9.0.ebuild new file mode 100644 index 000000000000..9f6f5f26de0d --- /dev/null +++ b/dev-ruby/mocha/mocha-1.9.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +ruby_add_rdepend "=dev-ruby/metaclass-0.0*" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} diff --git a/dev-ruby/moneta/Manifest b/dev-ruby/moneta/Manifest new file mode 100644 index 000000000000..15d719746d25 --- /dev/null +++ b/dev-ruby/moneta/Manifest @@ -0,0 +1,2 @@ +DIST moneta-1.1.0.tar.gz 113116 BLAKE2B 15e70515f112794e95a0e665bca161bf3d9d28b2f3cee6ca77d9bf9ece825669f71994b2b581e61cba6c2a97b6d8b779000ba0c17b9e3fe564ca85f2a59c6581 SHA512 5caec98088989ed0e7da526a831248c86d365de97582f78276199eaa099fc25b3139f7ec2dc65265073fc6826c9abf954e55e4fdc7ea11cd9b6cddcd65c40f2d +DIST moneta-1.1.1.tar.gz 114959 BLAKE2B 8904f5cc1e247da878109370ab8483abc1f30a2834abe3ea4b56f7ce01a9dae7ffc9339ead2ef2d940cffa45727123876cf834cd5dfaea6569abb39b0d0669c9 SHA512 19a9b4965a62f49640b371baafb00fbdd34e142da56bc0243b4b2c79c94254720d644131bc4a37ad871abe4ccbf0d351d19998fb3fa401230eb9dc254e3e482e diff --git a/dev-ruby/moneta/metadata.xml b/dev-ruby/moneta/metadata.xml new file mode 100644 index 000000000000..b85c044229ca --- /dev/null +++ b/dev-ruby/moneta/metadata.xml @@ -0,0 +1,12 @@ +<?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">minad/moneta</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/moneta/moneta-1.1.0.ebuild b/dev-ruby/moneta/moneta-1.1.0.ebuild new file mode 100644 index 000000000000..08a5f6d1cba9 --- /dev/null +++ b/dev-ruby/moneta/moneta-1.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="none" +# 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 + +GITHUB_USER="minad" + +DESCRIPTION="A unified interface to key/value stores" +HOMEPAGE="https://github.com/minad/moneta" +SRC_URI="https://github.com/${GITHUB_USER}/moneta/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/moneta/moneta-1.1.1.ebuild b/dev-ruby/moneta/moneta-1.1.1.ebuild new file mode 100644 index 000000000000..0cab3f2cc2ad --- /dev/null +++ b/dev-ruby/moneta/moneta-1.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="none" +# 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 + +GITHUB_USER="minad" + +DESCRIPTION="A unified interface to key/value stores" +HOMEPAGE="https://github.com/minad/moneta" +SRC_URI="https://github.com/${GITHUB_USER}/moneta/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/mqtt/Manifest b/dev-ruby/mqtt/Manifest new file mode 100644 index 000000000000..46758110bb7a --- /dev/null +++ b/dev-ruby/mqtt/Manifest @@ -0,0 +1 @@ +DIST mqtt-0.5.0.tar.gz 43944 BLAKE2B 1bd1002a83af339627377ecd850980fc00788133da3393e999dd798ac7544d70a6fdd45129b03ae36402aac28a3212171b77df2223fdee45ea4778405e61543b SHA512 ad6e6cb4775e89725a9aa02f2a1d91871cd34f2e5bf35033456b93ec09ec90a6fdcf1cbaf8822e1f032f0a52cde23db55fbb1e4eff4540e331397c180e7c6ed0 diff --git a/dev-ruby/mqtt/metadata.xml b/dev-ruby/mqtt/metadata.xml new file mode 100644 index 000000000000..616bdcc8516a --- /dev/null +++ b/dev-ruby/mqtt/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">njh/ruby-mqtt</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mqtt/mqtt-0.5.0.ebuild b/dev-ruby/mqtt/mqtt-0.5.0.ebuild new file mode 100644 index 000000000000..bdaf7f122371 --- /dev/null +++ b/dev-ruby/mqtt/mqtt-0.5.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Pure Ruby gem that implements the MQTT protocol" +HOMEPAGE="https://github.com/njh/ruby-mqtt" +SRC_URI="https://github.com/njh/ruby-mqtt/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-${P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#: ; /SimpleCov/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest new file mode 100644 index 000000000000..758c3e92a5dc --- /dev/null +++ b/dev-ruby/msgpack/Manifest @@ -0,0 +1,4 @@ +DIST msgpack-1.2.10.gem 79872 BLAKE2B 878d4bd0c1b9010389aa59358bbc70d2e771f5fa167d2eb659583cb116e94ed5c00578d89be96dd80dd458616336a2a1649ea9c7826cefe81d78ee0c2ac24299 SHA512 49186e0cbc375aaaa3174a488d2d47afc46d0618b0b3c3c7d60485672ba6e918e0607b18d9d7cfa9106478fb5250811fca4675dc482d4cf8e6c510acdcddeeb1 +DIST msgpack-1.3.0.gem 82432 BLAKE2B b6b4e6a3f3cb204b2d4997cefb5aa5f307a6c3db332663f7e89360d68e2d5dd9211316d6532141c0276becb2e5d227aad4943976953a285cbd691c31d8c5387b SHA512 aeb9376c7e2029812b7e6be7732c419792e79a2bf1ebef6b2feebbfacfefaa7063658fee7b7a9b8558f6a04b6c10fcdc325aa27d9c1b856db7af5b15cccb06a5 +DIST msgpack-1.3.1.gem 82432 BLAKE2B 661c2068b26db494bd068e223c1969d59d64478d5c05832bb6b6fcb9f14be7a3f4953b4a62ad23b622b2d06312bebe7d9ee5fdd173b23fe94f2228d6634aef0c SHA512 79a71725e337c37417b7b02d77a25d28c742daa539f7247fc50b7e146311d491a6a20b86aa2bdd0eae0c1dffab3ee35a1a7a775f7f5c6688be09ecd2149c187a +DIST msgpack-1.3.3.gem 82432 BLAKE2B 75a77773d8e7d07ccb2099a806f845f4d4723dba82ad642da1cb1b9ee0c55567b6198b86ca22093fdebcd4ec40ce05d95aad658104a1e9072dab5a496bdb0317 SHA512 18d78cac70a14a22fab6f7743f702cbb1a636434e881dff5b6eec89be137a47fac1649e143dfa8c3c9e65ccc099b2b3c778cb333613d750cb6b296e3ce7db3c9 diff --git a/dev-ruby/msgpack/metadata.xml b/dev-ruby/msgpack/metadata.xml new file mode 100644 index 000000000000..44b21efa2a28 --- /dev/null +++ b/dev-ruby/msgpack/metadata.xml @@ -0,0 +1,12 @@ +<?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="sourceforge-jp">msgpack</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/msgpack/msgpack-1.2.10.ebuild b/dev-ruby/msgpack/msgpack-1.2.10.ebuild new file mode 100644 index 000000000000..2a5c4ed7c274 --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.2.10.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Binary-based efficient data interchange format for ruby binding" +HOMEPAGE="https://msgpack.org/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove jruby-specific specs that are run also for other rubies. + rm -rf spec/jruby || die + + sed -i -e '/git ls-files/d' msgpack.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die "Configuration of extension failed." + + # rb_num2int is not inlined on 32 bit arches but also not explicitly + # defined, bug 582968 + sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to install msgpack library." +} diff --git a/dev-ruby/msgpack/msgpack-1.3.0.ebuild b/dev-ruby/msgpack/msgpack-1.3.0.ebuild new file mode 100644 index 000000000000..387a0163f9f7 --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Binary-based efficient data interchange format for ruby binding" +HOMEPAGE="https://msgpack.org/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove jruby-specific specs that are run also for other rubies. + rm -rf spec/jruby || die + + sed -i -e '/git ls-files/d' msgpack.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die "Configuration of extension failed." + + # rb_num2int is not inlined on 32 bit arches but also not explicitly + # defined, bug 582968 + sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to install msgpack library." +} diff --git a/dev-ruby/msgpack/msgpack-1.3.1.ebuild b/dev-ruby/msgpack/msgpack-1.3.1.ebuild new file mode 100644 index 000000000000..2c3dd30da97d --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Binary-based efficient data interchange format for ruby binding" +HOMEPAGE="https://msgpack.org/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove jruby-specific specs that are run also for other rubies. + rm -rf spec/jruby || die + + sed -i -e '/git ls-files/d' msgpack.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die "Configuration of extension failed." + + # rb_num2int is not inlined on 32 bit arches but also not explicitly + # defined, bug 582968 + sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to install msgpack library." +} diff --git a/dev-ruby/msgpack/msgpack-1.3.3.ebuild b/dev-ruby/msgpack/msgpack-1.3.3.ebuild new file mode 100644 index 000000000000..6db61d66e8f4 --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.3.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Binary-based efficient data interchange format for ruby binding" +HOMEPAGE="https://msgpack.org/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove jruby-specific specs that are run also for other rubies. + rm -rf spec/jruby || die + + sed -i -e '/git ls-files/d' msgpack.gemspec || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die "Configuration of extension failed." + + # rb_num2int is not inlined on 32 bit arches but also not explicitly + # defined, bug 582968 + sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to install msgpack library." +} diff --git a/dev-ruby/multi_json/Manifest b/dev-ruby/multi_json/Manifest new file mode 100644 index 000000000000..26507a4b886f --- /dev/null +++ b/dev-ruby/multi_json/Manifest @@ -0,0 +1,2 @@ +DIST multi_json-1.13.1.tar.gz 26098 BLAKE2B e82a08a747a092a9094cd7b35b4f933b5ac922a01f45a51b215ca9c4cdb9a083a4808d4bbe67a147ecb57e0b7b7e313c3d896f8cd80c79338c24abc3b90a09f9 SHA512 7c98392bd1c909fcc05249a02a010b561bf6c2d812ae42413d6e8dafa62926d8cb76226ded4c61558a00e5fa531ba33b6f4ef562648c52ba9b552ff7b7e27682 +DIST multi_json-1.14.1.tar.gz 24713 BLAKE2B 188d0fa3bf7a46a6cf4a5aa1d613523b4da3dee5061a5288146d1a367835b255f103dec265da9a218dd6dd21ecb38a7ce35d16a758ac7754b440f52c25f0b703 SHA512 19e2b6704a8ed39b8714da449c8961e740198772718ddba3d3b651f71f2b7d8c2c198d9cc16fe290f1df7b1e54d029c01147fdc431a8d2763944a4de802b89d9 diff --git a/dev-ruby/multi_json/metadata.xml b/dev-ruby/multi_json/metadata.xml new file mode 100644 index 000000000000..c59f80e8413f --- /dev/null +++ b/dev-ruby/multi_json/metadata.xml @@ -0,0 +1,12 @@ +<?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">intridea/multi_json</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/multi_json/multi_json-1.13.1.ebuild b/dev-ruby/multi_json/multi_json-1.13.1.ebuild new file mode 100644 index 000000000000..cc849a4493c3 --- /dev/null +++ b/dev-ruby/multi_json/multi_json-1.13.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/intridea/multi_json/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A gem to provide swappable JSON backends" +HOMEPAGE="https://github.com/intridea/multi_json" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +ruby_add_rdepend "|| ( >=dev-ruby/json-1.4:* >=dev-ruby/yajl-ruby-1.0 )" + +ruby_add_bdepend "doc? ( dev-ruby/rspec:3 dev-ruby/yard )" + +ruby_add_bdepend "test? ( dev-ruby/json + dev-ruby/yajl-ruby )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die "Unable to remove bundler." + + # Remove unimportant rspec options not supported by rspec 2.6. + rm .rspec || die + + # Remove specs specific to oj since we don't package oj yet. + sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' \ + -e '/Oj does not create symbols on parse/,/^ end/ s:^:#:' \ + -e '/with Oj.default_settings/,/^ end/ s:^:#:' \ + -e '/using one-shot parser/,/^ end/ s:^:#:' \ + spec/multi_json_spec.rb + + # Avoid simplecov which only works with ruby 1.9 + sed -i -e '/simplecov/d' -e '/SimpleCov.formatter/,/SimpleCov.start/ d' spec/spec_helper.rb || die + + # Remove unpackaged and for our purposes unneeded coveralls + sed -i -e '/coveralls/d' spec/spec_helper.rb || die + + # Avoid testing unpackaged adapters + rm spec/{gson,jr_jackson,oj}_adapter_spec.rb || die +} + +each_ruby_test() { + for t in spec/*_spec.rb; do + ${RUBY} -S rspec-3 ${t} || die + done +} diff --git a/dev-ruby/multi_json/multi_json-1.14.1.ebuild b/dev-ruby/multi_json/multi_json-1.14.1.ebuild new file mode 100644 index 000000000000..58e3dea6028c --- /dev/null +++ b/dev-ruby/multi_json/multi_json-1.14.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/intridea/multi_json/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A gem to provide swappable JSON backends" +HOMEPAGE="https://github.com/intridea/multi_json" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +ruby_add_rdepend "|| ( >=dev-ruby/json-1.4:* >=dev-ruby/yajl-ruby-1.0 )" + +ruby_add_bdepend "doc? ( dev-ruby/rspec:3 dev-ruby/yard )" + +ruby_add_bdepend "test? ( dev-ruby/json + dev-ruby/yajl-ruby )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die "Unable to remove bundler." + + # Remove unimportant rspec options not supported by rspec 2.6. + rm .rspec || die + + # Remove specs specific to oj since we don't package oj yet. + sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' \ + -e '/Oj does not create symbols on parse/,/^ end/ s:^:#:' \ + -e '/with Oj.default_settings/,/^ end/ s:^:#:' \ + -e '/using one-shot parser/,/^ end/ s:^:#:' \ + -e '/jrjackson/askip "unpackaged"' \ + spec/multi_json_spec.rb + + # Avoid simplecov which only works with ruby 1.9 + sed -i -e '/simplecov/d' -e '/SimpleCov.formatter/,/SimpleCov.start/ d' spec/spec_helper.rb || die + + # Remove unpackaged and for our purposes unneeded coveralls + sed -i -e '/coveralls/d' spec/spec_helper.rb || die + + # Avoid testing unpackaged adapters + rm spec/{gson,nsjsonserialization,jr_jackson,oj}_adapter_spec.rb || die +} + +each_ruby_test() { + for t in spec/*_spec.rb; do + ${RUBY} -S rspec-3 ${t} || die + done +} diff --git a/dev-ruby/multi_test/Manifest b/dev-ruby/multi_test/Manifest new file mode 100644 index 000000000000..91e1502d8bbe --- /dev/null +++ b/dev-ruby/multi_test/Manifest @@ -0,0 +1 @@ +DIST multi_test-0.1.2.gem 9216 BLAKE2B 9a5888937c82f87822445855eb15406b4250b3b42f00116a2c54360ab35b923d08c4015d90b14003679aac5d674baec8756b74aae4a5246beeefbae262edcc1f SHA512 a0d59f51dc959b7febe9c32853b5ac5cbbb3215e8810de5e46fe10fa42931c1ea89df477155cc8124264d608c5928e54fd4e1949e7d0940f927e1430bfd60a2b diff --git a/dev-ruby/multi_test/metadata.xml b/dev-ruby/multi_test/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/multi_test/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/multi_test/multi_test-0.1.2.ebuild b/dev-ruby/multi_test/multi_test-0.1.2.ebuild new file mode 100644 index 000000000000..80c95a8d4b48 --- /dev/null +++ b/dev-ruby/multi_test/multi_test-0.1.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A uniform interface for Ruby testing libraries" +HOMEPAGE="http://cukes.info/" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86" +SLOT="0" +IUSE="" + +# Tests depend on specific versions of testing frameworks where bundler +# downloads dependencies. +RESTRICT="test" diff --git a/dev-ruby/multi_xml/Manifest b/dev-ruby/multi_xml/Manifest new file mode 100644 index 000000000000..783212feca59 --- /dev/null +++ b/dev-ruby/multi_xml/Manifest @@ -0,0 +1 @@ +DIST multi_xml-0.6.0.tar.gz 16571 BLAKE2B 1492eab7782823915167ebdb529b6d4699b31f3b66c48eee5acf7857dc25caae62b63a0da10a0bd862ade22865432bc6c4290a3f6ff8e99a889fcf09b56f6b7f SHA512 67e280d838ba07373a6ad5cbe4658b32655102906d8e0ed5429d21220475c21e07ea2ec0d2729df4d30a1bf7d0a5e6ff2d4482342098873135cb12e18c53194a diff --git a/dev-ruby/multi_xml/files/multi_xml-0.6.0-ox24.patch b/dev-ruby/multi_xml/files/multi_xml-0.6.0-ox24.patch new file mode 100644 index 000000000000..a0568a8fb52e --- /dev/null +++ b/dev-ruby/multi_xml/files/multi_xml-0.6.0-ox24.patch @@ -0,0 +1,23 @@ +From f9d18d87c3340aa53f524524bf189b99459ab1e6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> +Date: Thu, 18 May 2017 23:10:48 +0200 +Subject: [PATCH] Update for ox > 2.4.11 + +There is more pedantic parsing of white-space characters in ox > 2.4.11. Better to set explicitly the expected skip mode. +--- + lib/multi_xml/parsers/ox.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/multi_xml/parsers/ox.rb b/lib/multi_xml/parsers/ox.rb +index e52a560..dc1413e 100644 +--- a/lib/multi_xml/parsers/ox.rb ++++ b/lib/multi_xml/parsers/ox.rb +@@ -29,7 +29,7 @@ def parse_error + + def parse(io) + handler = Handler.new +- ::Ox.sax_parse(handler, io, :convert_special => true) ++ ::Ox.sax_parse(handler, io, convert_special: true, skip: :skip_return) + handler.doc + end + diff --git a/dev-ruby/multi_xml/metadata.xml b/dev-ruby/multi_xml/metadata.xml new file mode 100644 index 000000000000..431225ec2a3f --- /dev/null +++ b/dev-ruby/multi_xml/metadata.xml @@ -0,0 +1,12 @@ +<?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">sferik/multi_xml</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/multi_xml/multi_xml-0.6.0-r1.ebuild b/dev-ruby/multi_xml/multi_xml-0.6.0-r1.ebuild new file mode 100644 index 000000000000..daa192d2ecfb --- /dev/null +++ b/dev-ruby/multi_xml/multi_xml-0.6.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A generic swappable back-end for XML parsing" +HOMEPAGE="https://www.rubydoc.info/gems/multi_xml" +SRC_URI="https://github.com/sferik/multi_xml/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" +ruby_add_bdepend "test? ( dev-ruby/ox )" + +all_ruby_prepare() { + eapply "${FILESDIR}/${P}-ox24.patch" + + sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die + sed -i -e '/bundler/I s:^:#:' -e '/yardstick/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + CI=true each_fakegem_test +} diff --git a/dev-ruby/multipart-post/Manifest b/dev-ruby/multipart-post/Manifest new file mode 100644 index 000000000000..989cc3e4ea53 --- /dev/null +++ b/dev-ruby/multipart-post/Manifest @@ -0,0 +1,3 @@ +DIST multipart-post-2.0.0.gem 11264 BLAKE2B a842e810dd5ccc4a03509003ec1fe87ff7faed80501e776b7d10bf01d64405a4ff01812e9c6ca600207d268f0abe37dd164b54307cdb446719602bc81787b885 SHA512 4f48c815d82c139986f419cdb12efd2f3792f2ef0b2277b75533c8ddad17cc6a8c187deddadc82d29c9f7f8337fcc9ad23c40eb72053ac933911ec1457b01c18 +DIST multipart-post-2.1.0.gem 13824 BLAKE2B 7e528466826dff79235651ab7dfe20c7cfcc71d020d71ffa712d42dd63b5d825bba2ca5c8e881470c428d2eb0c81770457daca4c6522c15eb5d7e57d34785735 SHA512 0edc945e431c27d44402a3ec4fead41fd048f98d8f77d9caa97081a4b08b84efe820ada0279a61ecbdd48ccdccc8da0aa4d1ebb866a0671a63d8f408d0d6b273 +DIST multipart-post-2.1.1.gem 13824 BLAKE2B 70a706714d14d284e2fa69aa56a69682e16eece75eb1508c1707b0b7f03b0d1fb11d1a187c7b7681dc0654a280c59bc20a0754d30e80807a4dfe5e56976b4ccc SHA512 afa16717ee136f0bbbc20fe243252831604740bb61fa7288a2437a4a67638f660a4bd491b5326b034173e9e8352f2659f27dc8aaa761721f7111b7e9e704582f diff --git a/dev-ruby/multipart-post/metadata.xml b/dev-ruby/multipart-post/metadata.xml new file mode 100644 index 000000000000..1551831629f0 --- /dev/null +++ b/dev-ruby/multipart-post/metadata.xml @@ -0,0 +1,12 @@ +<?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">nicksieger/multipart-post</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild b/dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild new file mode 100644 index 000000000000..5aab03552124 --- /dev/null +++ b/dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP" +HOMEPAGE="https://github.com/nicksieger/multipart-post" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/multipart-post/multipart-post-2.1.0.ebuild b/dev-ruby/multipart-post/multipart-post-2.1.0.ebuild new file mode 100644 index 000000000000..c5f4406f295c --- /dev/null +++ b/dev-ruby/multipart-post/multipart-post-2.1.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP" +HOMEPAGE="https://github.com/nicksieger/multipart-post" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" diff --git a/dev-ruby/multipart-post/multipart-post-2.1.1.ebuild b/dev-ruby/multipart-post/multipart-post-2.1.1.ebuild new file mode 100644 index 000000000000..f874def78f3d --- /dev/null +++ b/dev-ruby/multipart-post/multipart-post-2.1.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP" +HOMEPAGE="https://github.com/nicksieger/multipart-post" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/mustache/Manifest b/dev-ruby/mustache/Manifest new file mode 100644 index 000000000000..20f761899ce1 --- /dev/null +++ b/dev-ruby/mustache/Manifest @@ -0,0 +1,2 @@ +DIST mustache-1.0.5.gem 41984 BLAKE2B c063af6c9464884114b55c30df6c6cb2685b0394aa9280f006b6c35cd0681c8776edddccd1a33de75e291a2e1992477c1d70f6cb1c603e800b08be5b989a9ca0 SHA512 d9b2c55d758bd4e317732307b513e2a079b04ec7a1203233834fd08a3a32f7b1bf8283d207af2f7082a8c4847f9c5955a557f19bad9b08a1dee2f32417eca190 +DIST mustache-1.1.1.gem 42496 BLAKE2B bd1becb1c296abf03cdd6c7d5a6f29b71dc6328c126dbb27420872088b3b6988ac56d91c13f669cca94932f23f4290277d9ca6597ff842ff226e092c2532dccb SHA512 91a18a374a0348317d0801d6784fedd0782d7a08f128d3ab7050e631b34e45cecd49c4b1e2a9e17204f70bf169c107a92a1e210532bd3faa98edf8b1b5e8e43c diff --git a/dev-ruby/mustache/metadata.xml b/dev-ruby/mustache/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/mustache/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mustache/mustache-1.0.5.ebuild b/dev-ruby/mustache/mustache-1.0.5.ebuild new file mode 100644 index 000000000000..c9df2a0cc33c --- /dev/null +++ b/dev-ruby/mustache/mustache-1.0.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="man:build" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Mustache is a framework-agnostic way to render logic-free views" +HOMEPAGE="https://mustache.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~x64-macos ~x64-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( app-text/ronn )" + +all_ruby_prepare() { + # Fix rake deprecation + sed -i -e 's:rake/rdoctask:rdoc/task:' Rakefile || die + + sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/*.rb'].each{|f| require f}" || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/mustache.1 man/mustache.5 +} diff --git a/dev-ruby/mustache/mustache-1.1.1.ebuild b/dev-ruby/mustache/mustache-1.1.1.ebuild new file mode 100644 index 000000000000..12424c6fe07f --- /dev/null +++ b/dev-ruby/mustache/mustache-1.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="man:build" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Mustache is a framework-agnostic way to render logic-free views" +HOMEPAGE="https://mustache.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( app-text/ronn )" + +all_ruby_prepare() { + # Fix for renamed .ron files + sed -i -e 's:\.ronn:.ron:' Rakefile || die + + sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/*.rb'].each{|f| require f}" || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/mustache.1 man/mustache.5 +} diff --git a/dev-ruby/mustermann/Manifest b/dev-ruby/mustermann/Manifest new file mode 100644 index 000000000000..418572546044 --- /dev/null +++ b/dev-ruby/mustermann/Manifest @@ -0,0 +1,2 @@ +DIST mustermann-1.0.3.gem 51712 BLAKE2B 03672295ec33dd5320a40a2c5e5f78ca83a055f73e1f2f8b127f13cd04e0ce5f7bf34eba68f49e253c209db4e169b2a51dd21541d86debca0797b3dc2b3670d9 SHA512 776ad3f24e1165155def04a6e1ff18ccaf536606dafc3fa19b8b2c2576cd316eaa9b72cac37bc6ede3c48c7ed6c90e99a4388f60cdeaef0bca461e9caa4bb4f5 +DIST mustermann-1.1.1.gem 51712 BLAKE2B cce8b5237b8dea0dae42822ec58c02a88b07b6d75a09bff6d8699c41fbc53c900dd3bc157ef66c863ad7d646bd5380cf935f5fa3cc1b322cef39b73d26682dac SHA512 55d5fd9b8309e0b806b2fb0af409fbc71b958b8f91116991439f2c66b1f71f17647a61020b0349a86132e7d3da383121719ea330538abb8f3c8bef5fbff0b747 diff --git a/dev-ruby/mustermann/metadata.xml b/dev-ruby/mustermann/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/mustermann/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mustermann/mustermann-1.0.3.ebuild b/dev-ruby/mustermann/mustermann-1.0.3.ebuild new file mode 100644 index 000000000000..44fb31cebc57 --- /dev/null +++ b/dev-ruby/mustermann/mustermann-1.0.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# There are specs but they depend heavily on unpackaged code. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A library implementing patterns that behave like regular expressions" +HOMEPAGE="https://github.com/sinatra/mustermann" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" diff --git a/dev-ruby/mustermann/mustermann-1.1.1.ebuild b/dev-ruby/mustermann/mustermann-1.1.1.ebuild new file mode 100644 index 000000000000..abcb85b22d19 --- /dev/null +++ b/dev-ruby/mustermann/mustermann-1.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# There are specs but they depend heavily on unpackaged code. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A library implementing patterns that behave like regular expressions" +HOMEPAGE="https://github.com/sinatra/mustermann" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "=dev-ruby/ruby2_keywords-0.0*" diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest new file mode 100644 index 000000000000..8574d78cebeb --- /dev/null +++ b/dev-ruby/mysql2/Manifest @@ -0,0 +1,3 @@ +DIST mysql2-0.4.10.gem 97792 BLAKE2B 4978a3fbc8e516e47907d73276b244e614248c031db7c0b7d76d20f1f845be11f7187795d3a989629ff849e2e1bd0454fd56bc7be6b692d9840838861bafdb4c SHA512 1f9c8eb1b120cfc940b3aa26b2dff54735ccdf54fd6e6745e347179d29803b4a4d1f3b80a86f92dd534089f625ffcd6055458f27aaefebe58f8332890a842b43 +DIST mysql2-0.5.2.gem 99328 BLAKE2B 0f1a0d4657e5933e14d445ceefc6ff605a8b07bc01686dd0a67e018c45857a92d25914e4f0aae1116ed1479583636cdbca2aaeb127b856b38052264d579991bf SHA512 6013b0c862f24f0c20b22c50a17390a7a22390e661d0f1afb613177febfbf854f63aea9bc9aa8defc9521896144fbc035a8e16b135abb47384453a23dfd99566 +DIST mysql2-0.5.3.gem 74240 BLAKE2B 9de25a34173ab952f6842f01d9207405c8bc6ed5937fdf66de4062129fc20f425635956f6d12f78466c8c341c49916f7d00df845f84a4101d34a98b1585b9919 SHA512 59a0ee00261b09e8bbfc586a6f75af840a465a94fd8c9463a3d7767e5ea6b7e64507c9571fb90c6d0cdde3cfff560c97fbf3f3c32b3916aca852ef5c41e1bce9 diff --git a/dev-ruby/mysql2/metadata.xml b/dev-ruby/mysql2/metadata.xml new file mode 100644 index 000000000000..a9a41b34539b --- /dev/null +++ b/dev-ruby/mysql2/metadata.xml @@ -0,0 +1,15 @@ +<?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">brianmario/mysql2</remote-id> + </upstream> + <use> + <flag name="mariadb">Use mariadb bindings</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild b/dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild new file mode 100644 index 000000000000..aee0813a28e3 --- /dev/null +++ b/dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Tests require a live MySQL database but should all pass. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql" +HOMEPAGE="https://github.com/brianmario/mysql2" + +LICENSE="MIT" +SLOT="0.4" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="mysql mariadb" +REQUIRED_USE="^^ ( mariadb mysql )" + +MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" +DEPEND="${DEPEND} ${MDEPEND}" +RDEPEND="${RDEPEND} ${MDEPEND}" + +each_ruby_configure() { + local config + if use mysql ; then + config="${EPREFIX}/usr/bin/mysql_config" + fi + if use mariadb ; then + config="${EPREFIX}/usr/bin/mariadb_config" + fi + + ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config=${config} || die +} + +each_ruby_compile() { + emake V=1 -Cext/mysql2 + cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die +} diff --git a/dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild b/dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild new file mode 100644 index 000000000000..f53de26ac483 --- /dev/null +++ b/dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Tests require a live MySQL database but should all pass. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql" +HOMEPAGE="https://github.com/brianmario/mysql2" + +LICENSE="MIT" +SLOT="0.5" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="mysql mariadb" +REQUIRED_USE="^^ ( mariadb mysql )" + +MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" +DEPEND="${DEPEND} ${MDEPEND}" +RDEPEND="${RDEPEND} ${MDEPEND}" + +each_ruby_configure() { + local config + if use mysql ; then + config="${EPREFIX}/usr/bin/mysql_config" + fi + if use mariadb ; then + config="${EPREFIX}/usr/bin/mariadb_config" + fi + + ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config="${config}" || die +} + +each_ruby_compile() { + emake V=1 -Cext/mysql2 + cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die +} diff --git a/dev-ruby/mysql2/mysql2-0.5.3.ebuild b/dev-ruby/mysql2/mysql2-0.5.3.ebuild new file mode 100644 index 000000000000..c6cf06ce5dc7 --- /dev/null +++ b/dev-ruby/mysql2/mysql2-0.5.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Tests require a live MySQL database but should all pass. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql" +HOMEPAGE="https://github.com/brianmario/mysql2" + +LICENSE="MIT" +SLOT="0.5" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="mysql mariadb" +REQUIRED_USE="^^ ( mariadb mysql )" + +MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" +DEPEND="${DEPEND} ${MDEPEND}" +RDEPEND="${RDEPEND} ${MDEPEND}" + +each_ruby_configure() { + local config + if use mysql ; then + config="${EPREFIX}/usr/bin/mysql_config" + fi + if use mariadb ; then + config="${EPREFIX}/usr/bin/mariadb_config" + fi + + ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config="${config}" || die +} + +each_ruby_compile() { + emake V=1 -Cext/mysql2 + cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die +} diff --git a/dev-ruby/nagios/Manifest b/dev-ruby/nagios/Manifest new file mode 100644 index 000000000000..c317e5447810 --- /dev/null +++ b/dev-ruby/nagios/Manifest @@ -0,0 +1 @@ +DIST nagios-0.0.4.gem 6144 BLAKE2B f4ffbffcc5b934a3cdd987e86cb52aedce386ae1ce1de753f8f0503a64267245ce43ab42abdfbb662db0b933e80029f4c875afcfab222eb2be4c74c80903ca70 SHA512 7903e3f02deaa0e8f7c5e5b9b09afc5a1907c7c3a3157f6b100add3b9461ddca36cb442a3465124be3e65dae2112caaaca089e82d7dda41d31813c2963553ec2 diff --git a/dev-ruby/nagios/metadata.xml b/dev-ruby/nagios/metadata.xml new file mode 100644 index 000000000000..66433ce7badf --- /dev/null +++ b/dev-ruby/nagios/metadata.xml @@ -0,0 +1,12 @@ +<?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">jcsalterego/nagios-rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nagios/nagios-0.0.4-r1.ebuild b/dev-ruby/nagios/nagios-0.0.4-r1.ebuild new file mode 100644 index 000000000000..52f7f277daf8 --- /dev/null +++ b/dev-ruby/nagios/nagios-0.0.4-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="Nagios-rb is a compact framework for writing Nagios plugins" +HOMEPAGE="https://github.com/jcsalterego/nagios-rb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-ruby/nagios_analyzer/Manifest b/dev-ruby/nagios_analyzer/Manifest new file mode 100644 index 000000000000..a0c72b8c6bb4 --- /dev/null +++ b/dev-ruby/nagios_analyzer/Manifest @@ -0,0 +1 @@ +DIST nagios_analyzer-0.0.5.gem 11264 BLAKE2B 16e90e269f73e7f717fcde574fd729efd0ab5a0c1892ffe1692e5bb0c87ed6e6909f45381d8021b24540ef3f99d80d9564c37476bbbba7ed11743616b065c6b0 SHA512 052ad107bf39d35b0c21392f4d5905ddcf009e3fa4b780706c23b9d6a45bf6a7b0a64dad596c8a32aedb332ee069f062c30b47479289569fb5f13b5705b03303 diff --git a/dev-ruby/nagios_analyzer/metadata.xml b/dev-ruby/nagios_analyzer/metadata.xml new file mode 100644 index 000000000000..81a107aedfd0 --- /dev/null +++ b/dev-ruby/nagios_analyzer/metadata.xml @@ -0,0 +1,12 @@ +<?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">jbbarth/nagios_analyzer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nagios_analyzer/nagios_analyzer-0.0.5-r1.ebuild b/dev-ruby/nagios_analyzer/nagios_analyzer-0.0.5-r1.ebuild new file mode 100644 index 000000000000..28d52b0cceb6 --- /dev/null +++ b/dev-ruby/nagios_analyzer/nagios_analyzer-0.0.5-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.textile" + +inherit ruby-fakegem + +DESCRIPTION="A simple parser for Nagios status files" +HOMEPAGE="https://github.com/jbbarth/nagios_analyzer" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" diff --git a/dev-ruby/nanotest/Manifest b/dev-ruby/nanotest/Manifest new file mode 100644 index 000000000000..95002ecec87d --- /dev/null +++ b/dev-ruby/nanotest/Manifest @@ -0,0 +1 @@ +DIST nanotest-0.9.4.1.gem 7680 BLAKE2B d6353949241c85df6286728938c017881763c332fe7deebfe641cf2ca85e65d9934ea4567494afd775d54171e5ebc86558ff1c376d6519fb9ff0f6d5addc1bfa SHA512 0ef48c747130fadb5f11818e131780b05032d57102a142293e29f135f75c1dd57c75005479880974342c257c645b3d2a4489432049683e3421743fa3e252cc09 diff --git a/dev-ruby/nanotest/metadata.xml b/dev-ruby/nanotest/metadata.xml new file mode 100644 index 000000000000..8033f258f2c0 --- /dev/null +++ b/dev-ruby/nanotest/metadata.xml @@ -0,0 +1,12 @@ +<?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">mynyml/nanotest</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nanotest/nanotest-0.9.4.1.ebuild b/dev-ruby/nanotest/nanotest-0.9.4.1.ebuild new file mode 100644 index 000000000000..4e54b530ff41 --- /dev/null +++ b/dev-ruby/nanotest/nanotest-0.9.4.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Extremely mynymal test framework" +HOMEPAGE="https://github.com/mynyml/nanotest" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +SLOT="0" +IUSE="" + +each_ruby_test() { + ${RUBY} -I.:lib test/test_nanotest.rb || die +} diff --git a/dev-ruby/narray/Manifest b/dev-ruby/narray/Manifest new file mode 100644 index 000000000000..2cd737d4b671 --- /dev/null +++ b/dev-ruby/narray/Manifest @@ -0,0 +1 @@ +DIST narray-0.6.1.2.tar.gz 68621 BLAKE2B c4e48b81fb0d79cc49e32ed8204d9cac3f483eb44e1207f422f5b272bb8891836d81cd83c090f4d643677b1159801c13d15580504e6ca244a2a75d4b6dfb3204 SHA512 51e9bec0b711e79e268b73496ad742b80bb46a6e9ea6aab9a2535a700b6efc8f7ae2e854f5772d434e3d385d81275744dbc796ebec4d3de73f2ec0546bd2339a diff --git a/dev-ruby/narray/metadata.xml b/dev-ruby/narray/metadata.xml new file mode 100644 index 000000000000..0c24230f49dc --- /dev/null +++ b/dev-ruby/narray/metadata.xml @@ -0,0 +1,12 @@ +<?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">masa16/narray</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/narray/narray-0.6.1.2.ebuild b/dev-ruby/narray/narray-0.6.1.2.ebuild new file mode 100644 index 000000000000..7ad3e23d174a --- /dev/null +++ b/dev-ruby/narray/narray-0.6.1.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md README.ja.md SPEC.en.txt SPEC.ja.txt" + +RUBY_FAKEGEM_VERSION="${PV/_p/.}" + +inherit multilib ruby-fakegem + +DESCRIPTION="Numerical N-dimensional Array class" +HOMEPAGE="http://www.ir.isas.ac.jp/~masa/ruby/index-e.html" +SRC_URI="https://github.com/masa16/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 hppa ~mips ppc ~ppc64 x86" + +IUSE="" + +all_ruby_prepare() { + # the tests aren't really written to be a testsuite, so the + # failure cases will literally fail; ignore all of those and + # instead expect that the rest won't fail. + sed -i -e '/[fF]ollowing will fail/,$ s:^:#:' \ + -e '/next will fail/,$ s:^:#:' \ + test/*.rb || die "sed failed" +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp -l ${PN}$(get_modname) ${PN}.h ${PN}_config.h lib/ || die "copy of ${PN}$(get_modname) failed" +} + +each_ruby_test() { + for unit in test/*; do + ${RUBY} -Ilib ${unit} || die "test ${unit} failed" + done +} diff --git a/dev-ruby/naught/Manifest b/dev-ruby/naught/Manifest new file mode 100644 index 000000000000..06998a8a25ff --- /dev/null +++ b/dev-ruby/naught/Manifest @@ -0,0 +1 @@ +DIST naught-1.1.0.gem 19456 BLAKE2B 175611b8653966500ef7cd963b8c9bd895f82e72af87b0f3358b74b91e5915dccf4da76fc916e30214d6f45ee3c84f232f83cf04afef3fa5c7b1283614c41339 SHA512 0a25825df0234f15a53dc7a8dff546846c605fde9b1e3ce0b3e88f6e1753117bd48586b450dcd08c45a0d4877a04ac19feb98fd70d929f9da3ccba8478e46a57 diff --git a/dev-ruby/naught/metadata.xml b/dev-ruby/naught/metadata.xml new file mode 100644 index 000000000000..197f5991b36a --- /dev/null +++ b/dev-ruby/naught/metadata.xml @@ -0,0 +1,12 @@ +<?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">avdi/naught</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/naught/naught-1.1.0.ebuild b/dev-ruby/naught/naught-1.1.0.ebuild new file mode 100644 index 000000000000..1be80b97e22e --- /dev/null +++ b/dev-ruby/naught/naught-1.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="A toolkit for building Null Objects in Ruby" +HOMEPAGE="https://github.com/avdi/naught" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/necromancer/Manifest b/dev-ruby/necromancer/Manifest new file mode 100644 index 000000000000..692d7a5ebd77 --- /dev/null +++ b/dev-ruby/necromancer/Manifest @@ -0,0 +1,2 @@ +DIST necromancer-0.5.0.gem 19968 BLAKE2B c9cce66c913443ee3b74f603e72f05347de052416499aed65b3b06f4062497d0dbe6a0b8a50cc853096878acf524d0125ca9f76770f7fee122df6a2fc6bd6a3b SHA512 582f566eec1bbf418d4466ba334e20a28b4e44c53ecdb41b62637e58b1a9337faf7af9c8af6a32ab9e49241ec1f5fde5f54d27d227e196478580c1c814e7c0ce +DIST necromancer-0.5.1.gem 19968 BLAKE2B 32bf97caea056a1290ad574a32dbd8f9f258d0830694b28c3691d9d39039fcf6fb1d66c909f720350f455399fbbc9e416354de99bdad532d94843a8f8f1fdab5 SHA512 439358288bbdba674de9ebc4e43ddbba2fd8602c25114fff7a4c93fa11eb5d2a21aae7b6a95d82e78216fa19b5254270292e2e609fd08d6954f2b39afb9a3854 diff --git a/dev-ruby/necromancer/metadata.xml b/dev-ruby/necromancer/metadata.xml new file mode 100644 index 000000000000..c4299234e941 --- /dev/null +++ b/dev-ruby/necromancer/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/necromancer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/necromancer/necromancer-0.5.0.ebuild b/dev-ruby/necromancer/necromancer-0.5.0.ebuild new file mode 100644 index 000000000000..2bf99910c6c2 --- /dev/null +++ b/dev-ruby/necromancer/necromancer-0.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Conversion from one object type to another with a bit of black magic" +HOMEPAGE="https://github.com/piotrmurach/necromancer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/necromancer/necromancer-0.5.1.ebuild b/dev-ruby/necromancer/necromancer-0.5.1.ebuild new file mode 100644 index 000000000000..75ce1cdf311b --- /dev/null +++ b/dev-ruby/necromancer/necromancer-0.5.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Conversion from one object type to another with a bit of black magic" +HOMEPAGE="https://github.com/piotrmurach/necromancer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/nenv/Manifest b/dev-ruby/nenv/Manifest new file mode 100644 index 000000000000..024e7062d3bc --- /dev/null +++ b/dev-ruby/nenv/Manifest @@ -0,0 +1 @@ +DIST nenv-0.3.0.tar.gz 9773 BLAKE2B e3b53fd60ec89e8c068f47321880189750311192b33658ef61120390f4254a3194a8afc3c67acc0e9a2601f64e93cbe02f004c1c345f378f0f80fca3b3a9e778 SHA512 f0a50d7c78573802849b383351f3d099e55c67b935933bc00d55b752c1af944a4b7a8054b2cd41b238b192587f5bcca5de9d5c577764502300d571446de24228 diff --git a/dev-ruby/nenv/metadata.xml b/dev-ruby/nenv/metadata.xml new file mode 100644 index 000000000000..7ffa9195ed67 --- /dev/null +++ b/dev-ruby/nenv/metadata.xml @@ -0,0 +1,12 @@ +<?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">e2/nenv</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nenv/nenv-0.3.0.ebuild b/dev-ruby/nenv/nenv-0.3.0.ebuild new file mode 100644 index 000000000000..702d96607518 --- /dev/null +++ b/dev-ruby/nenv/nenv-0.3.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" +inherit ruby-fakegem + +DESCRIPTION="Convenient wrapper for Ruby's ENV" +HOMEPAGE="https://github.com/e2/nenv" +SRC_URI="https://github.com/e2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die +} diff --git a/dev-ruby/neovim-ruby-client/Manifest b/dev-ruby/neovim-ruby-client/Manifest new file mode 100644 index 000000000000..60f393e7a906 --- /dev/null +++ b/dev-ruby/neovim-ruby-client/Manifest @@ -0,0 +1 @@ +DIST neovim-0.8.1.gem 43520 BLAKE2B 0b7401c1dfb1675725dbf50c45626d88b1a5932ccd4836e8a33974b8e71e44bafa10bf1a43e51b7f42e2702facec776cbcef3093c5cf86e500a5e94be9486b08 SHA512 2d56cd56c0817491622f9a4beee4cdc9244e9fd6a4a6b78d69b51f160b1a24395730f153800279b7fdebc99d61c55e3b8944d4b16c1028cfbf5d8c95308d0f53 diff --git a/dev-ruby/neovim-ruby-client/metadata.xml b/dev-ruby/neovim-ruby-client/metadata.xml new file mode 100644 index 000000000000..7d57571dca3b --- /dev/null +++ b/dev-ruby/neovim-ruby-client/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tranquility@gentoo.org</email> + <name>Ole Reifschneider</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">alexgenco/neovim-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.8.1-r1.ebuild b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.8.1-r1.ebuild new file mode 100644 index 000000000000..f43de42f4cb6 --- /dev/null +++ b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.8.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="neovim" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINDIR="exe" + +inherit ruby-fakegem + +DESCRIPTION="Ruby bindings for Neovim" +HOMEPAGE="https://github.com/alexgenco/neovim-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND+=" app-editors/neovim" +DEPEND+=" test? ( app-editors/neovim )" + +ruby_add_rdepend " + >=dev-ruby/msgpack-1.1:0 + =dev-ruby/multi_json-1* +" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|pry\)/ s:^:#:' spec/helper.rb || die + + # Avoid tests that result in a unix socket path that is too long + sed -i -e '/\(establishes an RPC connection\|sets appropriate client info\)/askip "socket path length"' spec/neovim_spec.rb || die +} diff --git a/dev-ruby/net-http-digest_auth/Manifest b/dev-ruby/net-http-digest_auth/Manifest new file mode 100644 index 000000000000..429d399b4e87 --- /dev/null +++ b/dev-ruby/net-http-digest_auth/Manifest @@ -0,0 +1 @@ +DIST net-http-digest_auth-1.4.1.gem 13824 BLAKE2B 537688c7d83408052d3d5d16d625a51434dbdc452cf36ec5738917b862eab305a85d3f3933d79d878356a76ae698d6eded24249b70e507b2d7131d71b5dcc482 SHA512 db62d49815a96cabde5836b00a1df58d6277f9efafae78e27296b1e2f4410ea613aed2181f8e39f08af5bbf6f5f758d682e1250d0afd4fe8243fb0d5c7fe78b7 diff --git a/dev-ruby/net-http-digest_auth/metadata.xml b/dev-ruby/net-http-digest_auth/metadata.xml new file mode 100644 index 000000000000..eda1d2d84f85 --- /dev/null +++ b/dev-ruby/net-http-digest_auth/metadata.xml @@ -0,0 +1,12 @@ +<?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">drbrain/net-http-digest_auth</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4.1.ebuild b/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4.1.ebuild new file mode 100644 index 000000000000..2337b056f830 --- /dev/null +++ b/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="An implementation of RFC 2617 - Digest Access Authentication" +HOMEPAGE="https://github.com/drbrain/net-http-digest_auth" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/net-http-persistent/Manifest b/dev-ruby/net-http-persistent/Manifest new file mode 100644 index 000000000000..4d9fdc0a8259 --- /dev/null +++ b/dev-ruby/net-http-persistent/Manifest @@ -0,0 +1,4 @@ +DIST net-http-persistent-3.0.0.gem 30208 BLAKE2B 2bbd87d66e65081c76bc9cddaeb38f3ffd8a92b5b64f7717f77c7a927e2032fa732c2e82e220a75a63ddc10dfaa6a0f24e4fa7e0964e2ebd3d0729127f1fb452 SHA512 a601d3abde43b196406e3cdd6b704796ed70db67dfb67c9b510e0164ce7355cc925cac37fbf4c5889f41b069890ba2e2c15440fb40294ed21891fd08d9f87894 +DIST net-http-persistent-3.0.1.gem 26112 BLAKE2B 987e7c690d1e08e6be490aaecbd42ec8dc95fe5d2dc3609313b5be301453e4a30a66486334419e2ce9af9bd08158c3b78600cd8364fc6f489529ca1657436ee3 SHA512 33f23c6d23a8d2e44c0268e720200e4e19ba50bbfb9268a3c7af653fbfff62e606f1d10b2ff35ea345f4f7c0456892a901753257da87e9a2bb329edd36030761 +DIST net-http-persistent-3.1.0.gem 31744 BLAKE2B fdd9c36ab5216c1cd1fe358207a689276e109845ac374ea16011469b6cb2b165115e78e701cce98c280e7f878c23d8016e75cac4508c7e579209012671b64101 SHA512 65b5afc4ad0729ec14b642e0e36363cecfff3dc25b26308d632866e93fed3eccfb83ce85da78f631553c6a1fe3ee834fcbc9d3681c85db6387463abbc30e60fa +DIST net-http-persistent-4.0.0.gem 30720 BLAKE2B 5955cd60c86ae74c1f9d3415bf0257542718fc83d2b82cbc6ce31b5013edd1c0c3202757ccaf23a33c70d90fcb04e6bdfd2cdddfb82a45733ae3d15a5c526301 SHA512 eccc6cacfdd1dfb99bd0dcb7fe1c13cb1c21eae0104357156888bd0a5b2ee0b0d8ed5687860670c2dc54ccc1cfc7a090592bee160458427f44c255c1b99938d2 diff --git a/dev-ruby/net-http-persistent/metadata.xml b/dev-ruby/net-http-persistent/metadata.xml new file mode 100644 index 000000000000..915fbc6e9855 --- /dev/null +++ b/dev-ruby/net-http-persistent/metadata.xml @@ -0,0 +1,12 @@ +<?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">drbrain/net-http-persistent</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild new file mode 100644 index 000000000000..d4c2f3f92f4a --- /dev/null +++ b/dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8" +HOMEPAGE="https://github.com/drbrain/net-http-persistent" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/connection_pool-2.2:0" + +ruby_add_bdepend " + test? ( dev-ruby/hoe dev-ruby/minitest )" + +all_ruby_prepare() { + # avoid test with implicit dependency on net-http-pipeline which + # fails and is not tested upstream + sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die +} diff --git a/dev-ruby/net-http-persistent/net-http-persistent-3.0.1.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-3.0.1.ebuild new file mode 100644 index 000000000000..b1b172d1e070 --- /dev/null +++ b/dev-ruby/net-http-persistent/net-http-persistent-3.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8" +HOMEPAGE="https://github.com/drbrain/net-http-persistent" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/connection_pool-2.2:0" + +ruby_add_bdepend " + test? ( dev-ruby/hoe dev-ruby/minitest )" + +all_ruby_prepare() { + # avoid test with implicit dependency on net-http-pipeline which + # fails and is not tested upstream + sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die +} diff --git a/dev-ruby/net-http-persistent/net-http-persistent-3.1.0.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-3.1.0.ebuild new file mode 100644 index 000000000000..b1b172d1e070 --- /dev/null +++ b/dev-ruby/net-http-persistent/net-http-persistent-3.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8" +HOMEPAGE="https://github.com/drbrain/net-http-persistent" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/connection_pool-2.2:0" + +ruby_add_bdepend " + test? ( dev-ruby/hoe dev-ruby/minitest )" + +all_ruby_prepare() { + # avoid test with implicit dependency on net-http-pipeline which + # fails and is not tested upstream + sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die +} diff --git a/dev-ruby/net-http-persistent/net-http-persistent-4.0.0.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-4.0.0.ebuild new file mode 100644 index 000000000000..6aaaac32ee1a --- /dev/null +++ b/dev-ruby/net-http-persistent/net-http-persistent-4.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8" +HOMEPAGE="https://github.com/drbrain/net-http-persistent" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/connection_pool-2.2:0" + +ruby_add_bdepend " + test? ( dev-ruby/hoe dev-ruby/minitest )" + +all_ruby_prepare() { + # avoid test with implicit dependency on net-http-pipeline which + # fails and is not tested upstream + sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die +} diff --git a/dev-ruby/net-http-pipeline/Manifest b/dev-ruby/net-http-pipeline/Manifest new file mode 100644 index 000000000000..535f82182fc8 --- /dev/null +++ b/dev-ruby/net-http-pipeline/Manifest @@ -0,0 +1 @@ +DIST net-http-pipeline-1.0.1.gem 12800 BLAKE2B ed36d871544ec203ba6d72e864aca4ecfd6e975eb5d2d29a0c1f785ba7422734824535c2a30e36d1f031c2863ac4036f103d94eeeae00a8f6905354020d713e4 SHA512 1377c20038176f6c246a7d4adbce2c6972970d730902f9faefc31b2f6446f4237603f45f0f59de70eb9545e3c1e150fe6e63cf350551203166611bef7845f4e2 diff --git a/dev-ruby/net-http-pipeline/files/net-http-pipeline-accept-encoding.patch b/dev-ruby/net-http-pipeline/files/net-http-pipeline-accept-encoding.patch new file mode 100644 index 000000000000..3adfdf28afdc --- /dev/null +++ b/dev-ruby/net-http-pipeline/files/net-http-pipeline-accept-encoding.patch @@ -0,0 +1,18 @@ +--- test/test_net_http_pipeline.rb.old 2016-11-17 07:58:57.284997283 +0100 ++++ test/test_net_http_pipeline.rb 2016-11-17 07:58:50.345168508 +0100 +@@ -96,6 +96,7 @@ + def http_get + get = [] + get << 'GET / HTTP/1.1' ++ get << 'Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3' + get << 'Accept: */*' + get << 'User-Agent: Ruby' if RUBY_VERSION > '1.9' + get.push nil, nil +@@ -106,6 +107,7 @@ + def http_post + get = [] + get << 'POST / HTTP/1.1' ++ get << 'Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3' + get << 'Accept: */*' + get << 'User-Agent: Ruby' if RUBY_VERSION > '1.9' + get.push nil, nil diff --git a/dev-ruby/net-http-pipeline/metadata.xml b/dev-ruby/net-http-pipeline/metadata.xml new file mode 100644 index 000000000000..356d8a5c7874 --- /dev/null +++ b/dev-ruby/net-http-pipeline/metadata.xml @@ -0,0 +1,12 @@ +<?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">drbrain/net-http-pipeline</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild new file mode 100644 index 000000000000..0f4ded070376 --- /dev/null +++ b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="An HTTP/1.1 pipelining implementation atop Net::HTTP" +HOMEPAGE="http://docs.seattlerb.org/net-http-pipeline/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +RUBY_PATCHES=( ${PN}-accept-encoding.patch ) + +ruby_add_bdepend " + test? ( dev-ruby/minitest ) +" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/net-scp/Manifest b/dev-ruby/net-scp/Manifest new file mode 100644 index 000000000000..13402c80a4c0 --- /dev/null +++ b/dev-ruby/net-scp/Manifest @@ -0,0 +1,3 @@ +DIST net-scp-1.2.1.gem 32768 BLAKE2B 67abf0b66aa6e8f28bdfa314a20f594eedafc5aeaf5d0ae8884cb7e27203699a791623968da98aaebda1630d47bf5859cc3e38875fe17dc8c7ce7926b50848a5 SHA512 64645a4517d6e408e3acfdb24576c8ded3b6ff981035ca10a2e081f9e3ab093f97b4848da4acca03ade364483766677e31296d09a31db4c81eb40123fc966829 +DIST net-scp-2.0.0.tar.gz 27835 BLAKE2B 2f5c9504ade26226a31fd766869f4deef3b344e99e71f780f184361efc75cad880c0dd266779d7f2550f176a86e89740edf27943c9ed81691378e5c3bf3241f0 SHA512 cd3470dfb2afba91911c429828d158e97e4feb17e211807abb05ab251622dc066e392521de250a8f2d4cf9d53c79598d636ef70c559b6aca7e1e7aa59ea3b36e +DIST net-scp-3.0.0.tar.gz 27947 BLAKE2B 78a1100b7602b9c09c8f06228b6e564fce15133c6cf8c9816613cb56b1d3805d9393700eb66c3710e482771e4116beae393c12ad12963b85428e21e7cf105218 SHA512 6d68b75124ccd2d387983f6d66a8b0e040132ba17d942631c806e899dff757ffae7a031a27ea0988166bf56e803c1a6175199845a848b92c7064388564e0ac79 diff --git a/dev-ruby/net-scp/files/net-scp-1.2.1-fix-common.path b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-common.path new file mode 100644 index 000000000000..ee262d238cbf --- /dev/null +++ b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-common.path @@ -0,0 +1,28 @@ +--- test/common.rb 2018-01-21 16:23:07.384173147 +0100 ++++ test/common.rb 2018-01-21 16:20:34.084172782 +0100 +@@ -1,11 +1,11 @@ + require 'test/unit' + require 'mocha/setup' + +-begin +- gem 'net-ssh', ">= 2.0.0" +- require 'net/ssh' +-rescue LoadError +- $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../net-ssh/lib" ++#begin ++# #gem 'net-ssh', ">= 2.0.0" ++# require 'net/ssh' ++#rescue LoadError ++# $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../net-ssh/lib" + + begin + require 'net/ssh' +@@ -14,7 +14,7 @@ + rescue LoadError => e + abort "could not load net/ssh v2 (#{e.inspect})" + end +-end ++#end + + $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib" + diff --git a/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test.patch b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test.patch new file mode 100644 index 000000000000..a138fcdb5573 --- /dev/null +++ b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test.patch @@ -0,0 +1,21 @@ +--- test/test_download.rb 2018-01-22 02:08:00.000013728 +0100 ++++ test/test_download.rb.1 2018-01-22 02:11:49.820014276 +0100 +@@ -70,12 +70,12 @@ + end + + error = nil +- assert_scripted do +- begin +- scp.download!("/path/to/remote.txt") +- rescue +- error = $! +- end ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ begin ++ scp.download!("/path/to/remote.txt") ++ rescue ++ error = $! ++ end + end + assert_equal Net::SCP::Error, error.class + assert_equal "SCP did not finish successfully (1): File not found: /path/to/remote.txt\n", error.message diff --git a/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test_2.patch b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test_2.patch new file mode 100644 index 000000000000..55a8e5f16bcd --- /dev/null +++ b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test_2.patch @@ -0,0 +1,25 @@ +--- test/test_download.rb 2018-01-22 02:26:56.440016436 +0100 ++++ test/test_download.rb 2018-01-22 02:32:46.076017270 +0100 +@@ -116,7 +116,9 @@ + + def test_download_io_with_recursive_should_raise_error + expect_scp_session "-f -r /path/to/remote.txt" +- assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote.txt", StringIO.new, :recursive => true) } ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote.txt", StringIO.new, :recursive => true) } ++ end + end + + def test_download_io_with_preserve_should_ignore_preserve +@@ -154,8 +156,9 @@ + channel.sends_ok + channel.gets_data "D0755 0 remote\n" + end +- +- assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote") } ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote") } ++ end + end + + def test_download_should_raise_error_if_gets_not_ok diff --git a/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test_3.patch b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test_3.patch new file mode 100644 index 000000000000..12df02c1f00e --- /dev/null +++ b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-download_test_3.patch @@ -0,0 +1,15 @@ +--- test/test_download.rb 2018-01-22 02:35:45.200017696 +0100 ++++ test/test_download.rb.1 2018-01-22 02:38:40.000018113 +0100 +@@ -217,8 +217,10 @@ + channel.gets_data "E\n" + channel.sends_ok + end +- +- scp.download!("/path/to/remote", "/path/to/local", :recursive => true, :ssh => { :verbose => :debug }) ++ ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ scp.download!("/path/to/remote", "/path/to/local", :recursive => true, :ssh => { :verbose => :debug }) ++ end + assert_equal "a" * 1234, file.io.string + end + diff --git a/dev-ruby/net-scp/files/net-scp-1.2.1-fix-upload_tests.patch b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-upload_tests.patch new file mode 100644 index 000000000000..73c34359afc2 --- /dev/null +++ b/dev-ruby/net-scp/files/net-scp-1.2.1-fix-upload_tests.patch @@ -0,0 +1,14 @@ +--- test/test_upload.rb 2018-01-22 08:15:30.996002204 +0100 ++++ test/test_upload.rb.1 2018-01-22 08:18:09.328002581 +0100 +@@ -155,8 +155,9 @@ + expect_scp_session("-t /path/to/remote") do |channel| + channel.gets_ok + end +- +- assert_raises(Net::SCP::Error) { scp.upload!("/path/to/local", "/path/to/remote") } ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ assert_raises(Net::SCP::Error) { scp.upload!("/path/to/local", "/path/to/remote") } ++ end + end + + def test_upload_empty_directory_should_create_directory_and_finish diff --git a/dev-ruby/net-scp/files/net-scp-1.2.1-raise-correct-errors-net-ssh-4.0-compat.patch b/dev-ruby/net-scp/files/net-scp-1.2.1-raise-correct-errors-net-ssh-4.0-compat.patch new file mode 100644 index 000000000000..3431f06b7cff --- /dev/null +++ b/dev-ruby/net-scp/files/net-scp-1.2.1-raise-correct-errors-net-ssh-4.0-compat.patch @@ -0,0 +1,30 @@ +--- test/test_download.rb 2018-01-22 01:47:38.932010818 +0100 ++++ test/test_download.rb.1 2018-01-22 01:49:14.552011046 +0100 +@@ -205,9 +205,11 @@ + channel.sends_ok + channel.gets_data "\1" + end +- +- e = assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote.txt", "/path/to/local.txt") } +- assert_equal("\1", e.message) ++ ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ e = assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote.txt", "/path/to/local.txt") } ++ assert_equal("\1", e.message) ++ end + end + + def test_download_directory_should_raise_error_if_local_exists_and_is_not_directory +@@ -223,8 +225,10 @@ + channel.sends_ok + end + +- e = assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote", "/path/to/local", :recursive => true) } +- assert_match(/exists and is not a directory/, e.message) ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ e = assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote", "/path/to/local", :recursive => true) } ++ assert_match(/exists and is not a directory/, e.message) ++ end + end + + def test_download_directory_should_create_directory_and_files_locally diff --git a/dev-ruby/net-scp/files/net-scp-1.2.1-raise-correct-errors.patch b/dev-ruby/net-scp/files/net-scp-1.2.1-raise-correct-errors.patch new file mode 100644 index 000000000000..a23164ef8185 --- /dev/null +++ b/dev-ruby/net-scp/files/net-scp-1.2.1-raise-correct-errors.patch @@ -0,0 +1,80 @@ +--- README.rdoc ++++ README.rdoc +@@ -42,7 +42,7 @@ In a nutshell: + data = Net::SCP::download!("remote.host.com", "username", "/remote/path") + + # use a persistent connection to transfer files +- Net::SCP.start("remote.host.com", "username", :ssh => { :password => "password" }) do |scp| ++ Net::SCP.start("remote.host.com", "username", :password => "password") do |scp| + # upload a file to a remote server + scp.upload! "/local/path", "/remote/path" + +--- lib/net/scp.rb ++++ lib/net/scp.rb +@@ -395,7 +395,7 @@ module Net + def await_response_state(channel) + return if channel[:buffer].available == 0 + c = channel[:buffer].read_byte +- raise "#{c.chr}#{channel[:buffer].read}" if c != 0 ++ raise Net::SCP::Error, "#{c.chr}#{channel[:buffer].read}" if c != 0 + channel[:next], channel[:state] = nil, channel[:next] + send("#{channel[:state]}_state", channel) + end +--- lib/net/scp/download.rb ++++ lib/net/scp/download.rb +@@ -129,7 +129,7 @@ module Net; class SCP + channel[:local] = File.join(channel[:local], directive[:name]) + + if File.exists?(channel[:local]) && !File.directory?(channel[:local]) +- raise "#{channel[:local]} already exists and is not a directory" ++ raise Net::SCP::Error, "#{channel[:local]} already exists and is not a directory" + elsif !File.exists?(channel[:local]) + Dir.mkdir(channel[:local], directive[:mode] | 0700) + end +@@ -162,4 +162,4 @@ module Net; class SCP + end + end + +-end; end +\ No newline at end of file ++end; end +--- test/test_download.rb ++++ test/test_download.rb +@@ -158,6 +158,37 @@ class TestDownload < Net::SCP::TestCase + assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote") } + end + ++ def test_download_should_raise_error_if_gets_not_ok ++ prepare_file("/path/to/local.txt", "") ++ ++ expect_scp_session "-f /path/to/remote.txt" do |channel| ++ channel.sends_ok ++ channel.gets_data "C0666 0 remote.txt\n" ++ channel.sends_ok ++ channel.gets_data "\1" ++ end ++ ++ e = assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote.txt", "/path/to/local.txt") } ++ assert_equal("\1", e.message) ++ end ++ ++ def test_download_directory_should_raise_error_if_local_exists_and_is_not_directory ++ File.stubs(:exists?).with("/path/to/local").returns(true) ++ File.stubs(:exists?).with("/path/to/local/remote").returns(true) ++ File.stubs(:directory?).with("/path/to/local/remote").returns(false) ++ ++ expect_scp_session "-f -r /path/to/remote" do |channel| ++ channel.sends_ok ++ channel.gets_data "D0755 0 remote\n" ++ channel.sends_ok ++ channel.gets_data "E\n" ++ channel.sends_ok ++ end ++ ++ e = assert_raises(Net::SCP::Error) { scp.download!("/path/to/remote", "/path/to/local", :recursive => true) } ++ assert_match(/exists and is not a directory/, e.message) ++ end ++ + def test_download_directory_should_create_directory_and_files_locally + file = nil + prepare_directory "/path/to/local" do |dir| diff --git a/dev-ruby/net-scp/metadata.xml b/dev-ruby/net-scp/metadata.xml new file mode 100644 index 000000000000..060d393033df --- /dev/null +++ b/dev-ruby/net-scp/metadata.xml @@ -0,0 +1,12 @@ +<?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">net-ssh/net-scp</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild b/dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild new file mode 100644 index 000000000000..d717fa4a1aa6 --- /dev/null +++ b/dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby implementation of the SCP client protocol" +HOMEPAGE="https://github.com/net-ssh/net-scp" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_PATCHES=( + ${P}-raise-correct-errors.patch + ${P}-fix-common.path + ${P}-fix-download_test.patch + ${P}-fix-download_test_2.patch + ${P}-fix-download_test_3.patch + ${P}-fix-upload_tests.patch + ${P}-raise-correct-errors-net-ssh-4.0-compat.patch + ) + +ruby_add_bdepend " + doc? ( || ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) ) + test? ( + || ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) + dev-ruby/mocha + )" + +ruby_add_rdepend "|| ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 )" + +all_ruby_prepare() { + sed -i -e 's/>= 2.0.0/~> 2.0/' test/common.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/test_all.rb || die +} diff --git a/dev-ruby/net-scp/net-scp-2.0.0.ebuild b/dev-ruby/net-scp/net-scp-2.0.0.ebuild new file mode 100644 index 000000000000..8c3e84358cc6 --- /dev/null +++ b/dev-ruby/net-scp/net-scp-2.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby implementation of the SCP client protocol" +HOMEPAGE="https://github.com/net-ssh/net-scp" +SRC_URI="https://github.com/net-ssh/net-scp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_PATCHES=( + ${P}-raise-correct-errors.patch + ${P}-fix-common.path + ${P}-fix-download_test.patch + ${P}-fix-download_test_2.patch + ${P}-fix-download_test_3.patch + ${P}-fix-upload_tests.patch + ${P}-raise-correct-errors-net-ssh-4.0-compat.patch + ) + +ruby_add_bdepend " + doc? ( || ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) ) + test? ( + || ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) + dev-ruby/mocha + )" + +ruby_add_rdepend "|| ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 )" + +each_ruby_test() { + ${RUBY} -Ilib:test test/test_all.rb || die +} diff --git a/dev-ruby/net-scp/net-scp-3.0.0.ebuild b/dev-ruby/net-scp/net-scp-3.0.0.ebuild new file mode 100644 index 000000000000..78ae6a9954b5 --- /dev/null +++ b/dev-ruby/net-scp/net-scp-3.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_GEMSPEC="net-scp.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby implementation of the SCP client protocol" +HOMEPAGE="https://github.com/net-ssh/net-scp" +SRC_URI="https://github.com/net-ssh/net-scp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + doc? ( || ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) ) + test? ( + || ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) + dev-ruby/mocha + )" + +ruby_add_rdepend "|| ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 )" + +all_ruby_prepare() { + sed -e "s:_relative ': './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/test_all.rb || die +} diff --git a/dev-ruby/net-sftp/Manifest b/dev-ruby/net-sftp/Manifest new file mode 100644 index 000000000000..8d1e5a666ea7 --- /dev/null +++ b/dev-ruby/net-sftp/Manifest @@ -0,0 +1,2 @@ +DIST net-sftp-2.1.2.gem 67584 BLAKE2B 6b8e15f42c7a18f8c9aa7118e5822281eda6505c34697282cc9c52375ea0e4042f3045f41c2e9a15b8fd20f02946bfe6f3ad557aa5859a8e54e4c0ae8bd1d53d SHA512 126a9537a4ac45150096db4d46ad19e0d8a1833fef3733a1b66ff01463c0d109415f0ef807706ff88be8c5c1395bbd4620e529f06e3c9f746a4ed6ec2cb7d18d +DIST net-sftp-3.0.0.tar.gz 63542 BLAKE2B e09e209aa0d102a6da7611cabf49970c9a4e572d51946d5dc0688879db97c92e8a39713dd0011a4234391ff0ab685a978c491917c041f7d10a8f092fde5c876a SHA512 c28411cfa8522dec893fe7a1588a16bb761a9d7692c81c453d9a9ad817988637614c6afd754db8547e845a16062882e2b7e95974b889631676f092d9e84b83e7 diff --git a/dev-ruby/net-sftp/files/net-sftp-2.1.2-net-ssh-4.patch b/dev-ruby/net-sftp/files/net-sftp-2.1.2-net-ssh-4.patch new file mode 100644 index 000000000000..d510153ba8d5 --- /dev/null +++ b/dev-ruby/net-sftp/files/net-sftp-2.1.2-net-ssh-4.patch @@ -0,0 +1,42 @@ +From 9870b32d31bbe5cddceead54c64f71e4fd91779e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> +Date: Mon, 27 Feb 2017 15:00:30 +0100 +Subject: [PATCH] Fix compatiblity with net-ssh 4.0+ + +--- + test/test_download.rb | 4 +++- + test/test_session.rb | 6 ++++-- + 2 files changed, 7 insertions(+), 3 deletions(-) + +diff --git a/test/test_download.rb b/test/test_download.rb +index d4a5f0b..d9582b6 100644 +--- a/test/test_download.rb ++++ b/test/test_download.rb +@@ -139,7 +139,9 @@ def test_download_file_should_transfer_remote_to_local_buffer + + def test_download_directory_to_buffer_should_fail + expect_sftp_session :server_version => 3 +- assert_raises(ArgumentError) { sftp.download("/path/to/remote", StringIO.new, :recursive => true) } ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ assert_raises(ArgumentError) { sftp.download("/path/to/remote", StringIO.new, :recursive => true) } ++ end + end + + private +diff --git a/test/test_session.rb b/test/test_session.rb +index a59058a..c398436 100644 +--- a/test/test_session.rb ++++ b/test/test_session.rb +@@ -660,8 +660,10 @@ def test_unblock_bang_should_block_and_return_response + + def assert_not_implemented(server_version, command, *args) + expect_sftp_session :server_version => 1 +- sftp.connect! +- assert_raises(NotImplementedError) { sftp.send(command, *args) } ++ Net::SSH::Test::Extensions::IO.with_test_extension do ++ sftp.connect! ++ assert_raises(NotImplementedError) { sftp.send(command, *args) } ++ end + end + + def assert_command_with_callback(command, *args) diff --git a/dev-ruby/net-sftp/metadata.xml b/dev-ruby/net-sftp/metadata.xml new file mode 100644 index 000000000000..e6e41f102a70 --- /dev/null +++ b/dev-ruby/net-sftp/metadata.xml @@ -0,0 +1,12 @@ +<?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">net-ssh/net-sftp</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild b/dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild new file mode 100644 index 000000000000..99deb87ee5c4 --- /dev/null +++ b/dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="SFTP in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-sftp" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_PATCHES=( "${FILESDIR}/${P}-net-ssh-4.patch" ) + +ruby_add_rdepend "dev-ruby/net-ssh:4" + +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-0.13 + )" diff --git a/dev-ruby/net-sftp/net-sftp-2.1.2-r4.ebuild b/dev-ruby/net-sftp/net-sftp-2.1.2-r4.ebuild new file mode 100644 index 000000000000..c3a90e27d991 --- /dev/null +++ b/dev-ruby/net-sftp/net-sftp-2.1.2-r4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="SFTP in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-sftp" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +PATCHES=( "${FILESDIR}/${P}-net-ssh-4.patch" ) + +ruby_add_rdepend "dev-ruby/net-ssh:4" + +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-0.13 + )" diff --git a/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild b/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild new file mode 100644 index 000000000000..062730234f59 --- /dev/null +++ b/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="net-sftp.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="SFTP in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-sftp" +SRC_URI="https://github.com/net-ssh/net-sftp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "|| ( dev-ruby/net-ssh:6 dev-ruby/net-ssh:5 )" + +ruby_add_bdepend " + test? ( + dev-ruby/bundler + >=dev-ruby/mocha-0.13 + )" + +all_ruby_prepare() { + sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/net-ssh-gateway/Manifest b/dev-ruby/net-ssh-gateway/Manifest new file mode 100644 index 000000000000..a550cad606e6 --- /dev/null +++ b/dev-ruby/net-ssh-gateway/Manifest @@ -0,0 +1 @@ +DIST net-ssh-gateway-2.0.0.tar.gz 7825 BLAKE2B 05ade5aac288ee634aea37acfc68c9781e8178bf0ef92abafac13858a86ff952a2b30b6f92dc08f3856d9dd02a9795e0b93c15543b932070b9ec3f6a50c03e52 SHA512 6595c2a2a25ca9bffb942497be984773c10746f34e1dbba3d72503cef3c88e5bb50bdc8713c246aa6e38272540fb0ced66a3909bc02df96f511b0dc9fc50d735 diff --git a/dev-ruby/net-ssh-gateway/metadata.xml b/dev-ruby/net-ssh-gateway/metadata.xml new file mode 100644 index 000000000000..8525ae47ace3 --- /dev/null +++ b/dev-ruby/net-ssh-gateway/metadata.xml @@ -0,0 +1,12 @@ +<?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">net-ssh/net-scp</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild new file mode 100644 index 000000000000..075920a216e4 --- /dev/null +++ b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="A simple library to assist in enabling tunneled Net::SSH connections" +HOMEPAGE="https://github.com/net-ssh/net-ssh-gateway" +SRC_URI="https://github.com/net-ssh/net-ssh-gateway/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2.0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +ruby_add_bdepend "dev-ruby/minitest:5 + dev-ruby/mocha:1.0" + +ruby_add_rdepend ">=dev-ruby/net-ssh-4.0.0:*" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/net/ssh/gateway_test.rb || die + sed -i -e 's:mocha/mini_test:mocha/minitest:' test/net/ssh/gateway_test.rb || die +} diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest new file mode 100644 index 000000000000..61adbe190e25 --- /dev/null +++ b/dev-ruby/net-ssh/Manifest @@ -0,0 +1,5 @@ +DIST net-ssh-git-4.2.0.tgz 197417 BLAKE2B 5714185d9b83d3010e6b9baa07ac541e9227379cbfecc3a506d870d8d9fa528f59b605df4ff02ae6bfc16893bfb22734395096a77fcbe19fb939ecc1a343a9b5 SHA512 0a3609590d797a8cb4732e8cf743606a4919f57475b6eb2447a3db0c28f1bd405804fdc47a4062e503acdd4b785a1de9794a6db433cabb884105166eff6a8c5b +DIST net-ssh-git-5.2.0.tgz 209986 BLAKE2B 6a1bc97da733420607c6ebe69a01f42d58998297a12394a29c9b4f5af425781d6b1b3535cecef21a0918eefc2e032f519fce9c5691c0a735c7810452f468d780 SHA512 cf2fa9817b124f0f35115abef51a4865073b3126b94d66cd307994bba06745513aaab1c1bcf64907a7b3bbce793b272b3f521cfa93f9339ca78ec8cef09cbeeb +DIST net-ssh-git-6.0.0.tgz 218503 BLAKE2B 5cd2126513233eaf169fd0eab4876e7c0c4b61f7cb3df19d7e369403fbba39ee68f4ade61ec58ed9124c460af5d39bc93ccf32a320ea19d02fc3d34bb8413f37 SHA512 18dd1f694e6b57f6f22c356a0726f5eb8aff9921f097b50f072c2829c4bda8fa697c5e71a49da862beca59a703a3146b29b80f8b5dfed3a3b661e05bc68b3387 +DIST net-ssh-git-6.0.2.tgz 219657 BLAKE2B c514237e6edf4a9f7581850a1a5ecce352fd5f56c633587ddc26571c6bff06172f177168d8e55d053615050fff5d7f0946c4aafc0e31890ea630b741c99b27ee SHA512 f6fa4ab3b009429e08d76bf412bb0a93083c17d58ad6e24cef7d4152915dca2d335a533223ff57b65c9053a7ed5df4905e3231d50b0d52ea03f6403a6c1cdec4 +DIST net-ssh-git-6.1.0.tgz 220190 BLAKE2B a5ae0f15cf3dac8934de0b3216541415cc947214ea33d57770b5f2bf2594fa5b29b8dd9a417233de0ed243a12cdc547e5e87861767c5bbc65adb90cdbe58a484 SHA512 1d92ad19cb8bf80aec4ada23c49b91588c722551695cb0dd7b2954001fd71b4b4c030f8317b86766451847273c6116baa041c03e2415df2b0f81b20551dd8566 diff --git a/dev-ruby/net-ssh/metadata.xml b/dev-ruby/net-ssh/metadata.xml new file mode 100644 index 000000000000..05970968c67f --- /dev/null +++ b/dev-ruby/net-ssh/metadata.xml @@ -0,0 +1,16 @@ +<?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">net-ssh/net-ssh</remote-id> + </upstream> + <use> + <flag name="ed25519">Use <pkg>dev-ruby/ed25519</pkg> for Ed25519 support</flag> + <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> via <pkg>dev-ruby/rbnacl</pkg> for Ed25519 support</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-ssh/net-ssh-4.2.0.ebuild b/dev-ruby/net-ssh/net-ssh-4.2.0.ebuild new file mode 100644 index 000000000000..a1cd8e45c46a --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-4.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="sodium test" + +ruby_add_rdepend "virtual/ruby-ssl sodium? ( dev-ruby/rbnacl:4 dev-ruby/bcrypt_pbkdf )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Don't use a ruby-bundled version of libsodium + sed -i -e '/rbnacl\/libsodium/ s:^:#:' lib/net/ssh/authentication/ed25519.rb || die + + # Don' try to use libsodium-related tests with USE=-sodium + if ! use sodium ; then + rm -f test/authentication/test_ed25519.rb + fi + + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/net-ssh/net-ssh-5.2.0.ebuild b/dev-ruby/net-ssh/net-ssh-5.2.0.ebuild new file mode 100644 index 000000000000..09bc1c989cec --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-5.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="5" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( dev-ruby/ed25519 dev-ruby/bcrypt_pbkdf )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +} diff --git a/dev-ruby/net-ssh/net-ssh-6.0.0.ebuild b/dev-ruby/net-ssh/net-ssh-6.0.0.ebuild new file mode 100644 index 000000000000..124bde4b5785 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-6.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/bcrypt_pbkdf:1 )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die + + sed -e "s:require_relative ':require './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +} diff --git a/dev-ruby/net-ssh/net-ssh-6.0.2.ebuild b/dev-ruby/net-ssh/net-ssh-6.0.2.ebuild new file mode 100644 index 000000000000..124bde4b5785 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-6.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/bcrypt_pbkdf:1 )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die + + sed -e "s:require_relative ':require './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +} diff --git a/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild b/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild new file mode 100644 index 000000000000..e99cacb26708 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/x25519 dev-ruby/bcrypt_pbkdf:1 )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die + + sed -e "s:require_relative ':require './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +} diff --git a/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild b/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild new file mode 100644 index 000000000000..124bde4b5785 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/bcrypt_pbkdf:1 )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die + + sed -e "s:require_relative ':require './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +} diff --git a/dev-ruby/net-telnet/Manifest b/dev-ruby/net-telnet/Manifest new file mode 100644 index 000000000000..87721afe849c --- /dev/null +++ b/dev-ruby/net-telnet/Manifest @@ -0,0 +1,2 @@ +DIST net-telnet-0.1.1.tar.gz 12794 BLAKE2B 5a82e62e47cb9153b17dd6042c7e5c767ae3a9cbe0739ad769aab2fe798c7766819b89bc325f148791ce37a55ae267eb5854142d2fcb7d387fd29c32e118c169 SHA512 769d83bae55826bb99f189d06a8fb8a6d497d6c7687289f5aad2efced6f282484e5f766dc95f0158045b824532cd8f0a674ecc69883018814a009bc29d6fe29d +DIST net-telnet-0.2.0.tar.gz 13299 BLAKE2B 6b87974281b4e1857a1e05efdfc751a5149f9057598c89b8b288219b95268955ee3f80e21cc787ac767ef3126c9ee23d9b62e29ebcb8c317def703f0e0dc1fe6 SHA512 a4473c42d33c10594c4445c29db73f4d611555710228cce263f7fc273e71140423dcbc2e89eec2a26f35f98de48aa72eca9f44cf0cd4626d702709963ce7b02d diff --git a/dev-ruby/net-telnet/metadata.xml b/dev-ruby/net-telnet/metadata.xml new file mode 100644 index 000000000000..dc21a6a979ae --- /dev/null +++ b/dev-ruby/net-telnet/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby/net-telnet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/net-telnet/net-telnet-0.1.1-r1.ebuild b/dev-ruby/net-telnet/net-telnet-0.1.1-r1.ebuild new file mode 100644 index 000000000000..6d18f771b6cf --- /dev/null +++ b/dev-ruby/net-telnet/net-telnet-0.1.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +# Don't install the binaries since they don't seem to be intended for +# general use and they have very generic names leading to collisions, +# e.g. bug 571186 +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Provides telnet client functionality" +HOMEPAGE="https://github.com/ruby/net-telnet" +SRC_URI="https://github.com/ruby/net-telnet/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +SLOT="1" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/net-telnet/net-telnet-0.2.0.ebuild b/dev-ruby/net-telnet/net-telnet-0.2.0.ebuild new file mode 100644 index 000000000000..214d0b884ac0 --- /dev/null +++ b/dev-ruby/net-telnet/net-telnet-0.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +# Don't install the binaries since they don't seem to be intended for +# general use and they have very generic names leading to collisions, +# e.g. bug 571186 +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Provides telnet client functionality" +HOMEPAGE="https://github.com/ruby/net-telnet" +SRC_URI="https://github.com/ruby/net-telnet/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/netrc/Manifest b/dev-ruby/netrc/Manifest new file mode 100644 index 000000000000..25cc7476b35a --- /dev/null +++ b/dev-ruby/netrc/Manifest @@ -0,0 +1 @@ +DIST netrc-0.11.0.gem 10752 BLAKE2B 40f78989c7b58b726c1f83ea7032eace74c11776b006a2f5fc9459134224cad6129b370d6da4bcdef540d75504da6d5ca5a1d6bab9c1ab8a2620b22c3933be20 SHA512 7f0df3f79d92b891d40a49e9b893ca7131077195cf15453b155e37e68e29f8cd3810ba791a06338058262c8cb8fed56c87c295e450c133b428b3398eb99e683a diff --git a/dev-ruby/netrc/metadata.xml b/dev-ruby/netrc/metadata.xml new file mode 100644 index 000000000000..fd8fbd40c4ff --- /dev/null +++ b/dev-ruby/netrc/metadata.xml @@ -0,0 +1,12 @@ +<?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">geemus/netrc</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/netrc/netrc-0.11.0.ebuild b/dev-ruby/netrc/netrc-0.11.0.ebuild new file mode 100644 index 000000000000..b1c827eb0f4e --- /dev/null +++ b/dev-ruby/netrc/netrc-0.11.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="changelog.txt Readme.md" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="This library reads and writes .netrc files" +HOMEPAGE="https://github.com/geemus/netrc" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm x86" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + # Avoid broken test that wrongly tests ruby internal code, bug 643922 + sed -e '/test_encrypted_roundtrip/,/^ end/ s:^:#:' \ + -e '/test_missing_environment/,/^ end/ s:^:#:' \ + -e "s:/tmp/:${T}/:" \ + -i test/test_netrc.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/network_interface/Manifest b/dev-ruby/network_interface/Manifest new file mode 100644 index 000000000000..821ffa0b5e11 --- /dev/null +++ b/dev-ruby/network_interface/Manifest @@ -0,0 +1 @@ +DIST network_interface-0.0.2.gem 16896 BLAKE2B a0e7898aa5989ea38c8a9214f3aaf5f9d0dbdf39e86f7e9a4d62ec6c94f29f9612a08c1465513b62351a4c62ed776e427800eabe562062ce7c9b4b75ec757a3b SHA512 8850325e7e0c5ab51b060270220099c2c00cf7031083a511ae9f8dd6d1b9219b37169fa7620e9648eb071784a840e14ce965f8d1cf5d475ff82691bfba25a202 diff --git a/dev-ruby/network_interface/metadata.xml b/dev-ruby/network_interface/metadata.xml new file mode 100644 index 000000000000..737d5758d007 --- /dev/null +++ b/dev-ruby/network_interface/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">rapid7/network_interface</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/network_interface/network_interface-0.0.2.ebuild b/dev-ruby/network_interface/network_interface-0.0.2.ebuild new file mode 100644 index 000000000000..cdf61eb691fd --- /dev/null +++ b/dev-ruby/network_interface/network_interface-0.0.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="network_interface layer from metasploit pcaprub" +HOMEPAGE="https://github.com/rapid7/network_interface" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +# Tests are brittle as they cannot deal with all network interface configurations. +RESTRICT="test" + +all_ruby_prepare() { + sed -i -e 's:/sbin/ifconfig:/bin/ifconfig:' spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -C ext/network_interface_ext extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/network_interface_ext V=1 + cp ext/network_interface_ext/network_interface_ext.so lib/ || die +} diff --git a/dev-ruby/nexpose/Manifest b/dev-ruby/nexpose/Manifest new file mode 100644 index 000000000000..89fc5e36fc45 --- /dev/null +++ b/dev-ruby/nexpose/Manifest @@ -0,0 +1 @@ +DIST nexpose-7.2.1.tar.gz 123143 BLAKE2B 2bf9a022c6695fa759c5193510c2cfa793b8014b36914c7806f1ee888ac8eb21466efa46539a9e9b7dab31454b8604b10b71d59faffd001254ee0561f456b707 SHA512 8c0d8b4537513396c9c7cb01330310ed30f8995890c60fdb956ad4760fda6e89a4d1d400e6b71cad1fd2d8c5f2176074c415d35597b1c8740233ebcccbc7d870 diff --git a/dev-ruby/nexpose/metadata.xml b/dev-ruby/nexpose/metadata.xml new file mode 100644 index 000000000000..473668acf807 --- /dev/null +++ b/dev-ruby/nexpose/metadata.xml @@ -0,0 +1,13 @@ +<?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">rapid7/nexpose-client</remote-id> + <remote-id type="rubygems">nexpose</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nexpose/nexpose-7.2.1.ebuild b/dev-ruby/nexpose/nexpose-7.2.1.ebuild new file mode 100644 index 000000000000..5fc4cc695cc0 --- /dev/null +++ b/dev-ruby/nexpose/nexpose-7.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="API client for Nexpose vulnerability managment product" +HOMEPAGE="https://github.com/rapid7/nexpose-client https://rubygems.org/gems/nexpose" +SRC_URI="https://github.com/rapid7/nexpose-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-client-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/vcr:3 + dev-ruby/webmock +)" + +all_ruby_prepare() { + sed -i -e '/\(codeclimate\|simplecov\)/ s:^:#:' \ + -e '/SimpleCov/,/^]/ s:^:#:' \ + -e '1irequire "nexpose"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/niceogiri/Manifest b/dev-ruby/niceogiri/Manifest new file mode 100644 index 000000000000..f55831b82b44 --- /dev/null +++ b/dev-ruby/niceogiri/Manifest @@ -0,0 +1 @@ +DIST niceogiri-1.1.2.gem 11264 BLAKE2B bc8ca43b5bae4630c8e52167ec22054bb95dbf8ccec8473d1223a0e3f6437b01268f26fb140414750f8c5109d1d2bd19e8bed4185c4fcff2b93a03a41159b0d7 SHA512 9a1905a6b3e558a0c522bf8e3a9e55737f4266c7f38ec8ca7789c21c83f12835ed6cdaf249a05377a1c558e5cec137929beeb1ca0a42f5eed43890accaa0e4cb diff --git a/dev-ruby/niceogiri/metadata.xml b/dev-ruby/niceogiri/metadata.xml new file mode 100644 index 000000000000..da05380632d3 --- /dev/null +++ b/dev-ruby/niceogiri/metadata.xml @@ -0,0 +1,12 @@ +<?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">benlangfeld/Niceogiri</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild b/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild new file mode 100644 index 000000000000..2397c35a09d7 --- /dev/null +++ b/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Some wrappers around and helpers for XML manipulation using Nokogiri" +HOMEPAGE="https://github.com/benlangfeld/Niceogiri" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i -e '/guard-rspec/d' ${PN}.gemspec || die + sed -i -e '/[Bb]undler/d' Rakefile || die +} diff --git a/dev-ruby/nio4r/Manifest b/dev-ruby/nio4r/Manifest new file mode 100644 index 000000000000..41a568e360ae --- /dev/null +++ b/dev-ruby/nio4r/Manifest @@ -0,0 +1,3 @@ +DIST nio4r-1.2.1.gem 94208 BLAKE2B 229c1c690004444a6701ad765af26e592b9dbdb3646f155dc2114ea677b40097c0158c615efb25506c2ae59316e4ecdd7ec8747bf4f18a3ec2ca1be6bf028b85 SHA512 3136863955bd6f4d489955bae9baf2fb527447c0e71dade1a05402f3e7c8570bf1dd9b8335d70d7303ec4df0a236b13e4ede74ce9154be00a108afcd7c6b7f40 +DIST nio4r-2.4.0.gem 101888 BLAKE2B 05f0223ccf493d3566d370e3199b26136b4158939fcd7102d5d513ae0988c3691fedb00fe47f9884396bc333ed2b88b605c583048ad6a2ebe70eb7aa4b70a6df SHA512 2cd77c4af934c10cbcc23e926d0111a319bd9be69b0ead9c5c5614911f2cd3127ffa9fb103907d961b59e6f846cc83ac9a97722a85dac390dbf2f2a20976a0c0 +DIST nio4r-2.5.2.gem 110592 BLAKE2B b632322d0706f97a30601e7135daad9ee5a66e57ff7dea1eb0b8365e45f896e7b8a7c228c4eb781d2f44ea047eb028549bc172b68a0540d041ad83bd79d25075 SHA512 3db567c9994e9186749e37c3ebc07f744e7a82c1163d44222475cf491f945745c6c070f4a0a8c77e331921147cc1f5f7bfffd86cb3455d5864280c4e4945b295 diff --git a/dev-ruby/nio4r/metadata.xml b/dev-ruby/nio4r/metadata.xml new file mode 100644 index 000000000000..c6599b9e6571 --- /dev/null +++ b/dev-ruby/nio4r/metadata.xml @@ -0,0 +1,12 @@ +<?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">celluloid/nio4r</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nio4r/nio4r-1.2.1-r1.ebuild b/dev-ruby/nio4r/nio4r-1.2.1-r1.ebuild new file mode 100644 index 000000000000..409bbfb67a6a --- /dev/null +++ b/dev-ruby/nio4r/nio4r-1.2.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A high performance selector API for monitoring IO objects" +HOMEPAGE="https://github.com/celluloid/nio4r" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Note that nio4r bundles a patched copy of libev, and without these +# patches the tests fail: https://github.com/celluloid/nio4r/issues/15 + +all_ruby_prepare() { + sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' spec/spec_helper.rb || die + sed -e '/extension/ s:^:#:' -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib/ || die +} diff --git a/dev-ruby/nio4r/nio4r-2.4.0.ebuild b/dev-ruby/nio4r/nio4r-2.4.0.ebuild new file mode 100644 index 000000000000..45c25df06b14 --- /dev/null +++ b/dev-ruby/nio4r/nio4r-2.4.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A high performance selector API for monitoring IO objects" +HOMEPAGE="https://github.com/socketry/nio4r" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Note that nio4r bundles a patched copy of libev, and without these +# patches the tests fail: https://github.com/celluloid/nio4r/issues/15 + +ruby_add_bdepend "test? ( dev-ruby/rspec-retry )" + +all_ruby_prepare() { + sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' spec/spec_helper.rb || die + sed -e '/extension/ s:^:#:' -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib/ || die +} diff --git a/dev-ruby/nio4r/nio4r-2.5.2.ebuild b/dev-ruby/nio4r/nio4r-2.5.2.ebuild new file mode 100644 index 000000000000..44567a91f631 --- /dev/null +++ b/dev-ruby/nio4r/nio4r-2.5.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A high performance selector API for monitoring IO objects" +HOMEPAGE="https://github.com/socketry/nio4r" + +LICENSE="MIT || ( BSD GPL-2 )" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Note that nio4r bundles a patched copy of libev, and without these +# patches the tests fail: https://github.com/celluloid/nio4r/issues/15 + +ruby_add_bdepend "test? ( dev-ruby/rspec-retry )" + +all_ruby_prepare() { + sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' spec/spec_helper.rb || die + sed -e '/extension/ s:^:#:' -i Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib/ || die +} diff --git a/dev-ruby/nokogiri-diff/Manifest b/dev-ruby/nokogiri-diff/Manifest new file mode 100644 index 000000000000..6ca08c15b9c1 --- /dev/null +++ b/dev-ruby/nokogiri-diff/Manifest @@ -0,0 +1 @@ +DIST nokogiri-diff-0.2.0.gem 8704 BLAKE2B e1df47db2e6e7fcd29eb229245cb9a9a7b31fded319a6fe28d04722f457f0ea7bc19e13ee49b2233f3c072eedf3c83c7e38cd8b19d5ecbc4937f709a9f4cf3a7 SHA512 9b2b6f266c9c7d01153c345567086b4cd1092a5984e6867ea81d15e00467936f296fd5e2c3ab7dc18e44d1dd2af022d250234fb4311a9be80fd3ca32b3d201ca diff --git a/dev-ruby/nokogiri-diff/metadata.xml b/dev-ruby/nokogiri-diff/metadata.xml new file mode 100644 index 000000000000..684ab6bc0a7d --- /dev/null +++ b/dev-ruby/nokogiri-diff/metadata.xml @@ -0,0 +1,12 @@ +<?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">postmodern/nokogiri-diff</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nokogiri-diff/nokogiri-diff-0.2.0-r2.ebuild b/dev-ruby/nokogiri-diff/nokogiri-diff-0.2.0-r2.ebuild new file mode 100644 index 000000000000..823cf68fb067 --- /dev/null +++ b/dev-ruby/nokogiri-diff/nokogiri-diff-0.2.0-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Calculate the differences between two XML/HTML documents" +HOMEPAGE="https://github.com/postmodern/nokogiri-diff" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.5 >=dev-ruby/tdiff-0.3.2" diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest new file mode 100644 index 000000000000..3d165204603b --- /dev/null +++ b/dev-ruby/nokogiri/Manifest @@ -0,0 +1 @@ +DIST nokogiri-1.10.4-git.tgz 5792963 BLAKE2B 80223c7bda39c56ced8e98d1d9f6858907f2814eb2d9f28d13c9f26fe29ae7f057e5a19765a3b304ffc4f9edd3dd0f77b99d5a673923ce95a8f02135aa9882ca SHA512 c27877297d432b9a9baf3e0639600d6ca5b382a87ff0dc1efb5d9bb3c79aaa31a589a4491f938283e4f9d35e8d29b6f88a60e27a5d4c81e7b491e100f8d06a9d diff --git a/dev-ruby/nokogiri/metadata.xml b/dev-ruby/nokogiri/metadata.xml new file mode 100644 index 000000000000..42e26948dab6 --- /dev/null +++ b/dev-ruby/nokogiri/metadata.xml @@ -0,0 +1,12 @@ +<?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/nokogiri</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nokogiri/nokogiri-1.10.4.ebuild b/dev-ruby/nokogiri/nokogiri-1.10.4.ebuild new file mode 100644 index 000000000000..a25cbec7104d --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.10.4.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md STANDARD_RESPONSES.md" + +RUBY_FAKEGEM_EXTRAINSTALL="ext" + +inherit ruby-fakegem eutils multilib + +DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" +HOMEPAGE="https://www.nokogiri.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + >=dev-libs/libxml2-2.9.9:= + >=dev-libs/libxslt-1.1.33 + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.9.9 + >=dev-libs/libxslt-1.1.33 + virtual/libiconv" + +ruby_add_bdepend " + >=dev-ruby/pkg-config-1.1.7 + >=dev-ruby/rexical-1.0.7 + dev-ruby/rdoc + dev-ruby/racc + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ s:^:#:' \ + Rakefile || die + # Remove the cross compilation options since they interfere with + # native building. + sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die + sed -i -e '/cross_config_options/d' Rakefile || die + + sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die +} + +each_ruby_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${RUBY} -Cext/${PN} extconf.rb \ + --with-zlib-include="${EPREFIX}"/usr/include \ + --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ + --with-iconv-include="${EPREFIX}"/usr/include \ + --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ + --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ + --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ + --with-xslt-dir="${EPREFIX}"/usr \ + --with-iconvlib=iconv \ + || die "extconf.rb failed" +} + +each_ruby_compile() { + if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" + fi + + if ! [[ -f lib/nokogiri/css/parser.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" + fi + + emake -Cext/${PN} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die +} + +each_ruby_install() { + # Clean up "ext" directory before installing it. nokogumbo expects + # the header files and shared object to be in ext. + rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die + + each_fakegem_install +} diff --git a/dev-ruby/nokogumbo/Manifest b/dev-ruby/nokogumbo/Manifest new file mode 100644 index 000000000000..10561b98180a --- /dev/null +++ b/dev-ruby/nokogumbo/Manifest @@ -0,0 +1,3 @@ +DIST nokogumbo-1.5.0.gem 228352 BLAKE2B 66740dfb9bd9edea13c6bc872e1cadf855116ee7247c7691210d3eaa81ad4c7b972fe8edd02a6f7ade6c172c870923c9af3fc24b10c5594cd0255b2fa0c2cd82 SHA512 a89ec7ae4d42cce5431070e790f0f10734655654f6f680c0b949fab7527b6a811953f1c3c13d633427b40980f9e9bd434a9afe1a9d1f1e504af05246d96be77e +DIST nokogumbo-2.0.1.tar.gz 295763 BLAKE2B e8d864cbe637dd239c96e5e67a58d08fbd561f981d0daf68e285591e8b9a044b4512766744e6f625f6bdd973176079f328f0f7246584359c3e9caf677bb2f37f SHA512 688cf6c4abdc3987c14ef6215eb5d1c88cca49af614b7ca143361465ad78ac3373bc6a876247d6d989c21a43ec55d21f680c1a8ccf1326cf33778424b556cb4e +DIST nokogumbo-2.0.2.tar.gz 295558 BLAKE2B ce52794eb3359ad34234d8f5faad4aff7c197326f6449a09a2264cb1a3d920886377f805e055980224644223d31a6621300c583a04f48ce8a8abe275b2614470 SHA512 fd115e072d2763ff63c46dc6f6117bb841b2c2ac28df0180d44a581a2a46f0b7b90ec17ae1b629e3e7c2f8a2cade53031cc118c8a946bbfb7e9e8600efefd67c diff --git a/dev-ruby/nokogumbo/metadata.xml b/dev-ruby/nokogumbo/metadata.xml new file mode 100644 index 000000000000..a8768fd2a5ea --- /dev/null +++ b/dev-ruby/nokogumbo/metadata.xml @@ -0,0 +1,12 @@ +<?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">rubys/nokogumbo</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/nokogumbo/nokogumbo-1.5.0.ebuild b/dev-ruby/nokogumbo/nokogumbo-1.5.0.ebuild new file mode 100644 index 000000000000..5f07eb3fc6c9 --- /dev/null +++ b/dev-ruby/nokogumbo/nokogumbo-1.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Nokogiri interface to the Gumbo HTML5 parser" +HOMEPAGE="https://github.com/rubys/nokogumbo" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND+=">=dev-libs/gumbo-0.10" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.5-r1" + +all_ruby_prepare() { + # Define rakehome in scope + sed -i -e "1irakehome=File.expand_path('../../')" ext/nokogumboc/extconf.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/nokogumboc extconf.rb || die + sed -i -e 's:-Wl,--no-undefined::' ext/nokogumboc/Makefile || die +} + +each_ruby_compile() { + emake -Cext/nokogumboc V=1 + cp ext/nokogumboc/nokogumboc.so lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test-nokogumbo.rb || die +} diff --git a/dev-ruby/nokogumbo/nokogumbo-2.0.1.ebuild b/dev-ruby/nokogumbo/nokogumbo-2.0.1.ebuild new file mode 100644 index 000000000000..53a7309de9da --- /dev/null +++ b/dev-ruby/nokogumbo/nokogumbo-2.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Nokogiri interface to the Gumbo HTML5 parser" +HOMEPAGE="https://github.com/rubys/nokogumbo" +SRC_URI="https://github.com/rubys/nokogumbo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Contains a bundled and patched version of dev-libs/gumbo. + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8.4" + +all_ruby_prepare() { + # Define rakehome in scope + sed -i -e "1irakehome=File.expand_path('../../')" ext/nokogumbo/extconf.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/nokogumbo extconf.rb || die + sed -i -e 's:-Wl,--no-undefined::' ext/nokogumbo/Makefile || die +} + +each_ruby_compile() { + emake -Cext/nokogumbo V=1 + cp ext/nokogumbo/nokogumbo.so lib/nokogumbo/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/nokogumbo/nokogumbo-2.0.2.ebuild b/dev-ruby/nokogumbo/nokogumbo-2.0.2.ebuild new file mode 100644 index 000000000000..519795425f82 --- /dev/null +++ b/dev-ruby/nokogumbo/nokogumbo-2.0.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="nokogumbo.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Nokogiri interface to the Gumbo HTML5 parser" +HOMEPAGE="https://github.com/rubys/nokogumbo" +SRC_URI="https://github.com/rubys/nokogumbo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Contains a bundled and patched version of dev-libs/gumbo. + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8.4" + +all_ruby_prepare() { + # Define rakehome in scope + sed -i -e "1irakehome=File.expand_path('../../')" ext/nokogumbo/extconf.rb || die + + sed -i -e "s:require_relative ':require './:" ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + ${RUBY} -Cext/nokogumbo extconf.rb || die + sed -i -e 's:-Wl,--no-undefined::' ext/nokogumbo/Makefile || die +} + +each_ruby_compile() { + emake -Cext/nokogumbo V=1 + cp ext/nokogumbo/nokogumbo.so lib/nokogumbo/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/notify/Manifest b/dev-ruby/notify/Manifest new file mode 100644 index 000000000000..0ab84412d622 --- /dev/null +++ b/dev-ruby/notify/Manifest @@ -0,0 +1 @@ +DIST notify-0.5.2.gem 7168 BLAKE2B 2476cf4a3f174b5f1003e25782ae5bd3838ef1adcca7556f30c609d335ed707fddf1d41e3699ed85eaed54d548f8152bbc079c07538538d4c459e794a2d7c283 SHA512 f64ea5f265acc970f145e1c43e27d6608b1d90b8da6b7236c001808ab690ca302af501d08bda62e66b69434ef1940b6fa19faae3f9ef37c5cc9cebc4b5310564 diff --git a/dev-ruby/notify/metadata.xml b/dev-ruby/notify/metadata.xml new file mode 100644 index 000000000000..53c568e40b3c --- /dev/null +++ b/dev-ruby/notify/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">jugyo/notify</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/notify/notify-0.5.2-r1.ebuild b/dev-ruby/notify/notify-0.5.2-r1.ebuild new file mode 100644 index 000000000000..9d77ec93ce5f --- /dev/null +++ b/dev-ruby/notify/notify-0.5.2-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md sample.rb" + +inherit ruby-fakegem + +DESCRIPTION="A function to notify on cross platform" +HOMEPAGE="https://github.com/jugyo/notify" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" x11-libs/libnotify" # For notify-send support. diff --git a/dev-ruby/ntlm-http/Manifest b/dev-ruby/ntlm-http/Manifest new file mode 100644 index 000000000000..d79a0fed0040 --- /dev/null +++ b/dev-ruby/ntlm-http/Manifest @@ -0,0 +1 @@ +DIST ntlm-http-0.1.1.gem 13824 BLAKE2B 179baff2b4b00306b15aa42bad3e91bb41bdc6070ad2eb4681075474839dafea06c54ef7b3fb9f997951ad7b4ddcfa78caf5345b35e5944366b60f27bea63530 SHA512 1d2868582a194fb3a3dcb48a7dfb031014e51a93d57afb83aaef98be8e57789506b71e6440770ca7bc48979d9dd730f398d01d554d6d0575ff01046a227c7669 diff --git a/dev-ruby/ntlm-http/files/ntlm-http-0.1.1+ruby-1.9.patch b/dev-ruby/ntlm-http/files/ntlm-http-0.1.1+ruby-1.9.patch new file mode 100644 index 000000000000..b5e35a7210c5 --- /dev/null +++ b/dev-ruby/ntlm-http/files/ntlm-http-0.1.1+ruby-1.9.patch @@ -0,0 +1,24 @@ +Index: ntlm-http-0.1.1/lib/net/ntlm_http.rb +=================================================================== +--- ntlm-http-0.1.1.orig/lib/net/ntlm_http.rb ++++ ntlm-http-0.1.1/lib/net/ntlm_http.rb +@@ -45,6 +45,7 @@ + require 'base64' + require 'openssl' + require 'openssl/digest' ++require 'kconv' + + module Net #:nodoc: + module NTLM +Index: ntlm-http-0.1.1/lib/net/ntlm.rb +=================================================================== +--- ntlm-http-0.1.1.orig/lib/net/ntlm.rb ++++ ntlm-http-0.1.1/lib/net/ntlm.rb +@@ -45,6 +45,7 @@ + require 'base64' + require 'openssl' + require 'openssl/digest' ++require 'kconv' + + module Net #:nodoc: + module NTLM diff --git a/dev-ruby/ntlm-http/metadata.xml b/dev-ruby/ntlm-http/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ntlm-http/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild b/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild new file mode 100644 index 000000000000..005ceae39aa5 --- /dev/null +++ b/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOC_SOURCES="lib README" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem eutils + +DESCRIPTION="Ruby/NTLM HTTP provides NTLM authentication over http" +HOMEPAGE="http://www.mindflowsolutions.net/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +all_ruby_prepare() { + find . -name '*.rb' -exec sed -i -e 's:\r$::' {} + + + # We can't use RUBY_PATCHES for this because we need first to convert the files + epatch "${FILESDIR}"/${P}+ruby-1.9.patch +} + +each_ruby_test() { + ruby-ng_testrb-2 test/*_test.rb +} diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest new file mode 100644 index 000000000000..c8aed657606f --- /dev/null +++ b/dev-ruby/oauth/Manifest @@ -0,0 +1 @@ +DIST oauth-0.5.4.tar.gz 59141 BLAKE2B 1e588d411795b7c5b4ae5b7b3c9928b69aaa005bef858137759757e9f06d6de144408e4dba33d7fbf82a3f2586238a71b85b89c681f5d633453dfe0da954a2fb SHA512 f114f80255944934a276d0f9556ed37e4a0a72b221269cf7792f2c3a5a1504c5ec726fd5b7437b1102c648a6cf451a1c83de4689f53d30ea8c6a1d62662de535 diff --git a/dev-ruby/oauth/metadata.xml b/dev-ruby/oauth/metadata.xml new file mode 100644 index 000000000000..12d72ec1131a --- /dev/null +++ b/dev-ruby/oauth/metadata.xml @@ -0,0 +1,12 @@ +<?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">oauth-xx/oauth-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/oauth/oauth-0.5.4.ebuild b/dev-ruby/oauth/oauth-0.5.4.ebuild new file mode 100644 index 000000000000..59a71726716a --- /dev/null +++ b/dev-ruby/oauth/oauth-0.5.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="HISTORY README.rdoc TODO" + +inherit ruby-fakegem + +DESCRIPTION="A RubyGem for implementing both OAuth clients and servers" +HOMEPAGE="https://github.com/oauth-xx/oauth-ruby" +SRC_URI="https://github.com/oauth-xx/oauth-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-macos" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/test-unit:2 + dev-ruby/mocha:1.0 + dev-ruby/webmock + dev-ruby/rack + dev-ruby/actionpack:5.2 + dev-ruby/railties:5.2 +)" + +all_ruby_prepare() { + # Require a compatible version of mocha + sed -i -e '1igem "mocha", "~> 1.0"; gem "railties", "~>5.2.0" ; gem "actionpack", "~>5.2.0"' \ + -e '2i gem "test-unit"; require "test/unit"' \ + -e '/mocha/ s/mini_test/minitest/' \ + -e '/\(byebug\|minitest_helpers\|simplecov\)/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/oauth2/Manifest b/dev-ruby/oauth2/Manifest new file mode 100644 index 000000000000..4d2978b3295b --- /dev/null +++ b/dev-ruby/oauth2/Manifest @@ -0,0 +1,2 @@ +DIST oauth2-1.4.3.tar.gz 28278 BLAKE2B 6d0055875073dca48e94a0449a5fff22b7be280c5b2f8e0b5b3234b3c8b079fde0671e211b0eb8d562bfc0cb437917adccb3f13c38450a8cd6a43f0f1a2373a5 SHA512 6ffdc7675ed301cd52e3320c01723fe2530a9dedc2b1fe534b42d01dacb7d4b017d79dbe0f9768f06ed8ace7ba596f9824a38d5509e82d09a3456f3a6b1fe453 +DIST oauth2-1.4.4.tar.gz 28477 BLAKE2B 925008fcf4dd48da3b17c539713bf0f05f649d431ab1676293de625bef4165f31153271d48bbb0c6265c67d7bb6a3cbc7217ce155ba331b22a00d572a855a8ef SHA512 5398a25664e53d1942b0ecbe5d74ca9cc8f04a928c96073f40cfff207c4bf220634185320954a0d1f36944547fb48264855c9523318fbb79dd4a3779a7a46e79 diff --git a/dev-ruby/oauth2/metadata.xml b/dev-ruby/oauth2/metadata.xml new file mode 100644 index 000000000000..4f785d70a7a7 --- /dev/null +++ b/dev-ruby/oauth2/metadata.xml @@ -0,0 +1,12 @@ +<?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">intridea/oauth2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/oauth2/oauth2-1.4.3.ebuild b/dev-ruby/oauth2/oauth2-1.4.3.ebuild new file mode 100644 index 000000000000..f046e1a04dd0 --- /dev/null +++ b/dev-ruby/oauth2/oauth2-1.4.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="oauth2.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem" +HOMEPAGE="https://github.com/intridea/oauth2" +SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.8 <dev-ruby/faraday-2.0 + || ( dev-ruby/jwt:2 dev-ruby/jwt:0 ) + >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1* + >=dev-ruby/multi_xml-0.5:0 + >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*" +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^ end/ s:^:#:' \ + -e '/silent/I s:^:#:' \ + -e '1irequire "uri"' spec/helper.rb || die + + sed -i -e '/yardstick/,/^end/ s:^:#:' \ + -e '/bundler/I s:^:#:' Rakefile || die + + # Avoid spec that is too fragile in relation to ENV + sed -i -e '/outputs to $stdout when OAUTH_DEBUG=true/a skip "fragile ENV stubbing"' spec/oauth2/client_spec.rb || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + CI=true ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/oauth2/oauth2-1.4.4.ebuild b/dev-ruby/oauth2/oauth2-1.4.4.ebuild new file mode 100644 index 000000000000..50da772debc5 --- /dev/null +++ b/dev-ruby/oauth2/oauth2-1.4.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="oauth2.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem" +HOMEPAGE="https://github.com/intridea/oauth2" +SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.8 <dev-ruby/faraday-2.0 + || ( dev-ruby/jwt:2 dev-ruby/jwt:0 ) + >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1* + >=dev-ruby/multi_xml-0.5:0 + >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*" +ruby_add_bdepend "test? ( + >=dev-ruby/addressable-2.3 + dev-ruby/rspec:3 + dev-ruby/rspec-stubbed_env +)" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^ end/ s:^:#:' \ + -e '/silent/I s:^:#:' \ + -e '1irequire "uri"' spec/helper.rb || die + + sed -i -e '/yardstick/,/^end/ s:^:#:' \ + -e '/bundler/I s:^:#:' Rakefile || die + + # Avoid spec that is too fragile in relation to ENV + sed -i -e '/outputs to $stdout when OAUTH_DEBUG=true/a skip "fragile ENV stubbing"' spec/oauth2/client_spec.rb || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + CI=true ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest new file mode 100644 index 000000000000..459550518ec4 --- /dev/null +++ b/dev-ruby/octokit/Manifest @@ -0,0 +1,2 @@ +DIST octokit-4.17.0.tar.gz 3090364 BLAKE2B 42545bdaca8ecbbc3a3e78e70d535c634f20741651d41dfec254dd68254acbc82a992c93314b871d6bae7b4ca8321339b888fe7b5b7349fe9b48dbf6904f4524 SHA512 da6a90e77991d17697424da22c9481027f23f5ecb52e294748fe62c3a7c228412a276a01e6816b201e597b73f271b83e70c4d86ff9ea40c0204dae5c30df929a +DIST octokit-4.18.0.tar.gz 3091587 BLAKE2B b48ccfa35f53b686e61a0f79c09bf20f063843c98f75a0896e71739a33cf9b770c8b5e5c27cda2c8a25ca6255cfa7c4e389b372ca269d4c46b499abf1838a4ad SHA512 e749afc4303f987b502f8c79ff60e33c6f49ff84d25f16cdb3d9165c7089912570a7b77af3716341cd5216e5c8e3534a805e4347081ec7765a4e4f54fc432ce3 diff --git a/dev-ruby/octokit/metadata.xml b/dev-ruby/octokit/metadata.xml new file mode 100644 index 000000000000..957546c17241 --- /dev/null +++ b/dev-ruby/octokit/metadata.xml @@ -0,0 +1,12 @@ +<?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">octokit/octokit.rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/octokit/octokit-4.17.0.ebuild b/dev-ruby/octokit/octokit-4.17.0.ebuild new file mode 100644 index 000000000000..469e4b38183e --- /dev/null +++ b/dev-ruby/octokit/octokit-4.17.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby toolkit for the Github API" +HOMEPAGE="https://github.com/octokit/octokit.rb" +SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RUBY_S=octokit.rb-${PV} + +ruby_add_rdepend " + >=dev-ruby/faraday-0.9 + >=dev-ruby/sawyer-0.8.0 +" + +ruby_add_bdepend "test? ( dev-ruby/mime-types + >=dev-ruby/netrc-0.7.7 + dev-ruby/vcr:3 + dev-ruby/webmock:3 )" + +all_ruby_prepare() { + sed -i -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' spec/helper.rb || die +} diff --git a/dev-ruby/octokit/octokit-4.18.0-r1.ebuild b/dev-ruby/octokit/octokit-4.18.0-r1.ebuild new file mode 100644 index 000000000000..0b3ff206b168 --- /dev/null +++ b/dev-ruby/octokit/octokit-4.18.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby toolkit for the Github API" +HOMEPAGE="https://github.com/octokit/octokit.rb" +SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RUBY_S=octokit.rb-${PV} + +ruby_add_rdepend " + >=dev-ruby/faraday-0.9 + =dev-ruby/sawyer-0.8* +" + +ruby_add_bdepend "test? ( + dev-ruby/jwt + dev-ruby/mime-types + >=dev-ruby/netrc-0.7.7 + dev-ruby/vcr:3 + dev-ruby/webmock:3 )" + +all_ruby_prepare() { + sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \ + -e '/pry/ s:^:#:' \ + -i spec/helper.rb || die +} diff --git a/dev-ruby/octokit/octokit-4.18.0.ebuild b/dev-ruby/octokit/octokit-4.18.0.ebuild new file mode 100644 index 000000000000..93de98aa5d2a --- /dev/null +++ b/dev-ruby/octokit/octokit-4.18.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby toolkit for the Github API" +HOMEPAGE="https://github.com/octokit/octokit.rb" +SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RUBY_S=octokit.rb-${PV} + +ruby_add_rdepend " + >=dev-ruby/faraday-0.9 + =dev-ruby/sawyer-0.8* +" + +ruby_add_bdepend "test? ( dev-ruby/mime-types + >=dev-ruby/netrc-0.7.7 + dev-ruby/vcr:3 + dev-ruby/webmock:3 )" + +all_ruby_prepare() { + sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \ + -e '/pry/ s:^:#:' \ + -i spec/helper.rb || die +} diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest new file mode 100644 index 000000000000..5ff4d5727a13 --- /dev/null +++ b/dev-ruby/omniauth/Manifest @@ -0,0 +1,2 @@ +DIST omniauth-1.9.0.tar.gz 26060 BLAKE2B d0b7cd7536fc19184f56cc2b383ff70d7556d4794fb2981738216b770c340cc14025f1241a40260c0620a7bae73906c4baad1a9ce68402f0e7882128b620005d SHA512 8505fb5081f9f4daa143925b56804d81f656523c2e65c066668f2bc5c1da50cd17a06c86856e9f6560a71ee440804a536d3e814eb5dd34a0fd0c4ababe2fdadf +DIST omniauth-1.9.1.tar.gz 26528 BLAKE2B da096ce924972c867ade4cde7e6ec90f5a7de41947f5d04ad092174baf3073ba6b235ff998551d9bbc7f6dfa2a4290eef1e1d962590591cf29f89395a554f3a9 SHA512 687ab9ad47d57d1cbe01fb7ed37754fecb3b75b7e62853070b5880ad6347a2834524a8d4042271ecd7f708ab35b7b5bd3203058ef03c3317f26f88a7639c2672 diff --git a/dev-ruby/omniauth/metadata.xml b/dev-ruby/omniauth/metadata.xml new file mode 100644 index 000000000000..871aadd635b1 --- /dev/null +++ b/dev-ruby/omniauth/metadata.xml @@ -0,0 +1,12 @@ +<?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">intridea/omniauth</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/omniauth/omniauth-1.9.0.ebuild b/dev-ruby/omniauth/omniauth-1.9.0.ebuild new file mode 100644 index 000000000000..83b0ae242f0d --- /dev/null +++ b/dev-ruby/omniauth/omniauth-1.9.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A generalized Rack framework for multiple-provider authentication" +HOMEPAGE="https://github.com/intridea/omniauth" +SRC_URI="https://github.com/intridea/omniauth/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/rack-1.6.2:* <dev-ruby/rack-3:* + >=dev-ruby/hashie-3.4.6:3 <dev-ruby/hashie-3.7.0:3" +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/rack-test )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' \ + Rakefile ${PN}.gemspec || die "sed failed" + sed -i -e '/RUBY_VERSION/,/^end/ s:^:#:' spec/helper.rb || die "sed failed" + # maruku fails, resorting to default markdown implementation + sed -i -e '/maruku/d' .yardopts || die "sed failed" + + sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + yard || die "yard failed" + fi +} diff --git a/dev-ruby/omniauth/omniauth-1.9.1.ebuild b/dev-ruby/omniauth/omniauth-1.9.1.ebuild new file mode 100644 index 000000000000..d58ecb6d1b6b --- /dev/null +++ b/dev-ruby/omniauth/omniauth-1.9.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A generalized Rack framework for multiple-provider authentication" +HOMEPAGE="https://github.com/intridea/omniauth" +SRC_URI="https://github.com/intridea/omniauth/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/rack-1.6.2:* <dev-ruby/rack-3:* + >=dev-ruby/hashie-3.4.6:3 <dev-ruby/hashie-3.7.0:3" +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/rack-test )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' \ + Rakefile ${PN}.gemspec || die "sed failed" + sed -i -e '/RUBY_VERSION/,/^end/ s:^:#:' spec/helper.rb || die "sed failed" + # maruku fails, resorting to default markdown implementation + sed -i -e '/maruku/d' .yardopts || die "sed failed" + + sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + yard || die "yard failed" + fi +} diff --git a/dev-ruby/open4/Manifest b/dev-ruby/open4/Manifest new file mode 100644 index 000000000000..951c66cd1c5d --- /dev/null +++ b/dev-ruby/open4/Manifest @@ -0,0 +1 @@ +DIST open4-1.3.4.gem 18944 BLAKE2B 00ef3139cbf6ae175aaa40526c105d39fdfb07c69f0a3aaf607feb799f0a8adac99cd5ea5caac29c884374af6591f4049b3888626c24b3d2371d4c0c9019cc7a SHA512 838a18efcd093d55d9589ff9d5c11054618abef863224c2d9b31445dc735218c2f96d954040e2d3f8d5aab0140e54b627fcc4a1b01c17e59267402a2abdd8efb diff --git a/dev-ruby/open4/metadata.xml b/dev-ruby/open4/metadata.xml new file mode 100644 index 000000000000..9e39a3cfd96d --- /dev/null +++ b/dev-ruby/open4/metadata.xml @@ -0,0 +1,12 @@ +<?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">ahoward/open4</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/open4/open4-1.3.4.ebuild b/dev-ruby/open4/open4-1.3.4.ebuild new file mode 100644 index 000000000000..16eb7f32c6ed --- /dev/null +++ b/dev-ruby/open4/open4-1.3.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="Open3::popen3 with exit status" +HOMEPAGE="https://github.com/ahoward/open4" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + mv rakefile Rakefile || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} + +each_ruby_test() { + ${RUBY} -Ilib -Itest/lib test/*.rb || die +} diff --git a/dev-ruby/openssl-ccm/Manifest b/dev-ruby/openssl-ccm/Manifest new file mode 100644 index 000000000000..c4f85fc2bfb8 --- /dev/null +++ b/dev-ruby/openssl-ccm/Manifest @@ -0,0 +1,2 @@ +DIST openssl-ccm-1.2.1.gem 24576 BLAKE2B 8fa23198b9c4c324e6306382b4e5eaefcec33ca34cf4177faad5b10ff17111864a08ca77bfc3e1f10c71b4888bcbc2ec788120b1c1a4428ced0b03a7554bdde7 SHA512 9cb2d7d0bc97b41f217f79b8488c5b4381754cf429dc07fe89bd51aea432c5eb19a1992b7bf9c7a402308949a734599f07dbf818e72550cbd584849946e4b0ba +DIST openssl-ccm-1.2.2.gem 24576 BLAKE2B b94a205ce3b9d557ad649c0391428526339b050dd7a85633ee955b3532a94637e7c40a7cbb9bd739ff50f2922c97721e4dadf7e392c2aaaa38f35123858c01f2 SHA512 5f04af1ac65608e519fcf68259b2690f12882781cdba411939f809e1a6cb602723bf23d9cb920949e8eb7c4bfddb3e65446ae16d0276af78992de21cbfcdfc49 diff --git a/dev-ruby/openssl-ccm/metadata.xml b/dev-ruby/openssl-ccm/metadata.xml new file mode 100644 index 000000000000..fef88166db4d --- /dev/null +++ b/dev-ruby/openssl-ccm/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">SmallLars/openssl-ccm</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild b/dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild new file mode 100644 index 000000000000..e19ea531d646 --- /dev/null +++ b/dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="OpenSSL CBC-MAC (CCM) ruby gem" +HOMEPAGE="https://github.com/SmallLars/openssl-ccm" + +LICENSE="BSD" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/coverall/I s:^:#:' test/test_ccm.rb || die +} diff --git a/dev-ruby/openssl-ccm/openssl-ccm-1.2.2.ebuild b/dev-ruby/openssl-ccm/openssl-ccm-1.2.2.ebuild new file mode 100644 index 000000000000..388921ca3c8e --- /dev/null +++ b/dev-ruby/openssl-ccm/openssl-ccm-1.2.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="OpenSSL CBC-MAC (CCM) ruby gem" +HOMEPAGE="https://github.com/SmallLars/openssl-ccm" + +LICENSE="BSD" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/coverall/I s:^:#:' test/test_ccm.rb || die +} diff --git a/dev-ruby/optimist/Manifest b/dev-ruby/optimist/Manifest new file mode 100644 index 000000000000..66a9165897a0 --- /dev/null +++ b/dev-ruby/optimist/Manifest @@ -0,0 +1,2 @@ +DIST optimist-3.0.0.gem 29696 BLAKE2B d078a21fc95d64827e3f9a4539339ba3e3ba9f9649cb70d4e5a830f2523b02c4bb6aa1dca159a913d852aa2a320002beb6276d920ae1804bf65c9cf1535fc341 SHA512 1fcdc4dd01fb26d5b1d181913ad28314df05e60277bcf73b98e04a7463430a6c73396fb729e3cf34bc89e2eb8387d4d3294e93fcd530129a7bcd7efdcef5223f +DIST optimist-3.0.1.gem 30208 BLAKE2B 66778029b9e2ac2eb38beaab5cb73a4fe58b123c401fdfc00d924073a6dd97dca05bbf8ab3a88e47ca5f94ed920a583196d901c6a2a4962e93c8a2ef905173ba SHA512 209fbb355a7ba75208cef314ccaa188955463551d1c914f10409cac189375b5be40fbcdf0d88a5ce825c527bca7138528fafd6f37cf73f5e68f3b453f3ef8485 diff --git a/dev-ruby/optimist/metadata.xml b/dev-ruby/optimist/metadata.xml new file mode 100644 index 000000000000..b483bba27032 --- /dev/null +++ b/dev-ruby/optimist/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <longdescription> + Optimist is a commandline option parser for Ruby that just gets + out of your way. One line of code per option is all you need to + write. For that, you get a nice automatically-generated help page, + robust option parsing, command subcompletion, and sensible + defaults for everything you don't specify. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/optimist/optimist-3.0.0.ebuild b/dev-ruby/optimist/optimist-3.0.0.ebuild new file mode 100644 index 000000000000..ee9ce245c62d --- /dev/null +++ b/dev-ruby/optimist/optimist-3.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="A commandline option parser for Ruby that just gets out of your way." +HOMEPAGE="https://manageiq.github.io/optimist/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="3" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/chronic )" + +all_ruby_prepare() { + sed -i -e '/bundle/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + MUTANT=true ${RUBY} -S rake test || die "Tests failed." +} diff --git a/dev-ruby/optimist/optimist-3.0.1.ebuild b/dev-ruby/optimist/optimist-3.0.1.ebuild new file mode 100644 index 000000000000..c4bc22804cd4 --- /dev/null +++ b/dev-ruby/optimist/optimist-3.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="A commandline option parser for Ruby that just gets out of your way." +HOMEPAGE="https://manageiq.github.io/optimist/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="3" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/chronic )" + +all_ruby_prepare() { + sed -i -e '/bundle/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + MUTANT=true ${RUBY} -S rake test || die "Tests failed." +} diff --git a/dev-ruby/optionable/Manifest b/dev-ruby/optionable/Manifest new file mode 100644 index 000000000000..912aa058ccc3 --- /dev/null +++ b/dev-ruby/optionable/Manifest @@ -0,0 +1 @@ +DIST optionable-0.2.0.gem 9216 BLAKE2B 4d77994fc4a5b800d03f1fa675760f4755b5b0ed6ff18e79e15cb918129261a37bf09807bca504a0caba4eae8037b688933b7bf62b2770e8e451e7f4ef94980c SHA512 4c633c83cd51fb2f1771f5f842cc8024d769f644d513a8d4486c7960d2bdda81be44746a7bb4604bb458cd58c3bbb5db28cb426d25cded6098263798f7daa465 diff --git a/dev-ruby/optionable/metadata.xml b/dev-ruby/optionable/metadata.xml new file mode 100644 index 000000000000..05e94413fe13 --- /dev/null +++ b/dev-ruby/optionable/metadata.xml @@ -0,0 +1,12 @@ +<?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">durran/optionable</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/optionable/optionable-0.2.0.ebuild b/dev-ruby/optionable/optionable-0.2.0.ebuild new file mode 100644 index 000000000000..5022ef6d17da --- /dev/null +++ b/dev-ruby/optionable/optionable-0.2.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Robust options validation for Ruby methods" +HOMEPAGE="https://github.com/durran/optionable" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/org-ruby/Manifest b/dev-ruby/org-ruby/Manifest new file mode 100644 index 000000000000..64b9d2e10763 --- /dev/null +++ b/dev-ruby/org-ruby/Manifest @@ -0,0 +1 @@ +DIST org-ruby-0.9.12.tar.gz 143472 BLAKE2B c90e0f664f64be0449e63d717441f3c8aac9957c3b892392c8425847ea42dd23e3b7a598f57969432601ba9c6208633c7aa6e101a4684db2f68c07511bcb0458 SHA512 040c7bc9d9727fcec9bbd7ed4994ca489121c103d58242f98d340b4149f94cb97fc0bbc670bbd5dfba5a11de53930b579a33b6b1ffa343c7f2602674ec65aa07 diff --git a/dev-ruby/org-ruby/metadata.xml b/dev-ruby/org-ruby/metadata.xml new file mode 100644 index 000000000000..b82cb1ff1bff --- /dev/null +++ b/dev-ruby/org-ruby/metadata.xml @@ -0,0 +1,12 @@ +<?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">wallyqs/org-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/org-ruby/org-ruby-0.9.12.ebuild b/dev-ruby/org-ruby/org-ruby-0.9.12.ebuild new file mode 100644 index 000000000000..67e280f6fe86 --- /dev/null +++ b/dev-ruby/org-ruby/org-ruby-0.9.12.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="README.org History.org" + +inherit ruby-fakegem + +DESCRIPTION="Ruby routines for parsing org-mode files" +HOMEPAGE="https://github.com/wallyqs/org-ruby" +SRC_URI="https://github.com/wallyqs/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RUBY_S="${PN}-version-${PV}" + +ruby_add_rdepend ">=dev-ruby/rubypants-0.2:0" +ruby_add_bdepend "test? ( dev-ruby/tilt )" + +all_ruby_prepare() { + #Fix tests until rspec:3 is available in the tree + sed -i -e "s/truthy/true/" -e "s/falsy/false/" spec/headline_spec.rb spec/parser_spec.rb spec/line_spec.rb || die +} diff --git a/dev-ruby/origin/Manifest b/dev-ruby/origin/Manifest new file mode 100644 index 000000000000..54f738a065cc --- /dev/null +++ b/dev-ruby/origin/Manifest @@ -0,0 +1 @@ +DIST origin-2.3.1.tar.gz 44392 BLAKE2B f58b5f977070a3e14a3b80c5ce7fb2860eda6ea41a0b403e67ff6159ccc86d078e3cc42f7269cc9640f2e3f71d66a4c0ea02935efa6d6096c6eccf622595589c SHA512 f74e3ed163b2c9a6184be624f85bc810fcb414290c5701beee291f1c227f889bc75d78ab3cc008f92780823217c7cefe916ebb3e902e807a40f4d901465343fd diff --git a/dev-ruby/origin/metadata.xml b/dev-ruby/origin/metadata.xml new file mode 100644 index 000000000000..7a7b819c22ad --- /dev/null +++ b/dev-ruby/origin/metadata.xml @@ -0,0 +1,12 @@ +<?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">mongoid/origin</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/origin/origin-2.3.1.ebuild b/dev-ruby/origin/origin-2.3.1.ebuild new file mode 100644 index 000000000000..0d553e3754c8 --- /dev/null +++ b/dev-ruby/origin/origin-2.3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="mongoid" +GITHUB_PROJECT="${PN}" + +MY_PV="${PV/_rc/.rc}" + +inherit ruby-fakegem + +DESCRIPTION="Origin is a simple DSL for generating MongoDB selectors and options" +HOMEPAGE="http://mongoid.org/" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${MY_PV}.tar.gz -> ${GITHUB_PROJECT}-${MY_PV}.tar.gz" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend " + test? ( + dev-ruby/activesupport + || ( dev-ruby/i18n:1 dev-ruby/i18n:0.9 dev-ruby/i18n:0.7 ) + dev-ruby/tzinfo + )" diff --git a/dev-ruby/ox/Manifest b/dev-ruby/ox/Manifest new file mode 100644 index 000000000000..445335a967ed --- /dev/null +++ b/dev-ruby/ox/Manifest @@ -0,0 +1,6 @@ +DIST ox-2.10.1.tar.gz 200165 BLAKE2B 46daff5d1f0b4230fddfe72217b25a77de03f3a9431a6daa93e7bc88c46482b80717f1f2bc623fbf94f3bee90e2c3655aa1b6f6d48cb9b31cc5e530c14aef25a SHA512 b1f6ec2337e5d7db96cb2b3bacb4850b9b2b64426250203de7613845fa83ce68dddba0bb6a6560c8e04f0a6416a0dc9443a469d40261e6d6bc42b14239a1eaff +DIST ox-2.11.0.tar.gz 201028 BLAKE2B 52c908be2a1d08ad563137f99e68f7734c2fa6aa87391ddd5efddc60d2e4efcea93cba9097e3bf0373ee9d22fa101d6117e092414c7266045ed6d93a32951b12 SHA512 4a755f6d1f832ec41b50b92deb686307d177c35eb1e27bb1e61c0b0a698db7730239fa4167f8a84892a9fb81cc67abeef059b1138b01759ba993a57471e4eff7 +DIST ox-2.12.0.tar.gz 201909 BLAKE2B 02aad0b822463afce57447b8d2277f00015715eefd570025386d2ff745eac74a934df41c7ce4f4c742593b780783d7040dfcf712600dc6d1246de7a5d90b5e1c SHA512 09f3db6037662cbd6f4fb128f5df61ccf1d22c8949a315f766518984bf1ab57a83789d0b0a9f4982c5356e28190440092971163de3680b36285fab1fed0a91b5 +DIST ox-2.12.1.tar.gz 202784 BLAKE2B b42a364e4e2c1bfbefd06bd0b5162838e473cbd48582e20336cd50173278a81e56eb6cefb826b1155a19ab7ed1484f0e4a4715d640ff0ff7d4fb82d3feade647 SHA512 0bf3b4d21e5b09695595b3846ed893a0d23f4479388036447dc2bfa5440d1b4350289ef023176a9f1fc14383c76388d3ab906ba6c8c919b519bb029438cbd1b1 +DIST ox-2.13.1.tar.gz 208729 BLAKE2B 6d3b006ff252a048f1d634faee3d2d0d9b85e4a0aa06a42b84fe7dac27bf679a41ffadfab2590d925475ed88b8e7084f9d52a3c2257db51393303aaf02f36d1a SHA512 184b7cdb8a160c50b00683e6cad28532dd14d7af4d1c48c5e36c3120f0381271304a66c3ca0da381a62db6c5d628e27a2ee1ee4b866b212cabf18b3ce9a886d4 +DIST ox-2.13.2.tar.gz 208893 BLAKE2B 15e9fca55cb58c10d6336c1399048e72c059889da0b9df8050a6e4cd00393d11507768ed1cab23d452e792f4001a5935e70ba0be24186a1f96a43a7f272823fc SHA512 bc7d8d14c9e3a45529d8a4a32c01d7f51523f814407d437a7dfed0184fad16a9edf4a2b2317c28039613f8f0e0d367b42b4eb8fc00b01287b0154d520e37ce48 diff --git a/dev-ruby/ox/metadata.xml b/dev-ruby/ox/metadata.xml new file mode 100644 index 000000000000..e25b31d623c8 --- /dev/null +++ b/dev-ruby/ox/metadata.xml @@ -0,0 +1,12 @@ +<?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">ohler55/ox</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ox/ox-2.10.1.ebuild b/dev-ruby/ox/ox-2.10.1.ebuild new file mode 100644 index 000000000000..201f8604490d --- /dev/null +++ b/dev-ruby/ox/ox-2.10.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="http://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} diff --git a/dev-ruby/ox/ox-2.11.0.ebuild b/dev-ruby/ox/ox-2.11.0.ebuild new file mode 100644 index 000000000000..801336f6f2e8 --- /dev/null +++ b/dev-ruby/ox/ox-2.11.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="http://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} diff --git a/dev-ruby/ox/ox-2.12.0.ebuild b/dev-ruby/ox/ox-2.12.0.ebuild new file mode 100644 index 000000000000..2fa31d97bcfc --- /dev/null +++ b/dev-ruby/ox/ox-2.12.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ox.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="http://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} diff --git a/dev-ruby/ox/ox-2.12.1.ebuild b/dev-ruby/ox/ox-2.12.1.ebuild new file mode 100644 index 000000000000..dfa02327978f --- /dev/null +++ b/dev-ruby/ox/ox-2.12.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ox.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="https://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} diff --git a/dev-ruby/ox/ox-2.13.1.ebuild b/dev-ruby/ox/ox-2.13.1.ebuild new file mode 100644 index 000000000000..dfa02327978f --- /dev/null +++ b/dev-ruby/ox/ox-2.13.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ox.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="https://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} diff --git a/dev-ruby/ox/ox-2.13.2.ebuild b/dev-ruby/ox/ox-2.13.2.ebuild new file mode 100644 index 000000000000..dfa02327978f --- /dev/null +++ b/dev-ruby/ox/ox-2.13.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ox.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast XML parser and Object marshaller" +HOMEPAGE="https://www.ohler.com/ox/ https://github.com/ohler55/ox" +SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/ox extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ox + cp ext/ox/ox$(get_modname) lib/ox/ || die +} + +each_ruby_test() { + ${RUBY} test/tests.rb || die +} diff --git a/dev-ruby/packetfu/Manifest b/dev-ruby/packetfu/Manifest new file mode 100644 index 000000000000..a9be91484249 --- /dev/null +++ b/dev-ruby/packetfu/Manifest @@ -0,0 +1 @@ +DIST packetfu-1.1.13.gem 769024 BLAKE2B 6fa53680dec76c14c6cd73cac4e57acf2da5aaa2a9a6371d0b9fbea1e764d9e2eda09fcf0ad245eb62340fa0d3047e525ba290d4c45ff4739e28fd5782659cd6 SHA512 c3ee67bfd597dcd197f213361ab94c614136304d8746de45b99322c1b6878eaef7c4a2ebc19be658d891df3e7d261476def27ae14990157dc6cb466815bd6f15 diff --git a/dev-ruby/packetfu/metadata.xml b/dev-ruby/packetfu/metadata.xml new file mode 100644 index 000000000000..095e000f51b8 --- /dev/null +++ b/dev-ruby/packetfu/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">packetfu</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/packetfu/packetfu-1.1.13.ebuild b/dev-ruby/packetfu/packetfu-1.1.13.ebuild new file mode 100644 index 000000000000..45c488ef112b --- /dev/null +++ b/dev-ruby/packetfu/packetfu-1.1.13.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRAINSTALL="examples" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A mid-level packet manipulation library" +HOMEPAGE="https://rubygems.org/gems/packetfu" + +LICENSE="BSD" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" + +ruby_add_rdepend " + dev-ruby/network_interface:0 + dev-ruby/pcaprub:* +" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-its-1.2.0:1 ) + dev-ruby/bundler" +DEPEND="${DEPEND} !dev-ruby/packetfu:0" + +all_ruby_prepare() { + [ -f Gemfile.lock ] && rm Gemfile.lock + #For now, we don't support development or testing at all + #if ! use development; then + sed -i -e "/^group :development do/,/^end$/d" Gemfile || die + sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die + sed -i -e "/spec.add_development_dependency/d" "${PN}".gemspec || die + #fi + #if ! use test; then + sed -i -e "/^group :test do/,/^end$/d" Gemfile || die + #fi + #if ! use test && ! use development; then + sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die + #fi + sed -i -e '/[Cc]overalls/d' spec/spec_helper.rb || die +} diff --git a/dev-ruby/paint/Manifest b/dev-ruby/paint/Manifest new file mode 100644 index 000000000000..e53e668c44f3 --- /dev/null +++ b/dev-ruby/paint/Manifest @@ -0,0 +1,3 @@ +DIST paint-2.1.0.tar.gz 21894 BLAKE2B f67302d32e81a0e259e6ddc25afd945abe93b9dd921a3ed93271f1aeadf7ed0697c1f79869985e7714ac588f37e9e9d35564dd22baf4d909f59bf9adcc3354a3 SHA512 0de206c78c678d77cfdff0f26e42f2a045fc98a982943f7104d11e47cd4db9b196dba6a14eb09d98c103b3b70e13b84e48fe6261d2b03a9a0f4d4f10037a39cb +DIST paint-2.1.1.tar.gz 21939 BLAKE2B 32e0334e7119e58577214438e1274fc283a90ed748daba7a76dc9e82370a6d6c2f705c33afb1ba241b4a19b049d11ccfe97b497c936eb9f47f234aad1758dc85 SHA512 6f3a889b05a9227666c38005ae7af149b1edf7db4bad2aa9bd710444119b7b219bb316f6337f7fbea4b05ef4e8b292a62c372cc10cd99febed03cdc6fd61572d +DIST paint-2.2.0.tar.gz 22107 BLAKE2B 4f1e978023cd6edb371ae7315cc48451f3a911522f0d39b7dea264d8d112a6db4560507c33fdc55e247b782f30cd8b844d6c790ce86194c151acc7c2abc7f9c9 SHA512 67f9752d270ff8cd2706318a16b3b3980515bd07a55a2b8900eb79b200d6da87993185c839748052457536b82d53694bba33c0f64d8ada50b61a34c9985ba009 diff --git a/dev-ruby/paint/metadata.xml b/dev-ruby/paint/metadata.xml new file mode 100644 index 000000000000..83e0e10a0d35 --- /dev/null +++ b/dev-ruby/paint/metadata.xml @@ -0,0 +1,12 @@ +<?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">janlelis/paint</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/paint/paint-2.1.0.ebuild b/dev-ruby/paint/paint-2.1.0.ebuild new file mode 100644 index 000000000000..ab4a0db2f6c8 --- /dev/null +++ b/dev-ruby/paint/paint-2.1.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md SHORTCUTS.md" + +inherit ruby-fakegem + +DESCRIPTION="Terminal painter" +HOMEPAGE="https://github.com/janlelis/paint" +SRC_URI="https://github.com/janlelis/paint/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test doc" diff --git a/dev-ruby/paint/paint-2.1.1.ebuild b/dev-ruby/paint/paint-2.1.1.ebuild new file mode 100644 index 000000000000..ec09b1d5975b --- /dev/null +++ b/dev-ruby/paint/paint-2.1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md SHORTCUTS.md" + +RUBY_FAKEGEM_GEMSPEC=paint.gemspec + +inherit ruby-fakegem + +DESCRIPTION="Terminal painter" +HOMEPAGE="https://github.com/janlelis/paint" +SRC_URI="https://github.com/janlelis/paint/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test doc" diff --git a/dev-ruby/paint/paint-2.2.0.ebuild b/dev-ruby/paint/paint-2.2.0.ebuild new file mode 100644 index 000000000000..18aa33cbef8d --- /dev/null +++ b/dev-ruby/paint/paint-2.2.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md SHORTCUTS.md" + +RUBY_FAKEGEM_GEMSPEC=paint.gemspec + +inherit ruby-fakegem + +DESCRIPTION="Terminal painter" +HOMEPAGE="https://github.com/janlelis/paint" +SRC_URI="https://github.com/janlelis/paint/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test doc" diff --git a/dev-ruby/parallel/Manifest b/dev-ruby/parallel/Manifest new file mode 100644 index 000000000000..aac1a2f90d26 --- /dev/null +++ b/dev-ruby/parallel/Manifest @@ -0,0 +1,3 @@ +DIST parallel-1.18.0.tar.gz 21095 BLAKE2B d47286c719810699cd5098b9d28e4e00cec2a7a27141a2dd932023f9fdeaac389f2be9aa8196820ad3d28d26c141f41565ad363fdca9bbca75e18a8d9d7fa4b5 SHA512 2869a8b82da2b1f2595be04616afa5bce62eac3833d743304dc4371db63be7645437c009c202d4690fe5dc221766e2a0f25790335d7a25b355c3f3b8034f8319 +DIST parallel-1.19.1.tar.gz 21383 BLAKE2B 4ebcf58d91e9b0a8ff2b12654e967d153deec21fcfa0ac0e974db421a47abfbca78b67bd22a64b1ce1e66d53920b2d00f91c271cccd94cc9f16b88f87f613985 SHA512 bf9c19d181c26fb54c9962cf867955e59e61134eb2e1d2ad4f09675979ffc17ab2db8954d057929baa2e780e2b01cccf0c8d27661b61ab89c988b161666df9fa +DIST parallel-1.19.2.tar.gz 21752 BLAKE2B aac6564ad95d8e366ad079854f22e7dcb149643db5792ee81c84c8c765185e367dedd0e635d2373aeefcd84997da89f9f9f4f6c398e753af4a1ddbf90e428dd0 SHA512 192ce4dc18ecb47522360d0d7022a9e20d72e90ad09889f1b7f29c20c74c980319956f316a35aad0fc7efcd8aac5a635da69eebcf78ba34659365df20e402c3c diff --git a/dev-ruby/parallel/metadata.xml b/dev-ruby/parallel/metadata.xml new file mode 100644 index 000000000000..f67db56804a5 --- /dev/null +++ b/dev-ruby/parallel/metadata.xml @@ -0,0 +1,12 @@ +<?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">grosser/parallel</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/parallel/parallel-1.18.0.ebuild b/dev-ruby/parallel/parallel-1.18.0.ebuild new file mode 100644 index 000000000000..c7ad1888fe50 --- /dev/null +++ b/dev-ruby/parallel/parallel-1.18.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="parallel.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Run any code in parallel Processes or Threads" +HOMEPAGE="https://github.com/grosser/parallel" +LICENSE="MIT" +SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" +SLOT="1" +IUSE="test" + +DEPEND+="test? ( sys-process/lsof )" + +ruby_add_bdepend " + test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:5.2 dev-ruby/sqlite3 )" + +each_ruby_prepare() { + # Make sure the correct ruby is used for testing + sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' \ + -e '1i require "tempfile"; gem "activerecord", "~>5.2.0"' spec/cases/helper.rb || die + sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die + + # Avoid a failing spec regarding to pipes. The spec seems like it + # should always fail. + sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \ + -i spec/parallel_spec.rb || die + + # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then. + sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die + + # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything + sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die +} + +each_ruby_test() { + # Set RUBYLIB explicitly for the ruby's that get started from the specs. + TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/parallel/parallel-1.19.1.ebuild b/dev-ruby/parallel/parallel-1.19.1.ebuild new file mode 100644 index 000000000000..d7f244875903 --- /dev/null +++ b/dev-ruby/parallel/parallel-1.19.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="parallel.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Run any code in parallel Processes or Threads" +HOMEPAGE="https://github.com/grosser/parallel" +LICENSE="MIT" +SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" +SLOT="1" +IUSE="test" + +DEPEND+="test? ( sys-process/lsof sys-process/procps )" + +ruby_add_bdepend " + test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:5.2 dev-ruby/sqlite3 )" + +each_ruby_prepare() { + # Make sure the correct ruby is used for testing + sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' \ + -e '1i require "tempfile"; gem "activerecord", "~>5.2.0"' spec/cases/helper.rb || die + sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die + + # Avoid a failing spec regarding to pipes. The spec seems like it + # should always fail. + sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \ + -i spec/parallel_spec.rb || die + + # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then. + sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die + + # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything + sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die +} + +each_ruby_test() { + # Set RUBYLIB explicitly for the ruby's that get started from the specs. + TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/parallel/parallel-1.19.2.ebuild b/dev-ruby/parallel/parallel-1.19.2.ebuild new file mode 100644 index 000000000000..e49b4e4213b2 --- /dev/null +++ b/dev-ruby/parallel/parallel-1.19.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="parallel.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Run any code in parallel Processes or Threads" +HOMEPAGE="https://github.com/grosser/parallel" +LICENSE="MIT" +SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" +SLOT="1" +IUSE="test" + +DEPEND+="test? ( sys-process/lsof sys-process/procps )" + +ruby_add_bdepend " + test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:6.0 dev-ruby/sqlite3 )" + +each_ruby_prepare() { + # Make sure the correct ruby is used for testing + sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' \ + -e '1i require "tempfile"; gem "activerecord", "~>6.0.0"' spec/cases/helper.rb || die + sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die + + # Avoid a failing spec regarding to pipes. The spec seems like it + # should always fail. + sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \ + -i spec/parallel_spec.rb || die + + # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then. + sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die + + # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything + sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die +} + +each_ruby_test() { + # Set RUBYLIB explicitly for the ruby's that get started from the specs. + TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/paramesan/Manifest b/dev-ruby/paramesan/Manifest new file mode 100644 index 000000000000..00177c3f5ff6 --- /dev/null +++ b/dev-ruby/paramesan/Manifest @@ -0,0 +1 @@ +DIST paramesan-0.1.1.tgz 4064 BLAKE2B f6c0e8b0df885e9dda4d5c2a3f0226703a94237707b877a7b82d5b8b0fdc812fcf289019a1ed550640a7f99a59a0b0389407857bc0e21987c7dd734734d32c0d SHA512 927595ed9686fb8833beaabf4421cb2c4908bf6e2e1c656034a79c839c292b503ca0ae211f8bdd3916501a281eb2f0b374fc5f4c90615629170e1ba767f0e7fc diff --git a/dev-ruby/paramesan/metadata.xml b/dev-ruby/paramesan/metadata.xml new file mode 100644 index 000000000000..c4e22958f75e --- /dev/null +++ b/dev-ruby/paramesan/metadata.xml @@ -0,0 +1,12 @@ +<?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">jpace/riel</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/paramesan/paramesan-0.1.1.ebuild b/dev-ruby/paramesan/paramesan-0.1.1.ebuild new file mode 100644 index 000000000000..0c42565d823e --- /dev/null +++ b/dev-ruby/paramesan/paramesan-0.1.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="paramesan.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Parameterized tests in Ruby" +HOMEPAGE="https://github.com/jpace/paramesan" + +SRC_URI="https://github.com/jpace/paramesan/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ~ppc ~sparc x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest new file mode 100644 index 000000000000..6d5bff950fd5 --- /dev/null +++ b/dev-ruby/parser/Manifest @@ -0,0 +1,6 @@ +DIST parser-2.6.5.0.gem 710144 BLAKE2B 72ae2ddd179b3d05ed94ff43d80940cf3b9e04445e4ee713284b35db016a50266891761fb84e2f56d9abe4fe41b7d6813b468cc618801561883b9178311001e6 SHA512 ffa73aba17be57ba8fe685213b5c009a4ba5e72dd165b63ec49f83562e4f501bd1c20e40893e7ea3e977f47aa10d1afd055578a031d8ec9cd0b5ad081c43ea39 +DIST parser-2.7.1.0.gem 726016 BLAKE2B 55386c4d2107230e17d1bce7997c15512024d93e65e21ca7d1e850e433dcaf7daa75d180967b40c109d3361824c3d9e1c6ef992602c6eec3b7a2c9679993bc72 SHA512 f6e4e814836798045c9eadf84aefe0394b0e8b3dc47d9e6c0e7e372cc4ad13653a45aac10c03e94f79a879b99cb43eaf8cdc4a899a41d463ecae76205d2943a7 +DIST parser-2.7.1.1.gem 727040 BLAKE2B 5deb439440cff0f95cfa99969a70c926a82bb0d30f842f0a0915e2e1b7dc6eb4c12e059e8b2f8882b2f772777d611de7ea9133f68a6b0a5954c6446f2dafd1c3 SHA512 29345f4cdbc424e07184b97c4dfab39be2b61f5ae57dba53ee8775fa0251b23f01375f281922f65c64cb0f6998f87144e685db2c9e0815ea7747ea573fa38f56 +DIST parser-2.7.1.2.gem 782848 BLAKE2B 87a0ca30fe277d88a8ef013c450ab2823469a723906ecd67f4ed859e016d5df25b1c976a47c2333e538b7e8b99ce948e58f51a1a21c7686439382ff1e11e5222 SHA512 74c44c64d305de18de745ab09f63041d73435aa4c5a07042178a8a6a35cfdef30e1b55c02c7e7dc97469b8c46a705159a4f746da1c3b3f3a74df1d2d830ddcd3 +DIST parser-2.7.1.3.gem 785920 BLAKE2B 85ec4c6d0ff2c86937f3ca43e27d222d75c98a6d7c5cc38a58f466aa905f303577fb20cbd02e6c295f45ca9b83fa8decf27c7ed22149b0cfc6cec3b1a71afce8 SHA512 eb9018deda2418e728925c48fa27d373f3a25ae562b92798e6ce42e225afaf9631bcd3c98999ff5d11daf464d80a887f7f2b5a23ae9dafa5e12ffd8b46d7bf88 +DIST parser-2.7.1.4.gem 790016 BLAKE2B ac3266b686a04f1bebb59bfe2c3dfa1a3791596d2b606d3d0d40b9a96c0b56c08d89da77e659dc8a50b4ea39a2ae4134b69eb9c27afac60fb666a228d25d3fc1 SHA512 ee22f6e9622a460b9f4a9be840c8bb850f5c7c5f7fad4503e518376378d45e2bfb8e6113c25a3f4decc93bad9ea9b4616e8e0ff1bf46a21120c43d0f675c3b9a diff --git a/dev-ruby/parser/metadata.xml b/dev-ruby/parser/metadata.xml new file mode 100644 index 000000000000..862b4267aa6d --- /dev/null +++ b/dev-ruby/parser/metadata.xml @@ -0,0 +1,12 @@ +<?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">whitequark/parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/parser/parser-2.6.5.0.ebuild b/dev-ruby/parser/parser-2.6.5.0.ebuild new file mode 100644 index 000000000000..1ec9261115c9 --- /dev/null +++ b/dev-ruby/parser/parser-2.6.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/racc + dev-ruby/cliver )" +ruby_add_rdepend "=dev-ruby/ast-2.4*" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/parser/parser-2.7.1.0.ebuild b/dev-ruby/parser/parser-2.7.1.0.ebuild new file mode 100644 index 000000000000..a1dfc9b62aad --- /dev/null +++ b/dev-ruby/parser/parser-2.7.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/racc + dev-ruby/cliver )" +ruby_add_rdepend "=dev-ruby/ast-2.4*" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/parser/parser-2.7.1.1.ebuild b/dev-ruby/parser/parser-2.7.1.1.ebuild new file mode 100644 index 000000000000..a1dfc9b62aad --- /dev/null +++ b/dev-ruby/parser/parser-2.7.1.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/racc + dev-ruby/cliver )" +ruby_add_rdepend "=dev-ruby/ast-2.4*" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/parser/parser-2.7.1.2.ebuild b/dev-ruby/parser/parser-2.7.1.2.ebuild new file mode 100644 index 000000000000..a74e07888a7c --- /dev/null +++ b/dev-ruby/parser/parser-2.7.1.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+="test? ( =dev-util/ragel-6* )" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/racc + dev-ruby/cliver )" +ruby_add_rdepend "=dev-ruby/ast-2.4*" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/parser/parser-2.7.1.3.ebuild b/dev-ruby/parser/parser-2.7.1.3.ebuild new file mode 100644 index 000000000000..a74e07888a7c --- /dev/null +++ b/dev-ruby/parser/parser-2.7.1.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+="test? ( =dev-util/ragel-6* )" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/racc + dev-ruby/cliver )" +ruby_add_rdepend "=dev-ruby/ast-2.4*" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/parser/parser-2.7.1.4.ebuild b/dev-ruby/parser/parser-2.7.1.4.ebuild new file mode 100644 index 000000000000..83eae080a852 --- /dev/null +++ b/dev-ruby/parser/parser-2.7.1.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+="test? ( =dev-util/ragel-6* )" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/racc + dev-ruby/cliver )" +ruby_add_rdepend "=dev-ruby/ast-2.4* >=dev-ruby/ast-2.4.1" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} diff --git a/dev-ruby/parslet/Manifest b/dev-ruby/parslet/Manifest new file mode 100644 index 000000000000..667d4ebcc338 --- /dev/null +++ b/dev-ruby/parslet/Manifest @@ -0,0 +1 @@ +DIST parslet-1.8.2.tar.gz 244557 BLAKE2B efd5355672a148189176349946e7cf3b9f11d16e75739792b42a89d538ae100bf0f2e36d0b25ea281f2559b3f37d2b4043c8216c4d52f8df289e9df3f6b3d3fe SHA512 7b6ccfcb7651c7844241a99747a97c822facf1fd84cf2b680cb044623d600a5bd10ddf5db76ab25208b18949bc2041306740931da4327934b241a5b1f706ca20 diff --git a/dev-ruby/parslet/metadata.xml b/dev-ruby/parslet/metadata.xml new file mode 100644 index 000000000000..68763c09e768 --- /dev/null +++ b/dev-ruby/parslet/metadata.xml @@ -0,0 +1,12 @@ +<?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">kschiess/parslet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/parslet/parslet-1.8.2.ebuild b/dev-ruby/parslet/parslet-1.8.2.ebuild new file mode 100644 index 000000000000..589b70c4941e --- /dev/null +++ b/dev-ruby/parslet/parslet-1.8.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_EXTRADOC="HISTORY.txt README" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A small PEG based parser library" +HOMEPAGE="https://github.com/kschiess/parslet" +SRC_URI="https://github.com/kschiess/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +IUSE="" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +ruby_add_bdepend "test? ( dev-ruby/ae dev-ruby/ansi dev-ruby/flexmock )" + +all_ruby_prepare() { + sed -i -e "/sdoc/d" Rakefile || die +} diff --git a/dev-ruby/pastel/Manifest b/dev-ruby/pastel/Manifest new file mode 100644 index 000000000000..e771233e073b --- /dev/null +++ b/dev-ruby/pastel/Manifest @@ -0,0 +1,3 @@ +DIST pastel-0.7.2.gem 49152 BLAKE2B 37380dd9f44f2e816628bda1ed359aeaa961c9b1c18a0e76b4b04fea39906e53601aba17fd2c1cd0571357697296ee1afce3a52fbdc33475a1560c3c2f52e567 SHA512 83cf7ef04800a77ee91692de5b89c6bfe6590be72f24dda74ee53809b14b7e2e9c6e70e9a829eff7aa8dd02a191057dc5f5c5528d36fe2bfd211e1c499d276f0 +DIST pastel-0.7.3.gem 22016 BLAKE2B 0e883969446c9c64389a6280de3f94c6e4970321051bfa718698ea0ce2594ac9a36e32f29946fbceb98015644d529c8dbdafb9f1fdb2fe0825b3d9477b75f4b8 SHA512 71cefdac478c709c8d4899021438945c841e4eada2411aae3165e8444835bd9aed27ad9083fe223b115206311fa579d4160cde136bd7a21df5bdcf2589234177 +DIST pastel-0.7.4.tar.gz 48176 BLAKE2B 3564aba28f9315d2f988dabdd0686e6c7a53c1b200e6e03519c1ebcde917503760d4f0d790e456c7a732b47535f692d7f5b88cf786e5b4236e9b2e8b5eee66d7 SHA512 a1ad8487babd1e788282e141538855370e09bb2745731670b814cb4572c54e0568955108f7657809b98f92b94d9d94cdd555e2db8146b20f80db98bbab3512ea diff --git a/dev-ruby/pastel/metadata.xml b/dev-ruby/pastel/metadata.xml new file mode 100644 index 000000000000..677df85a15d3 --- /dev/null +++ b/dev-ruby/pastel/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/pastel</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pastel/pastel-0.7.2.ebuild b/dev-ruby/pastel/pastel-0.7.2.ebuild new file mode 100644 index 000000000000..6d9396841321 --- /dev/null +++ b/dev-ruby/pastel/pastel-0.7.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Terminal strings styling with intuitive and clean API" +HOMEPAGE="https://github.com/piotrmurach/pastel" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + =dev-ruby/equatable-0.5* + =dev-ruby/tty-color-0.4* +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/pastel/pastel-0.7.3.ebuild b/dev-ruby/pastel/pastel-0.7.3.ebuild new file mode 100644 index 000000000000..1c31bf4be965 --- /dev/null +++ b/dev-ruby/pastel/pastel-0.7.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Terminal strings styling with intuitive and clean API" +HOMEPAGE="https://github.com/piotrmurach/pastel" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/equatable-0.6:0 + >=dev-ruby/tty-color-0.5:0 +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/pastel/pastel-0.7.4.ebuild b/dev-ruby/pastel/pastel-0.7.4.ebuild new file mode 100644 index 000000000000..fdd5b02e3bc1 --- /dev/null +++ b/dev-ruby/pastel/pastel-0.7.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="pastel.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Terminal strings styling with intuitive and clean API" +HOMEPAGE="https://github.com/piotrmurach/pastel" +SRC_URI="https://github.com/piotrmurach/pastel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/equatable-0.6:0 + >=dev-ruby/tty-color-0.5:0 +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/patch_finder/Manifest b/dev-ruby/patch_finder/Manifest new file mode 100644 index 000000000000..e564c2e13a94 --- /dev/null +++ b/dev-ruby/patch_finder/Manifest @@ -0,0 +1 @@ +DIST patch_finder-1.0.2.gem 14848 BLAKE2B d876bb130d0174f762032aba3c1326633fc10ed539b697a83dcf7999d1ae0f5045e5d12ad409d60bebff894dee315bd19523a225885fa8d99d489ccd88434cf8 SHA512 24b269fcf9d379ca07aaecb8a9282086767eed0dfa9a12cd2523eda488621a81e90c4cb386600f3120bd503e0de1887f6826da33df4e77c5c8eb3fae61e7ca8f diff --git a/dev-ruby/patch_finder/metadata.xml b/dev-ruby/patch_finder/metadata.xml new file mode 100644 index 000000000000..f4cb0154be40 --- /dev/null +++ b/dev-ruby/patch_finder/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">wchen-r7/patch-finder</remote-id> + <remote-id type="rubygems">patch_finder</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/patch_finder/patch_finder-1.0.2.ebuild b/dev-ruby/patch_finder/patch_finder-1.0.2.ebuild new file mode 100644 index 000000000000..4e7103536d10 --- /dev/null +++ b/dev-ruby/patch_finder/patch_finder-1.0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Generic Patch Finder" +HOMEPAGE="https://github.com/wchen-r7/patch-finder" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +IUSE="" diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest new file mode 100644 index 000000000000..2dd42752f29f --- /dev/null +++ b/dev-ruby/path_expander/Manifest @@ -0,0 +1,4 @@ +DIST path_expander-1.0.3.gem 13312 BLAKE2B 79be135b73f192e86cbdfae7a203434c4c8b1535c2db959141db79fd6a2eedd92c6436376485ccf3f8c15efcda31de40a7dd5a8c71eece17ca1e72f7bd7e95b7 SHA512 e05d66759a863f69845e41da1677f2020111e85e206d58acb93d18e044833f70b9420929e731884e6bcd156988ca3ae836f9913697ec85756a71f68499469ef2 +DIST path_expander-1.0.4.gem 13312 BLAKE2B 9372b904a490cc07a29430a397d84d09484486517769a7803e983af31f6a181c7a5f8c2af15e5fcdfd9b794c9bfa1f5bd908c39d22c2b2e2dc7b8eb0a929592c SHA512 69d45724f3ba406a6dc96df06be1dd9cc869a52c4ea19eac9b900a8db083ce04fad4dbb37e5e75f5a229114f7b65023df2edd7c367a0670432e74105cd3c298c +DIST path_expander-1.0.5.gem 13312 BLAKE2B 2edea26334df78dc5f3b9b4b0030141c7af61c93c47a921b6dffe02dd8018336dedb9d5a5dba92ccad42ca935d8e4c58be9f3c284263bac56af4d31c107f9258 SHA512 ef5d4798481988ed07ea801c8e7173ac6bdc62554a9c38337e09853f87e49783b64a4e9ee4f4fc63968ebbd324e4960a4ccbc53bded64248d89de25a930c11fb +DIST path_expander-1.1.0.gem 13312 BLAKE2B dca42a0e995d7ef87cef3dd26251ce378df33db557c5089b58f1130ed4c61b5521012198e381853c3583601d990aeff3a8463393e89e891b2ca9c923831ba31d SHA512 eebcd1caafba5c40512cc0c6e3419137fc169215d2eac77914419d9f3a6e200350d742b13953b2dbbdd532c9ef73e950c920017a4f178941c1e04ee832e038f7 diff --git a/dev-ruby/path_expander/metadata.xml b/dev-ruby/path_expander/metadata.xml new file mode 100644 index 000000000000..dc233c0d7995 --- /dev/null +++ b/dev-ruby/path_expander/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/path_expander</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/path_expander/path_expander-1.0.3.ebuild b/dev-ruby/path_expander/path_expander-1.0.3.ebuild new file mode 100644 index 000000000000..e197c8a5c3a4 --- /dev/null +++ b/dev-ruby/path_expander/path_expander-1.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files" +HOMEPAGE="https://github.com/seattlerb/path_expander" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="1" +IUSE="" + +all_ruby_prepare() { + # Fix tests depending on sort order + sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \ + -e '33 s/$/.sort/' \ + -e '83 s/act/act.sort/' \ + test/test_path_expander.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/path_expander/path_expander-1.0.4.ebuild b/dev-ruby/path_expander/path_expander-1.0.4.ebuild new file mode 100644 index 000000000000..8bca9466ad0d --- /dev/null +++ b/dev-ruby/path_expander/path_expander-1.0.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files" +HOMEPAGE="https://github.com/seattlerb/path_expander" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="1" +IUSE="" + +all_ruby_prepare() { + # Fix tests depending on sort order + sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \ + -e '33 s/$/.sort/' \ + -e '83 s/act/act.sort/' \ + test/test_path_expander.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/path_expander/path_expander-1.0.5.ebuild b/dev-ruby/path_expander/path_expander-1.0.5.ebuild new file mode 100644 index 000000000000..6c8722ce1e1e --- /dev/null +++ b/dev-ruby/path_expander/path_expander-1.0.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files" +HOMEPAGE="https://github.com/seattlerb/path_expander" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="1" +IUSE="" + +all_ruby_prepare() { + # Fix tests depending on sort order + sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \ + -e '33 s/$/.sort/' \ + -e '83 s/act/act.sort/' \ + test/test_path_expander.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/path_expander/path_expander-1.1.0.ebuild b/dev-ruby/path_expander/path_expander-1.1.0.ebuild new file mode 100644 index 000000000000..6c8722ce1e1e --- /dev/null +++ b/dev-ruby/path_expander/path_expander-1.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files" +HOMEPAGE="https://github.com/seattlerb/path_expander" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="1" +IUSE="" + +all_ruby_prepare() { + # Fix tests depending on sort order + sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \ + -e '33 s/$/.sort/' \ + -e '83 s/act/act.sort/' \ + test/test_path_expander.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/pathutil/Manifest b/dev-ruby/pathutil/Manifest new file mode 100644 index 000000000000..e051c37e686d --- /dev/null +++ b/dev-ruby/pathutil/Manifest @@ -0,0 +1 @@ +DIST pathutil-0.16.2.tar.gz 26079 BLAKE2B 5a9d1dac1f1171ee6bc447725c04883cb56a9071927f3e0fdbcb9754345ac77a6609533a1308a411cb22658caeb2a4bed49225923af109bca288cfb3aeb3d669 SHA512 d06daf365b94dacd33966f3928a53f0f00d2fca7b9f6348a7efd2b55ab5ba937459e5bd78fde241f30749a1ae55e4ae3ba1ed8945b5333464e7d3ce9666cd054 diff --git a/dev-ruby/pathutil/metadata.xml b/dev-ruby/pathutil/metadata.xml new file mode 100644 index 000000000000..74bbd35faa00 --- /dev/null +++ b/dev-ruby/pathutil/metadata.xml @@ -0,0 +1,13 @@ +<?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">envygeeks/pathutils</remote-id> + <remote-id type="rubygems">pathutil</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pathutil/pathutil-0.16.2.ebuild b/dev-ruby/pathutil/pathutil-0.16.2.ebuild new file mode 100644 index 000000000000..8b97ba38abb5 --- /dev/null +++ b/dev-ruby/pathutil/pathutil-0.16.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="Gem.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Like Pathname but a little less insane" +HOMEPAGE="https://rubygems.org/gems/pathutil https://github.com/envygeeks/pathutils" +SRC_URI="https://github.com/envygeeks/pathutil/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/forwardable-extended-2.6 + <dev-ruby/forwardable-extended-3" + +ruby_add_bdepend "test? ( dev-ruby/safe_yaml )" + +all_ruby_prepare() { + sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"; require "tmpdir"; require "json"' \ + spec/rspec/helper.rb || die + rm -f spec/support/coverage.rb || die +} diff --git a/dev-ruby/patron/Manifest b/dev-ruby/patron/Manifest new file mode 100644 index 000000000000..b22add4d380b --- /dev/null +++ b/dev-ruby/patron/Manifest @@ -0,0 +1,2 @@ +DIST patron-0.13.1.gem 64512 BLAKE2B 14f691cb0fd1c863a1ef634ba8aee94751095138e940f13bf09860e9e0061872fe14fa33416f59f82d4adc53963721d653936a3f058b27654ea7593d6068d0b7 SHA512 7b082ff7442c2635c38b37132cd61f6cd18d4792d41cbf3bed1201fb7371b75bb628a295f4e3dd173c23e086d3c1f54f0217df3f7d1a30c1031fcca86269e1e7 +DIST patron-0.13.3.gem 65024 BLAKE2B 87aa69aab49978d14a80ed9e09d74d7853da3512875cc3aecd3f387d1523b85c84625b57a5826e5f5f999cec4feaae58c1aaae96582144a5c9dc537c9d5a4224 SHA512 afbbbd9570e338a5d1b97b4ebeda76ac95a22c29d908629723d345a47400183c2ccee67ebcaf5b6f9ecb032eb3b847e70ec9eebff75b33045a3665c215abfbd0 diff --git a/dev-ruby/patron/metadata.xml b/dev-ruby/patron/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/patron/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/patron/patron-0.13.1-r1.ebuild b/dev-ruby/patron/patron-0.13.1-r1.ebuild new file mode 100644 index 000000000000..f80cf6aa85ad --- /dev/null +++ b/dev-ruby/patron/patron-0.13.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" +HOMEPAGE="https://toland.github.com/patron/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND+=" net-misc/curl" +RDEPEND+=" net-misc/curl" + +ruby_add_bdepend "test? ( www-servers/puma )" + +all_ruby_prepare() { + # Fix Rakefile + sed -i -e 's:rake/rdoctask:rdoc/task:' \ + -e 's/README.txt/README.md/' \ + -e '/bundler/I s:^:#:' \ + -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' \ + Rakefile || die + + # Avoid specs with failures. We were not running any specs before. + rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/patron extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/patron V=1 + cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to cp shared object file" +} diff --git a/dev-ruby/patron/patron-0.13.3.ebuild b/dev-ruby/patron/patron-0.13.3.ebuild new file mode 100644 index 000000000000..5ab39b36bb23 --- /dev/null +++ b/dev-ruby/patron/patron-0.13.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" +HOMEPAGE="https://toland.github.com/patron/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND+=" net-misc/curl" +RDEPEND+=" net-misc/curl" + +ruby_add_bdepend "test? ( dev-ruby/rack www-servers/puma )" + +all_ruby_prepare() { + # Fix Rakefile + sed -i -e 's:rake/rdoctask:rdoc/task:' \ + -e 's/README.txt/README.md/' \ + -e '/bundler/I s:^:#:' \ + -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' \ + Rakefile || die + + # Avoid specs with failures. We were not running any specs before. + rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/patron extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/patron V=1 + cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to cp shared object file" +} diff --git a/dev-ruby/pcaprub/Manifest b/dev-ruby/pcaprub/Manifest new file mode 100644 index 000000000000..8983ed69ca5d --- /dev/null +++ b/dev-ruby/pcaprub/Manifest @@ -0,0 +1,2 @@ +DIST pcaprub-0.12.4.gem 36864 BLAKE2B c2e86624431cc758059a997ebae716adb1d7de74ba62a375787608f6c68f7b85a614ec5859e251724475e1b68e8e90108f408a2e833f896461a95bda04d4d9ad SHA512 707221429dcdf95eba24076589054dd022ba8a479148c3ec8ce9667016225ee64bed13d3fdf8ebd46027244feec8e77a484c67f040d0439bfa44d9212997645b +DIST pcaprub-0.13.0.gem 36864 BLAKE2B 0a0ca07da261de2e8bd7aaa131bbda9f6ee3cd5eb5fa214c552179c707d20345bcedc8db5d49590e69c41220e69f93a6d9f0b1c1b6f768c25ab648d50dead388 SHA512 6099996cca317194582a50ac89769d11ba802a9658c67f707e342b3c345bcaab26fba5ca2dc245a39eeb01f9ff6fdde1ae64a3a1ee4dd0e5243bae2ebed37e5f diff --git a/dev-ruby/pcaprub/metadata.xml b/dev-ruby/pcaprub/metadata.xml new file mode 100644 index 000000000000..f14f672f7402 --- /dev/null +++ b/dev-ruby/pcaprub/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">pcaprub</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pcaprub/pcaprub-0.12.4.ebuild b/dev-ruby/pcaprub/pcaprub-0.12.4.ebuild new file mode 100644 index 000000000000..0583d22c61a2 --- /dev/null +++ b/dev-ruby/pcaprub/pcaprub-0.12.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="FAQ.rdoc README.rdoc USAGE.rdoc" + +inherit multilib ruby-fakegem versionator + +DESCRIPTION="Libpcap bindings for ruby compat" +HOMEPAGE="https://rubygems.org/gems/pcaprub" + +LICENSE="LGPL-2.1" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~x86" + +DEPEND+="net-libs/libpcap" +RDEPEND+="net-libs/libpcap" + +# Tests require live access to a network device as root. +RESTRICT="test" + +each_ruby_configure() { + ${RUBY} -Cext/pcaprub_c extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/pcaprub_c V=1 + cp ext/pcaprub_c/pcaprub_c$(get_modname) lib || die +} diff --git a/dev-ruby/pcaprub/pcaprub-0.13.0.ebuild b/dev-ruby/pcaprub/pcaprub-0.13.0.ebuild new file mode 100644 index 000000000000..77eb258180f0 --- /dev/null +++ b/dev-ruby/pcaprub/pcaprub-0.13.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="FAQ.rdoc README.rdoc USAGE.rdoc" + +inherit multilib ruby-fakegem eapi7-ver + +DESCRIPTION="Libpcap bindings for ruby compat" +HOMEPAGE="https://rubygems.org/gems/pcaprub" + +LICENSE="LGPL-2.1" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" + +DEPEND+="net-libs/libpcap" +RDEPEND+="net-libs/libpcap" + +# Tests require live access to a network device as root. +RESTRICT="test" + +each_ruby_configure() { + ${RUBY} -Cext/pcaprub_c extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/pcaprub_c V=1 + cp ext/pcaprub_c/pcaprub_c$(get_modname) lib || die +} diff --git a/dev-ruby/pdf-core/Manifest b/dev-ruby/pdf-core/Manifest new file mode 100644 index 000000000000..ef1ff37254b9 --- /dev/null +++ b/dev-ruby/pdf-core/Manifest @@ -0,0 +1,2 @@ +DIST pdf-core-0.7.0.tar.gz 43382 BLAKE2B 55116d0d997d5e76d94fab0be9bbea273bcd677fee951a71e3209bd764560c4f14fcd55ccb11748041582a12d4a06819a6203453f0e440718533a92287dfcad7 SHA512 c99409284e9f7f929902d88ff7943b3dc6b37c32d67ceaa15ad79e1f9a02b561af59889dae4344a1a7749edbb6705e06f6ca356f08ca38742a2623168d53d29d +DIST pdf-core-0.8.1.tar.gz 44159 BLAKE2B 9f199a76434ba1813a9d23f1d489a7aa9eea2bb76dcaccbf35323b1d36beb88ee2a2d642eeab872c3ae4911ff461cb3335d8a5d7a90b880c3b5bf52fa40a15ed SHA512 83d5adfb77938caa1458c262ea466377bc5185ff35e18eb365ce8e20f4f317fe17cc50043c2eb76d863bbadcf13f91cd792b2bbb4828d5383fa0e8b8c20cc8d0 diff --git a/dev-ruby/pdf-core/metadata.xml b/dev-ruby/pdf-core/metadata.xml new file mode 100644 index 000000000000..70595c76039d --- /dev/null +++ b/dev-ruby/pdf-core/metadata.xml @@ -0,0 +1,12 @@ +<?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">prawnpdf/pdf-core</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pdf-core/pdf-core-0.7.0.ebuild b/dev-ruby/pdf-core/pdf-core-0.7.0.ebuild new file mode 100644 index 000000000000..fb60f1fb4caf --- /dev/null +++ b/dev-ruby/pdf-core/pdf-core-0.7.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Implements low level PDF features for Prawn" +HOMEPAGE="https://github.com/prawnpdf/pdf-core/" +SRC_URI="https://github.com/prawnpdf/pdf-core/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( =dev-ruby/pdf-inspector-1* + >=dev-ruby/pdf-reader-1.2 =dev-ruby/pdf-reader-1* )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" spec/spec_helper.rb || die +} diff --git a/dev-ruby/pdf-core/pdf-core-0.8.1.ebuild b/dev-ruby/pdf-core/pdf-core-0.8.1.ebuild new file mode 100644 index 000000000000..41183b5105d9 --- /dev/null +++ b/dev-ruby/pdf-core/pdf-core-0.8.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Implements low level PDF features for Prawn" +HOMEPAGE="https://github.com/prawnpdf/pdf-core/" +SRC_URI="https://github.com/prawnpdf/pdf-core/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( =dev-ruby/pdf-inspector-1* + >=dev-ruby/pdf-reader-1.2 =dev-ruby/pdf-reader-1* )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" spec/spec_helper.rb || die +} diff --git a/dev-ruby/pdf-inspector/Manifest b/dev-ruby/pdf-inspector/Manifest new file mode 100644 index 000000000000..8f650ca806f0 --- /dev/null +++ b/dev-ruby/pdf-inspector/Manifest @@ -0,0 +1 @@ +DIST pdf-inspector-1.3.0.gem 30720 BLAKE2B b3c6b2a4085ebfcf64901a8a0edb8fe762b00db648c74c37ca3ca80b645ab65b006eaf875e1cee109f6a7d30f97617053d0f7c548360281d21acf316f496eb7a SHA512 7c89f8656908d70495fd03e3ab2faf9b133d34c607ea63978731088d8b954d29e1e6e907b1e0d81bfbc35ecfa394badbd0e2c996ff94d6bbc7e78f4d7082d115 diff --git a/dev-ruby/pdf-inspector/metadata.xml b/dev-ruby/pdf-inspector/metadata.xml new file mode 100644 index 000000000000..8727bd1e2053 --- /dev/null +++ b/dev-ruby/pdf-inspector/metadata.xml @@ -0,0 +1,12 @@ +<?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">prawnpdf/pdf-inspector</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pdf-inspector/pdf-inspector-1.3.0.ebuild b/dev-ruby/pdf-inspector/pdf-inspector-1.3.0.ebuild new file mode 100644 index 000000000000..717b930aba91 --- /dev/null +++ b/dev-ruby/pdf-inspector/pdf-inspector-1.3.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A tool for analyzing PDF output" +HOMEPAGE="https://github.com/prawnpdf/pdf-inspector" + +LICENSE="|| ( Ruby GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/pdf-reader-1.0:* <dev-ruby/pdf-reader-3:*" diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest new file mode 100644 index 000000000000..87f0aa5142b2 --- /dev/null +++ b/dev-ruby/pdf-reader/Manifest @@ -0,0 +1,3 @@ +DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5 +DIST pdf-reader-2.3.0.tar.gz 11012191 BLAKE2B 9c6f7a06ac831f1916c3f578319651aa65dff6fece65647493130a16f2137b98c78a3d73aac56066a28ca7fec16fcc37628aa778f72391912f88fd928c3cf364 SHA512 df50fffba868df470481ad8dd5ca46014702d4b5b60784240f1bb8a7e8df4c5ffa889b6f9ae25f836f5592678a387462bb6673ca145f03f41e2dbf24d85ea79c +DIST pdf-reader-2.4.0.tar.gz 11025697 BLAKE2B 6886090ce7e293280db434ab7a8e866f11fa8debad3767ea5fee337f481a8695c98bc9dbd46e7e29b132f7f9675a0ce13b957962189bcffe46d37d826e9a2bef SHA512 965b016f8d71e46f1f483c48470049b2ae7eebe72b8e7ae9e50a7ebbf6e72e409e84bf4a6e612f6b76713afd6b38f7fc7f24ae5e898d12fa8f65e3878575c090 diff --git a/dev-ruby/pdf-reader/metadata.xml b/dev-ruby/pdf-reader/metadata.xml new file mode 100644 index 000000000000..df0334b7c84a --- /dev/null +++ b/dev-ruby/pdf-reader/metadata.xml @@ -0,0 +1,12 @@ +<?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">yob/pdf-reader</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pdf-reader/pdf-reader-1.4.1-r2.ebuild b/dev-ruby/pdf-reader/pdf-reader-1.4.1-r2.ebuild new file mode 100644 index 000000000000..650630a34e24 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-1.4.1-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +GITHUB_USER=yob + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO" + +RUBY_FAKEGEM_GEMSPEC="pdf-reader.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe" +HOMEPAGE="https://github.com/yob/pdf-reader/" + +# We cannot use the gem distributions because they don't contain the +# tests' data, we have to rely on the git tags. +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/afm-0.2.1 + =dev-ruby/ascii85-1* + =dev-ruby/hashery-2* + dev-ruby/ttfunk:* + dev-ruby/ruby-rc4" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/pdf-reader/pdf-reader-2.3.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.3.0.ebuild new file mode 100644 index 000000000000..cabe29ec9f67 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GITHUB_USER=yob + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="pdf-reader.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe" +HOMEPAGE="https://github.com/yob/pdf-reader/" + +# We cannot use the gem distributions because they don't contain the +# tests' data, we have to rely on the git tags. +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND+=" !!<dev-ruby/pdf-reader-1.4.1-r2" + +ruby_add_rdepend ">=dev-ruby/afm-0.2.1 =dev-ruby/afm-0.2* + =dev-ruby/ascii85-1* + =dev-ruby/hashery-2* + dev-ruby/ttfunk:* + dev-ruby/ruby-rc4" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/pdf-reader/pdf-reader-2.4.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.4.0.ebuild new file mode 100644 index 000000000000..cdf696b73982 --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-2.4.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GITHUB_USER=yob + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="pdf-reader.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe" +HOMEPAGE="https://github.com/yob/pdf-reader/" + +# We cannot use the gem distributions because they don't contain the +# tests' data, we have to rely on the git tags. +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND+=" !!<dev-ruby/pdf-reader-1.4.1-r2" + +ruby_add_rdepend ">=dev-ruby/afm-0.2.1 =dev-ruby/afm-0.2* + =dev-ruby/ascii85-1* + =dev-ruby/hashery-2* + dev-ruby/ttfunk:* + dev-ruby/ruby-rc4" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/permutation/Manifest b/dev-ruby/permutation/Manifest new file mode 100644 index 000000000000..d2d4af5dad4c --- /dev/null +++ b/dev-ruby/permutation/Manifest @@ -0,0 +1 @@ +DIST permutation-0.1.8.gem 18432 BLAKE2B 719d2c8c3006d821e69a5540a387f5e783aa0b9270bc650110171ad7d049835d4317deec68535dd9d1119259272867d6abffe97aabb9daa6c55b1d367da4bbd8 SHA512 78f9679a652d3f18ea4b459aeeceb3e25c912e28b7d9052c523b930e94e841fa84daa329f9ff06a23456cd7ab826f18cea181b85dfcfecbf303747990fa9a582 diff --git a/dev-ruby/permutation/metadata.xml b/dev-ruby/permutation/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/permutation/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/permutation/permutation-0.1.8-r1.ebuild b/dev-ruby/permutation/permutation-0.1.8-r1.ebuild new file mode 100644 index 000000000000..605ec839f5a8 --- /dev/null +++ b/dev-ruby/permutation/permutation-0.1.8-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Library performing operations with permutations of sequences (strings, arrays)" +HOMEPAGE="https://flori.github.com/permutation" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +each_ruby_test() { + ${RUBY} -Ilib test/test.rb || die +} diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest new file mode 100644 index 000000000000..57efe85aa02e --- /dev/null +++ b/dev-ruby/pg/Manifest @@ -0,0 +1,2 @@ +DIST pg-0.21.0.gem 214016 BLAKE2B 9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4 SHA512 590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b +DIST pg-1.2.2.gem 196608 BLAKE2B 068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca SHA512 5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951 diff --git a/dev-ruby/pg/files/postgresql10-tests.patch b/dev-ruby/pg/files/postgresql10-tests.patch new file mode 100644 index 000000000000..f9b7c1579a91 --- /dev/null +++ b/dev-ruby/pg/files/postgresql10-tests.patch @@ -0,0 +1,49 @@ +# HG changeset patch +# User Lars Kanis <kanis@comcard.de> +# Date 1508756565 -7200 +# Node ID fe63160e8a9803e257231d879fab2841ba44c37a +# Parent d6d5533dfca85b618232fe3e9e56e59dbee99de6 +Adjust tests for PostgreSQL-10 + +diff --git a/spec/helpers.rb b/spec/helpers.rb +--- a/spec/helpers.rb ++++ b/spec/helpers.rb +@@ -251,7 +251,7 @@ + + def check_for_lingering_connections( conn ) + conn.exec( "SELECT * FROM pg_stat_activity" ) do |res| +- conns = res.find_all {|row| row['pid'].to_i != conn.backend_pid } ++ conns = res.find_all {|row| row['pid'].to_i != conn.backend_pid && ["client backend", nil].include?(row["backend_type"]) } + unless conns.empty? + puts "Lingering connections remain:" + conns.each do |row| +diff --git a/spec/pg/connection_spec.rb b/spec/pg/connection_spec.rb +--- a/spec/pg/connection_spec.rb ++++ b/spec/pg/connection_spec.rb +@@ -232,7 +232,7 @@ + described_class.connect(@conninfo).finish + sleep 0.5 + res = @conn.exec(%[SELECT COUNT(*) AS n FROM pg_stat_activity +- WHERE usename IS NOT NULL]) ++ WHERE usename IS NOT NULL AND application_name != '']) + # there's still the global @conn, but should be no more + expect( res[0]['n'] ).to eq( '1' ) + end +@@ -1537,9 +1537,14 @@ + end + + it "shouldn't type map params unless requested" do +- expect{ +- @conn.exec_params( "SELECT $1", [5] ) +- }.to raise_error(PG::IndeterminateDatatype) ++ if @conn.server_version < 100000 ++ expect{ ++ @conn.exec_params( "SELECT $1", [5] ) ++ }.to raise_error(PG::IndeterminateDatatype) ++ else ++ # PostgreSQL-10 maps to TEXT type (OID 25) ++ expect( @conn.exec_params( "SELECT $1", [5] ).ftype(0)).to eq(25) ++ end + end + + it "should raise an error on invalid encoder to put_copy_data" do diff --git a/dev-ruby/pg/metadata.xml b/dev-ruby/pg/metadata.xml new file mode 100644 index 000000000000..c4da31be74e0 --- /dev/null +++ b/dev-ruby/pg/metadata.xml @@ -0,0 +1,12 @@ +<?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="bitbucket">ged/ruby-pg</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild new file mode 100644 index 000000000000..c16d6e8292b0 --- /dev/null +++ b/dev-ruby/pg/pg-0.21.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby extension library providing an API to PostgreSQL" +HOMEPAGE="https://bitbucket.org/ged/ruby-pg/" + +LICENSE="|| ( GPL-2 Ruby )" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND+=" dev-db/postgresql:*" +DEPEND+=" dev-db/postgresql + test? ( >=dev-db/postgresql-9.4[server,threads] )" + +PATCHES=( "${FILESDIR}/postgresql10-tests.patch" ) + +all_ruby_prepare() { + # hack the Rakefile to make it sure that it doesn't load + # rake-compiler (so that we don't have to depend on it and it + # actually works when building with USE=doc). + sed -i \ + -e '/Rakefile.cross/s:^:#:' \ + -e '/ExtensionTask/,/^end$/ s:^:#:' \ + Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/*$(get_libname) lib || die +} + +each_ruby_test() { + if [[ "${EUID}" -ne "0" ]]; then + # Make the rspec call explicit, this way we don't have to depend + # on rake-compiler (nor rubygems) _and_ we don't have to rebuild + # the whole extension from scratch. + RSPEC_VERSION=3 ruby-ng_rspec + else + ewarn "The userpriv feature must be enabled to run tests." + eerror "Testsuite will not be run." + fi +} diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild new file mode 100644 index 000000000000..5d247396a6eb --- /dev/null +++ b/dev-ruby/pg/pg-1.2.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby extension library providing an API to PostgreSQL" +HOMEPAGE="https://bitbucket.org/ged/ruby-pg/" + +LICENSE="|| ( GPL-2 Ruby )" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND+=" dev-db/postgresql:*" +DEPEND+=" dev-db/postgresql + test? ( >=dev-db/postgresql-9.4[server(+),threads] )" + +all_ruby_prepare() { + # hack the Rakefile to make it sure that it doesn't load + # rake-compiler (so that we don't have to depend on it and it + # actually works when building with USE=doc). + sed -i \ + -e '/Rakefile.cross/s:^:#:' \ + -e '/ExtensionTask/,/^end$/ s:^:#:' \ + Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/*$(get_libname) lib || die +} + +each_ruby_test() { + if [[ "${EUID}" -ne "0" ]]; then + # Make the rspec call explicit, this way we don't have to depend + # on rake-compiler (nor rubygems) _and_ we don't have to rebuild + # the whole extension from scratch. + RSPEC_VERSION=3 ruby-ng_rspec + else + ewarn "The userpriv feature must be enabled to run tests." + eerror "Testsuite will not be run." + fi +} diff --git a/dev-ruby/pg_array_parser/Manifest b/dev-ruby/pg_array_parser/Manifest new file mode 100644 index 000000000000..24aa0695e6bb --- /dev/null +++ b/dev-ruby/pg_array_parser/Manifest @@ -0,0 +1 @@ +DIST pg_array_parser-0.0.9.gem 8192 BLAKE2B 5b647cb3bca2b965348cfb5c442f4bf9c58d03f66c422768b22836d8a9cf73d9b2b242a055df0bea708b617d0a3ca84abe8100007ca259eeea4dd089385db860 SHA512 a1503d9598e1658eb63b6294ce1cf6f8d2e7e5c59382407946ec10d25a46b029b4bb8a8c634b190b42bef4954c4aeea60b6ffa16c596e0c3bea2df4c882896ae diff --git a/dev-ruby/pg_array_parser/metadata.xml b/dev-ruby/pg_array_parser/metadata.xml new file mode 100644 index 000000000000..f853b9d010ac --- /dev/null +++ b/dev-ruby/pg_array_parser/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">dockyard/pg_array_parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pg_array_parser/pg_array_parser-0.0.9-r2.ebuild b/dev-ruby/pg_array_parser/pg_array_parser-0.0.9-r2.ebuild new file mode 100644 index 000000000000..760466076b4e --- /dev/null +++ b/dev-ruby/pg_array_parser/pg_array_parser-0.0.9-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem versionator + +DESCRIPTION="Simple library to parse PostgreSQL arrays into a array of strings" +HOMEPAGE="https://github.com/dockyard/pg_array_parser" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-3)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "dev-ruby/bundler" + +all_ruby_prepare() { + [ -f Gemfile.lock ] && rm Gemfile.lock + #if ! use development; then + sed -i -e "/^group :development do/,/^end$/d" Gemfile || die + sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die + sed -i -e "/gem.add_development_dependency/d" "${PN}".gemspec || die + #fi + #if ! use test; then + sed -i -e "/^group :test do/,/^end$/d" Gemfile || die + #fi + #if ! use test && ! use development; then + sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die + #fi +} + +each_ruby_prepare() { + if [ -f Gemfile ]; then + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die + fi +} + +each_ruby_configure() { + ${RUBY} -Cext/pg_array_parser extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/pg_array_parser V=1 + cp ext/pg_array_parser/pg_array_parser.so lib/ +} diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest new file mode 100644 index 000000000000..099763b47b17 --- /dev/null +++ b/dev-ruby/pkg-config/Manifest @@ -0,0 +1,2 @@ +DIST pkg-config-1.2.8.gem 20480 BLAKE2B cc11b5eff30f0f5e1a91e64902931ed540da108fd326fe731b71527c9c4310f55e9002617e1baae4f71a4b705b20cf10f6fa112f8ef56971e82868145d372a47 SHA512 d83a599a48c7d404946054c6846b6cfd9fce2a264c288519a6eccd9787f05d45397dd46300bf97c80700921456318154ea6d44ba32cd159803471073c2a2b065 +DIST pkg-config-1.4.1.gem 22016 BLAKE2B efac610221b288bb669a3783c0e70af3951478147896315c53af2186912b60045096c0ba01a0a59ce09897a2e4e747d28a091b947281fe7f6dd6f85cea31aae7 SHA512 72d61466c1ea53a5eda66a8e8f8106fef0269fefdd349ac83959a34bb8f36796bd3e9c7fbcbad5763d2fca015c65436f9d410724e27b6d1c495e3957d26757a6 diff --git a/dev-ruby/pkg-config/metadata.xml b/dev-ruby/pkg-config/metadata.xml new file mode 100644 index 000000000000..b4d86957bdde --- /dev/null +++ b/dev-ruby/pkg-config/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">rcairo/pkg-config</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pkg-config/pkg-config-1.2.8.ebuild b/dev-ruby/pkg-config/pkg-config-1.2.8.ebuild new file mode 100644 index 000000000000..d1785313937c --- /dev/null +++ b/dev-ruby/pkg-config/pkg-config-1.2.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="A pkg-config implementation by Ruby" +HOMEPAGE="https://github.com/rcairo/pkg-config" +LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )" + +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" +# this is used for testing +DEPEND+=" test? ( x11-libs/cairo )" + +all_ruby_prepare() { + # drop failing tests + sed -i -e "/test_cflags/,/end/d"\ + -e "/test_cflags_only_I/,/end/d" test/test_pkg_config.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/test_${PN/-/_}.rb || die +} diff --git a/dev-ruby/pkg-config/pkg-config-1.4.1.ebuild b/dev-ruby/pkg-config/pkg-config-1.4.1.ebuild new file mode 100644 index 000000000000..2c1c5782020a --- /dev/null +++ b/dev-ruby/pkg-config/pkg-config-1.4.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS" + +inherit ruby-fakegem + +DESCRIPTION="A pkg-config implementation by Ruby" +HOMEPAGE="https://github.com/rcairo/pkg-config" +LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )" + +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" +# this is used for testing +DEPEND+=" test? ( x11-libs/cairo )" + +all_ruby_prepare() { + # drop failing tests + sed -i -e "/test_cflags/,/end/d"\ + -e "/test_cflags_only_I/,/end/d" test/test_pkg_config.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/test_${PN/-/_}.rb || die +} diff --git a/dev-ruby/plist/Manifest b/dev-ruby/plist/Manifest new file mode 100644 index 000000000000..a56d24dfff1c --- /dev/null +++ b/dev-ruby/plist/Manifest @@ -0,0 +1,2 @@ +DIST plist-3.4.0.tar.gz 36637 BLAKE2B 8ea6b11c9adca311d91cf22f7ca11cdcb3acbbb97e18a813de754acc4474183fdd7cdb569b8fe64da06170219ef2fdcabec1d2349399006254c7f399365d1f97 SHA512 01dc47b183b7dce1f20fad8d68d1bebbb6d509c62b77f41855305bf5aafd1abf7960d74f1cb9d2467648a166fbb1747bbdd57f228f10ac091d16ab1a7189525b +DIST plist-3.5.0.tar.gz 36650 BLAKE2B 8f93f8ef2fdedd9da50c4bdf9c473d3b199cd828909ea1572b761bc4e8d0508e997a60737ea21c7fa96764787ecefd41aa0b0046f94d3f89de796a746a794e21 SHA512 b1c9ccd66db1e0d1ebef3931f6db0f57ace2a1bb417885da48e9658c66af28997b6675a8050db78fe0083f05afc91e1313cb823d79553288d7c0c4a3a9762920 diff --git a/dev-ruby/plist/metadata.xml b/dev-ruby/plist/metadata.xml new file mode 100644 index 000000000000..0fb7297130a0 --- /dev/null +++ b/dev-ruby/plist/metadata.xml @@ -0,0 +1,12 @@ +<?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">patsplat/plist</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/plist/plist-3.4.0.ebuild b/dev-ruby/plist/plist-3.4.0.ebuild new file mode 100644 index 000000000000..e61a98bd1f1a --- /dev/null +++ b/dev-ruby/plist/plist-3.4.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library to manipulate Property List files, also known as plists" +HOMEPAGE="https://github.com/patsplat/plist" +SRC_URI="https://github.com/patsplat/plist/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/plist/plist-3.5.0.ebuild b/dev-ruby/plist/plist-3.5.0.ebuild new file mode 100644 index 000000000000..3208cf05db0b --- /dev/null +++ b/dev-ruby/plist/plist-3.5.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library to manipulate Property List files, also known as plists" +HOMEPAGE="https://github.com/patsplat/plist" +SRC_URI="https://github.com/patsplat/plist/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/pluggaloid/Manifest b/dev-ruby/pluggaloid/Manifest new file mode 100644 index 000000000000..33d018a5f1b1 --- /dev/null +++ b/dev-ruby/pluggaloid/Manifest @@ -0,0 +1,5 @@ +DIST pluggaloid-1.2.0.gem 14848 BLAKE2B ee092768b9aac2c64a0ded18f328f0f1a5d67d073da28a3029c9be13554f77565ed2338fe9630115067ecc1d0d712273642e0679a43f822995faaff48cdd7849 SHA512 b17bd264c2e8027ae1a9288b5b9a12f5c0e4c91bebf9cee5328bfe61aaa32662f55901d5ece030702780756474d54028272c7cef18fc79982d9d7c48f04b5acb +DIST pluggaloid-1.3.1.gem 16384 BLAKE2B cea02ddee3d0edc48b5a43de7737e1ee85d3bb00fa29367e1e540e9824d0433a4973b30214f5b0a01b981d6983d9d783753565598fa9b3815fb31d0a02cbe1ea SHA512 4db3a26d940d55487614e67aeb135121f19261e6d63e77d623f89b2b4eef275c035abb83e1d2d5197a27248c944110a26196f5ff1915fd14bac7d3b39827a020 +DIST pluggaloid-1.4.0.gem 18432 BLAKE2B 4df2180a2facb3d0d82f891bfcf888629fe211cb69ef3e5934619136df7b72f28c0f56e7dd76dde7667eca079beb9c9e5f716662185c565b7252713217fdde8a SHA512 75ce56c1831d79fed9216f0b217ec1a0962db2ba98cb690debeb8edca8a4c27f4f40f498440b35595d756d5a3790fe422fdd63cdf39cd8c157f8bc200879c018 +DIST pluggaloid-1.4.1.gem 18432 BLAKE2B 7f7fde7074547f27248874fa3ec0e7e9a671d8aaaac31dfd5a53e0f377ab28034ed5a3322131bae8d178a32b3d8ad874f329670ac5899527927627d358d60d26 SHA512 fc800576bed6a99d42f43baff482d4242584a4a301d22dd243e58c43800e72e2fd35f997fcfd92a443edf3c99e489d52fd14e6413c8c6e66809fca90cdbbde06 +DIST pluggaloid-1.5.0.gem 19968 BLAKE2B 39fce1d3077a0d2b2b969c8a6b48850b0451e8ff50e76ceca8a094f866c5de8be3a4a26458b86cae82ecba881203e1b9546464e80a482b287457c24fff3eb751 SHA512 ec5196d2ec7c61b0979693fbe603ab52451a0c66ef74b9b1486f2f9a3fbd41ffafbdc25acfb8e4f815eabf7e1829c5eb6792a71b6a7e1dfcda6a64ef21b034fb diff --git a/dev-ruby/pluggaloid/metadata.xml b/dev-ruby/pluggaloid/metadata.xml new file mode 100644 index 000000000000..062e74f9eadb --- /dev/null +++ b/dev-ruby/pluggaloid/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">delayer-deferred</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pluggaloid/pluggaloid-1.2.0.ebuild b/dev-ruby/pluggaloid/pluggaloid-1.2.0.ebuild new file mode 100644 index 000000000000..750c3f247644 --- /dev/null +++ b/dev-ruby/pluggaloid/pluggaloid-1.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Pluggaloid is extensible plugin system for mikutter" +HOMEPAGE="https://rubygems.org/gems/pluggaloid/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/delayer:1 + dev-ruby/instance_storage:0 +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/*_test.rb || die +} diff --git a/dev-ruby/pluggaloid/pluggaloid-1.3.1.ebuild b/dev-ruby/pluggaloid/pluggaloid-1.3.1.ebuild new file mode 100644 index 000000000000..5929c9c70901 --- /dev/null +++ b/dev-ruby/pluggaloid/pluggaloid-1.3.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Pluggaloid is extensible plugin system for mikutter" +HOMEPAGE="https://rubygems.org/gems/pluggaloid/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/delayer-1.1.0:1 + dev-ruby/instance_storage:0 +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/*_test.rb || die +} diff --git a/dev-ruby/pluggaloid/pluggaloid-1.4.0.ebuild b/dev-ruby/pluggaloid/pluggaloid-1.4.0.ebuild new file mode 100644 index 000000000000..493b5e874163 --- /dev/null +++ b/dev-ruby/pluggaloid/pluggaloid-1.4.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Pluggaloid is extensible plugin system for mikutter" +HOMEPAGE="https://rubygems.org/gems/pluggaloid/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/delayer-1.1.0:1 + dev-ruby/instance_storage:0 +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/*_test.rb || die +} diff --git a/dev-ruby/pluggaloid/pluggaloid-1.4.1.ebuild b/dev-ruby/pluggaloid/pluggaloid-1.4.1.ebuild new file mode 100644 index 000000000000..493b5e874163 --- /dev/null +++ b/dev-ruby/pluggaloid/pluggaloid-1.4.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Pluggaloid is extensible plugin system for mikutter" +HOMEPAGE="https://rubygems.org/gems/pluggaloid/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/delayer-1.1.0:1 + dev-ruby/instance_storage:0 +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/*_test.rb || die +} diff --git a/dev-ruby/pluggaloid/pluggaloid-1.5.0.ebuild b/dev-ruby/pluggaloid/pluggaloid-1.5.0.ebuild new file mode 100644 index 000000000000..493b5e874163 --- /dev/null +++ b/dev-ruby/pluggaloid/pluggaloid-1.5.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem +DESCRIPTION="Pluggaloid is extensible plugin system for mikutter" +HOMEPAGE="https://rubygems.org/gems/pluggaloid/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/delayer-1.1.0:1 + dev-ruby/instance_storage:0 +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/*_test.rb || die +} diff --git a/dev-ruby/podcast/Manifest b/dev-ruby/podcast/Manifest new file mode 100644 index 000000000000..0630e50ca43f --- /dev/null +++ b/dev-ruby/podcast/Manifest @@ -0,0 +1 @@ +DIST podcast-0.0.4.gem 1166848 BLAKE2B dbe6931da156025bed3862cf6185ce00385ea704e5552e9c83c3d0a9aba40d7071eab4a69e95835be7782892254d43e96dad33e38974d41845d899eaba63ee54 SHA512 5be795a7f614f616e93ed2e1fdcbfcd1513fabfc6a728dee0216907d951ceab37e909d2cdc44697f7d6497e21537bafa68bdac196255233cc3126e40c48dec95 diff --git a/dev-ruby/podcast/metadata.xml b/dev-ruby/podcast/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/podcast/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/podcast/podcast-0.0.4-r2.ebuild b/dev-ruby/podcast/podcast-0.0.4-r2.ebuild new file mode 100644 index 000000000000..801480697d65 --- /dev/null +++ b/dev-ruby/podcast/podcast-0.0.4-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby library for generating podcasts from mp3 files" +HOMEPAGE="http://podcast.rubyforge.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="test" + +ruby_add_rdepend "dev-ruby/ruby-mp3info" + +each_ruby_test() { + ${RUBY} -Ilib test/ts_podcast.rb || die "Tests failed." +} diff --git a/dev-ruby/polyglot/Manifest b/dev-ruby/polyglot/Manifest new file mode 100644 index 000000000000..75fa9bec3283 --- /dev/null +++ b/dev-ruby/polyglot/Manifest @@ -0,0 +1 @@ +DIST polyglot-0.3.5.gem 8192 BLAKE2B c9f78c05109345e09aa0d0c899e551e67ce7bf191ef00bf169cb05c9860ab538e303fa177c6aec8ac9944bd3ad4263fbf0819af0fa190e989caad1c75c1e5377 SHA512 405790c8edf5a98010334a62f7efeddd60f6dcff91ad5ff599579be3201a7e1b359787da59523a612fed5ccf8385116865316fa8872f0350e33dc078410a54cf diff --git a/dev-ruby/polyglot/metadata.xml b/dev-ruby/polyglot/metadata.xml new file mode 100644 index 000000000000..545994451d79 --- /dev/null +++ b/dev-ruby/polyglot/metadata.xml @@ -0,0 +1,14 @@ +<?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> + <longdescription> +Polyglot provides support for fully-custom DSLs by providing a +registry of file types that can be loaded by its improved version of +'require', using a custom loader for each file type. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/polyglot/polyglot-0.3.5.ebuild b/dev-ruby/polyglot/polyglot-0.3.5.ebuild new file mode 100644 index 000000000000..3f1076e95df3 --- /dev/null +++ b/dev-ruby/polyglot/polyglot-0.3.5.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Polyglot provides support for fully-custom DSLs" +HOMEPAGE="http://polyglot.rubyforge.org/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" diff --git a/dev-ruby/posix-spawn/Manifest b/dev-ruby/posix-spawn/Manifest new file mode 100644 index 000000000000..694e58330f44 --- /dev/null +++ b/dev-ruby/posix-spawn/Manifest @@ -0,0 +1,2 @@ +DIST posix-spawn-0.3.13.gem 28160 BLAKE2B 68b1c241310c7b35bf8bea055e63a60320ae3fc877f9bc9f4e2dc0d30c1484eb5081be8c7d60309ed04900c410d52624dae6e37a0f134993f334526f2d9de98d SHA512 a9cd878571440cc0aaee541cbb97b6f4dcb03e48a8ef8588693f4c68990eb530e3b1685d615546763c9bba5d3109134442285023938eb2f116e9749f0da12bb9 +DIST posix-spawn-0.3.14.gem 29696 BLAKE2B 6c3cf234b8754b2757e0360f2b2bfd008628891ecec813dc3644f9a378317f3645908539588a3fbfae5a6fc4a0b9c5beb6fb925fdd9f6fb3cf8cdddbf6db448e SHA512 85d34d8301e1d0923831890d4ac3191e81cc4c716671bc3b71d44be92e9b0c278bd4ce17b9387fc10359266bbdee1e1aad5cb4bbf1c08ab385b023ba2fec74d7 diff --git a/dev-ruby/posix-spawn/files/posix-spawn-0.3.13-x86.patch b/dev-ruby/posix-spawn/files/posix-spawn-0.3.13-x86.patch new file mode 100644 index 000000000000..b96579b18281 --- /dev/null +++ b/dev-ruby/posix-spawn/files/posix-spawn-0.3.13-x86.patch @@ -0,0 +1,23 @@ +From 5201e921a788fbb97f14ea0c617a2213dc3da1ca Mon Sep 17 00:00:00 2001 +From: Pascal Terjan <pterjan@google.com> +Date: Sun, 20 Aug 2017 12:13:15 +0100 +Subject: [PATCH] Fix build when SIZEOF_INT == SIZEOF_LONG + +Signed-off-by: Aman Gupta <aman@tmm1.net> +--- + ext/posix-spawn.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ext/posix-spawn.c b/ext/posix-spawn.c +index 1659bed..2e4c4de 100644 +--- a/ext/posix-spawn.c ++++ b/ext/posix-spawn.c +@@ -61,7 +61,7 @@ posixspawn_obj_to_fd(VALUE obj) + * rb_fix2int takes care of raising if the provided object is a + * Bignum and is out of range of an int + */ +- fd = (int)rb_fix2int(obj); ++ fd = FIX2INT(obj); + break; + + case T_SYMBOL: diff --git a/dev-ruby/posix-spawn/metadata.xml b/dev-ruby/posix-spawn/metadata.xml new file mode 100644 index 000000000000..f7856a641db9 --- /dev/null +++ b/dev-ruby/posix-spawn/metadata.xml @@ -0,0 +1,12 @@ +<?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">rtomayko/posix-spawn</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/posix-spawn/posix-spawn-0.3.13-r1.ebuild b/dev-ruby/posix-spawn/posix-spawn-0.3.13-r1.ebuild new file mode 100644 index 000000000000..6818b5a420e1 --- /dev/null +++ b/dev-ruby/posix-spawn/posix-spawn-0.3.13-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md TODO HACKING" + +inherit ruby-fakegem + +DESCRIPTION="Library that implements a subset of the Ruby 1.9 Process::spawn" +HOMEPAGE="https://github.com/rtomayko/posix-spawn/" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +LICENSE="MIT LGPL-2.1" +SLOT="0" +IUSE="test" + +all_ruby_prepare() { + eapply "${FILESDIR}/${P}-x86.patch" +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/posix-spawn/posix-spawn-0.3.14.ebuild b/dev-ruby/posix-spawn/posix-spawn-0.3.14.ebuild new file mode 100644 index 000000000000..d123fe204ec0 --- /dev/null +++ b/dev-ruby/posix-spawn/posix-spawn-0.3.14.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md TODO HACKING" + +inherit ruby-fakegem + +DESCRIPTION="Library that implements a subset of the Ruby 1.9 Process::spawn" +HOMEPAGE="https://github.com/rtomayko/posix-spawn/" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +LICENSE="MIT LGPL-2.1" +SLOT="0" +IUSE="test" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/power_assert/Manifest b/dev-ruby/power_assert/Manifest new file mode 100644 index 000000000000..fede06b8f520 --- /dev/null +++ b/dev-ruby/power_assert/Manifest @@ -0,0 +1,4 @@ +DIST power_assert-1.1.5.tar.gz 17326 BLAKE2B bd5e0627b681ccebc546a8b95170a3fe20ba919ff19405552e47c8e8f7faebe0c638a71e303e63e04a88b7d48a6ccd3e1117fea863275abbd5182d66e9634db1 SHA512 bc1f98b9b8c3ac327a744a28c54c747177eef187cd998778244f3dce59d2909e94960a50179552a9a687b973bcef49f26fffa67d75e9b3b92ea9959d40b93298 +DIST power_assert-1.1.6.tar.gz 17331 BLAKE2B 1165f092f7a6dea45c8f12d61e2ea77d30091e1a450cadceddaaf709f9e3dc6d805489780021d978ebfbe5dda15e302f0cbebc7a03e247d2e654fcd0eafd149a SHA512 e2a42fe3c4dd5f51315d4076310971b2678605d448730855c53664f638b7e8b8926776d006be1c40ddaff59d5715838f601c5ed86635cd8a1bbb214e147b0ada +DIST power_assert-1.1.7.tar.gz 17361 BLAKE2B 54fe379af9231a1794534f0199bb587418ea6d0960f7ae5cfc3a9c484c692e08254b5bd7220120559cc1b9e6f1b85c73d0e8e58c115731faea72d70180a94336 SHA512 bc6649bf17f41f7c84611eb334b73b43a0b7c3892a46acb82ae7b43dcf43b7a556ad617a6806ce1d354796bc694cea9eef7cc47b1928102f1822a03e01160a35 +DIST power_assert-1.2.0.tar.gz 17358 BLAKE2B 8b75b34f5d80f8f52370816b916e3bc3a60493b8f52a910346c51c70770e0645566b8b7c3dd551d8bb1f1cbdac5dfcebe043457bd025d819e3782e75e41e0f16 SHA512 2f001f6223fc3fb586c7b0457f775379040e11eb83b5bdda51c02b2b24e531aecd6e12e6ec80bf9407a768ab1a10b0a6b4c8f1a92ca69ea702faf56202bb635c diff --git a/dev-ruby/power_assert/metadata.xml b/dev-ruby/power_assert/metadata.xml new file mode 100644 index 000000000000..bfb7ab1aed1b --- /dev/null +++ b/dev-ruby/power_assert/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby/power_assert</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/power_assert/power_assert-1.1.5.ebuild b/dev-ruby/power_assert/power_assert-1.1.5.ebuild new file mode 100644 index 000000000000..506b6ecbcb88 --- /dev/null +++ b/dev-ruby/power_assert/power_assert-1.1.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="power_assert.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Shows each value of variables and method calls in the expression" +HOMEPAGE="https://github.com/k-tsj/power_assert" +SRC_URI="https://github.com/k-tsj/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die + sed -i -e '1igem "test-unit"' \ + -e '/byebug/ s:^:#:' test/test_helper.rb || die + + # Avoid git dependency + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid circular dependency on byebug when bootstrapping ruby + sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die + rm test/test_core_ext_helper.rb test/trace_test.rb || die + + # Avoid circular dependency on pry when bootstrapping ruby + sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die +} diff --git a/dev-ruby/power_assert/power_assert-1.1.6.ebuild b/dev-ruby/power_assert/power_assert-1.1.6.ebuild new file mode 100644 index 000000000000..81d2fdce4fa9 --- /dev/null +++ b/dev-ruby/power_assert/power_assert-1.1.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="power_assert.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Shows each value of variables and method calls in the expression" +HOMEPAGE="https://github.com/k-tsj/power_assert" +SRC_URI="https://github.com/k-tsj/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die + sed -i -e '1igem "test-unit"' \ + -e '/byebug/ s:^:#:' test/test_helper.rb || die + + # Avoid git dependency + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid circular dependency on byebug when bootstrapping ruby + sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die + rm test/test_core_ext_helper.rb test/trace_test.rb || die + + # Avoid circular dependency on pry when bootstrapping ruby + sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die +} diff --git a/dev-ruby/power_assert/power_assert-1.1.7.ebuild b/dev-ruby/power_assert/power_assert-1.1.7.ebuild new file mode 100644 index 000000000000..81d2fdce4fa9 --- /dev/null +++ b/dev-ruby/power_assert/power_assert-1.1.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="power_assert.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Shows each value of variables and method calls in the expression" +HOMEPAGE="https://github.com/k-tsj/power_assert" +SRC_URI="https://github.com/k-tsj/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die + sed -i -e '1igem "test-unit"' \ + -e '/byebug/ s:^:#:' test/test_helper.rb || die + + # Avoid git dependency + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid circular dependency on byebug when bootstrapping ruby + sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die + rm test/test_core_ext_helper.rb test/trace_test.rb || die + + # Avoid circular dependency on pry when bootstrapping ruby + sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die +} diff --git a/dev-ruby/power_assert/power_assert-1.2.0.ebuild b/dev-ruby/power_assert/power_assert-1.2.0.ebuild new file mode 100644 index 000000000000..ae5e41b5fc6a --- /dev/null +++ b/dev-ruby/power_assert/power_assert-1.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="power_assert.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Shows each value of variables and method calls in the expression" +HOMEPAGE="https://github.com/ruby/power_assert" +SRC_URI="https://github.com/ruby/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( Ruby BSD-2 )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die + sed -i -e '1igem "test-unit"' \ + -e '/byebug/ s:^:#:' test/test_helper.rb || die + + # Avoid git dependency + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid circular dependency on byebug when bootstrapping ruby + sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die + rm test/test_core_ext_helper.rb test/trace_test.rb || die + + # Avoid circular dependency on pry when bootstrapping ruby + sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die +} diff --git a/dev-ruby/prawn-table/Manifest b/dev-ruby/prawn-table/Manifest new file mode 100644 index 000000000000..f722e725a6fe --- /dev/null +++ b/dev-ruby/prawn-table/Manifest @@ -0,0 +1 @@ +DIST prawn-table-0.2.2.gem 64512 BLAKE2B bdf1beb86aa1bc6efc9530577a98cf5e32dc3930decff6b4575645e47a53ef4c2f06f7c460c2d07e5cc875a99e1194bd1db629acf06d2a2c214402f71f4a949d SHA512 9a3c749c27b5588dc1006b952c3f59ad938c05b98575cdd6c6cf6df9fb8acc5a1cebac0e60bbe6252ef2a1df3750f2860338c2234e362ea2c5524a0bd38bb47b diff --git a/dev-ruby/prawn-table/metadata.xml b/dev-ruby/prawn-table/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/prawn-table/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/prawn-table/prawn-table-0.2.2-r1.ebuild b/dev-ruby/prawn-table/prawn-table-0.2.2-r1.ebuild new file mode 100644 index 000000000000..07de526ec66b --- /dev/null +++ b/dev-ruby/prawn-table/prawn-table-0.2.2-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides support for tables in Prawn" +HOMEPAGE="http://prawn.majesticseacreature.com/" +LICENSE="|| ( GPL-2+ Ruby )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/mocha + >=dev-ruby/pdf-inspector-1.1.0 + >=dev-ruby/pdf-reader-1.2 + >=dev-ruby/prawn-1.3.0 + )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/s/^/#/" spec/spec_helper.rb || die + # Remove failing test + # See https://github.com/prawnpdf/prawn-table/issues/10 + sed -i -e "/Prints table on one page when using subtable with colspan > 1/,+24 s/^/#/" spec/table_spec.rb || die +} diff --git a/dev-ruby/prawn/Manifest b/dev-ruby/prawn/Manifest new file mode 100644 index 000000000000..6ac4d7580323 --- /dev/null +++ b/dev-ruby/prawn/Manifest @@ -0,0 +1,2 @@ +DIST prawn-2.2.0.tar.gz 5215662 BLAKE2B 7130aaa4e9e9de2f15148f9c3a7a713ebb9808047e59fc156566f3a44705055b907284ce6690ff2e803702ddc3eb304b32e8f8c0049badda348bf4242df7e14c SHA512 a714f3cf47439d2603afda66cf4202ab9fdda0b6aaec120fd65df4e29d4b26155d95392487131c16d451ebe8f774aa6d64227670fad7b151cd0a514d3ed40b06 +DIST prawn-2.2.2.tar.gz 5215413 BLAKE2B a906491b60e68de0308fec74131286d3f3c868a38dad9a4cf2ce28424cd746f96b530c7e9ea49a74af58d63a7ed9669f2b110dd8dff315c4943272e3a6b822b3 SHA512 8bd47f80d7873f9435eac7f42015b2ca87f703b5d091ec0e9710f2d4b26e3c7b83aad03de3bf44ca5d5fe07a2bf9af32c59d479373543459576e7a0088715a1b diff --git a/dev-ruby/prawn/metadata.xml b/dev-ruby/prawn/metadata.xml new file mode 100644 index 000000000000..f38fcb138eac --- /dev/null +++ b/dev-ruby/prawn/metadata.xml @@ -0,0 +1,12 @@ +<?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">prawnpdf/prawn</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/prawn/prawn-2.2.0.ebuild b/dev-ruby/prawn/prawn-2.2.0.ebuild new file mode 100644 index 000000000000..2769744896ea --- /dev/null +++ b/dev-ruby/prawn/prawn-2.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Fast, Nimble PDF Generation For Ruby" +HOMEPAGE="http://prawn.majesticseacreature.com/" +SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( GPL-2 Ruby )" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "=dev-ruby/pdf-core-0.7* + >=dev-ruby/ttfunk-1.5:*" +ruby_add_bdepend "test? ( dev-ruby/coderay + >=dev-ruby/pdf-inspector-1.2.1 + >=dev-ruby/pdf-reader-1.2 + )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die + + # Remove test that needs unpackaged dependency + rm -f spec/manual_spec.rb || die +} diff --git a/dev-ruby/prawn/prawn-2.2.2.ebuild b/dev-ruby/prawn/prawn-2.2.2.ebuild new file mode 100644 index 000000000000..8810fac2b3c8 --- /dev/null +++ b/dev-ruby/prawn/prawn-2.2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_GEMSPEC="prawn.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Fast, Nimble PDF Generation For Ruby" +HOMEPAGE="http://prawn.majesticseacreature.com/" +SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( GPL-2 Ruby )" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "=dev-ruby/pdf-core-0.7* + >=dev-ruby/ttfunk-1.5:*" +ruby_add_bdepend "test? ( dev-ruby/coderay + >=dev-ruby/pdf-inspector-1.2.1 + >=dev-ruby/pdf-reader-1.2 + )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die + + # Remove test that needs unpackaged dependency + rm -f spec/manual_spec.rb || die +} diff --git a/dev-ruby/pry/Manifest b/dev-ruby/pry/Manifest new file mode 100644 index 000000000000..491c869fbb39 --- /dev/null +++ b/dev-ruby/pry/Manifest @@ -0,0 +1,2 @@ +DIST pry-0.12.2.tar.gz 237824 BLAKE2B 2a99e6092968150f2c685bc93004bd596adbe5e289bd52ee68f11b52512ac43d0e7079b8129445160652c668c355edae97f1fd0fd2ead940f769831ac9ecf4ff SHA512 b3a2a9a26d7062b994760fc5ca6c8b477813e215624d88ae56d23703429d3d8d21357b5d89583c1af1c7654f892c0c57ffbc6dd6b6f126e0a6b786c7c48df6af +DIST pry-0.13.1.tar.gz 240103 BLAKE2B da4797e36aecba8bf1a785738339ed4be1e06ab28b329b66551a908898cd0515fc0da2434ba96e9fa0f350c9d32c13f850660bc0236c6c0218a4bd3182ec4ced SHA512 bec52c75dce365db68504634b2eaf6b0f312527031401199fcdbaa3ec5a9272148239d93305f8e66c4d36513f9fec3fe045e978c5a10f012a2880ab4a16b7e85 diff --git a/dev-ruby/pry/metadata.xml b/dev-ruby/pry/metadata.xml new file mode 100644 index 000000000000..f1824daf7b69 --- /dev/null +++ b/dev-ruby/pry/metadata.xml @@ -0,0 +1,12 @@ +<?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">pry/pry</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pry/pry-0.12.2.ebuild b/dev-ruby/pry/pry-0.12.2.ebuild new file mode 100644 index 000000000000..cb0918474a3b --- /dev/null +++ b/dev-ruby/pry/pry-0.12.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" +RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec + +inherit ruby-fakegem + +DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby" +HOMEPAGE="https://github.com/pry/pry/wiki" +SRC_URI="https://github.com/pry/pry/archive/v${PV}.tar.gz -> ${P}.tar.gz" +IUSE="" +SLOT="ruby19" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +ruby_add_rdepend " + >=dev-ruby/coderay-1.1.0 =dev-ruby/coderay-1.1* + >=dev-ruby/method_source-0.9.0 =dev-ruby/method_source-0.9*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/open4-1.3 + >=dev-ruby/rake-0.9 + >=dev-ruby/mocha-1.0 + )" + +all_ruby_prepare() { + # Avoid unneeded dependency on git. + # Loosen coderay dependency. + sed -e '/git ls-files/d' \ + -e '/coderay/s/~>/>=/' \ + -e '/bundler/d' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/[Bb]undler/d' -e "1irequire 'mocha/api'\ " -i spec/helper.rb || die + # Out of date tests + rm spec/commands/gist_spec.rb || die +} diff --git a/dev-ruby/pry/pry-0.13.1.ebuild b/dev-ruby/pry/pry-0.13.1.ebuild new file mode 100644 index 000000000000..4b735fec0735 --- /dev/null +++ b/dev-ruby/pry/pry-0.13.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" +RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec + +inherit ruby-fakegem + +DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby" +HOMEPAGE="https://github.com/pry/pry/wiki" +SRC_URI="https://github.com/pry/pry/archive/v${PV}.tar.gz -> ${P}.tar.gz" +IUSE="" +SLOT="ruby19" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +ruby_add_rdepend " + >=dev-ruby/coderay-1.1.0 =dev-ruby/coderay-1.1* + =dev-ruby/method_source-1*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/open4-1.3 + >=dev-ruby/rake-0.9 + >=dev-ruby/mocha-1.0 + )" + +all_ruby_prepare() { + # Avoid unneeded dependency on git. + # Loosen coderay dependency. + sed -e '/git ls-files/d' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/[Bb]undler/d' -i spec/spec_helper.rb || die + + # Skip integration tests because they depend to much on specifics of the environment. + rm -f spec/integration/* || die + sed -i -e '/loads files through repl and exits/askip "depends on parent directory"' spec/cli_spec.rb || die +} diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest new file mode 100644 index 000000000000..f590e18fa6a6 --- /dev/null +++ b/dev-ruby/public_suffix/Manifest @@ -0,0 +1,4 @@ +DIST public_suffix-3.1.1.gem 99840 BLAKE2B ef86b7ecb834a855dbb44b8a0f934de3715edb6d67faefd20f99054898b35bfedffd490b60fbe80236905826868611aa96e13766577bb98ab997321cf9c49b39 SHA512 1e266ed7fa224fa94a49a51dae2868bdadb80ca2de660d2cda9a1e146ccad5aaba2cf68d75272e333a4b1a80e47863d388d85d3a86bddf8f649a320e5e700078 +DIST public_suffix-4.0.3.gem 105472 BLAKE2B 5654fb2323161eb04fe6e30194593fc521148e181a112378c8214fa6980d0edeb0d03e7745333b1cdc55d0f5251f811e1e6707b77b94613b6f199048d6d91ffc SHA512 9c4f6fb0a1a8ea4ceb3203bb0d9c53eda4b0779a6e25b4a6d4236d1cea62f39bbdedc50cb9808492fb54f453311b37548a2a8e0ac3ec83777876a9b6aa279ef5 +DIST public_suffix-4.0.4.gem 105472 BLAKE2B c6be420744976bb3c5dd78b4ab4fc4d4293de1a985af95b288520983957a11224c2548ca7d34009d9ac1fa975880d7971a9a7d6267634cb97836ce0486d62a03 SHA512 d6f61d1d1756541a84a4745d02732c769901c0d309ed15c48ef01b153ba7c2a801b227251e02a8a5d85da2ffd0c52888c154ee374fc54a6aabe385b398144696 +DIST public_suffix-4.0.5.gem 106496 BLAKE2B 1b581b2d08e78b156d70f25d1af66f825f7e1e332049311001f4d20982222fea463e4eb79ae12152c51269ee42c883cd966f479225f26c01b8e7a70f870d5ddf SHA512 5de30466e27d853c498f210dbe168c52d0e5efab5b6388c88de5667e40dee151041d6a1a9203780230dfa03bd2fb920a50b1301d05d12a31f4d31f8352218821 diff --git a/dev-ruby/public_suffix/metadata.xml b/dev-ruby/public_suffix/metadata.xml new file mode 100644 index 000000000000..7ea70270691f --- /dev/null +++ b/dev-ruby/public_suffix/metadata.xml @@ -0,0 +1,12 @@ +<?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">weppos/publicsuffix-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/public_suffix/public_suffix-3.1.1.ebuild b/dev-ruby/public_suffix/public_suffix-3.1.1.ebuild new file mode 100644 index 000000000000..db54adffc030 --- /dev/null +++ b/dev-ruby/public_suffix/public_suffix-3.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Parse and decompose a domain name into top level domain, domain and subdomains" +HOMEPAGE="https://simonecarletti.com/code/publicsuffix-ruby/" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +LICENSE="MIT" +SLOT="3" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/rubocop/I s:^:#:' \ + -e '/yardoc/,/CLOBBER.include/ s:^:#:' \ + -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/public_suffix/public_suffix-4.0.3.ebuild b/dev-ruby/public_suffix/public_suffix-4.0.3.ebuild new file mode 100644 index 000000000000..b602c67535a6 --- /dev/null +++ b/dev-ruby/public_suffix/public_suffix-4.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Parse and decompose a domain name into top level domain, domain and subdomains" +HOMEPAGE="https://simonecarletti.com/code/publicsuffix-ruby/" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +LICENSE="MIT" +SLOT="4" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/rubocop/I s:^:#:' \ + -e '/yardoc/,/CLOBBER.include/ s:^:#:' \ + -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/public_suffix/public_suffix-4.0.4.ebuild b/dev-ruby/public_suffix/public_suffix-4.0.4.ebuild new file mode 100644 index 000000000000..3908b8a60ed3 --- /dev/null +++ b/dev-ruby/public_suffix/public_suffix-4.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Parse and decompose a domain name into top level domain, domain and subdomains" +HOMEPAGE="https://simonecarletti.com/code/publicsuffix-ruby/" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +LICENSE="MIT" +SLOT="4" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/rubocop/I s:^:#:' \ + -e '/yardoc/,/CLOBBER.include/ s:^:#:' \ + -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/public_suffix/public_suffix-4.0.5.ebuild b/dev-ruby/public_suffix/public_suffix-4.0.5.ebuild new file mode 100644 index 000000000000..67e0089c6b13 --- /dev/null +++ b/dev-ruby/public_suffix/public_suffix-4.0.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Parse and decompose a domain name into top level domain, domain and subdomains" +HOMEPAGE="https://simonecarletti.com/code/publicsuffix-ruby/" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +LICENSE="MIT" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/rubocop/I s:^:#:' \ + -e '/yardoc/,/CLOBBER.include/ s:^:#:' \ + -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/pundit/Manifest b/dev-ruby/pundit/Manifest new file mode 100644 index 000000000000..c93e2f5811c7 --- /dev/null +++ b/dev-ruby/pundit/Manifest @@ -0,0 +1,2 @@ +DIST pundit-1.1.0.gem 22016 BLAKE2B 912f359cb4530c4f65622c3a7bee48a7d84757e4c8327398dbb4e4e170a35f4811c018224aac752b6c2ae54bc93e65b5e0b46f0bb191da57355b55ea0e8d0eaa SHA512 ea7e8ef9e4b280f451810ba193dc5b27a75ecfb050eed674246034ebb687e8302aee8826c022090553b643b41c85adec4d3234f545ab2a59ececa461fe4e4b3a +DIST pundit-2.1.0.gem 25600 BLAKE2B f8284e326a68475fe4c733de85597ba91e376d37e5dd24d97c1a8da2ab7f15d2cf35cf76688370f1a96c00f8ce89df2d2bb6b3c6de1ae33d6cdfe1ffd1926e3f SHA512 3201cb3acca8301a0e07fa9bd58617ee32074842e873a85a31d9b56fac5bd93c4a78d94d8b57556a011f1713712eb484ef3281d68ae3acf1c8bf1bce13f47e0c diff --git a/dev-ruby/pundit/metadata.xml b/dev-ruby/pundit/metadata.xml new file mode 100644 index 000000000000..00240fffeb95 --- /dev/null +++ b/dev-ruby/pundit/metadata.xml @@ -0,0 +1,13 @@ +<?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">elabs/pundit</remote-id> + <remote-id type="rubygems">pundit</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pundit/pundit-1.1.0.ebuild b/dev-ruby/pundit/pundit-1.1.0.ebuild new file mode 100644 index 000000000000..4188266e157f --- /dev/null +++ b/dev-ruby/pundit/pundit-1.1.0.ebuild @@ -0,0 +1,28 @@ +# 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_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Object oriented authorization for Rails applications" +HOMEPAGE="https://github.com/elabs/pundit https://rubygems.org/gems/pundit" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0:*" + +ruby_add_bdepend "test? ( >=dev-ruby/actionpack-3.0.0 + >=dev-ruby/activemodel-3.0.0 )" + +all_ruby_prepare() { + sed -i -e "/pry/d" spec/spec_helper.rb || die +} diff --git a/dev-ruby/pundit/pundit-2.1.0.ebuild b/dev-ruby/pundit/pundit-2.1.0.ebuild new file mode 100644 index 000000000000..dc228494dd9b --- /dev/null +++ b/dev-ruby/pundit/pundit-2.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Object oriented authorization for Rails applications" +HOMEPAGE="https://github.com/elabs/pundit https://rubygems.org/gems/pundit" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0:*" + +ruby_add_bdepend "test? ( >=dev-ruby/actionpack-3.0.0 + >=dev-ruby/activemodel-3.0.0 )" + +all_ruby_prepare() { + sed -i -e "/pry/d" spec/spec_helper.rb || die +} diff --git a/dev-ruby/puppet_forge/Manifest b/dev-ruby/puppet_forge/Manifest new file mode 100644 index 000000000000..b06e5d0ecc41 --- /dev/null +++ b/dev-ruby/puppet_forge/Manifest @@ -0,0 +1,2 @@ +DIST puppet_forge-2.3.2.gem 772608 BLAKE2B edbb92cbed4ad040a9c819d2728c4fee5c2beb2fbf9120f778d0315bc15032f970873974fef3532adff57e44a8671b9027615517761f46b0d1e0954d50522d7f SHA512 00805aee55823dfb57cda03c1ed60e8e1db218ca7c633ec0c7d8459fdcc9d747609c0c426d5544f86f33485e546dd82b115a98fad12897ab087ff119e5cc08be +DIST puppet_forge-2.3.3.gem 772608 BLAKE2B 1bba9ce824019cefbcd4e28625c99855f68bc4d752f069bf84ff86c0f768dc8b795eaa95b76e340e273079dc2882abff91a2b44d0a6f280f541637261357508e SHA512 8e29d35b7175430a50d2da0b07ef3a9bd274df97f292e24c12a0d267257ff123df5380c0ba8c7124be21b4f4f0b2a11af0923e9fb5751683392c6d11ed6bf0e0 diff --git a/dev-ruby/puppet_forge/metadata.xml b/dev-ruby/puppet_forge/metadata.xml new file mode 100644 index 000000000000..4bf66857dce1 --- /dev/null +++ b/dev-ruby/puppet_forge/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <longdescription lang="en"> + Tools that can be used to access Forge API information on Modules, + Users, and Releases. As well as download, unpack, and install + Releases to a directory. + </longdescription> + <upstream> + <remote-id type="github">puppetlabs/semantic_puppet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/puppet_forge/puppet_forge-2.3.2.ebuild b/dev-ruby/puppet_forge/puppet_forge-2.3.2.ebuild new file mode 100644 index 000000000000..29c7b3a05d2a --- /dev/null +++ b/dev-ruby/puppet_forge/puppet_forge-2.3.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL=locales + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Tools to access Forge API information on Modules, Users, and Releases" +HOMEPAGE="https://github.com/puppetlabs/forge-ruby" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/faraday-0.9.0:0 + >=dev-ruby/faraday_middleware-0.9.0:0 + >=dev-ruby/gettext-setup-0.11:0 + dev-ruby/minitar + =dev-ruby/semantic_puppet-1* +" + +all_ruby_prepare() { + # Avoid integration and user specs since they all require network access + rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die + + # Fix overly restrictive dependencies + sed -i \ + -e '/faraday/ s/0.15.0/0.99.0/' \ + -e '/faraday_middleware/ s/0.13.0/0.99.0/' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/puppet_forge/puppet_forge-2.3.3.ebuild b/dev-ruby/puppet_forge/puppet_forge-2.3.3.ebuild new file mode 100644 index 000000000000..abdaf707c6dd --- /dev/null +++ b/dev-ruby/puppet_forge/puppet_forge-2.3.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL=locales + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Tools to access Forge API information on Modules, Users, and Releases" +HOMEPAGE="https://github.com/puppetlabs/forge-ruby" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/faraday-0.9.0:0 + >=dev-ruby/faraday_middleware-0.9.0:0 + >=dev-ruby/gettext-setup-0.11:0 + dev-ruby/minitar + =dev-ruby/semantic_puppet-1* +" + +all_ruby_prepare() { + # Avoid integration and user specs since they all require network access + rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die + + # Fix overly restrictive dependencies + sed -i \ + -e '/faraday/ s/0.18.0/0.99.0/' \ + -e '/faraday_middleware/ s/0.14.0/0.99.0/' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/puppetdb-termini/Manifest b/dev-ruby/puppetdb-termini/Manifest new file mode 100644 index 000000000000..216f63fb514c --- /dev/null +++ b/dev-ruby/puppetdb-termini/Manifest @@ -0,0 +1 @@ +DIST puppetdb-termini_6.10.0-1stretch_all.deb 21294 BLAKE2B dfe88c6a44eed3e8a0826fde8f6130d3d817acafa367415956587e44298c99c41fd7bdac709c1ab55dcc9dce165d2599a2f18f0e1fd058d717128c0dd3a6ae28 SHA512 da7bf41e43acc39a44655e4759a14c119e6c1665c01a8b0ad4d83767c65068e071fc8ff6af80810a20cf92508c55c9ccfa295e197c0f7c94ee70110ea4515aae diff --git a/dev-ruby/puppetdb-termini/metadata.xml b/dev-ruby/puppetdb-termini/metadata.xml new file mode 100644 index 000000000000..5b99d24415d6 --- /dev/null +++ b/dev-ruby/puppetdb-termini/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <longdescription lang="en"> + puppet plugin used to connect to puppetdb + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/puppetdb-termini/puppetdb-termini-6.10.0.ebuild b/dev-ruby/puppetdb-termini/puppetdb-termini-6.10.0.ebuild new file mode 100644 index 000000000000..7919b7b236e7 --- /dev/null +++ b/dev-ruby/puppetdb-termini/puppetdb-termini-6.10.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit unpacker + +DESCRIPTION="Library needed to connect puppet to puppetdb" +HOMEPAGE="http://docs.puppetlabs.com/puppetdb/" +SRC_URI="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch_all.deb" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +# will need the same keywords as puppet +KEYWORDS="amd64 ~ppc x86" + +RDEPEND+="" +DEPEND+="" + +S=${WORKDIR} + +src_install() { + insinto opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/ + doins -r opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/* +} diff --git a/dev-ruby/pusher-client/Manifest b/dev-ruby/pusher-client/Manifest new file mode 100644 index 000000000000..b6dad9f1aa02 --- /dev/null +++ b/dev-ruby/pusher-client/Manifest @@ -0,0 +1 @@ +DIST pusher-client-0.6.2.gem 138240 BLAKE2B d9692cd09bff5ac093e7f340d82676f57f299e669c86526a04dbef0ad6d33410647e4163f51c855284fe73aae82115dd959fc4bfedef246e384c98f09116a46b SHA512 1d4a81027f08065c840c89098d562787c73c0f39fa986152bf22ee43fb222b8a26782fc4be3cf01acb9a62c5237cccb8515d2bfc6c4a4d9d1dc53b853599a30d diff --git a/dev-ruby/pusher-client/metadata.xml b/dev-ruby/pusher-client/metadata.xml new file mode 100644 index 000000000000..cb919b74998e --- /dev/null +++ b/dev-ruby/pusher-client/metadata.xml @@ -0,0 +1,12 @@ +<?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">pusher-community/pusher-websocket-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pusher-client/pusher-client-0.6.2.ebuild b/dev-ruby/pusher-client/pusher-client-0.6.2.ebuild new file mode 100644 index 000000000000..e0dbf9c3a20a --- /dev/null +++ b/dev-ruby/pusher-client/pusher-client-0.6.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Client for consuming WebSockets from http://pusher.com" +HOMEPAGE="https://github.com/pusher-community/pusher-websocket-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/websocket-1:0 + dev-ruby/json:* +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest new file mode 100644 index 000000000000..3b91e511ceee --- /dev/null +++ b/dev-ruby/pygments_rb/Manifest @@ -0,0 +1 @@ +DIST pygments.rb-1.2.1.gem 1176064 BLAKE2B 7a6651606a433a9f15853ee06c3fe9a02d266f9441a08cc92c0db4ba679a97a2a25aaa4e96a621fbda0553e9b0c995ce53c6f828793f4937de12b3089f12963c SHA512 f0fc63ec028169872e28e2181c6a10c8a3f5e7f07074ba9f43475a0b5aa403a03d7045abb03433b600ef3d74c460556355b4ee64be598d3b93ddb1e0bb306259 diff --git a/dev-ruby/pygments_rb/metadata.xml b/dev-ruby/pygments_rb/metadata.xml new file mode 100644 index 000000000000..4b09968f1478 --- /dev/null +++ b/dev-ruby/pygments_rb/metadata.xml @@ -0,0 +1,12 @@ +<?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">tmm1/pygments.rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild new file mode 100644 index 000000000000..23f293301191 --- /dev/null +++ b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" +PYTHON_COMPAT=( python2_7 ) + +RUBY_FAKEGEM_NAME="pygments.rb" +MY_P="${RUBY_FAKEGEM_NAME}-${PV}" + +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${RUBY_FAKEGEM_NAME}.gemspec" + +inherit ruby-fakegem python-single-r1 + +DESCRIPTION="Pygments syntax highlighting in ruby" +HOMEPAGE="https://github.com/tmm1/pygments.rb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +REQUIRED_USE+=" ${PYTHON_REQUIRED_USE}" + +RUBY_S="${MY_P}" + +RDEPEND+=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=dev-python/pygments-2.2.0[${PYTHON_MULTI_USEDEP}] + dev-python/simplejson[${PYTHON_MULTI_USEDEP}] + ')" +DEPEND+=" test? ( ${RDEPEND} )" + +ruby_add_rdepend ">=dev-ruby/multi_json-1.0.0" +ruby_add_bdepend "dev-ruby/rake-compiler" + +pkg_setup() { + ruby-ng_pkg_setup + python-single-r1_pkg_setup +} + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/s.files/d' pygments.rb.gemspec || die + python_fix_shebang lib/pygments/mentos.py + # we are loosing a "custom github lexer here", no idea what it is, + # but if we need it, it should go into dev-python/pygments + rm -r vendor lexers || die "removing bundled libs failed" +} + +each_ruby_compile() { + # regenerate the lexer cache, based on the system pygments pkg + ${RUBY} cache-lexers.rb || die "regenerating lexer cache failed" +} + +each_ruby_install() { + each_fakegem_install + ruby_fakegem_doins lexers +} diff --git a/dev-ruby/qed/Manifest b/dev-ruby/qed/Manifest new file mode 100644 index 000000000000..9ffaa051cfb2 --- /dev/null +++ b/dev-ruby/qed/Manifest @@ -0,0 +1 @@ +DIST qed-2.9.2.gem 71168 BLAKE2B 9df41a665d7a01f5a31a6a1ff5d6bf17ed6869b97a15cd142b5baedf9a5578b530691db084a420619091d11f116cf369e789058e474f2ffc65e02c55cd035e3e SHA512 e922f981eaaa852fc44eba998b20f3d2310dbda5a06eee252d401f6e1ffeee1435aca9618fa7f8982cee575d52c3ee9aa9d3705639106421db0c2daba9c5d1b5 diff --git a/dev-ruby/qed/metadata.xml b/dev-ruby/qed/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/qed/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/qed/qed-2.9.2.ebuild b/dev-ruby/qed/qed-2.9.2.ebuild new file mode 100644 index 000000000000..24d4a5b0275a --- /dev/null +++ b/dev-ruby/qed/qed-2.9.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="QED (Quality Ensured Demonstrations) is a TDD/BDD framework" +HOMEPAGE="https://rubyworks.github.io/qed/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/ae )" +ruby_add_rdepend " + dev-ruby/ansi + dev-ruby/brass" + +each_ruby_test() { + ${RUBY} -Ilib bin/qed || die 'tests failed' +} diff --git a/dev-ruby/racc/Manifest b/dev-ruby/racc/Manifest new file mode 100644 index 000000000000..66ddc05f7fcc --- /dev/null +++ b/dev-ruby/racc/Manifest @@ -0,0 +1,2 @@ +DIST racc-1.4.14.gem 116224 BLAKE2B 67abd0e9bed46d7c589c62426943c8594d3b119328cd08576247727b11beb9e32ea45c54d0aadefc26691972fc40aad1b009c55bcd90a5b89aaf37e37a1097c1 SHA512 7401ad1722c92101c24f881226e44bd8b21033c7bae8b13cbf329f9b426c312ce61d14ce584b4f94d6863b77f30d6ebccf26f9fca2de724f8e0659f0e2d2173f +DIST racc-1.4.16.tar.gz 451711 BLAKE2B d3bcb72a69df255d5468054541c281bf7bd3225eb3ba1997fccd6dcd219d3a8890e3df7b43fe106ffa3fc63a8d8079cab83e7096b0737f5bbacf816b7c3bbfb2 SHA512 7cdf6a62449e8f39984a8b27706045e509828a93a72d112b22a4c467184a63ee23b4b2048ef7017846053fb2ff4021aa43d96a6147fa271257df584ab3d66f38 diff --git a/dev-ruby/racc/metadata.xml b/dev-ruby/racc/metadata.xml new file mode 100644 index 000000000000..88feebfb4e18 --- /dev/null +++ b/dev-ruby/racc/metadata.xml @@ -0,0 +1,12 @@ +<?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">tenderlove/racc</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/racc/racc-1.4.14.ebuild b/dev-ruby/racc/racc-1.4.14.ebuild new file mode 100644 index 000000000000..4688ee338444 --- /dev/null +++ b/dev-ruby/racc/racc-1.4.14.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog" + +inherit multilib ruby-fakegem + +DESCRIPTION="A LALR(1) parser generator for Ruby" +HOMEPAGE="https://github.com/tenderlove/racc" + +LICENSE="LGPL-2.1" +SLOT="0" + +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "dev-ruby/rake + test? ( >=dev-ruby/minitest-4.0:0 )" + +all_ruby_prepare() { + sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed" + + # Avoid depending on rake-compiler since we don't use it to compile + # the extension. + sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile + sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile + + # Avoid isolation since dependencies are not properly declared. + sed -i -e 's/, :isolate//' Rakefile || die + + # Use a version of the minitest gem that works consistently accross + # all ruby versions. + sed -i -e '2i gem "minitest", "~>4.0"' test/helper.rb || die +} + +each_ruby_prepare() { + ${RUBY} -Cext/racc extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/racc + # Copy over the file here so that we don't have to do + # special ruby install for JRuby and the other + # implementations. + cp -l ext/racc/cparse$(get_modname) lib/racc/cparse$(get_modname) || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r rdoc + + docinto examples + dodoc -r sample +} diff --git a/dev-ruby/racc/racc-1.4.16-r1.ebuild b/dev-ruby/racc/racc-1.4.16-r1.ebuild new file mode 100644 index 000000000000..c3dff6698030 --- /dev/null +++ b/dev-ruby/racc/racc-1.4.16-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog" + +RUBY_FAKEGEM_GEMSPEC="racc.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="A LALR(1) parser generator for Ruby" +HOMEPAGE="https://github.com/tenderlove/racc" +SRC_URI="https://github.com/tenderlove/racc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed" + + # Avoid depending on rake-compiler since we don't use it to compile + # the extension. + sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile + sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile + # Which means we need to generate the parser file here + rake lib/racc/parser-text.rb || die + + # Avoid isolation since dependencies are not properly declared. + sed -i -e 's/, :isolate//' Rakefile || die +} + +each_ruby_prepare() { + ${RUBY} -Cext/racc/cparse extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/racc/cparse + # Copy over the file here so that we don't have to do + # special ruby install for JRuby and the other + # implementations. + mkdir -p lib/racc/cparse || die + cp -l ext/racc/cparse/cparse$(get_modname) lib/racc/cparse/cparse$(get_modname) || die +} + +each_ruby_test() { + PATH="bin:${PATH}" ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r rdoc + + docinto examples + dodoc -r sample +} diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest new file mode 100644 index 000000000000..7d4864dfab0a --- /dev/null +++ b/dev-ruby/rack-attack/Manifest @@ -0,0 +1,3 @@ +DIST rack-attack-5.4.2.gem 23040 BLAKE2B 7af950339f03139e6a3ac9e8349e6d2af5182a29f643a08a9ea0806349c02965d05e99d95421f14ba827c9c942a6824f710dbaf06adbb0aa07dde03d74e629ed SHA512 a4af12c2c436a3634108494e2a5b9c5751c0fa2e87af6efa326d9c09fdae54b5bd8a8974c48785dfef64565ff9ee0a6704c90acf1277c8e80849ff30f9fbb67b +DIST rack-attack-6.2.2.gem 24064 BLAKE2B dd76a1f76b4f20e8bf01ac4bfda9af2daacbe972f7847399bd30b9472c8e0f66dbcc333b19eb2e482f91c38d9557ad76559b6a40b7f842faea43b7f88e24cd77 SHA512 c2e852f0871502d1f70be20e6d3d6a9ffe50e6203950624b7ea4f6f0c4c48239a8dbef417f6b7348146f3f6d5a028bffa133c29da6453eff57438d7993562822 +DIST rack-attack-6.3.1.gem 25088 BLAKE2B 97a6f36ad3571508f68b33090644db8fb21f6eb43f8ae16b0107dd3e0e1b8b728b6eaa43959dfa8b9781672147673b750c215c9ed01366de90175ba063d5d2b5 SHA512 e6c3fbc5a09cc3d15d06b450baf911b84dd412de7b1a9d0f67661da2106d1474ea2f7c2ec6a7cf5bbd9756642be519e618134c5c7888c41f44270afc4f8aff4a diff --git a/dev-ruby/rack-attack/metadata.xml b/dev-ruby/rack-attack/metadata.xml new file mode 100644 index 000000000000..6588c3068559 --- /dev/null +++ b/dev-ruby/rack-attack/metadata.xml @@ -0,0 +1,12 @@ +<?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">kickstarter/rack-attack</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack-attack/rack-attack-5.4.2.ebuild b/dev-ruby/rack-attack/rack-attack-5.4.2.ebuild new file mode 100644 index 000000000000..debf6466148f --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-5.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +# Skip integration tests since they require additional unpackaged +# dependencies and running daemons. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for blocking & throttling abusive clients" +HOMEPAGE="https://github.com/kickstarter/rack-attack" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rack:*" +ruby_add_bdepend "test? ( + dev-ruby/actionpack + dev-ruby/activesupport + dev-ruby/rack-test + dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|byebug\)/ s:^:#:' Rakefile spec/spec_helper.rb || die + sed -i -e '3igem "actionpack"' spec/spec_helper.rb || die + sed -i -e '/rubocop/I s:^:#:' Rakefile || die +} diff --git a/dev-ruby/rack-attack/rack-attack-6.2.2.ebuild b/dev-ruby/rack-attack/rack-attack-6.2.2.ebuild new file mode 100644 index 000000000000..3c7630016e9d --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-6.2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# Skip integration tests since they require additional unpackaged +# dependencies and running daemons. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for blocking & throttling abusive clients" +HOMEPAGE="https://github.com/kickstarter/rack-attack" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rack:*" +ruby_add_bdepend "test? ( + dev-ruby/actionpack + dev-ruby/activesupport + dev-ruby/rack-test + dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|byebug\)/ s:^:#:' Rakefile spec/spec_helper.rb || die + sed -i -e '3igem "actionpack"' spec/spec_helper.rb || die + sed -i -e '/rubocop/I s:^:#:' Rakefile || die +} diff --git a/dev-ruby/rack-attack/rack-attack-6.3.1.ebuild b/dev-ruby/rack-attack/rack-attack-6.3.1.ebuild new file mode 100644 index 000000000000..118c935da464 --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-6.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Skip integration tests since they require additional unpackaged +# dependencies and running daemons. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for blocking & throttling abusive clients" +HOMEPAGE="https://github.com/kickstarter/rack-attack" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rack:*" +ruby_add_bdepend "test? ( + dev-ruby/actionpack + dev-ruby/activesupport + dev-ruby/railties + dev-ruby/rack-test + dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|byebug\)/ s:^:#:' Rakefile spec/spec_helper.rb || die + sed -i -e '3igem "actionpack"' spec/spec_helper.rb || die + sed -i -e '/rubocop/I s:^:#:' Rakefile || die + + # Avoid specs requiring a live redis service + sed -i -e '/should delete rack attack key/askip "requires redis service"' spec/rack_attack_spec.rb || die +} diff --git a/dev-ruby/rack-cache/Manifest b/dev-ruby/rack-cache/Manifest new file mode 100644 index 000000000000..488984dc0695 --- /dev/null +++ b/dev-ruby/rack-cache/Manifest @@ -0,0 +1,5 @@ +DIST rack-cache-1.10.0.tar.gz 261076 BLAKE2B dc7121faae43942bee086e84a9b9b2d1a6a325b777a57084d4bd79d20dc51b0387acb9343399ee728452cfdfd63ec4b6aadbc3fb946dbc0e485be88efcfa34ce SHA512 8169022c8cb75acffe74dc57a34cb7e1f46adf364c2db54e5be630ec5c7ff17b90bf8398074747d374573f67ccbd15bb2eca087796a1749e467dd514cc61584f +DIST rack-cache-1.11.0.tar.gz 261764 BLAKE2B 15c0e3edc18e2fe6a641c75b47f194d7868e214db04d8bd81c5582fe0973fc43e7d820b7f5d99d762e3ef4bcb93327ec17f4f243d5f5658f0b46787f3b380c6d SHA512 765b00d1868fcfc6335b9d61c2e5de838598db527e22f5cd7ab82134ff0b8837bfd45db57484d1f9dc1111c83cd7b0091ed57519e54a602eb2a84af96138bd7f +DIST rack-cache-1.11.1.tar.gz 261844 BLAKE2B 3fa067ecab4ce3fb52f678c79c2b74990be6c3a738b005d061dfa6c3a49d88e07ef2602753caed349f87b4eda304071ce7b33f19570e80ff75b4b43fefe61a5a SHA512 9a9c162bce78b134627471856478ae6df7c2f479742fb58bf0e5a994bbd166774eb51254d97e780f324c55e68cd453480d09b67ff4fd9ce5b73d8d020e5f2e66 +DIST rack-cache-1.12.0.tar.gz 262794 BLAKE2B 63668875cbfba5a6012f43fcfb504e99e357301b8c4b26bfd007b6d22fd9cd3d2f40b096505f9b9523c49ca2a7c980fa15c95187284a339604ca8acadfad374b SHA512 67101c2fec86db94d177c4cc476a17e5bda51d222ac8530fe6cdef8fb196b3b7ffe301003abbc14430c4f4068da0627ffcdd498fd79faebd190571bfbaec3ab5 +DIST rack-cache-1.9.0.tar.gz 260825 BLAKE2B 58f3bfbf6af9c515ef1dc7406c6b41ba8ce37c3cc9533a21f0480565fa72b72acb517a161a7d00bfd21e1e2b2379ab85796e507fe478c601c287031a70858bff SHA512 da998796a26338af2a484a8bb87f152706f33de719cc546f7bd4c4222ca5c52297d0b4dbe233e4362d6b5e6fedb7b527ce9a29cc03a6fbeee12e760afc070a93 diff --git a/dev-ruby/rack-cache/metadata.xml b/dev-ruby/rack-cache/metadata.xml new file mode 100644 index 000000000000..6d3cf8d9247b --- /dev/null +++ b/dev-ruby/rack-cache/metadata.xml @@ -0,0 +1,12 @@ +<?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">rtomayko/rack-cache</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack-cache/rack-cache-1.10.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.10.0.ebuild new file mode 100644 index 000000000000..71dfa5ed369c --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.10.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# no documentation is generable, it needs hanna, which is broken +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*" + +RUBY_FAKEGEM_GEMSPEC="rack-cache.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info" +HOMEPAGE="https://github.com/rtomayko/rack-cache" +SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.2" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/maxitest-3.4.0 + >=dev-ruby/minitest-5.7.0:5 + >=dev-ruby/mocha-0.13.0 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' \ + -e "2i require 'timeout'" \ + test/test_helper.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rack-cache/rack-cache-1.11.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.11.0.ebuild new file mode 100644 index 000000000000..432b873f8e33 --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.11.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# no documentation is generable, it needs hanna, which is broken +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*" + +RUBY_FAKEGEM_GEMSPEC="rack-cache.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info" +HOMEPAGE="https://github.com/rtomayko/rack-cache" +SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/maxitest-3.4.0 + >=dev-ruby/minitest-5.7.0:5 + >=dev-ruby/mocha-0.13.0 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' \ + -e "2i require 'timeout'" \ + test/test_helper.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rack-cache/rack-cache-1.11.1.ebuild b/dev-ruby/rack-cache/rack-cache-1.11.1.ebuild new file mode 100644 index 000000000000..3a46ea6f7c4b --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.11.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# no documentation is generable, it needs hanna, which is broken +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*" + +RUBY_FAKEGEM_GEMSPEC="rack-cache.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info" +HOMEPAGE="https://github.com/rtomayko/rack-cache" +SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/maxitest-3.4.0 + >=dev-ruby/minitest-5.7.0:5 + >=dev-ruby/mocha-0.13.0 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' \ + -e "2i require 'timeout'" \ + test/test_helper.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rack-cache/rack-cache-1.12.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.12.0.ebuild new file mode 100644 index 000000000000..3a46ea6f7c4b --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.12.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# no documentation is generable, it needs hanna, which is broken +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*" + +RUBY_FAKEGEM_GEMSPEC="rack-cache.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info" +HOMEPAGE="https://github.com/rtomayko/rack-cache" +SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +ruby_add_bdepend "test? ( + >=dev-ruby/maxitest-3.4.0 + >=dev-ruby/minitest-5.7.0:5 + >=dev-ruby/mocha-0.13.0 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' \ + -e "2i require 'timeout'" \ + test/test_helper.rb || die +} + +all_ruby_prepare() { + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rack-cache/rack-cache-1.9.0.ebuild b/dev-ruby/rack-cache/rack-cache-1.9.0.ebuild new file mode 100644 index 000000000000..0e2b27a6a69a --- /dev/null +++ b/dev-ruby/rack-cache/rack-cache-1.9.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# no documentation is generable, it needs hanna, which is broken +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*" + +inherit ruby-fakegem + +DESCRIPTION="Enable HTTP caching for Rack-based applications that produce freshness info" +HOMEPAGE="https://github.com/rtomayko/rack-cache" +SRC_URI="https://github.com/rtomayko/rack-cache/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.2" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +ruby_add_bdepend "test? ( + dev-ruby/maxitest + >=dev-ruby/minitest-5.7.0:5 + >=dev-ruby/mocha-0.13.0 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' \ + -e "2i require 'timeout'" \ + test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rack-mount/Manifest b/dev-ruby/rack-mount/Manifest new file mode 100644 index 000000000000..46c78169ab75 --- /dev/null +++ b/dev-ruby/rack-mount/Manifest @@ -0,0 +1 @@ +DIST rack-mount-0.8.3.tgz 33944 BLAKE2B 7763b55aaff25168924c9e237b762231e346b757b56919e454db52485cfa015989a03c93b9d1f0ae0802ab35773d646d70bc87e5d02307052c3c2c9ffa295d60 SHA512 5f1d10b951c967bc4c36a81b5c7dae5c5ec8d5253ee804fa1e1b4446c962fa0882d4c59773bca9373d5eb37a18646aff0a2dff2b1636d3d9126cae0f1e10a638 diff --git a/dev-ruby/rack-mount/files/rack-mount-fix-ruby20.patch b/dev-ruby/rack-mount/files/rack-mount-fix-ruby20.patch new file mode 100644 index 000000000000..f1e37faa21d6 --- /dev/null +++ b/dev-ruby/rack-mount/files/rack-mount-fix-ruby20.patch @@ -0,0 +1,26 @@ +From 42e7ae47c2dac2d98272ac99239e40bd59398891 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <v.ondruch@tiscali.cz> +Date: Tue, 9 Apr 2013 11:12:02 +0300 +Subject: [PATCH] Fix Ruby 2.0.0 compatibility + +#respond_to? now exclude protected methods. +--- + lib/rack/mount/multimap.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/rack/mount/multimap.rb b/lib/rack/mount/multimap.rb +index 6b773e2..b88630b 100644 +--- a/lib/rack/mount/multimap.rb ++++ b/lib/rack/mount/multimap.rb +@@ -125,7 +125,7 @@ def update_container(key) + end + + def iterate_over_container(container) +- if container.respond_to?(:each_container_with_default) ++ if container.respond_to?(:each_container_with_default, true) + container.each_container_with_default do |value| + yield value + end +-- +1.9.3 + diff --git a/dev-ruby/rack-mount/metadata.xml b/dev-ruby/rack-mount/metadata.xml new file mode 100644 index 000000000000..3e265d9d1a24 --- /dev/null +++ b/dev-ruby/rack-mount/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <longdescription> +Rack provides a common API for connecting web frameworks, web servers and layers +of software inbetween. +</longdescription> + <upstream> + <remote-id type="github">josh/rack-mount</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack-mount/rack-mount-0.8.3-r2.ebuild b/dev-ruby/rack-mount/rack-mount-0.8.3-r2.ebuild new file mode 100644 index 000000000000..1630b971e17c --- /dev/null +++ b/dev-ruby/rack-mount/rack-mount-0.8.3-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit versionator ruby-fakegem + +DESCRIPTION="A stackable dynamic tree based Rack router" +HOMEPAGE="https://github.com/josh/rack-mount" +SRC_URI="https://github.com/josh/rack-mount/tarball/v${PV} -> ${P}.tgz" +RUBY_S="josh-${PN}-*" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-1.0.0:*" + +RUBY_PATCHES=( ${PN}-fix-ruby20.patch ) + +all_ruby_prepare() { + # Avoid fragile test depending on hash ordering. + sed -i -e '/foo=1&bar=2/ s:^:#:' test/test_utils.rb || die +} diff --git a/dev-ruby/rack-openid/Manifest b/dev-ruby/rack-openid/Manifest new file mode 100644 index 000000000000..7210ec7f5f35 --- /dev/null +++ b/dev-ruby/rack-openid/Manifest @@ -0,0 +1 @@ +DIST rack-openid-1.4.2.tar.gz 9444 BLAKE2B 0aa675ff4b6a67fe21b93d245111415f5e483f7b4a210f819a1f1eb6b242f6d75a1c182a2965a57350eb6bf2a088989c90d4b3c0348a4643a3889639759be3c0 SHA512 7b651899c7afc10d11358bd6de075f2f902c2188ce5f9d7bb6d1fb75ec77d1c53b11926ee254eead2229ac00312382540dd550debfc5fdc137e009011eadd321 diff --git a/dev-ruby/rack-openid/metadata.xml b/dev-ruby/rack-openid/metadata.xml new file mode 100644 index 000000000000..9db95d517cf1 --- /dev/null +++ b/dev-ruby/rack-openid/metadata.xml @@ -0,0 +1,12 @@ +<?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">grosser/rack-openid</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild b/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild new file mode 100644 index 000000000000..9428dfa1bafe --- /dev/null +++ b/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +inherit ruby-fakegem + +DESCRIPTION="Provides a more HTTPish API around the ruby-openid library" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/grosser/rack-openid" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ruby-openid-2.1.8 >=dev-ruby/rack-1.1.0:*" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' -e '/minitest\/rg/d' -e '/[Ll]og/d' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_rack_openid.rb || die + # Needs unpackaged rots dependency https://github.com/roman/rots + # No release available right now + #${RUBY} -Ilib test/test_integration.rb || die +} diff --git a/dev-ruby/rack-protection/Manifest b/dev-ruby/rack-protection/Manifest new file mode 100644 index 000000000000..7d2f3c9b869f --- /dev/null +++ b/dev-ruby/rack-protection/Manifest @@ -0,0 +1,4 @@ +DIST rack-protection-1.5.5.gem 18432 BLAKE2B abda1313e7e0d04299a689c55241cd92d0f5ed2048395ab79f09ba271100a8dc99fbf5f924e3b3cbe28f318090144539eb0174cc1813d371d9f37df31ab04315 SHA512 c4066a50771247fc89d4ddee44ff87e40a24bad95e914ed2f72cbf9c45152e67e51d2ccc7d1725ade637296a080b06f304157a1a024613a97595b144e03e2e70 +DIST rack-protection-2.0.5.gem 16896 BLAKE2B 144888ca499739017ffec494785ca5cba0d1cbfabdf08b11aad4fc88aaaa737408d1801412f05919830c65fd11b2f344f0f758a0334b109174805d5089352521 SHA512 9c4c80a8f70042bea81a67260e26aa25c0a33c73835e4e49cd44c83930f97d8c4d63004d3e39ed631f016e44d66fba238f9c509b0e44eddb2f484d174adea9b4 +DIST rack-protection-2.0.7.gem 16896 BLAKE2B e9d6c91cebc62e6f1efa91a790edc218c78b8336ebcb03ac086e070360be0e5ded4a897042b85bef8e5625dd8c1bf035a825202f0a619f10e584fafce1ab0d0d SHA512 9001bee93859c87060450b83171eab80bf085c0238f978673ac6e31e3e1884a0de1a6d789a61900d1fc429e64f2eb3893e88cf32bef0b3e2a9f58e6f3a3abea1 +DIST rack-protection-2.0.8.1.gem 16896 BLAKE2B 013fc8a5ceaadbfde52a7aca0dab8116cb01d6f034f3370d22a09545885a61adef92ad5ed9f82faf4434507a079ff9a0c3781b906ab6aba69fa032216f276fcb SHA512 264aef904d9ae1c38197ad4ad44f1638905bd180fc4bb402c47856c37168059e8e975ca2de5518b1e5cebf79b970024b7d9f5f8b8908880451357dea5e428562 diff --git a/dev-ruby/rack-protection/metadata.xml b/dev-ruby/rack-protection/metadata.xml new file mode 100644 index 000000000000..ac3f54eb1cfd --- /dev/null +++ b/dev-ruby/rack-protection/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <longdescription> +Rack provides a common API for connecting web frameworks, web servers and layers +of software inbetween. +</longdescription> + <upstream> + <remote-id type="github">rkh/rack-protection</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack-protection/rack-protection-1.5.5.ebuild b/dev-ruby/rack-protection/rack-protection-1.5.5.ebuild new file mode 100644 index 000000000000..947c453c7e41 --- /dev/null +++ b/dev-ruby/rack-protection/rack-protection-1.5.5.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="rack-protection.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="This gem protects against typical web attacks" +HOMEPAGE="https://github.com/rkh/rack-protection" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rack-protection/rack-protection-2.0.5.ebuild b/dev-ruby/rack-protection/rack-protection-2.0.5.ebuild new file mode 100644 index 000000000000..cf0d8d0cf441 --- /dev/null +++ b/dev-ruby/rack-protection/rack-protection-2.0.5.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# There are no specs in the gem and the source cannot be downloaded separately. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="This gem protects against typical web attacks" +HOMEPAGE="https://github.com/rkh/rack-protection" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +# ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rack-protection/rack-protection-2.0.7.ebuild b/dev-ruby/rack-protection/rack-protection-2.0.7.ebuild new file mode 100644 index 000000000000..baa1bf4d9be8 --- /dev/null +++ b/dev-ruby/rack-protection/rack-protection-2.0.7.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# There are no specs in the gem and the source cannot be downloaded separately. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="This gem protects against typical web attacks" +HOMEPAGE="https://github.com/rkh/rack-protection" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +# ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rack-protection/rack-protection-2.0.8.1.ebuild b/dev-ruby/rack-protection/rack-protection-2.0.8.1.ebuild new file mode 100644 index 000000000000..89bfa5e95767 --- /dev/null +++ b/dev-ruby/rack-protection/rack-protection-2.0.8.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# There are no specs in the gem and the source cannot be downloaded separately. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="This gem protects against typical web attacks" +HOMEPAGE="https://github.com/rkh/rack-protection" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rack:*" + +# ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rack-ssl/Manifest b/dev-ruby/rack-ssl/Manifest new file mode 100644 index 000000000000..2c4103fb37b0 --- /dev/null +++ b/dev-ruby/rack-ssl/Manifest @@ -0,0 +1 @@ +DIST rack-ssl-1.4.1-git.tgz 3238 BLAKE2B 7861fff6dd7b15505e008d150a515dee6749767b3e2056553baa85e3696f4c9fb63a5a0d03b99588ee09d79163c0463763824a9bb53fdc86f857f9c472c9fb2e SHA512 700a2cbc848be8e410186e6af709c5d7a8bae65ada02b405711dc60f8c6e1fe4fb00c3acc55ddc76a1d79e9468ba8f92d0350c983d5c1b83e4cee2b91aa68f23 diff --git a/dev-ruby/rack-ssl/metadata.xml b/dev-ruby/rack-ssl/metadata.xml new file mode 100644 index 000000000000..5dda08a5825b --- /dev/null +++ b/dev-ruby/rack-ssl/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <longdescription> +Rack provides a common API for connecting web frameworks, web servers and layers +of software inbetween. +</longdescription> + <upstream> + <remote-id type="github">josh/rack-ssl</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack-ssl/rack-ssl-1.4.1.ebuild b/dev-ruby/rack-ssl/rack-ssl-1.4.1.ebuild new file mode 100644 index 000000000000..60cab0626573 --- /dev/null +++ b/dev-ruby/rack-ssl/rack-ssl-1.4.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem eutils versionator + +DESCRIPTION="Force SSL/TLS in your app" +HOMEPAGE="https://github.com/josh/rack-ssl/" +SRC_URI="https://github.com/josh/rack-ssl/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/rack-test/Manifest b/dev-ruby/rack-test/Manifest new file mode 100644 index 000000000000..b851dbab092d --- /dev/null +++ b/dev-ruby/rack-test/Manifest @@ -0,0 +1 @@ +DIST rack-test-1.1.0.tar.gz 27035 BLAKE2B 640de2303850662c3b6a8fc17f2344223c9928b48abde6d1b251a634689793158f35498c4736e4e2d069efa921d37bc32da92a7e17c0761a6f6111b345b54c1a SHA512 36d947d9b13d33ee8322e5b9d18fe8266787ccb7703f1fafadc040123e34dd44e98e7faf8b6dd816e51ed167065b2ffe79e9bcee74564dc324ba2b7dba76f82a diff --git a/dev-ruby/rack-test/metadata.xml b/dev-ruby/rack-test/metadata.xml new file mode 100644 index 000000000000..5a5c0d013b94 --- /dev/null +++ b/dev-ruby/rack-test/metadata.xml @@ -0,0 +1,12 @@ +<?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">brynary/rack-test</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack-test/rack-test-1.1.0.ebuild b/dev-ruby/rack-test/rack-test-1.1.0.ebuild new file mode 100644 index 000000000000..47a50dc6c453 --- /dev/null +++ b/dev-ruby/rack-test/rack-test-1.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps" +HOMEPAGE="https://github.com/rack-test/rack-test" +SRC_URI="https://github.com/rack-test/rack-test/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-1.0:* <dev-ruby/rack-3:*" +ruby_add_bdepend " + test? ( dev-ruby/sinatra:2 || ( dev-ruby/rack:2.1 dev-ruby/rack:2.0 ) )" + +all_ruby_prepare() { + rm Gemfile* || die + sed -e '/bundler/d' \ + -e '/[Cc]ode[Cc]limate/d' \ + -e '/simplecov/,/^end/ s:^:#:' \ + -e '1igem "rack", "<2.2"' \ + -i spec/spec_helper.rb || die + sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest new file mode 100644 index 000000000000..a09a5a41563b --- /dev/null +++ b/dev-ruby/rack/Manifest @@ -0,0 +1,6 @@ +DIST rack-1.6.12.gem 230912 BLAKE2B 98a3ae6905535b284a5e723d39db7788f97c11b29506fbdb3c584c53d1dae35d1e8006724e5f63195d8407521806c53a5fcf47544b4241370a3576e6dbea0dc6 SHA512 9d0f6f44d228c1b6a7b0fbf29a1e5a2f45339b4749d563336c1729d88c3e37d6360fedde75b7cfcddcd7e051025fc50f04b594fb68d499899e96e2385478fe76 +DIST rack-2.0.9.gem 256512 BLAKE2B 7da7b239e5679a2f6d19626cbaf8b4ec02a7ce7ffd086732925963ac6fe0397f180548c6065abdbe8d55de802583d7dd09de38da0d4d695559456d852d2b3d4c SHA512 5b56d1aa7bcca11c631f8205605e71f9c661ec9ea7694a16f32f6fdb493cf015d184f924fdf342abebacfbb185e367c9e6dd1288ffe9dabaf4e6566b8853a191 +DIST rack-2.1.3.tar.gz 251662 BLAKE2B 8e9adc9ab2f8e66db61d39b3b73c1cbe692965ca1ae3131ac269a21fac43c0caca58a7c19a35d2edb70f053c7156b4e7663aadf3014af331e57f6bba780ee59b SHA512 997ebae3db270515881639792ba30b14ac173f86b548304d36dbe0f865fe7b5d8fdd25bc9f791d35ce70c353939722aeae0cd348486ca56a928a692937bfae8d +DIST rack-2.1.4.tar.gz 251772 BLAKE2B 9dbd1ac1dade5935a3819b8c23e492b3e637ed2fc99a95ad0592d40501ea4171433ac4bba08a6031cd77521f4ae0f430ea60394c51b7c5f25cd9e82b72067ba8 SHA512 ce36902125171d2c9baffdd85a171237b9262a47115f043ce96486fb60fcd77826ae28d9416c43a3549db657a3da1c7be45f14842e4b343517f23dab82abd81a +DIST rack-2.2.2.tar.gz 277961 BLAKE2B 5823084cb8b2f66bf46f46d460e93ffc1817371d0cffd711675f5c84e934c5ac5d2a8818d7665eba2490f672344995e3ac54ac8b1dc6d891e800d049ad0db92f SHA512 d0d27d091584b6cabafaa1d1053e013bc28ac0dc7da7b5bf28e528f5479091db1c896052a4ffe75be22011d3bc35c41ce73514a47e66b28ff8d3b723c46fd42c +DIST rack-2.2.3.tar.gz 278045 BLAKE2B 2182ab6ee2ca0e40bd131dc96cf15d7e1015570a0702c2419e50da9eae6afedc0f1543a2fdc1fb32022a65788ab486b7add688c8bf201ad46a3d101b6e625a8b SHA512 0daefd1fd7d1c83a5aaf0e8a3c0d734f805f6718c3f2d20673e78242f10fa99c24f8e8d480cb7f0ee299d96a4b691e4a19c967785de946dc863e9b78e0c3ac53 diff --git a/dev-ruby/rack/metadata.xml b/dev-ruby/rack/metadata.xml new file mode 100644 index 000000000000..1c3906a08589 --- /dev/null +++ b/dev-ruby/rack/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> + <longdescription>Rack provides a common API for connecting web frameworks, web servers and layers +of software inbetween.</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rack/rack-1.6.12.ebuild b/dev-ruby/rack/rack-1.6.12.ebuild new file mode 100644 index 000000000000..a3e336dca7f1 --- /dev/null +++ b/dev-ruby/rack/rack-1.6.12.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md KNOWN-ISSUES README.rdoc SPEC" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://rack.github.com/" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. +ruby_add_bdepend "test? ( dev-ruby/bacon )" + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !<dev-ruby/rack-1.5.2-r4:1.5" + +all_ruby_prepare() { + # The build system tries to generate the ChangeLog from git. Create + # an empty file to avoid a needless dependency on git. + touch ChangeLog || die + + # Skip test also failing upstream in preference of making a security release available. + sed -i -e '/knows to prefer plaintext for non-html/,/^ end/ s:^:#:' test/spec_showexceptions.rb || die +} + +each_ruby_test() { + # Since the Rakefile calls specrb directly rather than loading it, we + # cannot use it to launch the tests or only the currently-selected + # RUBY interpreter will be tested. + ${RUBY} -S bacon -Ilib -w -a \ + -q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \ + || die "test failed for ${RUBY}" +} diff --git a/dev-ruby/rack/rack-2.0.9.ebuild b/dev-ruby/rack/rack-2.0.9.ebuild new file mode 100644 index 000000000000..e2be992f6b43 --- /dev/null +++ b/dev-ruby/rack/rack-2.0.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.rdoc SPEC" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://rack.github.com/" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/concurrent-ruby )" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !<dev-ruby/rack-1.5.2-r4:1.5 !<dev-ruby/rack-1.6.4-r2:1.6" + +all_ruby_prepare() { + # The build system tries to generate the ChangeLog from git. Create + # an empty file to avoid a needless dependency on git. + touch ChangeLog || die + + # Avoid development dependency + sed -i -e '/minitest-sprint/ s:^:#:' rack.gemspec || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/rack/rack-2.1.3.ebuild b/dev-ruby/rack/rack-2.1.3.ebuild new file mode 100644 index 000000000000..e1ba0ec1410c --- /dev/null +++ b/dev-ruby/rack/rack-2.1.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc SPEC" + +RUBY_FAKEGEM_GEMSPEC="rack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://rack.github.com/" +SRC_URI="https://github.com/rack/rack/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/minitest-global_expectations + dev-ruby/concurrent-ruby +)" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !<dev-ruby/rack-1.6.4-r2:1.6 !!<dev-ruby/rack-2.0.8-r1:2.0" + +all_ruby_prepare() { + # The build system tries to generate the ChangeLog from git. Create + # an empty file to avoid a needless dependency on git. + touch ChangeLog || die + + # Avoid development dependency + sed -i -e '/minitest-sprint/ s:^:#:' rack.gemspec || die + + # Skip tests failing due to encoding + sed -e '/correctly escape script name with spaces/askip "encoding"' \ + -e '/uri escape path parts/askip "encoding"' \ + -e '/correctly escape script name/askip "encoding"' \ + -i test/spec_directory.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/rack/rack-2.1.4.ebuild b/dev-ruby/rack/rack-2.1.4.ebuild new file mode 100644 index 000000000000..f3a1f3f67577 --- /dev/null +++ b/dev-ruby/rack/rack-2.1.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc SPEC" + +RUBY_FAKEGEM_GEMSPEC="rack.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://rack.github.com/" +SRC_URI="https://github.com/rack/rack/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/minitest-global_expectations + dev-ruby/concurrent-ruby +)" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !<dev-ruby/rack-1.6.4-r2:1.6 !!<dev-ruby/rack-2.0.8-r1:2.0" + +all_ruby_prepare() { + # The build system tries to generate the ChangeLog from git. Create + # an empty file to avoid a needless dependency on git. + touch ChangeLog || die + + # Avoid development dependency + sed -i -e '/minitest-sprint/ s:^:#:' rack.gemspec || die + + # Skip tests failing due to encoding + sed -e '/correctly escape script name with spaces/askip "encoding"' \ + -e '/uri escape path parts/askip "encoding"' \ + -e '/correctly escape script name/askip "encoding"' \ + -i test/spec_directory.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/rack/rack-2.2.2.ebuild b/dev-ruby/rack/rack-2.2.2.ebuild new file mode 100644 index 000000000000..74779c85b94f --- /dev/null +++ b/dev-ruby/rack/rack-2.2.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc SPEC.rdoc" + +RUBY_FAKEGEM_GEMSPEC="rack.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://rack.github.com/" +SRC_URI="https://github.com/rack/rack/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 sparc x86" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/minitest-global_expectations + dev-ruby/concurrent-ruby +)" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !<dev-ruby/rack-1.6.4-r2:1.6 !!<dev-ruby/rack-2.0.8-r1:2.0 !!<dev-ruby/rack-2.1.1-r1:2.1" + +all_ruby_prepare() { + # The build system tries to generate the ChangeLog from git. Create + # an empty file to avoid a needless dependency on git. + touch ChangeLog || die + + # Avoid development dependency + sed -i -e '/minitest-sprint/ s:^:#:' -e "s:require_relative ':require './:" rack.gemspec || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/rack/rack-2.2.3.ebuild b/dev-ruby/rack/rack-2.2.3.ebuild new file mode 100644 index 000000000000..eb76611f07d1 --- /dev/null +++ b/dev-ruby/rack/rack-2.2.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc SPEC.rdoc" + +RUBY_FAKEGEM_GEMSPEC="rack.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://rack.github.com/" +SRC_URI="https://github.com/rack/rack/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/minitest-global_expectations + dev-ruby/concurrent-ruby +)" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !<dev-ruby/rack-1.6.4-r2:1.6 !!<dev-ruby/rack-2.0.8-r1:2.0 !!<dev-ruby/rack-2.1.1-r1:2.1" + +all_ruby_prepare() { + # The build system tries to generate the ChangeLog from git. Create + # an empty file to avoid a needless dependency on git. + touch ChangeLog || die + + # Avoid development dependency + sed -i -e '/minitest-sprint/ s:^:#:' -e "s:require_relative ':require './:" rack.gemspec || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/radius/Manifest b/dev-ruby/radius/Manifest new file mode 100644 index 000000000000..c5224736ce47 --- /dev/null +++ b/dev-ruby/radius/Manifest @@ -0,0 +1 @@ +DIST radius-0.7.5.gem 147456 BLAKE2B c62c06196bc42cd83b7d898744fd655c3332d14348318974de272491eb823861a650b5466958ea5e0b7be2a5a119c75a75a7e6c53975d7099ef1c45d912c7595 SHA512 2e1f94c45bfa23ffbcbc00b7dc6be04d4f085e513554e7a6c4193270ae2bc2ef952dac72e4995b6f7ce43e92363df3ca7e7b183758ccd1f8aafe64f82cacb074 diff --git a/dev-ruby/radius/metadata.xml b/dev-ruby/radius/metadata.xml new file mode 100644 index 000000000000..427186ba0a72 --- /dev/null +++ b/dev-ruby/radius/metadata.xml @@ -0,0 +1,12 @@ +<?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">jlong/radius</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/radius/radius-0.7.5.ebuild b/dev-ruby/radius/radius-0.7.5.ebuild new file mode 100644 index 000000000000..bd53d86afa98 --- /dev/null +++ b/dev-ruby/radius/radius-0.7.5.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG QUICKSTART.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Powerful tag-based template system" +HOMEPAGE="https://github.com/jlong/radius" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/kramdown )" + +all_ruby_prepare() { + sed -i -e "/simplecov/,/end/d" -e "/coveralls/d" test/test_helper.rb || die + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/rails-dom-testing/Manifest b/dev-ruby/rails-dom-testing/Manifest new file mode 100644 index 000000000000..6c38c5c58c07 --- /dev/null +++ b/dev-ruby/rails-dom-testing/Manifest @@ -0,0 +1 @@ +DIST rails-dom-testing-2.0.3.gem 14336 BLAKE2B 8740433474e88a7cb5be14b4357dd0b69d45a39972136cfe9a4d695d2478b5b535e2b407eb0acc9ec3abd633cb1f8591a634abe6eacd8ec38bba865ad32ed92e SHA512 910549bd42e6651b7160af0a4aaffbbdeaee829aa7c3f3552a73ba985ef1230d5586f5bf723018f2cd8c6d5c6238d045a8f3e686704b6989e5a56664061f6c72 diff --git a/dev-ruby/rails-dom-testing/metadata.xml b/dev-ruby/rails-dom-testing/metadata.xml new file mode 100644 index 000000000000..77c998f53e31 --- /dev/null +++ b/dev-ruby/rails-dom-testing/metadata.xml @@ -0,0 +1,12 @@ +<?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">kaspth/rails-dom-testing</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rails-dom-testing/rails-dom-testing-2.0.3-r1.ebuild b/dev-ruby/rails-dom-testing/rails-dom-testing-2.0.3-r1.ebuild new file mode 100644 index 000000000000..e5f104823864 --- /dev/null +++ b/dev-ruby/rails-dom-testing/rails-dom-testing-2.0.3-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Compare doms and assert certain elements exists in doms using Nokogiri" +HOMEPAGE="https://github.com/kaspth/rails-dom-testing" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-4.2.0:* + >=dev-ruby/nokogiri-1.6" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rails-dom-testing/rails-dom-testing-2.0.3.ebuild b/dev-ruby/rails-dom-testing/rails-dom-testing-2.0.3.ebuild new file mode 100644 index 000000000000..8cdcf4dde98a --- /dev/null +++ b/dev-ruby/rails-dom-testing/rails-dom-testing-2.0.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Compare doms and assert certain elements exists in doms using Nokogiri" +HOMEPAGE="https://github.com/kaspth/rails-dom-testing" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-4.2.0:* + >=dev-ruby/nokogiri-1.6" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rails-html-sanitizer/Manifest b/dev-ruby/rails-html-sanitizer/Manifest new file mode 100644 index 000000000000..38c14777704a --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/Manifest @@ -0,0 +1,2 @@ +DIST rails-html-sanitizer-1.2.0.gem 16384 BLAKE2B f5a5ededf15c199b59dfcd7b2da234f766cd46cf46834b458940d7b68fe27dd97602a6a673d8c0f700cf9c593a8375c97e74da0ac0db355af93bf951540ac368 SHA512 efe006ad2857a21d466375f630fe269cceb78aa467d91cdf193ec5eab8fdb0d58443696989b920840f6aafcb9ddfa6a72972f0e09456b2aa57018d86791cc38f +DIST rails-html-sanitizer-1.3.0.gem 16384 BLAKE2B ae0b9acfd4ffc53b84b92cb42c149022312112f90d64866de916be2b91b680ecfbbdc94d278626c992cc90b0061705c11c9a604f6d9e91092e1117e40e003e6d SHA512 01d67f750ffc6ac857e4dc47b77d66e02acc4488f353af97e2fc367590fe85107b631aaf8b32f61f9e1f375c93e1b24fbf966f738e35483f5174880a0ffe5ddb diff --git a/dev-ruby/rails-html-sanitizer/metadata.xml b/dev-ruby/rails-html-sanitizer/metadata.xml new file mode 100644 index 000000000000..d655bbbdb6e6 --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/metadata.xml @@ -0,0 +1,12 @@ +<?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">rafaelfranca/rails-html-sanitizer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.2.0.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.2.0.ebuild new file mode 100644 index 000000000000..c95b7dcb82f1 --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize HTML fragments in Rails applications" +HOMEPAGE="https://github.com/rafaelfranca/rails-html-sanitizer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/loofah-2.2.2:0" + +ruby_add_bdepend "test? ( dev-ruby/rails-dom-testing )" + +all_ruby_prepare() { + # Avoid tests that depend on nokogiri patches to libxml2. + sed -i -e '/\(name_action\|attr\)_in_a_tag_in_safe_list_sanitizer/askip "libxml2"' test/sanitizer_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.3.0-r1.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.3.0-r1.ebuild new file mode 100644 index 000000000000..6a07e8137773 --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.3.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize HTML fragments in Rails applications" +HOMEPAGE="https://github.com/rafaelfranca/rails-html-sanitizer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/loofah-2.3:0" + +ruby_add_bdepend "test? ( dev-ruby/rails-dom-testing )" + +all_ruby_prepare() { + # Avoid tests that depend on nokogiri patches to libxml2. + sed -i -e '/\(name_action\|attr\)_in_a_tag_in_safe_list_sanitizer/askip "libxml2"' test/sanitizer_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.3.0.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.3.0.ebuild new file mode 100644 index 000000000000..3b19aa92c2a1 --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.3.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize HTML fragments in Rails applications" +HOMEPAGE="https://github.com/rafaelfranca/rails-html-sanitizer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/loofah-2.3:0" + +ruby_add_bdepend "test? ( dev-ruby/rails-dom-testing )" + +all_ruby_prepare() { + # Avoid tests that depend on nokogiri patches to libxml2. + sed -i -e '/\(name_action\|attr\)_in_a_tag_in_safe_list_sanitizer/askip "libxml2"' test/sanitizer_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rails/Manifest b/dev-ruby/rails/Manifest new file mode 100644 index 000000000000..fcff076b78f8 --- /dev/null +++ b/dev-ruby/rails/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.gem 6656 BLAKE2B ff439904b04a0e3d90e8d6c684d7ec758d40942c87aebaa3bd67da2a8a770125f25705f64eab6734c1745844b0b7f4ad5e425ccf4509bc62a1ef86ca3361620e SHA512 6960d9441d372bcfe55a18de2aeec6f7246af2a259a14b72f475771d02e44ae5a178fe14a7c05e05c9083c4d5277a5a834a2a46ddbdad1b0261dc9df1148ddc6 +DIST rails-5.2.4.3.gem 6656 BLAKE2B 36519aed8bc34ed303125857ebcc4cbc860b530f6de1a7e311c878533b69a2c7026ca39c7979e45411bd3e68256835abead35e4336a0130894c88115e030fcba SHA512 856b7a73bccba7ddc5f10d5acba025da0c7546a70f484d685f009adcda79f0f40c5cc21d1a99edfcb6114cc7643e806240d545fe6fcc6e8d97abf4d79644a695 +DIST rails-6.0.2.2.gem 6656 BLAKE2B 631342c885e93ee6ac69615051a6b244de0911669a479732897fe73a77b182a93ced8b00c18b53b6ceca14549d32468cee7170c6504bb61de2b6b9734cec8909 SHA512 af258bdd3c6aa8a5f511ed98dae5c97169a895aba32ee8db5fd36f4be506a3eab6595acab13cb5a6eda1e721f83881c372b25a4fdb20774fd7e247286744b502 +DIST rails-6.0.3.1.gem 6656 BLAKE2B 2b0d9aca0a05984688a66cc14065fe99987eeaf2ca79867f075e39ace35cc4eb909b3b42430de9289b7ba5b26c96506c9a9eddb570a8c8b57c52f1a9e7867d9b SHA512 f8d40fb0225e689b2c3ecf948d20e9c44db3d399a2bcd779397a3fcfa862c7735399a0d96fb5c19bf5654a56116941017abe3c5aacff99e403a785d9c44309e8 +DIST rails-6.0.3.2.gem 6656 BLAKE2B 080846459db9ad58650852acb60eab1474cb8eefb7f4720dc83ac0562dd1bfecd4c98ea0c9165d3c6d578edfed6a45088ee4c223e33fb02d26510ad9ccfd74ff SHA512 288f48bd20f4a5ed485a127ddb9e307a69d3ee00198a168ed1d2581b0e200e0fa14b02811b4c72cc20eedf616b10cd46b38dbbed5fcf44125bda25e1aae41b44 +DIST rails-6.0.3.gem 6656 BLAKE2B dc5349ca3969ddcb5322bade4b55e814e2204d7203203251e7dac6aa4dc3a051a005ae7d572ddb8d8710bfe60fa33c8b0a64aa6c2d66b9b7840a8ffc67f9f965 SHA512 668686b520dd7bc1808237553162b9a6e39607a08264afa58d6ffc67ed6f03047d067ec134d77be6bb35059eab34c5d712b8ad94a023d9df48024a6fd22366fb diff --git a/dev-ruby/rails/metadata.xml b/dev-ruby/rails/metadata.xml new file mode 100644 index 000000000000..56d52930a310 --- /dev/null +++ b/dev-ruby/rails/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <use> + <flag name="asset-pipeline"> + Also install the default components for the asset pipeline. + These are not required but they are activated automatically + in new Rails projects by default. + </flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rails/rails-5.2.4.2.ebuild b/dev-ruby/rails/rails-5.2.4.2.ebuild new file mode 100644 index 000000000000..218aaa26b3b9 --- /dev/null +++ b/dev-ruby/rails/rails-5.2.4.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="https://rubyonrails.org" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +IUSE="+asset-pipeline" + +ruby_add_rdepend " + ~dev-ruby/actioncable-${PV} + ~dev-ruby/actionmailer-${PV} + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/bundler-1.3:* + >=dev-ruby/sprockets-rails-2.0.0:* + asset-pipeline? ( + dev-ruby/jquery-rails:* + >=dev-ruby/sass-rails-5.0:5.0 + >=dev-ruby/uglifier-1.3.0:* + >=dev-ruby/coffee-rails-4.1.0:* + )" + +# also: turbolinks, >=jbuilder-1.2:1 diff --git a/dev-ruby/rails/rails-5.2.4.3.ebuild b/dev-ruby/rails/rails-5.2.4.3.ebuild new file mode 100644 index 000000000000..218aaa26b3b9 --- /dev/null +++ b/dev-ruby/rails/rails-5.2.4.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="https://rubyonrails.org" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +IUSE="+asset-pipeline" + +ruby_add_rdepend " + ~dev-ruby/actioncable-${PV} + ~dev-ruby/actionmailer-${PV} + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/bundler-1.3:* + >=dev-ruby/sprockets-rails-2.0.0:* + asset-pipeline? ( + dev-ruby/jquery-rails:* + >=dev-ruby/sass-rails-5.0:5.0 + >=dev-ruby/uglifier-1.3.0:* + >=dev-ruby/coffee-rails-4.1.0:* + )" + +# also: turbolinks, >=jbuilder-1.2:1 diff --git a/dev-ruby/rails/rails-6.0.2.2.ebuild b/dev-ruby/rails/rails-6.0.2.2.ebuild new file mode 100644 index 000000000000..3be9b73306e0 --- /dev/null +++ b/dev-ruby/rails/rails-6.0.2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="https://rubyonrails.org" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + ~dev-ruby/actioncable-${PV} + ~dev-ruby/actionmailbox-${PV} + ~dev-ruby/actionmailer-${PV} + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actiontext-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/bundler-1.3:* + >=dev-ruby/sprockets-rails-2.0.0:* +" diff --git a/dev-ruby/rails/rails-6.0.3.1.ebuild b/dev-ruby/rails/rails-6.0.3.1.ebuild new file mode 100644 index 000000000000..3be9b73306e0 --- /dev/null +++ b/dev-ruby/rails/rails-6.0.3.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="https://rubyonrails.org" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + ~dev-ruby/actioncable-${PV} + ~dev-ruby/actionmailbox-${PV} + ~dev-ruby/actionmailer-${PV} + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actiontext-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/bundler-1.3:* + >=dev-ruby/sprockets-rails-2.0.0:* +" diff --git a/dev-ruby/rails/rails-6.0.3.2.ebuild b/dev-ruby/rails/rails-6.0.3.2.ebuild new file mode 100644 index 000000000000..3be9b73306e0 --- /dev/null +++ b/dev-ruby/rails/rails-6.0.3.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="https://rubyonrails.org" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + ~dev-ruby/actioncable-${PV} + ~dev-ruby/actionmailbox-${PV} + ~dev-ruby/actionmailer-${PV} + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actiontext-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/bundler-1.3:* + >=dev-ruby/sprockets-rails-2.0.0:* +" diff --git a/dev-ruby/rails/rails-6.0.3.ebuild b/dev-ruby/rails/rails-6.0.3.ebuild new file mode 100644 index 000000000000..3be9b73306e0 --- /dev/null +++ b/dev-ruby/rails/rails-6.0.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="https://rubyonrails.org" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + ~dev-ruby/actioncable-${PV} + ~dev-ruby/actionmailbox-${PV} + ~dev-ruby/actionmailer-${PV} + ~dev-ruby/actionpack-${PV} + ~dev-ruby/actiontext-${PV} + ~dev-ruby/actionview-${PV} + ~dev-ruby/activejob-${PV} + ~dev-ruby/activemodel-${PV} + ~dev-ruby/activerecord-${PV} + ~dev-ruby/activestorage-${PV} + ~dev-ruby/activesupport-${PV} + ~dev-ruby/railties-${PV} + >=dev-ruby/bundler-1.3:* + >=dev-ruby/sprockets-rails-2.0.0:* +" diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest new file mode 100644 index 000000000000..0055cbcdc29d --- /dev/null +++ b/dev-ruby/railties/Manifest @@ -0,0 +1,6 @@ +DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc +DIST rails-5.2.4.3.tgz 8824955 BLAKE2B 7db1bdda581e345713b796152c68e13911076c0af752aa91016a559fb380ee33b5f1822576120940995968efa6351165af0e21f97ff2e201bc8250f7e3178089 SHA512 b01b454f38593b50788cecef4f2b25938b0e176d24476bf0a8145b581c7327e0d8572a62fab4256372b51d75a9463431bbd98470a31298a6ff4d5f81f7ff92ce +DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 +DIST rails-6.0.3.1.tgz 18567937 BLAKE2B fe6b58c2cb389f766d356f983787ddd602ee835e90cdbe26c25586c1304aa8c80d4ace2e0956326c0dd428dcd51a624d68d64667c2294c326779498a809ea6c9 SHA512 fcdaff0b0e4877a53f89b2b69c9271213297db8df8abccd071da5f2b2d3e3e6855914e1059596903f761b9a3891b31c2fdf10e887183f4433b260f84c4ebccdf +DIST rails-6.0.3.2.tgz 18568792 BLAKE2B 574d4b7da1bf0ff308ca1a64369c16e29396c8faddf741bc0f2b7d0c0761e440d64dade6ef67ba4923045c7eab1cd0689d45b6b26f3e3077020157a2b29fb17f SHA512 ea019bef7facc1b8b0d2f181da45d70456a895f2d57eb2410e4a06ba7bea0165dacc0f15fe5080150e4b4ef3c81dacee70b200468232da857fdf60def85b5aec +DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b diff --git a/dev-ruby/railties/metadata.xml b/dev-ruby/railties/metadata.xml new file mode 100644 index 000000000000..96e4513a5c7b --- /dev/null +++ b/dev-ruby/railties/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/railties/railties-5.2.4.2.ebuild b/dev-ruby/railties/railties-5.2.4.2.ebuild new file mode 100644 index 000000000000..8759d5a09f8a --- /dev/null +++ b/dev-ruby/railties/railties-5.2.4.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.24" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/thor-0.18.1 + >=dev-ruby/rake-0.8.7 + dev-ruby/method_source +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/railties/railties-5.2.4.3.ebuild b/dev-ruby/railties/railties-5.2.4.3.ebuild new file mode 100644 index 000000000000..8759d5a09f8a --- /dev/null +++ b/dev-ruby/railties/railties-5.2.4.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.24" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/thor-0.18.1 + >=dev-ruby/rake-0.8.7 + dev-ruby/method_source +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/railties/railties-6.0.2.2.ebuild b/dev-ruby/railties/railties-6.0.2.2.ebuild new file mode 100644 index 000000000000..965e9f44c026 --- /dev/null +++ b/dev-ruby/railties/railties-6.0.2.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.24" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/thor-0.20.3 + >=dev-ruby/rake-0.8.7 + dev-ruby/method_source +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/railties/railties-6.0.3.1.ebuild b/dev-ruby/railties/railties-6.0.3.1.ebuild new file mode 100644 index 000000000000..828467ed5289 --- /dev/null +++ b/dev-ruby/railties/railties-6.0.3.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.24" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/thor-0.20.3 + >=dev-ruby/rake-0.8.7 + dev-ruby/method_source +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/railties/railties-6.0.3.2.ebuild b/dev-ruby/railties/railties-6.0.3.2.ebuild new file mode 100644 index 000000000000..828467ed5289 --- /dev/null +++ b/dev-ruby/railties/railties-6.0.3.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.24" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/thor-0.20.3 + >=dev-ruby/rake-0.8.7 + dev-ruby/method_source +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/railties/railties-6.0.3.ebuild b/dev-ruby/railties/railties-6.0.3.ebuild new file mode 100644 index 000000000000..828467ed5289 --- /dev/null +++ b/dev-ruby/railties/railties-6.0.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.24" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + >=dev-ruby/thor-0.20.3 + >=dev-ruby/rake-0.8.7 + dev-ruby/method_source +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/rainbow/Manifest b/dev-ruby/rainbow/Manifest new file mode 100644 index 000000000000..2a4e1ae4b355 --- /dev/null +++ b/dev-ruby/rainbow/Manifest @@ -0,0 +1,3 @@ +DIST rainbow-git-1.1.4.tgz 10301 BLAKE2B db89785e5147148a91dfed4dedbadf96bd9912b337fe7b5d1f5249029741ebc43b74183abdebf92e2cfa1ae9624cc57a2145a8f3d20d5996c2d4a7e495220ed5 SHA512 ca46337628a93530ccb10d66fad428248bea62c5a103485afff68584370a325a31f4d1f2a52e1228c1faa65c6f3cc2e19af22ee24ef3a61aa707899f04c4f546 +DIST rainbow-git-2.2.2.tgz 14295 BLAKE2B e89cb8d72d8b90f71967ee714098a133244673f00af39d7202d2a7fa1aa92c55af307d08417f83f63c967e568e9e9a15e47cc9dfd672dd8e6974e3eb4b630a4e SHA512 fac9a8cc39f23a1b268f3a01d755a5ccb79f8ee11a28228d958a5b77472c5b3fbaac748c917f7d4afebb911cbef0e0242c5224c8df29672073c1f54bf44c9307 +DIST rainbow-git-3.0.0.tgz 15105 BLAKE2B bc2c91b8ac726c080dbed45584adcdf4a4a496de070a92291042490009ae490efc4ab91cdd12d338f0cda156811358550507ad629e27dd54445a68427f8d4d2d SHA512 863b89152696b6a13606a1e92b68a788b9b5bcd6f521f02f26fb189fc6c9613e5db032dd5deed1aa95247ab0aa08a44981756f941af6eb786076c271881a38c1 diff --git a/dev-ruby/rainbow/metadata.xml b/dev-ruby/rainbow/metadata.xml new file mode 100644 index 000000000000..7d7bf738b54e --- /dev/null +++ b/dev-ruby/rainbow/metadata.xml @@ -0,0 +1,12 @@ +<?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">sickill/rainbow</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rainbow/rainbow-1.1.4-r1.ebuild b/dev-ruby/rainbow/rainbow-1.1.4-r1.ebuild new file mode 100644 index 000000000000..f661e80ff65a --- /dev/null +++ b/dev-ruby/rainbow/rainbow-1.1.4-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="Changelog README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Extends ruby's String class with colored text on ANSI terminals" +HOMEPAGE="https://github.com/sickill/rainbow" + +SRC_URI="https://github.com/sickill/rainbow/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 hppa ppc ~sparc x86" +IUSE="" diff --git a/dev-ruby/rainbow/rainbow-2.2.2.ebuild b/dev-ruby/rainbow/rainbow-2.2.2.ebuild new file mode 100644 index 000000000000..f22d93326a4b --- /dev/null +++ b/dev-ruby/rainbow/rainbow-2.2.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Colorize printed text on ANSI terminals" +HOMEPAGE="https://github.com/sickill/rainbow" + +SRC_URI="https://github.com/sickill/rainbow/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~hppa ~ppc ~sparc x86" +IUSE="" diff --git a/dev-ruby/rainbow/rainbow-3.0.0.ebuild b/dev-ruby/rainbow/rainbow-3.0.0.ebuild new file mode 100644 index 000000000000..022997bcb787 --- /dev/null +++ b/dev-ruby/rainbow/rainbow-3.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Colorize printed text on ANSI terminals" +HOMEPAGE="https://github.com/sickill/rainbow" + +SRC_URI="https://github.com/sickill/rainbow/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="amd64 ~hppa ~ppc ~sparc x86" +IUSE="" diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest new file mode 100644 index 000000000000..446ed35ff5e9 --- /dev/null +++ b/dev-ruby/rake-compiler/Manifest @@ -0,0 +1,2 @@ +DIST rake-compiler-1.0.7.tar.gz 33444 BLAKE2B c3a92206d4d7defdf21295aaf094f704596962a3ee79c3517ea1058732e1f9f378b5f14bbe3b9652572564d11c566e26014e187dcdb488409bf95ea9a52e0a7c SHA512 fa901f5cc48891f07bd8d9a27cf4e745e87d5a667dbee0c9f4b43f9564fdfe3067b9c658f10ea8bcacd32ea7320a542ef0fca9373147057472f5572a4a4c5268 +DIST rake-compiler-1.1.0.tar.gz 34819 BLAKE2B ec4fec1eb92031f9f6b378b190c4e8a2f2627623afd6fb11922f71a93431de94bce640863deea2aab05656612533ee2b110f295f87590b48500583af71b08dae SHA512 77338776506df66c2e99e9b1b82dc4d54cc4e7c8fdb1f8b7b6d7507b9f9cb0718839e5139e9c0cb6295259e819dc8a011101e2427cdd387b568b639889321d60 diff --git a/dev-ruby/rake-compiler/metadata.xml b/dev-ruby/rake-compiler/metadata.xml new file mode 100644 index 000000000000..e9126d95d057 --- /dev/null +++ b/dev-ruby/rake-compiler/metadata.xml @@ -0,0 +1,12 @@ +<?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">luislavena/rake-compiler</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rake-compiler/rake-compiler-1.0.7.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.0.7.ebuild new file mode 100644 index 000000000000..a8f73e59c4bb --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-1.0.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" +HOMEPAGE="https://github.com/luislavena/rake-compiler" +LICENSE="MIT" + +SRC_URI="https://github.com/luislavena/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="amd64 arm ~arm64 hppa 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="" + +ruby_add_rdepend "dev-ruby/rake" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +USE_RUBY="ruby23 ruby24 ruby25" ruby_add_bdepend "test? ( dev-util/cucumber dev-ruby/rspec:2 )" + +all_ruby_prepare() { + # Make sure the right rspec version is used in cucumber. + sed -i -e "1igem 'rspec', '~>2.0'" features/support/env.rb || die + + # Avoid failing features for native gems, this also fails with rubygems + sed -i -e '/generate native gem/,$ s:^:#:' features/package.feature || die +} + +each_ruby_test() { + # Skip cucumber for new ruby versions (not ready yet) + case ${RUBY} in + *ruby23|*ruby24|*ruby25) + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec + ;; + esac +} diff --git a/dev-ruby/rake-compiler/rake-compiler-1.1.0.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.1.0.ebuild new file mode 100644 index 000000000000..d1c395fb3750 --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-1.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" + +RUBY_FAKEGEM_GEMSPEC="rake-compiler.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" +HOMEPAGE="https://github.com/luislavena/rake-compiler" +LICENSE="MIT" + +SRC_URI="https://github.com/luislavena/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="amd64 arm ~arm64 ~hppa 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="" + +ruby_add_rdepend "dev-ruby/rake" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +USE_RUBY="ruby24 ruby25 ruby26" ruby_add_bdepend "test? ( dev-util/cucumber dev-ruby/rspec:2 )" + +all_ruby_prepare() { + # Make sure the right rspec version is used in cucumber. + sed -i -e "1igem 'rspec', '~>2.0'" features/support/env.rb || die + + # Avoid failing features for native gems, this also fails with rubygems + sed -i -e '/generate native gem/,$ s:^:#:' features/package.feature || die +} + +each_ruby_test() { + # Skip cucumber for new ruby versions (not ready yet) + case ${RUBY} in + **ruby24|*ruby25|*ruby26) + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec + ;; + esac +} diff --git a/dev-ruby/rake-remote_task/Manifest b/dev-ruby/rake-remote_task/Manifest new file mode 100644 index 000000000000..ed725038c54f --- /dev/null +++ b/dev-ruby/rake-remote_task/Manifest @@ -0,0 +1 @@ +DIST rake-remote_task-2.4.3.gem 18944 BLAKE2B 65105ded7e7c98f13c33376887220fae849a0077fa05d65f17079512f1290b1049373d130b50c756523c1562a7fdd608cf28d7fe32355ce4b52e1e09982a6b98 SHA512 0c81a4156853e6a58c094723eb5748a6aba826c62624c9a04b63e505e8c4bfab1b8fdfb80c0d28d6ab84e6a06280c52b263b515c17cab9d248d1eb9abbe78ac8 diff --git a/dev-ruby/rake-remote_task/metadata.xml b/dev-ruby/rake-remote_task/metadata.xml new file mode 100644 index 000000000000..e54cf245a9a5 --- /dev/null +++ b/dev-ruby/rake-remote_task/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/rake-remote_task</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rake-remote_task/rake-remote_task-2.4.3-r1.ebuild b/dev-ruby/rake-remote_task/rake-remote_task-2.4.3-r1.ebuild new file mode 100644 index 000000000000..93a9022ff549 --- /dev/null +++ b/dev-ruby/rake-remote_task/rake-remote_task-2.4.3-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Extends Rake with remote task goodness" +HOMEPAGE="https://github.com/seattlerb/rake-remote_task" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( dev-ruby/minitest )" +ruby_add_rdepend ">=dev-ruby/open4-1.0 >=dev-ruby/rake-0.8 <dev-ruby/rake-13" + +RDEPEND+=" net-misc/rsync" +DEPEND+=" test? ( net-misc/rsync )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rake-remote_task/rake-remote_task-2.4.3.ebuild b/dev-ruby/rake-remote_task/rake-remote_task-2.4.3.ebuild new file mode 100644 index 000000000000..1f2271a6002d --- /dev/null +++ b/dev-ruby/rake-remote_task/rake-remote_task-2.4.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Extends Rake with remote task goodness" +HOMEPAGE="https://github.com/seattlerb/rake-remote_task" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( dev-ruby/minitest )" +ruby_add_rdepend ">=dev-ruby/open4-1.0 >=dev-ruby/rake-0.8 <dev-ruby/rake-13" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest new file mode 100644 index 000000000000..8902027a44a1 --- /dev/null +++ b/dev-ruby/rake/Manifest @@ -0,0 +1,3 @@ +DIST rake-12.3.3.tar.gz 122233 BLAKE2B e6c913b833092ef5d4203265bb5daf725bfc34ff3abef5a4871845ba9ee322bb8ec668564ed7fe5a2d9ce219d5b7cb00fa22d0b76fb9721f2138d2d963f16c22 SHA512 de15ea4428e845de214d35ad2155bd55cab51354feb5c7ae4c2cde5365d7a3959ee96d913346bdafacdb0542ab2d0e4c2e905514a7f97cfb18e630794bba3a3b +DIST rake-13.0.0.tar.gz 122378 BLAKE2B 996990f061a2604bf031926670043773b029d03e092513be3566763b04474d88b9bd05c085f25fc9d66b26a55e191b45fa34dc4aa215376703ad28750d71a6b1 SHA512 56038199fedd952994459967173d298afb13ae7fe9d7873dfe18cd4030b37f841ff74c944835843379cd66da96a6d1ee8c38294203f9d8e514c4331d65f5db79 +DIST rake-13.0.1.tar.gz 122821 BLAKE2B 698e92d32d4bedf523bc81636f4183ccb11da1f467d116f7ff4978e121bddc41b66160798e2c0a2b00aa8f79171a81df7e214e556adeb386bdb00a72a18b82b7 SHA512 50d82b3a9bbe194467c7669000ed9dd8e55fbb22307fbc7180aff6ab77095108a2519b3095965ad08b52cc984d0384016d7b166676f2e97394409a069d01545f diff --git a/dev-ruby/rake/files/rake.bash-completion b/dev-ruby/rake/files/rake.bash-completion new file mode 100644 index 000000000000..dbdfbd02c410 --- /dev/null +++ b/dev-ruby/rake/files/rake.bash-completion @@ -0,0 +1,54 @@ +_rake() +{ + local cur prev rakef i + + COMPREPLY=() + cur=${COMP_WORDS[COMP_CWORD]} + prev=${COMP_WORDS[COMP_CWORD-1]} + rakef="Rakefile" + + if [[ "$prev" == "-f" ]]; then + _filedir + return 0 + fi + + if [[ "$cur" == *=* ]]; then + prev=${cur/=*/} + cur=${cur/*=/} + if [[ "$prev" == "--rakefile=" ]]; then + _filedir -o nospace + return 0 + fi + fi + + if [[ "$cur" == -* ]]; then + COMPREPLY=( $( compgen -W '-n -H -I -N -P -q -f\ + -r -s -T -t -h -v -V\ + --dry-run --help '--libdir=' --nosearch --prereqs --quiet\ + '--rakefile=' '--require=' --silent --tasks --trace --usage\ + --verbose --version'\ + -- $cur )) + else + + for (( i=0; i < ${#COMP_WORDS[@]}; i++)); do + case "${COMP_WORDS[i]}" in + -f) + eval rakef=${COMP_WORDS[i+1]} + break + ;; + --rakefile=*|--rakefile\=*) + eval rakef=${COMP_WORDS[i]/*=/} + break + ;; + esac + done + + [ ! -f $rakef ] && return 0 + + COMPREPLY=( $( rake -s -f "$rakef" -T | \ + awk -F ' ' '/^rake / { print $2 }' | \ + command grep "^$cur" )) + + fi +} && +complete -F _rake $filenames rake diff --git a/dev-ruby/rake/metadata.xml b/dev-ruby/rake/metadata.xml new file mode 100644 index 000000000000..0209f88f5ef2 --- /dev/null +++ b/dev-ruby/rake/metadata.xml @@ -0,0 +1,12 @@ +<?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">jimweirich/rake</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rake/rake-12.3.3.ebuild b/dev-ruby/rake/rake-12.3.3.ebuild new file mode 100644 index 000000000000..76d37bc59884 --- /dev/null +++ b/dev-ruby/rake/rake-12.3.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_BINDIR="exe" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Make-like scripting in Ruby" +HOMEPAGE="https://github.com/ruby/rake" +SRC_URI="https://github.com/ruby/rake/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +DEPEND+=" app-arch/gzip" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.8 ) + doc? ( dev-ruby/rdoc )" + +all_ruby_compile() { + if use doc; then + rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>5.8"; require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + ruby_fakegem_binwrapper rake + + if use doc; then + pushd html + dodoc -r * + popd + fi + + doman doc/rake.1 + + newbashcomp "${FILESDIR}"/rake.bash-completion ${PN} +} diff --git a/dev-ruby/rake/rake-13.0.0.ebuild b/dev-ruby/rake/rake-13.0.0.ebuild new file mode 100644 index 000000000000..63f41130f753 --- /dev/null +++ b/dev-ruby/rake/rake-13.0.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_GEMSPEC="rake.gemspec" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Make-like scripting in Ruby" +HOMEPAGE="https://github.com/ruby/rake" +SRC_URI="https://github.com/ruby/rake/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +DEPEND+=" app-arch/gzip" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.8 ) + doc? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_compile() { + if use doc; then + rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die + rm -f html/js/*.js.gz + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>5.8"; require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + ruby_fakegem_binwrapper rake + + if use doc; then + pushd html + dodoc -r * + popd + fi + + doman doc/rake.1 + + newbashcomp "${FILESDIR}"/rake.bash-completion ${PN} +} diff --git a/dev-ruby/rake/rake-13.0.1.ebuild b/dev-ruby/rake/rake-13.0.1.ebuild new file mode 100644 index 000000000000..29b51e304464 --- /dev/null +++ b/dev-ruby/rake/rake-13.0.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_GEMSPEC="rake.gemspec" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Make-like scripting in Ruby" +HOMEPAGE="https://github.com/ruby/rake" +SRC_URI="https://github.com/ruby/rake/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +DEPEND+=" app-arch/gzip" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.8 ) + doc? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_compile() { + if use doc; then + rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die + rm -f html/js/*.js.gz + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>5.8"; require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + ruby_fakegem_binwrapper rake + + if use doc; then + pushd html + dodoc -r * + popd + fi + + doman doc/rake.1 + + newbashcomp "${FILESDIR}"/rake.bash-completion ${PN} +} diff --git a/dev-ruby/rantly/Manifest b/dev-ruby/rantly/Manifest new file mode 100644 index 000000000000..9d56297e35c4 --- /dev/null +++ b/dev-ruby/rantly/Manifest @@ -0,0 +1 @@ +DIST rantly-2.0.0.gem 18944 BLAKE2B a124204157953780dfcc97c4777dc3fb7e152eb3f0e208dd18aff80f8252b4f41285ce7870d927433e034678e679e0a735b8796601dd061ce43693f2c3760d50 SHA512 f3eb10eb3fea3135797c57d40bfe6a2ac9d64d4f449850b89072c527913f13eca34507f62ce611831497954b1c28bf5592dc46b73b510503223d029b4b442b74 diff --git a/dev-ruby/rantly/metadata.xml b/dev-ruby/rantly/metadata.xml new file mode 100644 index 000000000000..3c56a1d10913 --- /dev/null +++ b/dev-ruby/rantly/metadata.xml @@ -0,0 +1,12 @@ +<?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">rantly-rb/rantly</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rantly/rantly-2.0.0.ebuild b/dev-ruby/rantly/rantly-2.0.0.ebuild new file mode 100644 index 000000000000..933b123125c6 --- /dev/null +++ b/dev-ruby/rantly/rantly-2.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby Imperative Random Data Generator and Quickcheck" +HOMEPAGE="https://github.com/rantly-rb/rantly" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rash/Manifest b/dev-ruby/rash/Manifest new file mode 100644 index 000000000000..c83c6941d301 --- /dev/null +++ b/dev-ruby/rash/Manifest @@ -0,0 +1 @@ +DIST rash-0.4.0.gem 7168 BLAKE2B 6746ea697664627a56fd9d9430f3b15391ace7a389289a1e79703a914c1bfb334d79f58fca635c49d14f2f0c2b3f59d710f4fe5c22b2b9f50b72e2d37eab5edd SHA512 18308a44829961411bd0f91356d6a1d6ad95b1c34ad9f77185fdc62e5f5f8f52658f2d80638054786acddf8dbd201e166cad8e12c5b4d19e0e9d978f3c9f340b diff --git a/dev-ruby/rash/metadata.xml b/dev-ruby/rash/metadata.xml new file mode 100644 index 000000000000..dad465fff3a3 --- /dev/null +++ b/dev-ruby/rash/metadata.xml @@ -0,0 +1,12 @@ +<?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">tcocca/rash</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rash/rash-0.4.0-r2.ebuild b/dev-ruby/rash/rash-0.4.0-r2.ebuild new file mode 100644 index 000000000000..2a6dca1326b5 --- /dev/null +++ b/dev-ruby/rash/rash-0.4.0-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Rash is an extension to Hashie" +HOMEPAGE="https://github.com/tcocca/rash" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/hashie-2.0.0:0" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + + sed -i -e '/hashie/ s/2.0.0/2.0/' \ + -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rash_alt/Manifest b/dev-ruby/rash_alt/Manifest new file mode 100644 index 000000000000..f05d04ff4436 --- /dev/null +++ b/dev-ruby/rash_alt/Manifest @@ -0,0 +1,2 @@ +DIST rash_alt-0.4.7.gem 8704 BLAKE2B 4b3280fbb630af8a0b3eaa3f3ec03788e9a0420e6e511acce1c038f5197b10afb40e8620023141a89ab65dfb3af318df61fa073fd29aa6d2d7863663498a192c SHA512 c6b58da46e6c05a575482dfecc6e40f3f832595979bb5497f90496a57517a09d123dab691d4493e32937f58337bec37df2d1d342fdd7ed8c8befefcdd388b4ae +DIST rash_alt-0.4.8.gem 8704 BLAKE2B 18a54fbff13942d9a0590e3316a1e783df05c123997162f1f1bcd0b72634eeab266288d9f14a6edf9738a5fb44922d03813b3f2d6cc1e147e8dafe25ce9424a9 SHA512 b32281999a662f77b52918926a265eb601db7f7322848701b0da8aae497a573ad668fbb1241676848c04ec26dc4ba1fc1bd7780b167bc772291a5de73df8c389 diff --git a/dev-ruby/rash_alt/metadata.xml b/dev-ruby/rash_alt/metadata.xml new file mode 100644 index 000000000000..68922df5842d --- /dev/null +++ b/dev-ruby/rash_alt/metadata.xml @@ -0,0 +1,12 @@ +<?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">shishi/rash_alt</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rash_alt/rash_alt-0.4.7.ebuild b/dev-ruby/rash_alt/rash_alt-0.4.7.ebuild new file mode 100644 index 000000000000..2e68a3c4ddf3 --- /dev/null +++ b/dev-ruby/rash_alt/rash_alt-0.4.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="rash.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Rash alt version for Hashie's own Rash" +HOMEPAGE="https://github.com/shishi/rash_alt" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/hashie-3.5.6:3 =dev-ruby/hashie-3*" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + + sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rash_alt/rash_alt-0.4.8.ebuild b/dev-ruby/rash_alt/rash_alt-0.4.8.ebuild new file mode 100644 index 000000000000..3b8c70513259 --- /dev/null +++ b/dev-ruby/rash_alt/rash_alt-0.4.8.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="rash.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Rash alt version for Hashie's own Rash" +HOMEPAGE="https://github.com/shishi/rash_alt" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/hashie-3.6.0:3 =dev-ruby/hashie-3*" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + + sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rb-gsl/Manifest b/dev-ruby/rb-gsl/Manifest new file mode 100644 index 000000000000..cdf1eadc348b --- /dev/null +++ b/dev-ruby/rb-gsl/Manifest @@ -0,0 +1 @@ +DIST gsl-2.1.0.2.gem 735232 BLAKE2B bb8aa488b5d3bf7c2f3facf34093c985c63bfe692933b21eb8273af38e6788691593bdcc6fd52b9e22635d1b8195f81d1302edab7c2915a19ce9574cab184d84 SHA512 c07adfb44980ca813e114db2b0917f6b2dcb7d3bbe0ccfd9561519b4e574991f3c72f3e7115218f473154690f9284bf89c968d3c6d52d29fa0a232a1160d2704 diff --git a/dev-ruby/rb-gsl/metadata.xml b/dev-ruby/rb-gsl/metadata.xml new file mode 100644 index 000000000000..d8691b0f050a --- /dev/null +++ b/dev-ruby/rb-gsl/metadata.xml @@ -0,0 +1,12 @@ +<?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">SciRuby/rb-gsl</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild b/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild new file mode 100644 index 000000000000..2a23d4e3e7ea --- /dev/null +++ b/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_NAME="gsl" +inherit ruby-fakegem multilib + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" + +DESCRIPTION="Ruby interface to GNU Scientific Library" +HOMEPAGE="https://github.com/SciRuby/rb-gsl" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND+=" >=sci-libs/gsl-2.3[deprecated]" +RDEPEND+=" >=sci-libs/gsl-2.3[deprecated]" + +RUBY_S="${PN}-${P}" + +ruby_add_bdepend "dev-ruby/narray" +ruby_add_rdepend "dev-ruby/narray" + +all_ruby_prepare() { + sed -i -e '/LOCAL_LIBS/ s: -l: -L#{path.gsub("ext", "lib")} -l:' ext/gsl_native/extconf.rb || die + # nmatrix only tests + rm -r test/gsl/nmatrix_tests || die +} + +each_ruby_configure() { + NARRAY=1 ${RUBY} -Cext/gsl_native extconf.rb || die + sed -i -e 's:-Wl,--no-undefined::' ext/gsl_native/Makefile || die +} + +each_ruby_compile() { + NARRAY=1 emake -Cext/gsl_native V=1 + cp ext/gsl_native/*$(get_modname) lib/ || die +} + +each_ruby_test() { + NARRAY=1 ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest new file mode 100644 index 000000000000..388f11e088bd --- /dev/null +++ b/dev-ruby/rb-inotify/Manifest @@ -0,0 +1,2 @@ +DIST rb-inotify-0.10.0.gem 15872 BLAKE2B 52647ff17994287810efa9c04bc9553b101c42cdd27cf42d530565127dfce104a589ad729d7019409079731577d327221ec3423fa7a5f746aefa3d817b93d898 SHA512 16aa7fb21e5ed713335e583299cfc72676e3ef66de3d349f74a14885b88020b79e031839b193dc140036a0b6539a45ef3a0c3c6027a7211508d388137d22a13b +DIST rb-inotify-0.10.1.gem 15872 BLAKE2B 1ddf4fe8de7cdd348e007ac29ab7b41667092439f9b70eeae49d7e917351c73512e43a7ccf6679af1c9225b19efadb6a1581f63e1958d2a31d61f2bce5a13664 SHA512 7831a6228f2d6363e634b8d6b4a12206f19b96098e5dfba1d27b1e994a7284a5cb58cd0299d861a6ff275fc8248c0e68faaaf786d6222ad68f3e6b43ccea29ec diff --git a/dev-ruby/rb-inotify/metadata.xml b/dev-ruby/rb-inotify/metadata.xml new file mode 100644 index 000000000000..b49b2160778e --- /dev/null +++ b/dev-ruby/rb-inotify/metadata.xml @@ -0,0 +1,12 @@ +<?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">nex3/rb-inotify</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rb-inotify/rb-inotify-0.10.0.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.10.0.ebuild new file mode 100644 index 000000000000..30e70247e89d --- /dev/null +++ b/dev-ruby/rb-inotify/rb-inotify-0.10.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A thorough inotify wrapper for Ruby using FFI" +HOMEPAGE="https://github.com/nex3/rb-inotify" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/ffi" + +ruby_add_bdepend "test? ( dev-ruby/concurrent-ruby )" + +all_ruby_prepare() { + # Avoid unneeded dependency on jeweler. + sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die + + # Remove mandatory markup processor from yard options, bug 436112. + sed -i -e '/maruku/d' .yardopts || die + + sed -i -e '/bundler/ s:^:#:' -e '1irequire "pathname"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild new file mode 100644 index 000000000000..df065cbbbae1 --- /dev/null +++ b/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A thorough inotify wrapper for Ruby using FFI" +HOMEPAGE="https://github.com/nex3/rb-inotify" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/ffi" + +ruby_add_bdepend "test? ( dev-ruby/concurrent-ruby )" + +all_ruby_prepare() { + # Avoid unneeded dependency on jeweler. + sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die + + # Remove mandatory markup processor from yard options, bug 436112. + sed -i -e '/maruku/d' .yardopts || die + + sed -i -e '/bundler/ s:^:#:' -e '1irequire "pathname"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/rb-readline-r7/Manifest b/dev-ruby/rb-readline-r7/Manifest new file mode 100644 index 000000000000..f17bedb98105 --- /dev/null +++ b/dev-ruby/rb-readline-r7/Manifest @@ -0,0 +1 @@ +DIST rb-readline-r7-0.5.2.0.gem 96256 BLAKE2B 0afa90a210233630f9d5068636efaf5874294b524d7abee4a7560436cdcccd9785ea356d0ebe50a4c191e57a111c7301f9b42d787e9a1760d241ff1c14e90834 SHA512 e94b60e368104f5e626a5c98dbe894cea52294b9c2061aa0cf32c34b7575a1ba9b0c514221ce266be89553d7936fc82696fc979710b9e8bb2503fc8b3cc0a938 diff --git a/dev-ruby/rb-readline-r7/metadata.xml b/dev-ruby/rb-readline-r7/metadata.xml new file mode 100644 index 000000000000..4bc496460098 --- /dev/null +++ b/dev-ruby/rb-readline-r7/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">rapid7/rb-readline</remote-id> + <remote-id type="rubygems">rb-readline-r7</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rb-readline-r7/rb-readline-r7-0.5.2.0.ebuild b/dev-ruby/rb-readline-r7/rb-readline-r7-0.5.2.0.ebuild new file mode 100644 index 000000000000..b3626129b202 --- /dev/null +++ b/dev-ruby/rb-readline-r7/rb-readline-r7-0.5.2.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +inherit ruby-fakegem + +DESCRIPTION="Ruby implementation of the GNU readline C library forked by r7" +HOMEPAGE="https://rubygems.org/gems/rb-readline-r7" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" +DEPEND="test? ( dev-ruby/minitest + dev-ruby/rake )" + +all_ruby_prepare() { + # Skip a test that fails when run in the ebuild environment. + sed -i -e '/test_readline_with_default_parameters_does_not_error/,/end/ s:^:#:' test/test_readline.rb || die +} diff --git a/dev-ruby/rb-readline/Manifest b/dev-ruby/rb-readline/Manifest new file mode 100644 index 000000000000..20b757583155 --- /dev/null +++ b/dev-ruby/rb-readline/Manifest @@ -0,0 +1 @@ +DIST rb-readline-0.5.5.gem 96768 BLAKE2B d854731957dad1dc6abe6a6e1ed72397e49faf08314c8af568c0f8e6412ecaa38e937a807ac326af4f306f24dfe89a51b830663cca1544a3618ec2aaa6cbd1b9 SHA512 53ed9919eb2c057d2b26e87ba0ecabc73f0aed7fa22398b9e7f98e82bd7a0ed7ca89cb1944bf94400bf4289d6fb404aadb9a2781fa964e2f4c77d7e218e459ae diff --git a/dev-ruby/rb-readline/metadata.xml b/dev-ruby/rb-readline/metadata.xml new file mode 100644 index 000000000000..bd72b2f75dca --- /dev/null +++ b/dev-ruby/rb-readline/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">rb-readline</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rb-readline/rb-readline-0.5.5.ebuild b/dev-ruby/rb-readline/rb-readline-0.5.5.ebuild new file mode 100644 index 000000000000..ca674a29505f --- /dev/null +++ b/dev-ruby/rb-readline/rb-readline-0.5.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +inherit ruby-fakegem + +DESCRIPTION="Ruby implementation of the GNU readline C library" +HOMEPAGE="https://rubygems.org/gems/rb-readline" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "dev-ruby/rake + >=dev-ruby/minitest-5.2" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Skip a test that fails when run in the ebuild environment. + sed -i -e '/test_readline_with_default_parameters_does_not_error/,/end/ s:^:#:' test/test_readline.rb || die +} diff --git a/dev-ruby/rbnacl/Manifest b/dev-ruby/rbnacl/Manifest new file mode 100644 index 000000000000..4940e87e5cac --- /dev/null +++ b/dev-ruby/rbnacl/Manifest @@ -0,0 +1,6 @@ +DIST rbnacl-4.0.2.gem 220160 BLAKE2B a4a3a7b0346bdc3d0e1930bf9b1c6c05182456837c53c8a56f5d8eec831df8768589affb00450088c4ccc3de37f474a359e9ea362655ea66ada63467936abcbe SHA512 d13d36e4248d5e40bb5d9496e08823438d312c16d14e3068be89a62dd7f80ec7f99fa5995752b183656b6ae863af77645b16ce45d05a74ad0dfbd4a93c8854d4 +DIST rbnacl-5.0.0.gem 221184 BLAKE2B f64a754c478c57af901432e9cef335d9f01c1acadcd9d860dacca2ed5d59bdb71f3a431488357b57cbe7af61cf03b50b95ab5421a9ac59f63242a0ddd693e373 SHA512 d6c0c90587beae9f5086c442f4b7b9f430d527576307c5a5cdc5532b231245e5615434a001b3a4b47d1fb7d7148a167d77f12e7b4f5bd1c25c7ce5d361eb42f6 +DIST rbnacl-6.0.1.gem 225792 BLAKE2B dd2f3ab1996b51f905016df9a21d2c4dce69246727efa35444a9f88f3d071607d122aaa7e61e5283f491e3e8e9deb0897844fc4d8f8562c3b855b6489ff8ee71 SHA512 f30161cf38972c94f00200bdc0790b7b3b6c5a7b0b2663fab0a11b488477424e5b57280479cd28e2736eeaa1e524227e6aa688e814a1b4af274f1c82a5d553ab +DIST rbnacl-7.0.0.gem 225792 BLAKE2B f489e0f8521ca01d49676ba4d06b28b449743dad309a0ff9ab30499b76ab132b1d176144d24bc0eada1bbc2cb13e83d332105a0010946cff0b02baf4d4b3c246 SHA512 49cb3587ce183349234be7ec7db83b797c1e6d09535e4e692d01a307e221baf7af6009ae8aed5fd36bbcd8f1847c49a0cf599160e89dc2f2cb3eefdbadc2bb09 +DIST rbnacl-7.1.0.gem 226304 BLAKE2B ebaca6708a1e57e131bb4b5dc973264eebc719df8603a9eb663f4e835c6370ac3d71a9ed27a1210aba9a93e98067e2065d317f0367f978b15db7f189a0c44552 SHA512 bde9cd8ed43732758e3315fa10c88c7754edb9de34691090664c961469928d7b39d26b712dd9b978e38dd90c82d2fed66e864f749e8842e934e1472f1d83dbd5 +DIST rbnacl-7.1.1.gem 226304 BLAKE2B 4c7c356cc3414c1b49302ff16af701bffbeaaa18b49bcdb4c9d0c10fe2e1f693e7917f8031c90d5c4362d95ffe5a8d471a48476788f64f97092adbcdce0d9f72 SHA512 da7e406bd2b5112e51d2c15cab35d955b65091ed745fbd027750eaca8ff1d11d982c82f497fc15b9ee9aa6536dbd21ff9ac285bb2a2d1fb39c3374fd0f3dca5a diff --git a/dev-ruby/rbnacl/files/rbnacl-buffer-size.patch b/dev-ruby/rbnacl/files/rbnacl-buffer-size.patch new file mode 100644 index 000000000000..3725c8550e0b --- /dev/null +++ b/dev-ruby/rbnacl/files/rbnacl-buffer-size.patch @@ -0,0 +1,24 @@ +Patches based on upstream patch below but reworked to apply to 5.0.0 + +From 299e0ddbb8fcafc99214c26d6002da145cc84a0c Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyfox@gentoo.org> +Date: Sun, 18 Mar 2018 21:13:09 +0000 +Subject: [PATCH] rbnacl: fix byffer size type in randombytes_buf binding + +--- + lib/rbnacl/random.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/rbnacl/random.rb b/lib/rbnacl/random.rb +index 9742186..db85d6d 100644 +--- a/lib/rbnacl/random.rb ++++ b/lib/rbnacl/random.rb +@@ -13,7 +13,7 @@ module Random + + sodium_function :c_random_bytes, + :randombytes_buf, +- [:pointer, :ulong_long] ++ %i[pointer size_t] + + # Returns a string of random bytes + # diff --git a/dev-ruby/rbnacl/metadata.xml b/dev-ruby/rbnacl/metadata.xml new file mode 100644 index 000000000000..8511bdac7bd3 --- /dev/null +++ b/dev-ruby/rbnacl/metadata.xml @@ -0,0 +1,12 @@ +<?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">cryptosphere/rbnacl</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rbnacl/rbnacl-4.0.2-r1.ebuild b/dev-ruby/rbnacl/rbnacl-4.0.2-r1.ebuild new file mode 100644 index 000000000000..adb077bd30a8 --- /dev/null +++ b/dev-ruby/rbnacl/rbnacl-4.0.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Provides a high-level toolkit for building cryptographic systems and protocols" +HOMEPAGE="https://github.com/cryptosphere/rbnacl" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="" + +RDEPEND+=" dev-libs/libsodium" +DEPEND+=" test? ( dev-libs/libsodium )" + +ruby_add_rdepend "dev-ruby/ffi" + +PATCHES=( "${FILESDIR}/rbnacl-buffer-size.patch" ) + +all_ruby_prepare() { + sed -i -e '/coveralls/I s:^:#:' \ + -e '/bundler/ s:^:#:' \ + -e 's:rbnacl/libsodium:rbnacl:' spec/spec_helper.rb +} diff --git a/dev-ruby/rbnacl/rbnacl-5.0.0-r1.ebuild b/dev-ruby/rbnacl/rbnacl-5.0.0-r1.ebuild new file mode 100644 index 000000000000..231a1413e65e --- /dev/null +++ b/dev-ruby/rbnacl/rbnacl-5.0.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Provides a high-level toolkit for building cryptographic systems and protocols" +HOMEPAGE="https://github.com/cryptosphere/rbnacl" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" dev-libs/libsodium" +DEPEND+=" test? ( dev-libs/libsodium )" + +ruby_add_rdepend "dev-ruby/ffi" + +PATCHES=( "${FILESDIR}/rbnacl-buffer-size.patch" ) + +all_ruby_prepare() { + sed -i -e '/coveralls/I s:^:#:' \ + -e '/bundler/ s:^:#:' \ + -e 's:rbnacl/libsodium:rbnacl:' spec/spec_helper.rb +} diff --git a/dev-ruby/rbnacl/rbnacl-6.0.1.ebuild b/dev-ruby/rbnacl/rbnacl-6.0.1.ebuild new file mode 100644 index 000000000000..1207ef481838 --- /dev/null +++ b/dev-ruby/rbnacl/rbnacl-6.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Provides a high-level toolkit for building cryptographic systems and protocols" +HOMEPAGE="https://github.com/cryptosphere/rbnacl" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" dev-libs/libsodium" +DEPEND+=" test? ( dev-libs/libsodium )" + +ruby_add_rdepend "dev-ruby/ffi" + +all_ruby_prepare() { + sed -i -e '/coveralls/I s:^:#:' \ + -e '/bundler/ s:^:#:' \ + -e 's:rbnacl/libsodium:rbnacl:' spec/spec_helper.rb +} diff --git a/dev-ruby/rbnacl/rbnacl-7.0.0.ebuild b/dev-ruby/rbnacl/rbnacl-7.0.0.ebuild new file mode 100644 index 000000000000..191075d0bb4e --- /dev/null +++ b/dev-ruby/rbnacl/rbnacl-7.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Provides a high-level toolkit for building cryptographic systems and protocols" +HOMEPAGE="https://github.com/cryptosphere/rbnacl" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" dev-libs/libsodium" +DEPEND+=" test? ( dev-libs/libsodium )" + +ruby_add_rdepend "dev-ruby/ffi" + +all_ruby_prepare() { + sed -i -e '/coveralls/I s:^:#:' \ + -e '/bundler/ s:^:#:' \ + -e 's:rbnacl/libsodium:rbnacl:' spec/spec_helper.rb +} diff --git a/dev-ruby/rbnacl/rbnacl-7.1.0.ebuild b/dev-ruby/rbnacl/rbnacl-7.1.0.ebuild new file mode 100644 index 000000000000..e947ec005c6e --- /dev/null +++ b/dev-ruby/rbnacl/rbnacl-7.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Provides a high-level toolkit for building cryptographic systems and protocols" +HOMEPAGE="https://github.com/cryptosphere/rbnacl" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" dev-libs/libsodium" +DEPEND+=" test? ( dev-libs/libsodium )" + +ruby_add_rdepend "dev-ruby/ffi" + +all_ruby_prepare() { + sed -i -e '/coveralls/I s:^:#:' \ + -e '/bundler/ s:^:#:' \ + -e 's:rbnacl/libsodium:rbnacl:' spec/spec_helper.rb +} diff --git a/dev-ruby/rbnacl/rbnacl-7.1.1.ebuild b/dev-ruby/rbnacl/rbnacl-7.1.1.ebuild new file mode 100644 index 000000000000..e195a555ee57 --- /dev/null +++ b/dev-ruby/rbnacl/rbnacl-7.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Provides a high-level toolkit for building cryptographic systems and protocols" +HOMEPAGE="https://github.com/cryptosphere/rbnacl" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" dev-libs/libsodium" +DEPEND+=" test? ( dev-libs/libsodium )" + +ruby_add_rdepend "dev-ruby/ffi" + +all_ruby_prepare() { + sed -i -e '/coveralls/I s:^:#:' \ + -e '/bundler/ s:^:#:' \ + -e 's:rbnacl/libsodium:rbnacl:' spec/spec_helper.rb +} diff --git a/dev-ruby/rbpdf-font/Manifest b/dev-ruby/rbpdf-font/Manifest new file mode 100644 index 000000000000..7cc2dbe5d1a0 --- /dev/null +++ b/dev-ruby/rbpdf-font/Manifest @@ -0,0 +1 @@ +DIST rbpdf-font-1.19.1.gem 9571840 BLAKE2B 6e362148514e2c4f5794e81b01bd725ffc5c89dbaec30b053979e87206a137151aabfb7a577344144cbd225ece695e49e8b43595b6e5a89eaca300d468ae96bc SHA512 e678df3b58f32f6670bd79e8ebed0856a5fdbab766c32c8667c80358f899625445e9f6829652f13b64d4c79c5af15dd3dde9849dfe86c4f14e45b8750e71e3b7 diff --git a/dev-ruby/rbpdf-font/metadata.xml b/dev-ruby/rbpdf-font/metadata.xml new file mode 100644 index 000000000000..8190f8d586b7 --- /dev/null +++ b/dev-ruby/rbpdf-font/metadata.xml @@ -0,0 +1,12 @@ +<?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">naitoh/rbpdf</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rbpdf-font/rbpdf-font-1.19.1.ebuild b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1.ebuild new file mode 100644 index 000000000000..731357405222 --- /dev/null +++ b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# This gem bundles dejavu fonts, freefonts, and ttf2ufm +# ttf2ufm is a precompiled 32-bit binary + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG" + +inherit ruby-fakegem + +DESCRIPTION="Font files for the Ruby on Rails RBPDF plugin" +HOMEPAGE="https://github.com/naitoh/rbpdf" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend ">=dev-ruby/test-unit-3:2" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile || die + sed -i -e '2igem "test-unit", "~>3.0"' test/test_helper.rb || die +} diff --git a/dev-ruby/rbpdf/Manifest b/dev-ruby/rbpdf/Manifest new file mode 100644 index 000000000000..84e213cdd22a --- /dev/null +++ b/dev-ruby/rbpdf/Manifest @@ -0,0 +1 @@ +DIST rbpdf-1.20.1.tar.gz 12026190 BLAKE2B 5a468e974bc0a15a9a8f621a6ee635a8cf4f81cc94b88a6bf8afd90c4a665c0892381e903158e66ec4a68676491faa80fd99b7d4ffcf0c86defc4a4114603b08 SHA512 19b4fbd8a0c4650c73ba299721a0fe03a10f223da5e0dd2b97549972ea8f381b2d5b4837369d0667cd325392edae1ec795ec67bc852c9b3588ec0c5e686844d7 diff --git a/dev-ruby/rbpdf/metadata.xml b/dev-ruby/rbpdf/metadata.xml new file mode 100644 index 000000000000..6b8ca36bc0a7 --- /dev/null +++ b/dev-ruby/rbpdf/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">naitoh/rbpdf</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild b/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild new file mode 100644 index 000000000000..29f175a27c75 --- /dev/null +++ b/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +# Avoid the complexity of the "rake" recipe and run the tests manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby on Rails RBPDF plugin" +HOMEPAGE="https://github.com/naitoh/rbpdf" +SRC_URI="https://github.com/naitoh/rbpdf/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-3 )" +ruby_add_rdepend " + dev-ruby/actionview + dev-ruby/htmlentities + =dev-ruby/rbpdf-font-1.19* + || ( dev-ruby/mini_magick dev-ruby/rmagick ) +" + +all_ruby_prepare() { + default + + # This test is enabled automagically in the presence of rmagick, and + # then fails. + rm -f test/rbpdf_image_rmagick_test.rb \ + || die "failed to remove rmagick tests" +} + +each_ruby_test() { + local cmd='gem "test-unit", ">= 3.0"' + cmd+=' and ' + cmd+='require "test/unit"' + cmd+=' and ' + cmd+='Dir["test/rbpdf_*.rb"].each{|f| require("./" + f)}' + ${RUBY} -Ilib:.:test -e "${cmd}" || die "test suite failed" +} diff --git a/dev-ruby/rbst/Manifest b/dev-ruby/rbst/Manifest new file mode 100644 index 000000000000..178c9b36d7e8 --- /dev/null +++ b/dev-ruby/rbst/Manifest @@ -0,0 +1 @@ +DIST rbst-0.5.1.tar.gz 14039 BLAKE2B 7399e92f98c650842464ea9240775ad776ec8d574c578d8da764778bbe8050be429e2521df82b3b04a0bf9cd18bef4f114890d54ef8d6f34c797f0f2f2e35bc2 SHA512 a7fffc1ccf495c1858d6d9fadd38a4d6a2c27a2da8eda8dad038f4ab881f4521223a35f97d4018d25b32c2621132a623040ba930494b36e1385356ecb87fecdc diff --git a/dev-ruby/rbst/metadata.xml b/dev-ruby/rbst/metadata.xml new file mode 100644 index 000000000000..d2c47b33aec8 --- /dev/null +++ b/dev-ruby/rbst/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild new file mode 100644 index 000000000000..d26acad50ed3 --- /dev/null +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{3_6,3_7} ) +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="RbST" +RUBY_FAKEGEM_GEMSPEC="RbST.gemspec" + +inherit python-single-r1 ruby-fakegem + +DESCRIPTION="A simple Ruby wrapper for processing rST via docutils" +HOMEPAGE="https://github.com/alphabetum/rbst" +SRC_URI="https://github.com/alphabetum/rbst/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="dev-python/docutils ${PYTHON_DEPS}" +DEPEND="test? ( ${RDEPEND} )" + +ruby_add_bdepend " + test? ( + >=dev-ruby/mocha-1.1.0:1.0 + >=dev-ruby/shoulda-3.5.0:3 + >=dev-ruby/test-unit-3.0.9:2 + )" + +# Tests are pretty much useless as they depend on very specific output +# from an unknown docutils version. +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup + ruby-ng_pkg_setup +} + +all_ruby_prepare() { + # do not use bundler + sed -i -e '/bundler/,/end/d' \ + Rakefile test/helper.rb || die + + # force our python version + sed -i -e "s:\(python_path=\"\)python:\1${EPYTHON}:" lib/rbst.rb || die + python_fix_shebang lib/rst2parts +} diff --git a/dev-ruby/rcairo/Manifest b/dev-ruby/rcairo/Manifest new file mode 100644 index 000000000000..abcbd4144515 --- /dev/null +++ b/dev-ruby/rcairo/Manifest @@ -0,0 +1,3 @@ +DIST cairo-1.16.2.gem 100352 BLAKE2B b8b02e949b33c60ebe05852efd1cd775a79dab5ab6837f973ecf1b2c1af653a7c09221892b92210b9e5a0d615732116a91e5e1e9f93229f98987c18b36514dcc SHA512 b711399ddd7afa958e3faee87b2a768f55af9ec0cef486d9edcf082a0c7a5ec90610d9a52784d55608a70befe4571e4cb1abc401a8a5b5357fa0bfff9159d239 +DIST cairo-1.16.4.gem 196608 BLAKE2B f7cc8d9e2dc5e3f6dc5a6e259f5594bd7a6cfb13c3577a870949696c25c5139b69d6809cceda664ccf7b7278536b2d551bbd42e4471154a302eb1710324c2792 SHA512 5af8536cd374255386fdc84b265deebb7ed21ef270538f0c2d6a5cdf3dcf1c913633f1ca813f197460968b20b6e592f24334b872cf822584d4de28c589160da8 +DIST cairo-1.16.5.gem 196608 BLAKE2B df84e6b0b4419471cdaacb7eaecf23b9257b8e0933dba0e3058afefc288cbb2f14acb38d4f5302f095ed37c46469eae61d934c8da2d0b1ef1cc48f06e794179f SHA512 98c10e16a3a2d964dd9b5fd450118068042e721f9655758ca567ed45f418ce1c2b9fe8cfa991a94778eb17d69fef65008d2c21244592f4f1819104bdeb76bdcc diff --git a/dev-ruby/rcairo/metadata.xml b/dev-ruby/rcairo/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/rcairo/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rcairo/rcairo-1.16.2.ebuild b/dev-ruby/rcairo/rcairo-1.16.2.ebuild new file mode 100644 index 000000000000..c321ceda4620 --- /dev/null +++ b/dev-ruby/rcairo/rcairo-1.16.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="cairo" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby bindings for cairo" +HOMEPAGE="https://cairographics.org/rcairo/" + +IUSE="" + +SLOT="0" +LICENSE="|| ( Ruby GPL-2 )" +KEYWORDS="amd64 ~ppc ~x86" + +RDEPEND="${RDEPEND} + >=x11-libs/cairo-1.2.0[svg]" +DEPEND="${DEPEND} + >=x11-libs/cairo-1.2.0[svg]" + +ruby_add_bdepend " + >=dev-ruby/pkg-config-1.2.2 + dev-ruby/ruby-glib2 + test? ( >=dev-ruby/test-unit-2.1.0-r1:2 dev-ruby/ruby-poppler )" + +all_ruby_prepare() { + # Avoid unneeded dependency + sed -i -e '/native-package-installer/ s:^:#:' ext/cairo/extconf.rb || die + sed -i -e '/native-package-installer/,/Gem::Dependency/ d' ../metadata || die + + # Avoid test that requires unpackaged fixture + sed -i -e '/sub_test_case..FreeTypeFontFace/,/^ end/ s:^:#:' test/test_font_face.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/cairo extconf.rb || die "extconf failed" +} + +each_ruby_compile() { + emake V=1 -Cext/cairo + + # again, try to make it more standard, to install it more easily. + cp ext/cairo/cairo$(get_modname) lib/ || die +} + +each_ruby_test() { + # don't rely on the Rakefile because it's a mess to load with + # their hierarchy, do it manually. + ${RUBY} -Ilib -r ./test/helper \ + -e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed" +} + +each_ruby_install() { + each_fakegem_install + + insinto $(ruby_get_hdrdir) + doins ext/cairo/rb_cairo.h +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/samples + doins -r samples/* +} diff --git a/dev-ruby/rcairo/rcairo-1.16.4.ebuild b/dev-ruby/rcairo/rcairo-1.16.4.ebuild new file mode 100644 index 000000000000..e11b75bfaf57 --- /dev/null +++ b/dev-ruby/rcairo/rcairo-1.16.4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="cairo" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby bindings for cairo" +HOMEPAGE="https://cairographics.org/rcairo/" + +IUSE="" + +SLOT="0" +LICENSE="|| ( Ruby GPL-2 )" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="${RDEPEND} + >=x11-libs/cairo-1.2.0[svg]" +DEPEND="${DEPEND} + >=x11-libs/cairo-1.2.0[svg]" + +ruby_add_bdepend " + >=dev-ruby/pkg-config-1.2.2 + dev-ruby/ruby-glib2 + test? ( >=dev-ruby/test-unit-2.1.0-r1:2 dev-ruby/ruby-poppler )" + +all_ruby_prepare() { + # Avoid unneeded dependency + sed -e '/native-package-installer/ s:^:#:' \ + -e '/def required_pkg_config_package/areturn true' \ + -e '/checking_for/,/^end/ s:^:#:' \ + -i ext/cairo/extconf.rb || die + sed -i -e '/native-package-installer/,/Gem::Dependency/ d' ../metadata || die + + # Avoid test that requires unpackaged fixture + sed -i -e '/sub_test_case..FreeTypeFontFace/,/^ end/ s:^:#:' test/test_font_face.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/cairo extconf.rb || die "extconf failed" +} + +each_ruby_compile() { + emake V=1 -Cext/cairo + + # again, try to make it more standard, to install it more easily. + cp ext/cairo/cairo$(get_modname) lib/ || die +} + +each_ruby_test() { + # don't rely on the Rakefile because it's a mess to load with + # their hierarchy, do it manually. + ${RUBY} -Ilib -r ./test/helper \ + -e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed" +} + +each_ruby_install() { + each_fakegem_install + + insinto $(ruby_get_hdrdir) + doins ext/cairo/rb_cairo.h +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/samples + doins -r samples/* +} diff --git a/dev-ruby/rcairo/rcairo-1.16.5.ebuild b/dev-ruby/rcairo/rcairo-1.16.5.ebuild new file mode 100644 index 000000000000..ec94518c6401 --- /dev/null +++ b/dev-ruby/rcairo/rcairo-1.16.5.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_NAME="cairo" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby bindings for cairo" +HOMEPAGE="https://cairographics.org/rcairo/" + +IUSE="" + +SLOT="0" +LICENSE="|| ( Ruby GPL-2 )" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="${RDEPEND} + >=x11-libs/cairo-1.2.0[svg]" +DEPEND="${DEPEND} + >=x11-libs/cairo-1.2.0[svg]" + +ruby_add_bdepend " + >=dev-ruby/pkg-config-1.2.2 + dev-ruby/ruby-glib2 + test? ( >=dev-ruby/test-unit-2.1.0-r1:2 dev-ruby/ruby-poppler )" + +all_ruby_prepare() { + # Avoid unneeded dependency + sed -e '/native-package-installer/ s:^:#:' \ + -e '/def required_pkg_config_package/areturn true' \ + -e '/checking_for/,/^end/ s:^:#:' \ + -i ext/cairo/extconf.rb || die + sed -i -e '/native-package-installer/,/Gem::Dependency/ d' ../metadata || die + + # Avoid test that requires unpackaged fixture + sed -i -e '/sub_test_case..FreeTypeFontFace/,/^ end/ s:^:#:' test/test_font_face.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/cairo extconf.rb || die "extconf failed" +} + +each_ruby_compile() { + emake V=1 -Cext/cairo + + # again, try to make it more standard, to install it more easily. + cp ext/cairo/cairo$(get_modname) lib/ || die +} + +each_ruby_test() { + # don't rely on the Rakefile because it's a mess to load with + # their hierarchy, do it manually. + ${RUBY} -Ilib -r ./test/helper \ + -e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed" +} + +each_ruby_install() { + each_fakegem_install + + insinto $(ruby_get_hdrdir) + doins ext/cairo/rb_cairo.h +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/rchardet/Manifest b/dev-ruby/rchardet/Manifest new file mode 100644 index 000000000000..1dafa1dd6c98 --- /dev/null +++ b/dev-ruby/rchardet/Manifest @@ -0,0 +1 @@ +DIST rchardet-1.8.0.tar.gz 1903004 BLAKE2B d5860bc17f3a9dae9d6194156f1707e833ec0c440992c7b933b2e4eaca6bbc01f9964bcd7eb1dd054ff633124b863a0b797103297d6d2ff75e6d13040aa0813c SHA512 419eac7d4d4fb4a9cbe102199b5767d826f968943da9dfbfd029d03603bede596fb59d9747e590447b6848ae42c733dd0efdea57140e03d92bdcbac317dd0c6f diff --git a/dev-ruby/rchardet/metadata.xml b/dev-ruby/rchardet/metadata.xml new file mode 100644 index 000000000000..e534d0689bdd --- /dev/null +++ b/dev-ruby/rchardet/metadata.xml @@ -0,0 +1,12 @@ +<?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">jmhodges/rchardet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rchardet/rchardet-1.8.0.ebuild b/dev-ruby/rchardet/rchardet-1.8.0.ebuild new file mode 100644 index 000000000000..318d8164a48b --- /dev/null +++ b/dev-ruby/rchardet/rchardet-1.8.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="rchardet.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Character encoding auto-detection in Ruby" +HOMEPAGE="https://github.com/jmhodges/rchardet" +SRC_URI="https://github.com/jmhodges/rchardet/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rdiscount/Manifest b/dev-ruby/rdiscount/Manifest new file mode 100644 index 000000000000..d598e19c6364 --- /dev/null +++ b/dev-ruby/rdiscount/Manifest @@ -0,0 +1 @@ +DIST rdiscount-2.2.0.1.gem 68096 BLAKE2B 71ea7010116739e8c61aab91c2cc4a86cf679b4ae10221135c0bad854822a9a81969e927ef898c0ebf753811205ad98258c4e7c4b16f9e18a81bb01137a79fc9 SHA512 81a477782b9829ac5e68ab390ef00b7f470bb4bd84e86ce28dd9abbb71aab6fd17b67416078dd7d4e0fc7e0c8eb78250b7a71a2f24d2bd236e861cb445f9feb6 diff --git a/dev-ruby/rdiscount/metadata.xml b/dev-ruby/rdiscount/metadata.xml new file mode 100644 index 000000000000..be3bb4ac7c26 --- /dev/null +++ b/dev-ruby/rdiscount/metadata.xml @@ -0,0 +1,12 @@ +<?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">rtomayko/rdiscount</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rdiscount/rdiscount-2.2.0.1.ebuild b/dev-ruby/rdiscount/rdiscount-2.2.0.1.ebuild new file mode 100644 index 000000000000..aaceeed0a134 --- /dev/null +++ b/dev-ruby/rdiscount/rdiscount-2.2.0.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_TASK_DOC="doc man" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit multilib ruby-fakegem + +DESCRIPTION="Implementation of John Gruber's Markdown" +HOMEPAGE="https://github.com/rtomayko/rdiscount" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="" + +all_ruby_prepare() { + # Hanna is broken for us and therefore we don't have it in portage. + sed -i -e 's/hanna/rdoc/' Rakefile || die + + # Remove rule that will force a rebuild when running tests. + sed -i -e "/task 'test:unit' => \[:build\]/d" Rakefile || die + + # Provide RUBY variable no longer provided by rake. + sed -i -e "1 iRUBY=${RUBY}" Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/*$(get_modname) lib/ || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/rdiscount.1 +} diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest new file mode 100644 index 000000000000..ded703f67518 --- /dev/null +++ b/dev-ruby/rdoc/Manifest @@ -0,0 +1,2 @@ +DIST rdoc-6.1.2.tar.gz 667607 BLAKE2B 4857bcf5f72d93fe4e9ea89acfda9ae82afd61a7ff501d2eea529330d2b8a63d7cc775490648fcff5000ee60417123244518f56a31593af8efccae8f925b21d9 SHA512 a54e36adf9f98117f0b5ae4490a0ab1ce12d9b1de5b7c61ffa326b36ef13885bb8f18147f3548f95a285b15470faba14965bc87088fa3ce584928d8ee396689f +DIST rdoc-6.2.0.tar.gz 668152 BLAKE2B 9c92b27c427d6229778aba54ce7f12fe883fd3e40151f518f3d023d4f6dd10d4f1f6d05c8d6bcdce80d1ac81ab25cd99ccbe9479a4fcd950b895e14d4fdc4b83 SHA512 15352889833436c0a243e4f79c4ae8113fa3b8c222950baf1fcd272773a7a17198c2cd91a50c92e225c282a37ec743a38d8e9ca4dffe0b66c39d56412fe56ca2 diff --git a/dev-ruby/rdoc/metadata.xml b/dev-ruby/rdoc/metadata.xml new file mode 100644 index 000000000000..806b0e88ab0d --- /dev/null +++ b/dev-ruby/rdoc/metadata.xml @@ -0,0 +1,12 @@ +<?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">rdoc/rdoc</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rdoc/rdoc-6.1.2.ebuild b/dev-ruby/rdoc/rdoc-6.1.2.ebuild new file mode 100644 index 000000000000..2afc0c8057e7 --- /dev/null +++ b/dev-ruby/rdoc/rdoc-6.1.2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_BINDIR="exe" + +inherit ruby-fakegem eutils + +DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" +HOMEPAGE="https://github.com/ruby/rdoc/" +SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Ruby MIT" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="doc" + +RDEPEND+=">=app-eselect/eselect-ruby-20181225" + +ruby_add_bdepend " + >=dev-ruby/kpeg-1.1.0-r1 + >dev-ruby/racc-1.4.10 + dev-ruby/rake + test? ( + dev-ruby/bundler + >=dev-ruby/minitest-5.8:5 + )" + +all_ruby_prepare() { + # Other packages also have use for a nonexistent directory, bug 321059 + sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die + + # Avoid unneeded dependency on bundler, bug 603696 + sed -i -e '/bundler/ s:^:#:' \ + -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \ + -e '/rubocop\/rake/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die + + # Remove test that is depending on the locale, which we can't garantuee. + sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die + + # Remove test depending on FEATURES=userpriv, bug 361959 + sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die + + # Remove tests for code that is not included and not listed in Manifest.txt + rm -f test/test_rdoc_i18n_{locale,text}.rb \ + test/test_rdoc_generator_pot* || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + ruby -Ilib -S exe/rdoc || die + fi +} + +each_ruby_compile() { + ${RUBY} -S rake generate || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + all_fakegem_install + + for bin in rdoc ri; do + ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 + + for version in $(ruby_get_use_implementations); do + version=`echo ${version} | cut -c 5-` + if use ruby_targets_ruby${version}; then + ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version} + sed -i -e "1s/env ruby/ruby${version}/" \ + "${ED}/usr/bin/${bin}${version}" || die + fi + done + done +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi +} diff --git a/dev-ruby/rdoc/rdoc-6.2.0.ebuild b/dev-ruby/rdoc/rdoc-6.2.0.ebuild new file mode 100644 index 000000000000..2be09233e2b8 --- /dev/null +++ b/dev-ruby/rdoc/rdoc-6.2.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_BINDIR="exe" + +inherit ruby-fakegem eutils + +DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" +HOMEPAGE="https://github.com/ruby/rdoc/" +SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Ruby MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="doc" + +RDEPEND+=">=app-eselect/eselect-ruby-20181225" + +ruby_add_bdepend " + >=dev-ruby/kpeg-1.1.0-r1 + >dev-ruby/racc-1.4.10 + dev-ruby/rake + test? ( + dev-ruby/bundler + >=dev-ruby/minitest-5.8:5 + )" + +all_ruby_prepare() { + # Other packages also have use for a nonexistent directory, bug 321059 + sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die + + # Avoid unneeded dependency on bundler, bug 603696 + sed -i -e '/bundler/ s:^:#:' \ + -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \ + -e '/rubocop\/rake/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die + + # Remove test that is depending on the locale, which we can't garantuee. + sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die + + # Remove test depending on FEATURES=userpriv, bug 361959 + sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die + + # Remove tests for code that is not included and not listed in Manifest.txt + rm -f test/test_rdoc_i18n_{locale,text}.rb \ + test/rdoc/test_rdoc_generator_pot* || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + ruby -Ilib -S exe/rdoc || die + fi +} + +each_ruby_compile() { + ${RUBY} -S rake generate || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + all_fakegem_install + + for bin in rdoc ri; do + ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 + + for version in $(ruby_get_use_implementations); do + version=`echo ${version} | cut -c 5-` + if use ruby_targets_ruby${version}; then + ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version} + sed -i -e "1s/env ruby/ruby${version}/" \ + "${ED}/usr/bin/${bin}${version}" || die + fi + done + done +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi +} diff --git a/dev-ruby/rdtool/Manifest b/dev-ruby/rdtool/Manifest new file mode 100644 index 000000000000..0f59378bcdc8 --- /dev/null +++ b/dev-ruby/rdtool/Manifest @@ -0,0 +1 @@ +DIST rdtool-0.6.38.gem 115712 BLAKE2B 037575dd890512ad1f88a4a04532b6c2b8ca6d5245cccaf7ab1b7f51fad971e449bf280bf5ffdb295f212d56add4e817fff5494b0bba011229cf54d2ed74e1aa SHA512 958e9066a8b3610eb1a78069e615c5bd672aa56b3b45669604b35cd094bb8ddc549d8f373d1ee53864c27a0aa7ee038101b3256c56b3b8ffe618f75a1a939bcd diff --git a/dev-ruby/rdtool/files/50rdtool-gentoo.el b/dev-ruby/rdtool/files/50rdtool-gentoo.el new file mode 100644 index 000000000000..cce968bacb70 --- /dev/null +++ b/dev-ruby/rdtool/files/50rdtool-gentoo.el @@ -0,0 +1,5 @@ + +;; site-lisp configuration file for rdtool + +(autoload 'rd-mode "rd-mode" "major mode for ruby document formatter RD" t) +(add-to-list 'auto-mode-alist '("\\.rd$" . rd-mode)) diff --git a/dev-ruby/rdtool/metadata.xml b/dev-ruby/rdtool/metadata.xml new file mode 100644 index 000000000000..5fd848222a35 --- /dev/null +++ b/dev-ruby/rdtool/metadata.xml @@ -0,0 +1,12 @@ +<?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">uwabami/rdtool</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rdtool/rdtool-0.6.38-r2.ebuild b/dev-ruby/rdtool/rdtool-0.6.38-r2.ebuild new file mode 100644 index 000000000000..b1ec9089e578 --- /dev/null +++ b/dev-ruby/rdtool/rdtool-0.6.38-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_EXTRADOC="HISTORY README.*" + +inherit elisp-common ruby-fakegem + +DESCRIPTION="A multipurpose documentation format for Ruby" +HOMEPAGE="https://github.com/uwabami/rdtool" + +LICENSE="Ruby GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" +IUSE="emacs" + +RDEPEND="${RDEPEND} emacs? ( >=app-editors/emacs-23.1:* )" + +SITEFILE=50${PN}-gentoo.el + +all_ruby_install() { + all_fakegem_install + + if use emacs ; then + elisp-install ${PN} utils/rd-mode.el + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest new file mode 100644 index 000000000000..cb86319da028 --- /dev/null +++ b/dev-ruby/recog/Manifest @@ -0,0 +1,5 @@ +DIST recog-2.3.2.gem 259584 BLAKE2B 035cdcb23fa837798fd256d00eb3cfa11b6ebeefd218c3c00a0f68ad1311efc6ce62a3db537cdc7a692d77e10b45c63f7c391314b05ca93c9afc269e67e7ba24 SHA512 0deb0e2354bab3ae190b0b71d370755de802d679a37a2d907fcc6503a12120e27d607bd3f31db62f678e4488228977132f3816a4586e5e85ba37f7ff6cd27733 +DIST recog-2.3.4.gem 262656 BLAKE2B ca2ea05844f5fde74859b22a9f710e5a9f0d44d789d49fb2c8502f4f09f5e5a3772d4a4187e5f0c10ec250c84599defc9dc86dd5602a7bdc7586f07ed14df350 SHA512 4ebf2ce4d502eb103eb3d10b7c01f3e43a402b90d8883f76cedb93edea32f31d196c4141c11264739f73ee9afe8590c50a368897a1286ff408d4454e89622be6 +DIST recog-2.3.5.gem 263168 BLAKE2B da850cc08e7ffebd34e040eac15ecc62ab857c61d8a65cf5e9889f94c0173204ef8de5c712c89ddfc67c9d6bb8c01c09c702547de1bbdd7b12d121e4f4fefe7b SHA512 a45bc81c17edc9e431aa945678c77c573e2d1ad2352b4b4862492108cda0620145f6dc04a7d7ff2a6b456db32ed0348af4e61cd2be187f9d3de2b421f1f4e4ce +DIST recog-2.3.6.gem 266752 BLAKE2B ec11be53a79f83b174c12f44d90c4085e02ae10fb49744ee6c5d655e4be32414fa158f6a11b2d73786c00447f8ebf3f40aecd422f14886a72eb59f1519a65f63 SHA512 b4731092884de9dcf961122bf0cd5b4ed2fe8b9fc7ecdbd144d0813cbad52895ab4b3c0b7069a7f7e7a80bcf236cfd1c8c0d594d2caa65a76cca60e362009b43 +DIST recog-2.3.7.gem 276480 BLAKE2B 227b5ee13245a8c3f47b9aae1a3a15133669bf2d0438f6c693da6496243b915e036ee922f0db3bbfa605b38803c4bd1cae472b8494f74d7dc73b2d476cc164b0 SHA512 184ed1bbd661899d66f51675f2c5e62804b24b75426ad064c1fff8d5e3f2e083cdbd48c5482beedbaebc355f0fcff3e29d1406d7bbc31c55a17fa467adf7c280 diff --git a/dev-ruby/recog/metadata.xml b/dev-ruby/recog/metadata.xml new file mode 100644 index 000000000000..05098495fc57 --- /dev/null +++ b/dev-ruby/recog/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">rapid7/recog</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/recog/recog-2.3.2.ebuild b/dev-ruby/recog/recog-2.3.2.ebuild new file mode 100644 index 000000000000..e041a3e28841 --- /dev/null +++ b/dev-ruby/recog/recog-2.3.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="xml" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Pattern recognition for hosts, services, and content" +HOMEPAGE="https://github.com/rapid7/recog" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "test? ( + dev-ruby/regexp_parser:0 + dev-ruby/rspec:3 + dev-util/aruba + dev-util/cucumber +)" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' -e '1igem "regexp_parser", "~>0.2"' spec/spec_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber +} diff --git a/dev-ruby/recog/recog-2.3.4.ebuild b/dev-ruby/recog/recog-2.3.4.ebuild new file mode 100644 index 000000000000..c000a7c6eb5c --- /dev/null +++ b/dev-ruby/recog/recog-2.3.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="xml" + +inherit ruby-fakegem + +DESCRIPTION="Pattern recognition for hosts, services, and content" +HOMEPAGE="https://github.com/rapid7/recog" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "test? ( + dev-ruby/regexp_parser:0 + dev-ruby/rspec:3 + dev-util/aruba + dev-util/cucumber +)" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' -e '1igem "regexp_parser", "~>0.2"' spec/spec_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber +} diff --git a/dev-ruby/recog/recog-2.3.5.ebuild b/dev-ruby/recog/recog-2.3.5.ebuild new file mode 100644 index 000000000000..c000a7c6eb5c --- /dev/null +++ b/dev-ruby/recog/recog-2.3.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="xml" + +inherit ruby-fakegem + +DESCRIPTION="Pattern recognition for hosts, services, and content" +HOMEPAGE="https://github.com/rapid7/recog" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "test? ( + dev-ruby/regexp_parser:0 + dev-ruby/rspec:3 + dev-util/aruba + dev-util/cucumber +)" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' -e '1igem "regexp_parser", "~>0.2"' spec/spec_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber +} diff --git a/dev-ruby/recog/recog-2.3.6.ebuild b/dev-ruby/recog/recog-2.3.6.ebuild new file mode 100644 index 000000000000..c000a7c6eb5c --- /dev/null +++ b/dev-ruby/recog/recog-2.3.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="xml" + +inherit ruby-fakegem + +DESCRIPTION="Pattern recognition for hosts, services, and content" +HOMEPAGE="https://github.com/rapid7/recog" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "test? ( + dev-ruby/regexp_parser:0 + dev-ruby/rspec:3 + dev-util/aruba + dev-util/cucumber +)" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' -e '1igem "regexp_parser", "~>0.2"' spec/spec_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber +} diff --git a/dev-ruby/recog/recog-2.3.7.ebuild b/dev-ruby/recog/recog-2.3.7.ebuild new file mode 100644 index 000000000000..755dd01cad4c --- /dev/null +++ b/dev-ruby/recog/recog-2.3.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="xml" + +inherit ruby-fakegem + +DESCRIPTION="Pattern recognition for hosts, services, and content" +HOMEPAGE="https://github.com/rapid7/recog" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "test? ( + dev-ruby/regexp_parser:0 + dev-ruby/rspec:3 + dev-util/aruba + dev-util/cucumber +)" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' -e '1igem "regexp_parser", "~>0.2"' spec/spec_helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber +} diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest new file mode 100644 index 000000000000..038ffbd14222 --- /dev/null +++ b/dev-ruby/redcarpet/Manifest @@ -0,0 +1,2 @@ +DIST redcarpet-3.4.0.tar.gz 105525 BLAKE2B 38b28f400b7300ea49cebda9b4739193b54c322c1c20ecba50938893286ad87e44ba9e9da83eab8433af0790d76bc0db4189fc0b70a4438480fe784570809e1a SHA512 25ed1fd35ebf815f396ed819baec69aae366bafab3983a53d364b1ef0d3f18cecaa523953d12cb0e5b896c30ac86e000318f33c633047bd271362474b9b8f877 +DIST redcarpet-3.5.0.tar.gz 106773 BLAKE2B 34c72d21c8ea4d841c9728e3c7e66be02c69943e5e0ee091688992c400748cf0a0900fa15de7bbaf18db8a89bc0309160fd5c2b2ca83ee86f6d46dd5d13d9770 SHA512 8d48f1b437297aa556d7f3c5e69c8dde04c63388e78ffe15ea3c36e4764790b5cb75a8baaf75ad64317bccc63384fa0a42251d05718902096229f9f6a24f06c9 diff --git a/dev-ruby/redcarpet/metadata.xml b/dev-ruby/redcarpet/metadata.xml new file mode 100644 index 000000000000..d12759ffe809 --- /dev/null +++ b/dev-ruby/redcarpet/metadata.xml @@ -0,0 +1,12 @@ +<?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">vmg/redcarpet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild b/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild new file mode 100644 index 000000000000..1eb5fa7864a5 --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc" +RUBY_FAKEGEM_TASK_TEST="test:unit" +inherit multilib ruby-fakegem + +SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A Ruby wrapper for Upskirt" +HOMEPAGE="https://github.com/vmg/redcarpet" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/nokogiri )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die + + # Avoid unneeded dependency on rake-compiler + sed -i -e '/extensiontask/I s:^:#:' Rakefile || die +} + +each_ruby_prepare() { + sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die +} + +each_ruby_configure() { + ${RUBY} -Cext/redcarpet extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib || die +} diff --git a/dev-ruby/redcarpet/redcarpet-3.5.0.ebuild b/dev-ruby/redcarpet/redcarpet-3.5.0.ebuild new file mode 100644 index 000000000000..a72215a51155 --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-3.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc" +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_GEMSPEC="redcarpet.gemspec" + +inherit multilib ruby-fakegem + +SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A Ruby wrapper for Upskirt" +HOMEPAGE="https://github.com/vmg/redcarpet" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/nokogiri )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die + + # Avoid unneeded dependency on rake-compiler + sed -i -e '/extensiontask/I s:^:#:' Rakefile || die +} + +each_ruby_prepare() { + sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die +} + +each_ruby_configure() { + ${RUBY} -Cext/redcarpet extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib || die +} diff --git a/dev-ruby/redcloth/Manifest b/dev-ruby/redcloth/Manifest new file mode 100644 index 000000000000..ef9bc8995d3e --- /dev/null +++ b/dev-ruby/redcloth/Manifest @@ -0,0 +1 @@ +DIST RedCloth-4.3.2.tar.gz 91880 BLAKE2B 0feac1ec59e23fcff39e2fdf9beff896be7949764e53a5a834c5f4e7d18813dc59bf354103d4fab82a709341a0f1b6919bbd3a463fd601564888672dbe73d343 SHA512 377fef21e646beb1658a4b8b8d0228e9730c6c8f33075a14137afcf80e8d37501ede8c05b720d0dfb36a680017f4dedd01565fe9b326ae06ead77afee6f122ca diff --git a/dev-ruby/redcloth/files/redcloth-4.3.2-load-documents.patch b/dev-ruby/redcloth/files/redcloth-4.3.2-load-documents.patch new file mode 100644 index 000000000000..f390afd58268 --- /dev/null +++ b/dev-ruby/redcloth/files/redcloth-4.3.2-load-documents.patch @@ -0,0 +1,30 @@ +From 00b55ace17ed408b1b6129e1ba6c90fd4f0a6d2c Mon Sep 17 00:00:00 2001 +From: Matijs van Zuijlen <matijs@matijs.net> +Date: Tue, 29 Aug 2017 08:08:36 +0200 +Subject: [PATCH] Replace deprecated YAML.load_documents + +The .load_documents method is deprecated and seems to have been removed +entirely in the upcoming Ruby 2.5. +--- + spec/spec_helper.rb | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb +index af6279a..74a5cae 100644 +--- a/spec/spec_helper.rb ++++ b/spec/spec_helper.rb +@@ -26,11 +26,11 @@ def fixtures + Dir[File.join(File.dirname(__FILE__), *%w[fixtures *.yml])].each do |testfile| + testgroup = File.basename(testfile, '.yml') + num = 0 +- YAML::load_documents(File.open(testfile)) do |doc| ++ YAML::load_stream(File.open(testfile)) do |doc| + name = doc['name'] || num + @fixtures["#{testgroup} #{name}"] = doc + num += 1 + end + end + @fixtures +-end +\ No newline at end of file ++end diff --git a/dev-ruby/redcloth/metadata.xml b/dev-ruby/redcloth/metadata.xml new file mode 100644 index 000000000000..3d140488259d --- /dev/null +++ b/dev-ruby/redcloth/metadata.xml @@ -0,0 +1,12 @@ +<?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">jgarber/redcloth</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/redcloth/redcloth-4.3.2-r1.ebuild b/dev-ruby/redcloth/redcloth-4.3.2-r1.ebuild new file mode 100644 index 000000000000..b1a451e57f41 --- /dev/null +++ b/dev-ruby/redcloth/redcloth-4.3.2-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_NAME="RedCloth" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGELOG" + +RUBY_FAKEGEM_REQUIRE_PATHS="lib/case_sensitive_require" + +inherit ruby-fakegem versionator + +DESCRIPTION="A module for using Textile in Ruby" +HOMEPAGE="http://redcloth.org/" + +GITHUB_USER=jgarber +SRC_URI="https://github.com/${GITHUB_USER}/redcloth/archive/v${PV}.tar.gz -> ${RUBY_FAKEGEM_NAME}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +PATCHES=( "${FILESDIR}/${P}-load-documents.patch" ) + +ruby_add_bdepend " + >=dev-ruby/rake-0.8.7 + >=dev-ruby/rake-compiler-0.7.1 + test? ( >=dev-ruby/diff-lcs-1.1.2 )" + +pkg_setup() { + ruby-ng_pkg_setup + + # Export the VERBOSE variable to avoid remapping of stdout and + # stderr, and that breaks because of bad interactions between + # echoe, Ruby and Gentoo. + export VERBOSE=1 +} + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile ${PN}.gemspec || die + rm -f tasks/{release,rspec,rvm}.rake || die +} + +each_ruby_compile() { + # We cannot run this manually easily, because Ragel re-generation + # is a mess + ${RUBY} -S rake compile || die "rake compile failed" +} diff --git a/dev-ruby/redis/Manifest b/dev-ruby/redis/Manifest new file mode 100644 index 000000000000..713ba569087b --- /dev/null +++ b/dev-ruby/redis/Manifest @@ -0,0 +1,3 @@ +DIST redis-rb-3.3.5.tar.gz 88500 BLAKE2B a06e0e08dba211edb6393dd85f7957e56ad928bbd3be105ddeb6ad4f2cfa1d354289ad67f3c8c27d5fd9f8560167708a6937e2950ae12ee0d42d3321940d1e85 SHA512 b79f535b6dff26ae2b0213dd77d53b952fd877ef5193c8bf0f6e5cd0da1934d79711bf611b839ce8b97d7cf145e7e912d2956087501a2f841d42775dc0105a0c +DIST redis-rb-4.0.1.tar.gz 87859 BLAKE2B c53f9a4ae96195eeab9f8fd0eae1ec8bcfeee7b717faf5b85c127ff90a88fbf9a0cfcef9d4c002ef7ee07f12a8e813bfd3e4d284a616d8637029d51a6c067f34 SHA512 c377512e0103a1aadb4aef3e64983fd4b20a26d67320ff0c500b7617c8b3bd5b4ba2240488a7d55be1301bb0b926398835f5c242ae97afe9141b3499da358eb9 +DIST redis-rb-4.1.4.tar.gz 125556 BLAKE2B c1a9e7a365bb12c4aaacfdaff776e370c715a594a05c4270c2dfe85bdc540e915f797fbfa1dc87e10fb03faa56ff572b7e24f7a1244166ea1e1b611900bf22bb SHA512 6c12a75832e8493891ba50ca452960b5748593334287a93c40f117b0e522d483ca0af9a6510271c19f306dfb89a71dd9a7d02c1c8ad3ad82e1d4b31f0b51adad diff --git a/dev-ruby/redis/files/redis-3.2.1-local-redis-server.patch b/dev-ruby/redis/files/redis-3.2.1-local-redis-server.patch new file mode 100644 index 000000000000..3c6b351db485 --- /dev/null +++ b/dev-ruby/redis/files/redis-3.2.1-local-redis-server.patch @@ -0,0 +1,68 @@ +--- a/Rakefile 2015-08-11 22:16:04.474139810 +0100 ++++ b/Rakefile 2015-08-11 22:19:01.024398679 +0100 +@@ -1,14 +1,11 @@ + require "rake/testtask" + +-ENV["REDIS_BRANCH"] ||= "unstable" +- + REDIS_DIR = File.expand_path(File.join("..", "test"), __FILE__) + REDIS_CNF = File.join(REDIS_DIR, "test.conf") + REDIS_CNF_TEMPLATE = File.join(REDIS_DIR, "test.conf.erb") + REDIS_PID = File.join(REDIS_DIR, "db", "redis.pid") + REDIS_LOG = File.join(REDIS_DIR, "db", "redis.log") + REDIS_SOCKET = File.join(REDIS_DIR, "db", "redis.sock") +-BINARY = "tmp/redis-#{ENV["REDIS_BRANCH"]}/src/redis-server" + + task :default => :run + +@@ -16,9 +13,7 @@ + task :run => [:start, :test, :stop] + + desc "Start the Redis server" +-task :start => [BINARY, REDIS_CNF] do +- sh "#{BINARY} --version" +- ++task :start => [REDIS_CNF] do + redis_running = \ + begin + File.exists?(REDIS_PID) && Process.kill(0, File.read(REDIS_PID).to_i) +@@ -27,10 +22,14 @@ + false + end + +- unless redis_running +- unless system("#{BINARY} #{REDIS_CNF}") +- abort "could not start redis-server" +- end ++ unless system("which redis-server") ++ STDERR.puts "redis-server not in PATH" ++ exit 1 ++ end ++ ++ unless system("redis-server #{REDIS_CNF}") ++ STDERR.puts "could not start redis-server" ++ exit 1 + end + + at_exit do +@@ -52,20 +51,6 @@ + FileUtils.rm_f(REDIS_CNF) + end + +-file BINARY do +- branch = ENV.fetch("REDIS_BRANCH") +- +- sh <<-SH +- mkdir -p tmp; +- cd tmp; +- rm -rf redis-#{branch}; +- wget https://github.com/antirez/redis/archive/#{branch}.tar.gz -O #{branch}.tar.gz; +- tar xf #{branch}.tar.gz; +- cd redis-#{branch}; +- make +- SH +-end +- + file REDIS_CNF => [REDIS_CNF_TEMPLATE, __FILE__] do |t| + require 'erb' + diff --git a/dev-ruby/redis/files/redis-4.0.1-local-redis-server.patch b/dev-ruby/redis/files/redis-4.0.1-local-redis-server.patch new file mode 100644 index 000000000000..3bd1b03f494a --- /dev/null +++ b/dev-ruby/redis/files/redis-4.0.1-local-redis-server.patch @@ -0,0 +1,40 @@ +--- a/makefile.~1~ 2017-09-28 18:11:35.000000000 +0200 ++++ b/makefile 2018-04-10 20:45:58.307407705 +0200 +@@ -3,7 +3,7 @@ +-TMP := tmp ++TMP := ${T} + BUILD_DIR := ${TMP}/redis-${REDIS_BRANCH} + TARBALL := ${TMP}/redis-${REDIS_BRANCH}.tar.gz +-BINARY := ${BUILD_DIR}/src/redis-server ++BINARY := /usr/sbin/redis-server +-PID_PATH := ${BUILD_DIR}/redis.pid ++PID_PATH := ${TMP}/redis.pid +-SOCKET_PATH := ${BUILD_DIR}/redis.sock ++SOCKET_PATH := ${TMP}/redis.sock + PORT := 6381 +@@ -11,7 +11,7 @@ + test: ${TEST_FILES} + make start + env SOCKET_PATH=${SOCKET_PATH} \ +- ruby -v $$(echo $? | tr ' ' '\n' | awk '{ print "-r./" $$0 }') -e '' ++ ${RUBY} -v $$(echo $? | tr ' ' '\n' | awk '{ print "-r./" $$0 }') -e '' + make stop + + ${TMP}: +@@ -20,11 +20,11 @@ + ${TARBALL}: ${TMP} + wget https://github.com/antirez/redis/archive/${REDIS_BRANCH}.tar.gz -O $@ + +-${BINARY}: ${TARBALL} ${TMP} +- rm -rf ${BUILD_DIR} +- mkdir -p ${BUILD_DIR} +- tar xf ${TARBALL} -C ${TMP} +- cd ${BUILD_DIR} && make ++# ${BINARY}: ${TARBALL} ${TMP} ++# rm -rf ${BUILD_DIR} ++# mkdir -p ${BUILD_DIR} ++# tar xf ${TARBALL} -C ${TMP} ++# cd ${BUILD_DIR} && make + + stop: + (test -f ${PID_PATH} && (kill $$(cat ${PID_PATH}) || true) && rm -f ${PID_PATH}) || true diff --git a/dev-ruby/redis/files/redis-4.1.4-local-redis-server.patch b/dev-ruby/redis/files/redis-4.1.4-local-redis-server.patch new file mode 100644 index 000000000000..b9db61a0a6a7 --- /dev/null +++ b/dev-ruby/redis/files/redis-4.1.4-local-redis-server.patch @@ -0,0 +1,40 @@ +--- a/makefile 2019-06-29 08:02:02.519804948 +0200 ++++ b/makefile 2019-06-29 08:03:43.125559643 +0200 +@@ -1,16 +1,15 @@ + REDIS_BRANCH ?= 5.0 +-TMP := tmp + BUILD_DIR := ${TMP}/cache/redis-${REDIS_BRANCH} + TARBALL := ${TMP}/redis-${REDIS_BRANCH}.tar.gz +-BINARY := ${BUILD_DIR}/src/redis-server +-REDIS_CLIENT := ${BUILD_DIR}/src/redis-cli ++BINARY := /usr/sbin/redis-server ++REDIS_CLIENT := /usr/bin/redis-cli + REDIS_TRIB := ${BUILD_DIR}/src/redis-trib.rb +-PID_PATH := ${BUILD_DIR}/redis.pid +-SOCKET_PATH := ${BUILD_DIR}/redis.sock ++PID_PATH := ${TMP}/redis.pid ++SOCKET_PATH := ${TMP}/redis.sock + PORT := 6381 + SLAVE_PORT := 6382 +-SLAVE_PID_PATH := ${BUILD_DIR}/redis_slave.pid +-SLAVE_SOCKET_PATH := ${BUILD_DIR}/redis_slave.sock ++SLAVE_PID_PATH := ${TMP}/redis_slave.pid ++SLAVE_SOCKET_PATH := ${TMP}/redis_slave.sock + SENTINEL_PORTS := 6400 6401 6402 + SENTINEL_PID_PATHS := $(addprefix ${TMP}/redis,$(addsuffix .pid,${SENTINEL_PORTS})) + CLUSTER_PORTS := 7000 7001 7002 7003 7004 7005 +@@ -43,11 +43,11 @@ + ${TMP}: + @mkdir -p $@ + +-${BINARY}: ${TMP} +- @bin/build ${REDIS_BRANCH} $< ++#${BINARY}: ${TMP} ++# @bin/build ${REDIS_BRANCH} $< + + test: +- @env SOCKET_PATH=${SOCKET_PATH} bundle exec rake test ++ @env SOCKET_PATH=${SOCKET_PATH} ${RUBY} -S rake test + + stop: + @$(call kill-redis,${PID_PATH}) diff --git a/dev-ruby/redis/metadata.xml b/dev-ruby/redis/metadata.xml new file mode 100644 index 000000000000..841a931687b9 --- /dev/null +++ b/dev-ruby/redis/metadata.xml @@ -0,0 +1,12 @@ +<?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">redis/redis-rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/redis/redis-3.3.5.ebuild b/dev-ruby/redis/redis-3.3.5.ebuild new file mode 100644 index 000000000000..21dfc6a7a708 --- /dev/null +++ b/dev-ruby/redis/redis-3.3.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +MY_P="redis-rb-${PV}" +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_TASK_TEST="run" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby client library for Redis" +HOMEPAGE="https://github.com/redis/redis-rb" +SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +DEPEND="test? ( >=dev-db/redis-3.2.0 )" + +RUBY_S="${MY_P}" + +all_ruby_prepare() { + # call me impatient, but this way we don't need netcat + sed -i \ + -e '/test_subscribe_past_a_timeout/,+18d' \ + test/publish_subscribe_test.rb || die "sed failed" + + # Version 3.0.6 downloads and compiles redis-server to test against. + # This patch reverts it to the way 3.0.5 does it, using the local server. + # https://github.com/redis/redis-rb/commit/351a1294fe33f79c23495b7568045e9f484918f2 + epatch "${FILESDIR}/${PN}-3.2.1-local-redis-server.patch" +} diff --git a/dev-ruby/redis/redis-4.0.1.ebuild b/dev-ruby/redis/redis-4.0.1.ebuild new file mode 100644 index 000000000000..e74cfcf17fb7 --- /dev/null +++ b/dev-ruby/redis/redis-4.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +MY_P="redis-rb-${PV}" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby client library for Redis" +HOMEPAGE="https://github.com/redis/redis-rb" +SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64" +IUSE="doc test" + +DEPEND="test? ( >=dev-db/redis-3.2.0 )" + +RUBY_S="${MY_P}" + +PATCHES=( "${FILESDIR}/${P}-local-redis-server.patch" ) + +all_ruby_prepare() { + # call me impatient, but this way we don't need netcat + sed -i \ + -e '/test_subscribe_past_a_timeout/,+18d' \ + test/publish_subscribe_test.rb || die "sed failed" +} + +each_ruby_test() { + RUBY=${RUBY} emake test +} diff --git a/dev-ruby/redis/redis-4.1.4.ebuild b/dev-ruby/redis/redis-4.1.4.ebuild new file mode 100644 index 000000000000..ad182165d50d --- /dev/null +++ b/dev-ruby/redis/redis-4.1.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +MY_P="redis-rb-${PV}" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="redis.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby client library for Redis" +HOMEPAGE="https://github.com/redis/redis-rb" +SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64" +IUSE="doc test" + +DEPEND="test? ( >=dev-db/redis-3.2.0 )" + +RUBY_S="${MY_P}" + +PATCHES=( "${FILESDIR}/${PN}-4.1.4-local-redis-server.patch" ) + +all_ruby_prepare() { + # call me impatient, but this way we don't need netcat + sed -i \ + -e '/test_subscribe_past_a_timeout/,+18d' \ + test/publish_subscribe_test.rb || die "sed failed" + + sed -i -e 's/git ls-files --/echo/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/test_connection_timeout/askip "requires network"' test/internals_test.rb || die +} + +each_ruby_test() { + RUBY=${RUBY} TMP=${T} MT_NO_PLUGINS=true emake -j1 all + einfo "Wait 5 seconds for servers to stop" + sleep 5 +} diff --git a/dev-ruby/ref/Manifest b/dev-ruby/ref/Manifest new file mode 100644 index 000000000000..3cd81ed91d99 --- /dev/null +++ b/dev-ruby/ref/Manifest @@ -0,0 +1 @@ +DIST ref-2.0.0.tar.gz 19043 BLAKE2B b5e90630451c8f6682c572f5115b8a3960a731197eff45963f2e0a538a74cf51e666ced5ba9fd2899c96bce3a2191f091139733b04d6e9dba940d8099b5dc62c SHA512 4407111b3f8497016b1935d3804d0f7d2d1284d31922dc7d1dfb6c5dbfcb994050a46950b0874c3b8f29bde8ac0d35f2edf1dbc711dc5d654d0680b4f94a5baf diff --git a/dev-ruby/ref/metadata.xml b/dev-ruby/ref/metadata.xml new file mode 100644 index 000000000000..249b974aa302 --- /dev/null +++ b/dev-ruby/ref/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-concurrency/ref</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ref/ref-2.0.0.ebuild b/dev-ruby/ref/ref-2.0.0.ebuild new file mode 100644 index 000000000000..00aed92df895 --- /dev/null +++ b/dev-ruby/ref/ref-2.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="HISTORY.txt README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Implements weak, soft, and strong references in Ruby" +HOMEPAGE="https://github.com/ruby-concurrency/ref" +SRC_URI="https://github.com/ruby-concurrency/ref/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest new file mode 100644 index 000000000000..ed63ac8186d7 --- /dev/null +++ b/dev-ruby/regexp_parser/Manifest @@ -0,0 +1,5 @@ +DIST regexp_parser-0.5.0.tar.gz 80554 BLAKE2B 7890e6850e3ffbb927c5e72430ab29e6aeec4f8684eb56f4153414aca62702faa57f48887618e84b1d087e2ba366ec9d6b2e92200cc34472b7bbb5a8b0043415 SHA512 0d1c43fda01077b9b3d9c28ce9cb01772f10817e42d9c0ff28e6ea5cd059ad4869b940498c6a4e77d4fc6acb6ac0aba293ae67dd012650cdb58989b90868be16 +DIST regexp_parser-1.5.1.tar.gz 82482 BLAKE2B ff1746e52e786e273923dd222ea8c8276eb1e4ffe9bf899068160dec229784709ba679983c1e43736c128ec094861174bd43e0aceea704ee2d38aff4a53e6775 SHA512 4856fbcac800083b417880c30b5d6a5ea445bb85950bdd7898f368bfa2d44b01b1e2058b279f1640cf1cf4d7b28e225d25bc2d356d2c4a7c1be0a2c621dd3827 +DIST regexp_parser-1.6.0.tar.gz 82909 BLAKE2B bbf36af3686165c7d0d439cc22181519a79e46853d7e185577026e4e200c1dda9d8696fa2d83a3cb90f78cb2f13632ff0ba9996b7f4a029780d840ba8211507c SHA512 96214654e56bd17a5b79cd979e87ca4cbd86bf9070fb0646dcea913d482e731c8190e17eb31668eb5d429b7ee6f9a13ef3111c60d2d9b87adddfb760859241e9 +DIST regexp_parser-1.7.0.tar.gz 83146 BLAKE2B 2e2c7b2c28fd3ac6e20738da1ccf7d0da0d35bb62523bbdfb221f484d8eb412790938f3aaf3f5a31e3ae892778e3ef876cb9f1bb3eafa695810e1354f70ed9e5 SHA512 5a7c733c581ddf64ee1c55ef6e514333029ac1611ceb71cf0edc9c75061579237c457c3320b84ed069c771ae36b266c796bc49b1f6ff69b1c746b0153b72c2e6 +DIST regexp_parser-1.7.1.tar.gz 83865 BLAKE2B 1aab4f5c4d399ee48951a9fa9f24fef14073ca5267ec29e5011880274d2749a7a3d1f5cb2a6a5107d5c848537367e1f725a6de9bb9af8803ccc8ccedaac415eb SHA512 fda810bc18039484725df5c6092b3d1b31f398e337cbace253cfdfa934274902f2dcb4e64c4fd0bb24379c79ea2976383313c1a5cd4ad246ecb7eabfd1a47d64 diff --git a/dev-ruby/regexp_parser/metadata.xml b/dev-ruby/regexp_parser/metadata.xml new file mode 100644 index 000000000000..aa1d68be8ffb --- /dev/null +++ b/dev-ruby/regexp_parser/metadata.xml @@ -0,0 +1,12 @@ +<?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">ammar/regexp_parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/regexp_parser/regexp_parser-0.5.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.5.0.ebuild new file mode 100644 index 000000000000..b111089f9cf3 --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-0.5.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" +HOMEPAGE="https://github.com/ammar/regexp_parser" +SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + sed -i -e '1irequire "delegate"' test/support/warning_extractor.rb || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib bin/test || die +} diff --git a/dev-ruby/regexp_parser/regexp_parser-1.5.1.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.5.1.ebuild new file mode 100644 index 000000000000..f49d9a581c8d --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-1.5.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" +HOMEPAGE="https://github.com/ammar/regexp_parser" +SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/regexp_property_values dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib bin/test || die +} diff --git a/dev-ruby/regexp_parser/regexp_parser-1.6.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.6.0.ebuild new file mode 100644 index 000000000000..2582e1db4339 --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-1.6.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" +HOMEPAGE="https://github.com/ammar/regexp_parser" +SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/regexp_property_values dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib bin/test || die +} diff --git a/dev-ruby/regexp_parser/regexp_parser-1.7.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.7.0.ebuild new file mode 100644 index 000000000000..068ddd32b086 --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-1.7.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="regexp_parser.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" +HOMEPAGE="https://github.com/ammar/regexp_parser" +SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/regexp_property_values dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib bin/test || die +} diff --git a/dev-ruby/regexp_parser/regexp_parser-1.7.1.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.7.1.ebuild new file mode 100644 index 000000000000..9a339fd368c9 --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-1.7.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:full" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="regexp_parser.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" +HOMEPAGE="https://github.com/ammar/regexp_parser" +SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/regexp_property_values dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} diff --git a/dev-ruby/regexp_property_values/Manifest b/dev-ruby/regexp_property_values/Manifest new file mode 100644 index 000000000000..1598d84152f5 --- /dev/null +++ b/dev-ruby/regexp_property_values/Manifest @@ -0,0 +1,2 @@ +DIST regexp_property_values-0.3.5.tar.gz 11410 BLAKE2B adcf7848af9df53707a878ee35443583b03f96f60f9b23fd5f146e81b4b12a4e3ada2c48d6509b15c848b15c668d9430ef93b34f08491ce13249ec458b2be0eb SHA512 5ac91331deb12fd77ee6a5ca8f942c2b2ea0ccb42bc63548444ecfe85c3a60bad385831b408f21c848f0c0ac2db3c68f8391fd68074acb0187ae9de51ca76e47 +DIST regexp_property_values-1.0.0.tar.gz 12884 BLAKE2B 82f63d21a1e1508cef79afc2f1b5cca842c1e5bc96b197efa90ec0d02e7bd213cc67ae99f4f71cae6e632e0804fa2d6e935c7d30f27a940c767f5a83dd9edd21 SHA512 f51946d93c255c3b51bfb8055d2c0548c9656db9f208de74b569df8799fa97712a76b509546e149f71e3176ae0e979f295b225c171cedc687e1871f204c1e0d3 diff --git a/dev-ruby/regexp_property_values/metadata.xml b/dev-ruby/regexp_property_values/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/regexp_property_values/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/regexp_property_values/regexp_property_values-0.3.5.ebuild b/dev-ruby/regexp_property_values/regexp_property_values-0.3.5.ebuild new file mode 100644 index 000000000000..8f92cf25165d --- /dev/null +++ b/dev-ruby/regexp_property_values/regexp_property_values-0.3.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="See which property values are supported by the regular expression engine" +HOMEPAGE="https://github.com/janosch-x/regexp_property_values" +SRC_URI="https://github.com/janosch-x/regexp_property_values/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + + # Avoid dependency on character_set which would lead to circular + # dependencies. + sed -i -e '/returns a CharacterSet/askip "gentoo circular dependencies"' spec/regexp_property_values/extension_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/regexp_property_values extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/regexp_property_values V=1 + cp ext/regexp_property_values/regexp_property_values.so lib/regexp_property_values/ || die +} diff --git a/dev-ruby/regexp_property_values/regexp_property_values-1.0.0.ebuild b/dev-ruby/regexp_property_values/regexp_property_values-1.0.0.ebuild new file mode 100644 index 000000000000..af384d45c02d --- /dev/null +++ b/dev-ruby/regexp_property_values/regexp_property_values-1.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="See which property values are supported by the regular expression engine" +HOMEPAGE="https://github.com/janosch-x/regexp_property_values" +SRC_URI="https://github.com/janosch-x/regexp_property_values/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + + # Avoid dependency on character_set which would lead to circular + # dependencies. + sed -i -e '/returns a CharacterSet/askip "gentoo circular dependencies"' spec/regexp_property_values/value_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/regexp_property_values extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/regexp_property_values V=1 + cp ext/regexp_property_values/regexp_property_values.so lib/regexp_property_values/ || die +} diff --git a/dev-ruby/request_store/Manifest b/dev-ruby/request_store/Manifest new file mode 100644 index 000000000000..fbc5f171ccbc --- /dev/null +++ b/dev-ruby/request_store/Manifest @@ -0,0 +1,3 @@ +DIST request_store-1.0.5.gem 6656 BLAKE2B 2bd96d3dd40e846e8b36cae338c1f95ec812d6121db332e60c85b4c8e043fe81229e9e2f7f8f3c1ef3d7c592515bb69d5dae3cc4755f181fd29a1eb7e7c6254d SHA512 0d69ebdb8d3f6df11f89780c250b5fcc702258e19d7fbf8e2273614ecc220ee25e059a596a8a7e39bcc426f8d834cab38c161c0c1a800cc7ebdba3daa810e727 +DIST request_store-1.4.1.gem 9216 BLAKE2B 06d88b26dfb1834e1a30bd17780e19db75dacfb07a18324efc06dfe17aecad6232f7d1bf7a42bf152c5350926e2d64cfcd8d86f12178d2deb0f8c2f4ea6d95c3 SHA512 83e75e866b838e79c99c60197f5fe5da106619f645d9f244c55e1f1ca4bfa82f0bd67d6f10f74be857b8a359484799d44ec9c4f0b926bba2e2699de231360537 +DIST request_store-1.5.0.gem 9216 BLAKE2B 75dd49c33cfebcf0deef78be1fe054feb7198b42409ec4b339cefdbdd4fc066159bd18ae6db8001edd0fe20e1e8be1021812e6ffd033eed0bd9730603aaa2daf SHA512 c01d4505d2bc0b88456d0bc49416fcbea67da1e2ab6ef0c7fc900fae8856d82157dc39d2e1d2f299000f74b140f6f13d7352f4684e247d103bbaab7b1705910f diff --git a/dev-ruby/request_store/metadata.xml b/dev-ruby/request_store/metadata.xml new file mode 100644 index 000000000000..6e4b70838687 --- /dev/null +++ b/dev-ruby/request_store/metadata.xml @@ -0,0 +1,12 @@ +<?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">steveklabnik/request_store</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/request_store/request_store-1.0.5.ebuild b/dev-ruby/request_store/request_store-1.0.5.ebuild new file mode 100644 index 000000000000..2a630a4ab724 --- /dev/null +++ b/dev-ruby/request_store/request_store-1.0.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Per-request global storage for Rack" +HOMEPAGE="https://github.com/steveklabnik/request_store" + +LICENSE="MIT" +SLOT="1.0.5" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_all_prepare() { + sed -i -e "/bundler/d" Rakefile || die +} diff --git a/dev-ruby/request_store/request_store-1.4.1.ebuild b/dev-ruby/request_store/request_store-1.4.1.ebuild new file mode 100644 index 000000000000..45fd904cde59 --- /dev/null +++ b/dev-ruby/request_store/request_store-1.4.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Per-request global storage for Rack" +HOMEPAGE="https://github.com/steveklabnik/request_store" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-1.4:*" + +all_ruby_prepare() { + sed -i -e "/bundler/ s:^:#:" Rakefile || die +} diff --git a/dev-ruby/request_store/request_store-1.5.0.ebuild b/dev-ruby/request_store/request_store-1.5.0.ebuild new file mode 100644 index 000000000000..09f4d51a5652 --- /dev/null +++ b/dev-ruby/request_store/request_store-1.5.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Per-request global storage for Rack" +HOMEPAGE="https://github.com/steveklabnik/request_store" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-1.4:*" + +all_ruby_prepare() { + sed -i -e "/bundler/ s:^:#:" Rakefile || die +} diff --git a/dev-ruby/rest-client/Manifest b/dev-ruby/rest-client/Manifest new file mode 100644 index 000000000000..6d1b71d727f5 --- /dev/null +++ b/dev-ruby/rest-client/Manifest @@ -0,0 +1 @@ +DIST rest-client-2.1.0.gem 147456 BLAKE2B 602e3cea1bdb117ad8b783d30741f699b18085fd6dd4f0d26a8a8f3b658bc6f807357a7412eaae312566f1b4d5ee7e311f51d5fd4a8eb9063e8552335b019a2e SHA512 fe5d44409dfe607566b4c0324441d9a3981776699027bfbc92283b1cd425f204211fc872593cb0784e0ca7a5e061e98793540eedfeb1891d9a8afd53a5ce01de diff --git a/dev-ruby/rest-client/metadata.xml b/dev-ruby/rest-client/metadata.xml new file mode 100644 index 000000000000..de8afcdf1127 --- /dev/null +++ b/dev-ruby/rest-client/metadata.xml @@ -0,0 +1,12 @@ +<?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">rest-client/rest-client</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rest-client/rest-client-2.1.0.ebuild b/dev-ruby/rest-client/rest-client-2.1.0.ebuild new file mode 100644 index 000000000000..c4bda40b4646 --- /dev/null +++ b/dev-ruby/rest-client/rest-client-2.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="history.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simple Simple HTTP and REST client for Ruby" +HOMEPAGE="https://github.com/rest-client/rest-client" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/webmock:3 )" + +ruby_add_rdepend " + >=dev-ruby/http-accept-1.7.0:1 + >=dev-ruby/http-cookie-1.0.2:0 + >=dev-ruby/mime-types-1.16:* <dev-ruby/mime-types-4:* + >=dev-ruby/netrc-0.8:0 +" + +all_ruby_prepare() { + sed -e '/bundler/I s:^:#:' \ + -e '/namespace :windows/,/^end/ s:^:#:' -i Rakefile || die + + # Remove specs that requires network access. + rm spec/integration/{httpbin,request}_spec.rb || die +} diff --git a/dev-ruby/rexical/Manifest b/dev-ruby/rexical/Manifest new file mode 100644 index 000000000000..5744ff0cc72b --- /dev/null +++ b/dev-ruby/rexical/Manifest @@ -0,0 +1 @@ +DIST rexical-1.0.7.gem 22016 BLAKE2B aaadf4131fbc4958a6a17be02b970070e511dcb031fd6432fb62fb841eff36b4d5c41d8f8f295aed4ac376c49e736e5d795166f71957578c6cbe14fd6cea26be SHA512 f71c86bd9764e65ebe0c66acd5446b5da7a1b38aae9d33367d70bfa253eb53c178634ce90c883c5459622219670d4d32f375b216c3023a3109329d6930dec1fc diff --git a/dev-ruby/rexical/metadata.xml b/dev-ruby/rexical/metadata.xml new file mode 100644 index 000000000000..b5002ef13975 --- /dev/null +++ b/dev-ruby/rexical/metadata.xml @@ -0,0 +1,12 @@ +<?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">tenderlove/rexical</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rexical/rexical-1.0.7.ebuild b/dev-ruby/rexical/rexical-1.0.7.ebuild new file mode 100644 index 000000000000..1ceec1d4d403 --- /dev/null +++ b/dev-ruby/rexical/rexical-1.0.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc DOCUMENTATION.en.rdoc DOCUMENTATION.ja.rdoc README.ja README.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Rexical is a lexical scanner generator" +HOMEPAGE="https://github.com/tenderlove/rexical/tree/master" +LICENSE="LGPL-2" # plus exception + +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +# File collision, bug 459116 +RDEPEND+=" !!app-admin/rex" + +ruby_add_bdepend " + test? ( + dev-ruby/hoe + dev-ruby/minitest + )" + +all_ruby_prepare() { + # Avoid dependency on unpackaged rubocop + sed -i -e '/test_rubocop_security/askip "not packaged"' test/test_generator.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc sample/* +} diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest new file mode 100644 index 000000000000..132267b8de39 --- /dev/null +++ b/dev-ruby/rexml/Manifest @@ -0,0 +1 @@ +DIST rexml-3.2.4.tar.gz 474955 BLAKE2B f0b9a2003b6dc2b90fbab9bac1b035ebeb89c57dbe9bd50514352a8bbb790593ba5eaf77a9c898de033b5721281a06be2fb4996fe2e5810191df015ede3e44d9 SHA512 8fb52814a93dac8e5e963b7e0686f63fa6c1a88f6842a4e401bde76acb2d85b874ed6243439921bb0cebf53a5b97e0b096424d736409240aa9a5224e617ee88c diff --git a/dev-ruby/rexml/metadata.xml b/dev-ruby/rexml/metadata.xml new file mode 100644 index 000000000000..25d9831f9436 --- /dev/null +++ b/dev-ruby/rexml/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rexml/rexml-3.2.4.ebuild b/dev-ruby/rexml/rexml-3.2.4.ebuild new file mode 100644 index 000000000000..4f1c3c392cda --- /dev/null +++ b/dev-ruby/rexml/rexml-3.2.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An XML toolkit for Ruby" +HOMEPAGE="https://github.com/ruby/rexml" +SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +SLOT="3" + +all_ruby_prepare() { + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/rgen/Manifest b/dev-ruby/rgen/Manifest new file mode 100644 index 000000000000..2d84ff07e00e --- /dev/null +++ b/dev-ruby/rgen/Manifest @@ -0,0 +1 @@ +DIST rgen-0.8.4.tar.gz 277720 BLAKE2B bf7c5f017f056d05464d7f15a4faa8dee41eb857b1ff026be6ea9185d1e4bc2162d0548eb061bf99b2564b61303b4c5204a2db376ff7610ba2c1bbb85cbe9ca4 SHA512 7a1691624a88468674fe3988c3eb098f3c955ab380401cc43f55ab5a84dae81b25d9d19e237b1c9e0251165f298138ca58f9a358124fe4fe8fd233e622d28015 diff --git a/dev-ruby/rgen/metadata.xml b/dev-ruby/rgen/metadata.xml new file mode 100644 index 000000000000..8e6449b1a9b5 --- /dev/null +++ b/dev-ruby/rgen/metadata.xml @@ -0,0 +1,12 @@ +<?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">mthiede/rgen</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rgen/rgen-0.8.4.ebuild b/dev-ruby/rgen/rgen-0.8.4.ebuild new file mode 100644 index 000000000000..143a8d66e594 --- /dev/null +++ b/dev-ruby/rgen/rgen-0.8.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" +RUBY_FAKEGEM_GEMSPEC="rgen.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby Modelling and Generator Framework" +HOMEPAGE="https://github.com/mthiede/rgen" +SRC_URI="https://github.com/mthiede/rgen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +IUSE="" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" + +ruby_add_bdepend " + test? ( >=dev-ruby/minitest-5.10:5 >=dev-ruby/nokogiri-1.6.8.1 ) +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/Can not use a Fixnum/Can not use a Integer/' test/metamodel_builder_test.rb || die +} diff --git a/dev-ruby/rinku/Manifest b/dev-ruby/rinku/Manifest new file mode 100644 index 000000000000..c8ee11ecbd9e --- /dev/null +++ b/dev-ruby/rinku/Manifest @@ -0,0 +1 @@ +DIST rinku-2.0.6.gem 22016 BLAKE2B 9ba678996110a219e4a5121879597f5024c5bfe475af187d9557092ac871f16528e473b41d20742847127b9c7ae665b91e5db7b9aab42dddd32e2a51f20815bb SHA512 5acb6de775e050a92c7b1040af52c5399b3fea654f7569d58aa1b5db10e4f17a2e1ae7ecc05f3753be4e18bbdf63ccd8e62d4060c0c6693981c8bab7115b2ff7 diff --git a/dev-ruby/rinku/metadata.xml b/dev-ruby/rinku/metadata.xml new file mode 100644 index 000000000000..f0b60e66cbc5 --- /dev/null +++ b/dev-ruby/rinku/metadata.xml @@ -0,0 +1,12 @@ +<?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">vmg/rinku</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rinku/rinku-2.0.6.ebuild b/dev-ruby/rinku/rinku-2.0.6.ebuild new file mode 100644 index 000000000000..311aafaed121 --- /dev/null +++ b/dev-ruby/rinku/rinku-2.0.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby library that does autolinking" +HOMEPAGE="https://github.com/vmg/rinku" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' test/autolink_test.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/${PN}$(get_modname) lib/ || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -Ilib test/autolink_test.rb || die +} diff --git a/dev-ruby/ritex/Manifest b/dev-ruby/ritex/Manifest new file mode 100644 index 000000000000..ce0540dcc2fc --- /dev/null +++ b/dev-ruby/ritex/Manifest @@ -0,0 +1 @@ +DIST ritex-1.0.1.gem 27136 BLAKE2B a336f795f449b9f16d2e10fe1d866d11aa7b96d1800e157e410bd5a94ae018a4706506e4b27ff642281049ec36c4fb70ac45d5a20f59f50fdefcdb3398e1336e SHA512 dd3d13f1fabd6b7c218642b703e2426385ae14a5a5dabfa1d78ff163df0bdfeb38e9a68dd7ba2b1bdb68b122f7b5631c399f23a13fde5aac56159349c2f1de4e diff --git a/dev-ruby/ritex/metadata.xml b/dev-ruby/ritex/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ritex/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ritex/ritex-1.0.1.ebuild b/dev-ruby/ritex/ritex-1.0.1.ebuild new file mode 100644 index 000000000000..8e9b5b28d765 --- /dev/null +++ b/dev-ruby/ritex/ritex-1.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README ReleaseNotes" + +inherit ruby-fakegem + +DESCRIPTION="Converts expressions from WebTeX into MathML" +HOMEPAGE="http://masanjin.net/ritex/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/racc" +DEPEND+=" test? ( app-text/itex2mml )" + +all_ruby_prepare() { + # Fix tests + sed -i -e "s#\./itex2MML#/usr/bin/itex2MML#;142d" test/mathml.rb || die + sed -i -e "12d" test/answer-key.yaml || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. test/all.rb || die +} diff --git a/dev-ruby/rjb/Manifest b/dev-ruby/rjb/Manifest new file mode 100644 index 000000000000..e589f78bd9b6 --- /dev/null +++ b/dev-ruby/rjb/Manifest @@ -0,0 +1,2 @@ +DIST rjb-1.5.7.gem 72704 BLAKE2B 9a4f2b304c05f65c0d78ca4909814da366de717f518017c73d23cfcf188d653141d6c4549200c4bd3e55421f59cf8442cf2d01c1c5c1be813964ee7fb4a7b501 SHA512 0ccdbb5bc6f9f5d914d5b117c96310d709965b81a4bd2d0d7c428aabf4e32672572d4187660bc1b509fa3c92ac4cbe97cbd98412253d4ec9a7e4981f3b7a3131 +DIST rjb-1.6.1.gem 74240 BLAKE2B 103e3885634be9c7dd842c2737c420511fea04e4e2d18f77dba7689c47da996fa37af5d08827de21ec38effd3fd99407e99491c8b99d134dded219ccf3880b79 SHA512 5b78fc4eabceddeb901145af39b1fc76e9a44801596ea4bacf9ce601cc109107cf042b1aa4c27049abd766ffca3206364079866ce7b88d25657fa75e7593adc3 diff --git a/dev-ruby/rjb/metadata.xml b/dev-ruby/rjb/metadata.xml new file mode 100644 index 000000000000..fafd8902fcd3 --- /dev/null +++ b/dev-ruby/rjb/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">arton/rjb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rjb/rjb-1.5.7.ebuild b/dev-ruby/rjb/rjb-1.5.7.ebuild new file mode 100644 index 000000000000..c2f79b950d94 --- /dev/null +++ b/dev-ruby/rjb/rjb-1.5.7.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit java-pkg-2 ruby-ng ruby-fakegem + +DESCRIPTION="Rjb is a Ruby-Java software bridge" +HOMEPAGE="https://github.com/arton/rjb" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples hardened" + +DEPEND=">=virtual/jdk-1.5 + hardened? ( sys-apps/paxctl )" +RDEPEND="virtual/jre" + +pkg_setup() { + ruby-ng_pkg_setup + java-pkg-2_pkg_setup +} + +all_ruby_prepare() { + # The console is not available for testing. + sed -i -e '/test_noarg_sinvoke/,/end/ s:^:#:' test/test.rb || die + + # Avoid encoding tests since not all locales may be available. + sed -i -e '/test_kjconv/,/^ end/ s:^:#:' test/test.rb || die +} + +each_ruby_prepare() { + #dev-lang/ruby might need the "hardened" flag to enforce the following: + if use hardened; then + paxctl -v /usr/bin/ruby 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! rjb will only work if ruby is MPROTECT disabled\n please disable it if required using paxctl -m /usr/bin/ruby' + fi + # force compilation of class file for our JVM + rm -rf data +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" +} + +each_ruby_install() { + each_fakegem_install + + # currently no elegant way to do this (bug #352765) + ruby_fakegem_newins ext/rjbcore.so lib/rjbcore.so + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r samples + fi +} + +each_ruby_test() { + if use hardened; then + paxctl -v ${RUBY} 2>/dev/null | grep MPROTECT | grep -q disabled + if [ $? = 0 ]; then + ${RUBY} -C test -I../lib:.:../ext test.rb || die + else + ewarn "${RUBY} has MPROTECT enabled, rjb will not work until it is disabled, skipping tests." + fi + else + ${RUBY} -C test -I../lib:.:../ext test.rb || die + fi +} diff --git a/dev-ruby/rjb/rjb-1.6.1.ebuild b/dev-ruby/rjb/rjb-1.6.1.ebuild new file mode 100644 index 000000000000..75650dc2ab9f --- /dev/null +++ b/dev-ruby/rjb/rjb-1.6.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit java-pkg-2 ruby-ng ruby-fakegem + +DESCRIPTION="Rjb is a Ruby-Java software bridge" +HOMEPAGE="https://github.com/arton/rjb" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples hardened" + +DEPEND=">=virtual/jdk-1.5 + hardened? ( sys-apps/paxctl )" +RDEPEND="virtual/jre" + +pkg_setup() { + ruby-ng_pkg_setup + java-pkg-2_pkg_setup +} + +all_ruby_prepare() { + # The console is not available for testing. + sed -i -e '/test_noarg_sinvoke/,/end/ s:^:#:' test/test.rb || die + + # Avoid encoding tests since not all locales may be available. + sed -i -e '/test_kjconv/,/^ end/ s:^:#:' test/test.rb || die + + # Fix build on openjdk-11 + sed -i -e 's#javah -classpath ../data/rjb jp.co.infoseek.hp.arton.rjb.RBridge#javac -h . -classpath ../data/rjb RBridge.java#g' ext/extconf.rb || die +} + +each_ruby_prepare() { + #dev-lang/ruby might need the "hardened" flag to enforce the following: + if use hardened; then + paxctl -v /usr/bin/ruby 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! rjb will only work if ruby is MPROTECT disabled\n please disable it if required using paxctl -m /usr/bin/ruby' + fi + # force compilation of class file for our JVM + rm -rf data +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" +} + +each_ruby_install() { + each_fakegem_install + + # currently no elegant way to do this (bug #352765) + ruby_fakegem_newins ext/rjbcore.so lib/rjbcore.so + + if use examples; then + dodoc -r samples + fi +} + +each_ruby_test() { + if use hardened; then + paxctl -v ${RUBY} 2>/dev/null | grep MPROTECT | grep -q disabled + if [ $? = 0 ]; then + ${RUBY} -C test -I../lib:.:../ext test.rb || die + else + ewarn "${RUBY} has MPROTECT enabled, rjb will not work until it is disabled, skipping tests." + fi + else + ${RUBY} -C test -I../lib:.:../ext test.rb || die + fi +} diff --git a/dev-ruby/rkelly-remix/Manifest b/dev-ruby/rkelly-remix/Manifest new file mode 100644 index 000000000000..70e677c3dcb0 --- /dev/null +++ b/dev-ruby/rkelly-remix/Manifest @@ -0,0 +1 @@ +DIST rkelly-remix-0.0.7.gem 69632 BLAKE2B 5da7c29c13e34d319a0ef69251d1a80ea78a20ed3142e6add368c90ac05760b31257bcba8728cd8d115cffbb9d0622292191efc0b5a4eb1b56b5781fb80a9fc1 SHA512 5450b4b52b912b6626fcac3e3428dd2b4520dcb62b402e36579c9b34e8a027853e53a0860f33b4efc995517d70a3fab4f75f28ce7ab0b2b0c9e09e72ddd7cd54 diff --git a/dev-ruby/rkelly-remix/metadata.xml b/dev-ruby/rkelly-remix/metadata.xml new file mode 100644 index 000000000000..ffb9b26fd1c6 --- /dev/null +++ b/dev-ruby/rkelly-remix/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">nene/rkelly-remix</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rkelly-remix/rkelly-remix-0.0.7.ebuild b/dev-ruby/rkelly-remix/rkelly-remix-0.0.7.ebuild new file mode 100644 index 000000000000..d2cc03ac3aea --- /dev/null +++ b/dev-ruby/rkelly-remix/rkelly-remix-0.0.7.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="RKelly Remix is a fork of the RKelly JavaScript parser" +HOMEPAGE="https://github.com/nene/rkelly-remix" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~x86" +SLOT="0" +IUSE="doc" + +each_ruby_test() { + ${RUBY} -S testrb-2 -Ilib:. test/test_*.rb test/*/test_*.rb || die +} diff --git a/dev-ruby/rmagick/Manifest b/dev-ruby/rmagick/Manifest new file mode 100644 index 000000000000..2c755fe70e2a --- /dev/null +++ b/dev-ruby/rmagick/Manifest @@ -0,0 +1,3 @@ +DIST rmagick-3.2.0.gem 1950208 BLAKE2B 5d4255fec8fcfb8ec2f6f361fd54a3371935dbae323918b2fe1aea47645f160024a8dd16582acf5c930639a50f702b2062e475d231c3bb0acc0bd83ac9ea00ed SHA512 f6f15b013699da5c61e83ecf4ca16d64e7e2f447dc721c7db55cad6b880f9805eb8bdcbf70aef3e30a82f38bbab8ca093d8c6d2ce761cde4f47209e3f99a9f16 +DIST rmagick-4.1.1.tar.gz 1978761 BLAKE2B 489d355237379b7efb5e1d82b71cb2e6f8607cd644933c4d1d1116f464604262388aaf8534ed322c6b44291aadc3abb75e1bca94110c01fcde228b6fd9bb9ab4 SHA512 08d5a730281e7aa44fa955c8af06649efc77702dbc979f5de34f2f3b39798d494a0df8860a25746d89256c7ecaeaa140e4e5d5cd60017ed4412075a790976a5e +DIST rmagick-4.1.2.tar.gz 1978867 BLAKE2B f89aadb3d0dc5274376c2fef335cbcef3bdfec3fa9aa2f9e0d1982c9d2b5568689a427c3b2f7536c0585316c0f53ca7111c3da30f8136df4c878782668830847 SHA512 671ce8ef0d2387d6f0091a7a7a79a5ee9a5c5cd9340f5d29b4a35227c2293eae5e0e5c9ef16a83dc24ed0cb59cc7258427f8880484f7bb49dfaccb00d280e2b4 diff --git a/dev-ruby/rmagick/metadata.xml b/dev-ruby/rmagick/metadata.xml new file mode 100644 index 000000000000..0d10806fcc6f --- /dev/null +++ b/dev-ruby/rmagick/metadata.xml @@ -0,0 +1,12 @@ +<?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">gemhome/rmagick</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rmagick/rmagick-3.2.0.ebuild b/dev-ruby/rmagick/rmagick-3.2.0.ebuild new file mode 100644 index 000000000000..0fc91a2a4dad --- /dev/null +++ b/dev-ruby/rmagick/rmagick-3.2.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.textile" + +inherit multilib ruby-fakegem + +DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" +HOMEPAGE="https://github.com/gemhome/rmagick" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~x86-macos" +IUSE="doc" + +RDEPEND+=" >=media-gfx/imagemagick-6.9.0:= =media-gfx/imagemagick-6*" +DEPEND+=" test? ( >=media-gfx/imagemagick-6.9.0:=[jpeg,webp] =media-gfx/imagemagick-6* )" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +all_ruby_prepare() { + # Avoid unused dependency on rake-compiler. This also avoids an + # extra compile during tests. + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/end/ s:^:#:' \ + -e '/compile/ s:^:#:' Rakefile || die + + # Avoid simplecov dependency + sed -i -e '/simplecov/ s:^:#:' Rakefile test/test_all_basic.rb || die + + # Squelch harmless warning about imagemagick installation. + sed -i -e '/prefix/ s:ImageMagick:ImageMagick-6:' ext/RMagick/extconf.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/RMagick extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/RMagick V=1 + cp ext/RMagick/RMagick2$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -S rake test || die + RSPEC_VERSION=3 ruby-ng_rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* + + if use doc ; then + docinto . + dodoc -r doc + fi +} diff --git a/dev-ruby/rmagick/rmagick-4.1.1.ebuild b/dev-ruby/rmagick/rmagick-4.1.1.ebuild new file mode 100644 index 000000000000..60b8e1d95093 --- /dev/null +++ b/dev-ruby/rmagick/rmagick-4.1.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rmagick.gemspec" + +MY_PV=RMagick_${PV//\./-} + +inherit multilib ruby-fakegem + +DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" +HOMEPAGE="https://github.com/rmagick/rmagick" +SRC_URI="https://github.com/rmagick/rmagick/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="rmagick-${MY_PV}" + +LICENSE="Artistic" +SLOT="4" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-macos" +IUSE="doc" + +RDEPEND+=" >=media-gfx/imagemagick-6.9.0:=" +DEPEND+=" >=media-gfx/imagemagick-6.9.0:=[jpeg]" + +all_ruby_prepare() { + # Avoid unused dependency on rake-compiler. This also avoids an + # extra compile during tests. + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/end/ s:^:#:' \ + -e '/compile/ s:^:#:' Rakefile || die + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Squelch harmless warning about imagemagick installation. + sed -i -e '/prefix/ s:ImageMagick:ImageMagick-6:' ext/RMagick/extconf.rb || die + + # Reading PDFs is not allowed by the default Gentoo security policy for imagemagick + sed -i -e '/can read PDF file/askip "Not allowed by Gentoo security policy"' spec/rmagick/image/read_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/RMagick extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/RMagick V=1 + cp ext/RMagick/RMagick2$(get_modname) lib/ || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* + + if use doc ; then + docinto . + dodoc -r doc + fi +} diff --git a/dev-ruby/rmagick/rmagick-4.1.2.ebuild b/dev-ruby/rmagick/rmagick-4.1.2.ebuild new file mode 100644 index 000000000000..476f721de9cd --- /dev/null +++ b/dev-ruby/rmagick/rmagick-4.1.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rmagick.gemspec" + +MY_PV=RMagick_${PV//\./-} + +inherit multilib ruby-fakegem + +DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" +HOMEPAGE="https://github.com/rmagick/rmagick" +SRC_URI="https://github.com/rmagick/rmagick/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="rmagick-${MY_PV}" + +LICENSE="Artistic" +SLOT="4" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-macos" +IUSE="doc" + +RDEPEND+=" >=media-gfx/imagemagick-6.9.0:=" +DEPEND+=" test? ( >=media-gfx/imagemagick-6.9.0:=[jpeg,webp] )" + +all_ruby_prepare() { + # Avoid unused dependency on rake-compiler. This also avoids an + # extra compile during tests. + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/end/ s:^:#:' \ + -e '/compile/ s:^:#:' Rakefile || die + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Squelch harmless warning about imagemagick installation. + sed -i -e '/prefix/ s:ImageMagick:ImageMagick-6:' ext/RMagick/extconf.rb || die + + # Reading PDFs is not allowed by the default Gentoo security policy for imagemagick + sed -i -e '/can read PDF file/askip "Not allowed by Gentoo security policy"' spec/rmagick/image/read_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/RMagick extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/RMagick V=1 + cp ext/RMagick/RMagick2$(get_modname) lib/ || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* + + if use doc ; then + docinto . + dodoc -r doc + fi +} diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest new file mode 100644 index 000000000000..cab706bafd05 --- /dev/null +++ b/dev-ruby/roadie-rails/Manifest @@ -0,0 +1,2 @@ +DIST roadie-rails-1.3.0.tar.gz 56899 BLAKE2B d4d4f1d56c581b0af894959ee985f522b6470ff27bf22c4589032b0cf049337556377bf5decbd3ca1882762d80371df372bd7c7ad811fb087bd720f26eeeb6c7 SHA512 af08f0a877993d5b3f6d13e80a4aacd4d2d13f8940a554f2f91289e119d754015773a67ef14052717244374e3636069fa8b39078cac2145c86cb35ec54ad53fd +DIST roadie-rails-2.1.1.tar.gz 56419 BLAKE2B 6a54797c77267a61ab63d72743fbd3f98d4137d917ddebf0335c30d03e5efb9e2907679237eea168384b54ea93bbe9be3aad4dcbf6364d411ebaa6e2ba7638fb SHA512 ceffe9746cded4f5dca83c614dc6ffb65203455775df9f56a402837018c0a322c7edad37ca05c72bc70fa8d19cfb4f9eba5b2fde1cbff7f8b28312e95140f353 diff --git a/dev-ruby/roadie-rails/metadata.xml b/dev-ruby/roadie-rails/metadata.xml new file mode 100644 index 000000000000..23a8e59b3332 --- /dev/null +++ b/dev-ruby/roadie-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">Mange/roadie-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/roadie-rails/roadie-rails-1.3.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-1.3.0.ebuild new file mode 100644 index 000000000000..90657c5ec6ac --- /dev/null +++ b/dev-ruby/roadie-rails/roadie-rails-1.3.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hooks Roadie into your Rails application to help with email generation" +HOMEPAGE="https://github.com/Mange/roadie-rails" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +#RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/roadie-3.1 + >=dev-ruby/railties-3.0:* <dev-ruby/railties-5.3:*" +ruby_add_bdepend " + test? ( + dev-ruby/bundler + dev-ruby/rspec-rails + dev-ruby/rspec-collection_matchers )" + +all_ruby_prepare() { + sed -i -e '/development/,$ d' Gemfile || die + sed -i -e 's/git ls-files/find . -print/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid already removed rails version + sed -i -e '/rails_50/ s:^:#:' spec/integration_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} diff --git a/dev-ruby/roadie-rails/roadie-rails-2.1.1.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.1.1.ebuild new file mode 100644 index 000000000000..8c1ce8a56fcc --- /dev/null +++ b/dev-ruby/roadie-rails/roadie-rails-2.1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hooks Roadie into your Rails application to help with email generation" +HOMEPAGE="https://github.com/Mange/roadie-rails" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +#RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/roadie-3.1 + || ( dev-ruby/railties:6.0 dev-ruby/railties:5.2 )" +ruby_add_bdepend " + test? ( + dev-ruby/bundler + || ( dev-ruby/rails:6.0 dev-ruby/rails:5.2 ) + dev-ruby/rspec-rails + dev-ruby/rspec-collection_matchers )" + +all_ruby_prepare() { + sed -i -e '/codecov/ s:^:#:' Gemfile || die + sed -i -e 's/git ls-files/find . -print/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid already removed rails version + sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest new file mode 100644 index 000000000000..381eaab920a2 --- /dev/null +++ b/dev-ruby/roadie/Manifest @@ -0,0 +1,3 @@ +DIST roadie-3.5.0.tar.gz 50687 BLAKE2B 4d48c7989798977e74ebfb3959c5d1b52ff5aa91c1e81075b7b631a70893f344965ffc838f1debe0dbcc807c588e7e4da93937beb4fcef8f4bd9f3eaf7b81407 SHA512 d0602ccee1b642dcda0644afb762a56c97715472e7dfdd63115fc595e1ccbbf3192114e32e25b3c0e6c8c9db37bfc57b75f66bf9ac1e4656b27972f0d4fcd98b +DIST roadie-3.5.1.tar.gz 50873 BLAKE2B 478dc7bba6424b953d4c32aeb793f0212fe0ecef5526ec4a28e3b05ff5f29fbbeaaf2022b7277cb20993b99fa7bfc5d03db57c12b589c727239e944e78da2d9f SHA512 b61cc8c1ddcc4819d496489578eb7157cdd7716e99ff675af37b9b650504315120238889d72dd617f37588e005cbba62e1912f4c02ba0e4ba0d111784219ed5c +DIST roadie-4.0.0.tar.gz 50727 BLAKE2B 671c5260f4a181e4a50d136e4c6e96e96a3bb51adc7cd88d070b558af0d1d858e712a8f6d586aaea5c72b735db41a54ecb1833b74b3e76f7838a3323a69fb5f3 SHA512 ad42ff83c7983e8cce1506f6b72d66e47a860251749eebd3cd65c2114859d3d8a8103d309964aa53875cb07a83393b086fb6c58db88d95a84059abb514d12665 diff --git a/dev-ruby/roadie/metadata.xml b/dev-ruby/roadie/metadata.xml new file mode 100644 index 000000000000..f03a3e3f63c5 --- /dev/null +++ b/dev-ruby/roadie/metadata.xml @@ -0,0 +1,12 @@ +<?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">Mange/roadie</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/roadie/roadie-3.5.0.ebuild b/dev-ruby/roadie/roadie-3.5.0.ebuild new file mode 100644 index 000000000000..2b52aaddc5ca --- /dev/null +++ b/dev-ruby/roadie/roadie-3.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Making HTML emails comfortable for the Rails rockstars" +HOMEPAGE="https://github.com/Mange/roadie" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/css_parser-1.4.5 =dev-ruby/css_parser-1*" +ruby_add_bdepend "test? ( dev-ruby/rspec-collection_matchers dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e 's/git ls-files/find . -type f -print/' \ + -e '/test_files/d' \ + -e '/css_parser/ s/~>/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/roadie/roadie-3.5.1.ebuild b/dev-ruby/roadie/roadie-3.5.1.ebuild new file mode 100644 index 000000000000..ba22b54e3f7f --- /dev/null +++ b/dev-ruby/roadie/roadie-3.5.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Making HTML emails comfortable for the Rails rockstars" +HOMEPAGE="https://github.com/Mange/roadie" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/css_parser-1.4.5 =dev-ruby/css_parser-1*" +ruby_add_bdepend "test? ( dev-ruby/rspec-collection_matchers dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e 's/git ls-files/find . -type f -print/' \ + -e '/test_files/d' \ + -e '/css_parser/ s/~>/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/roadie/roadie-4.0.0.ebuild b/dev-ruby/roadie/roadie-4.0.0.ebuild new file mode 100644 index 000000000000..cd17893e2508 --- /dev/null +++ b/dev-ruby/roadie/roadie-4.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Making HTML emails comfortable for the Rails rockstars" +HOMEPAGE="https://github.com/Mange/roadie" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/css_parser-1.4.5 =dev-ruby/css_parser-1*" +ruby_add_bdepend "test? ( dev-ruby/rspec-collection_matchers dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e 's/git ls-files/find . -type f -print/' \ + -e '/test_files/d' \ + -e '/css_parser/ s/~>/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/robots/Manifest b/dev-ruby/robots/Manifest new file mode 100644 index 000000000000..5ea1f39f2e22 --- /dev/null +++ b/dev-ruby/robots/Manifest @@ -0,0 +1 @@ +DIST robots-0.10.1.gem 10752 BLAKE2B 02c2ab5d6dcf5f861a4f290a0eac59f69083928183f79692de19e4909bb0bbfbedf718a083732b7ad5882192dca6be26c0272cac87117c61a74c53ea2b25c851 SHA512 57d5619e172961128c7e2f4175f299ecde28615680dc9fa2721ab86053515da46cae03b03dbdbf9a03a96387a361eefb013a7b3c3b3e61a26592ec4998d10bc5 diff --git a/dev-ruby/robots/metadata.xml b/dev-ruby/robots/metadata.xml new file mode 100644 index 000000000000..5070b38b1989 --- /dev/null +++ b/dev-ruby/robots/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">robots</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/robots/robots-0.10.1-r2.ebuild b/dev-ruby/robots/robots-0.10.1-r2.ebuild new file mode 100644 index 000000000000..f49f4db9f13d --- /dev/null +++ b/dev-ruby/robots/robots-0.10.1-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" + +inherit ruby-fakegem + +DESCRIPTION="A simple Ruby library to parse robots.txt" +HOMEPAGE="https://rubygems.org/gems/robots" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's:rake/rdoctask:rdoc/task:' Rakefile || die +} diff --git a/dev-ruby/rouge/Manifest b/dev-ruby/rouge/Manifest new file mode 100644 index 000000000000..106e1927b048 --- /dev/null +++ b/dev-ruby/rouge/Manifest @@ -0,0 +1,3 @@ +DIST rouge-3.18.0.tar.gz 882486 BLAKE2B aca9f22b84a168423cf66189a29ba51611854e03706619437b654a7e2c1fe99fd18b3f3e02f3a82ad7a9a771d6382204fc4758b8a33818ee485bed8bd60066f4 SHA512 ee37fe498fe5fd23e31fd0a0b2ed25d0742e9b2de36b3a923a39737825346c85f45043d85fe56f12f28db989c67ce9d96a8ac2a273150edb87773b870a80bfc8 +DIST rouge-3.19.0.tar.gz 919603 BLAKE2B 53cffee53d8c6bd8e27dc0278f9ef8e9bff2a01d568d2342847ce0afe71ec72a8394f6e9184f575e38abad7893c61a4553ca73c8072bdcdb91f347ffe63a65e5 SHA512 4a59e5bebfb0c58be82bcc23e7a9906d9ff5cba8a636b47b94be00194ab0ab6cfae4d584586ee037e160245630abada889aa85332398289a214b7a493a8e825d +DIST rouge-3.20.0.tar.gz 938340 BLAKE2B dcb61527f023e34be5c2fdc362f74b64be24cc26e32f88ce7122ab7fbbee5c44f5a29c5c1d8fb5e721ede2df0119cbb2c00b5e178d1462967c54a6d062ae2e53 SHA512 3eaee2d98c5cb252d783c5bae365de4c400d980917a59b943d6fe93490c48e9d36e51b7d92acf468c10e702c942074f1525fa7e1c81c7c37d9b0927e9d4f332b diff --git a/dev-ruby/rouge/metadata.xml b/dev-ruby/rouge/metadata.xml new file mode 100644 index 000000000000..9b1d2534c919 --- /dev/null +++ b/dev-ruby/rouge/metadata.xml @@ -0,0 +1,12 @@ +<?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">jneen/rouge</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rouge/rouge-3.18.0.ebuild b/dev-ruby/rouge/rouge-3.18.0.ebuild new file mode 100644 index 000000000000..1ce32a97ce3b --- /dev/null +++ b/dev-ruby/rouge/rouge-3.18.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="spec" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="rouge.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser using a strict syntax definition in pure Ruby" +HOMEPAGE="https://github.com/jneen/rouge" +SRC_URI="https://github.com/jneen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) + test? ( dev-ruby/minitest-power_assert ) + dev-ruby/yard +" + +ruby_add_rdepend "dev-ruby/redcarpet" + +all_ruby_prepare() { + rm -f tasks/{check/style,update/changelog}.rake || die + + sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die + sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die +} diff --git a/dev-ruby/rouge/rouge-3.19.0.ebuild b/dev-ruby/rouge/rouge-3.19.0.ebuild new file mode 100644 index 000000000000..1ce32a97ce3b --- /dev/null +++ b/dev-ruby/rouge/rouge-3.19.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="spec" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="rouge.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser using a strict syntax definition in pure Ruby" +HOMEPAGE="https://github.com/jneen/rouge" +SRC_URI="https://github.com/jneen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) + test? ( dev-ruby/minitest-power_assert ) + dev-ruby/yard +" + +ruby_add_rdepend "dev-ruby/redcarpet" + +all_ruby_prepare() { + rm -f tasks/{check/style,update/changelog}.rake || die + + sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die + sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die +} diff --git a/dev-ruby/rouge/rouge-3.20.0.ebuild b/dev-ruby/rouge/rouge-3.20.0.ebuild new file mode 100644 index 000000000000..1ce32a97ce3b --- /dev/null +++ b/dev-ruby/rouge/rouge-3.20.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="spec" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="rouge.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser using a strict syntax definition in pure Ruby" +HOMEPAGE="https://github.com/jneen/rouge" +SRC_URI="https://github.com/jneen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) + test? ( dev-ruby/minitest-power_assert ) + dev-ruby/yard +" + +ruby_add_rdepend "dev-ruby/redcarpet" + +all_ruby_prepare() { + rm -f tasks/{check/style,update/changelog}.rake || die + + sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die + sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die +} diff --git a/dev-ruby/rqrcode/Manifest b/dev-ruby/rqrcode/Manifest new file mode 100644 index 000000000000..1b9c8f91f83d --- /dev/null +++ b/dev-ruby/rqrcode/Manifest @@ -0,0 +1,2 @@ +DIST rqrcode-0.10.1.gem 27136 BLAKE2B 7fea719d6e76d340dd6db386994bffc5e7002afbc61e0b476dc639003757f5932598b81274a5ab74bc6dd25d10c61bc023668c8271e9387f7bcc02c6f4dc879b SHA512 5b2d6e63bc069a1cf436d2df159bef673ef621a73d72c52bbdec1c2d820f4553172d5c3499b9347e0939d422bffa8f39ecaae123ce0be360d25ab6c08a6eb583 +DIST rqrcode-1.1.1.tar.gz 101325 BLAKE2B 0ba4a7cf50a45387ebf96e29e1bcc9042ac091582fa0859b95d85a5f112213cdde1f6df8f954219e22501a01729916cc8d4ab7a7ae6562cc770e63515a9a0d75 SHA512 b7d746780bc20c8b3fc59a74f00aab17b5d4a5db458c8f79a8e85146ec2d1b4bd16873792bf7970dede083afd0bc0c54ef4f5d58736b4c9847b644cbe470d0f2 diff --git a/dev-ruby/rqrcode/metadata.xml b/dev-ruby/rqrcode/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/rqrcode/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rqrcode/rqrcode-0.10.1.ebuild b/dev-ruby/rqrcode/rqrcode-0.10.1.ebuild new file mode 100644 index 000000000000..88198e0dcffd --- /dev/null +++ b/dev-ruby/rqrcode/rqrcode-0.10.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +inherit ruby-fakegem + +DESCRIPTION="Library for encoding QR Codes" +HOMEPAGE="https://whomwah.github.com/rqrcode/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/chunky_png:0" + +all_ruby_prepare() { + sed -i -e '1igem "minitest"' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['test/test_r*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/rqrcode/rqrcode-1.1.1.ebuild b/dev-ruby/rqrcode/rqrcode-1.1.1.ebuild new file mode 100644 index 000000000000..68073826baec --- /dev/null +++ b/dev-ruby/rqrcode/rqrcode-1.1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="rqrcode.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for encoding QR Codes" +HOMEPAGE="https://whomwah.github.com/rqrcode/" +SRC_URI="https://github.com/whomwah/rqrcode/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/chunky_png:0 + >=dev-ruby/rqrcode_core-0.1:0 +" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rqrcode_core/Manifest b/dev-ruby/rqrcode_core/Manifest new file mode 100644 index 000000000000..2daf0bc1d185 --- /dev/null +++ b/dev-ruby/rqrcode_core/Manifest @@ -0,0 +1,2 @@ +DIST rqrcode_core-0.1.0.tar.gz 20241 BLAKE2B 1d6f97cd8e1188c0a3ba0246d2102a901ac64fb0bb08317479f9061d3273ea49388e4a6ea02c8de6b54f8e928aefab62fe8b0dca8ba9f7ed31625cf84965df4b SHA512 30ba73f45d69360b0efbf543a774c709a4397bd8f726f4edeaa830397187cd5c7535ac5816d65cea00f356f7111f69629f03fa508b7a7fc91d5618c4cebd8167 +DIST rqrcode_core-0.1.2.tar.gz 20165 BLAKE2B 7d8cabcb2258a667c3b27fcbd11988bbe5cba849b191c45f3288b4d096a6d13df614e64977ce633ec829f0350bbd7ee153342070845f5ed0d6121e6e2aab321a SHA512 9e4362b3b72193a20e44b636b3dfdbb7e496667b147e391660464ea6fd279720cbf4419e3d94561b61bee291c56fee8a3171f2287e2660f071dbda8d7153285b diff --git a/dev-ruby/rqrcode_core/metadata.xml b/dev-ruby/rqrcode_core/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/rqrcode_core/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rqrcode_core/rqrcode_core-0.1.0.ebuild b/dev-ruby/rqrcode_core/rqrcode_core-0.1.0.ebuild new file mode 100644 index 000000000000..76d6b6aeafc2 --- /dev/null +++ b/dev-ruby/rqrcode_core/rqrcode_core-0.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="rqrcode_core.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for encoding QR Codes" +HOMEPAGE="https://github.com/whomwah/rqrcode_core/" +SRC_URI="https://github.com/whomwah/rqrcode_core/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rqrcode_core/rqrcode_core-0.1.2.ebuild b/dev-ruby/rqrcode_core/rqrcode_core-0.1.2.ebuild new file mode 100644 index 000000000000..76d6b6aeafc2 --- /dev/null +++ b/dev-ruby/rqrcode_core/rqrcode_core-0.1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="rqrcode_core.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for encoding QR Codes" +HOMEPAGE="https://github.com/whomwah/rqrcode_core/" +SRC_URI="https://github.com/whomwah/rqrcode_core/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rr/Manifest b/dev-ruby/rr/Manifest new file mode 100644 index 000000000000..22faf1eec3b2 --- /dev/null +++ b/dev-ruby/rr/Manifest @@ -0,0 +1 @@ +DIST rr-1.2.1.tar.gz 137497 BLAKE2B 3db6751d15e54da6ee6777fb7d383c1bfea2e68482dda03ceda9a70f66382cf9aa7c39f27fca9f0ce92b19858b5324bdbb5811809b3ae146e213bb03ddca0772 SHA512 df2d05ff732908da55878cb89cb7d1c4442a18c19f71940244f5bd7dc55632467a1824f55d7fade4b5122486a61277090d7ad05df9f99098030c21aa45b36dd2 diff --git a/dev-ruby/rr/metadata.xml b/dev-ruby/rr/metadata.xml new file mode 100644 index 000000000000..cc97e286aa1b --- /dev/null +++ b/dev-ruby/rr/metadata.xml @@ -0,0 +1,12 @@ +<?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">rr/rr</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rr/rr-1.2.1.ebuild b/dev-ruby/rr/rr-1.2.1.ebuild new file mode 100644 index 000000000000..a7a34657c5cd --- /dev/null +++ b/dev-ruby/rr/rr-1.2.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A double framework featuring a selection of double techniques and a terse syntax" +HOMEPAGE="https://rr.github.io/rr" +SRC_URI="https://github.com/rr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:2 + dev-ruby/minitest + dev-ruby/diff-lcs )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '1,2 s:^:#:' spec/suites/rspec_2/spec_helper.rb || die +} + +each_ruby_test() { + # Only run the rspec 2 case since we don't have appraisals. Setting + # up everything correctly without it seems very complicated. + ruby-ng_rspec --format progress spec/suites/rspec_2/unit || die +} diff --git a/dev-ruby/rrdtool-bindings/Manifest b/dev-ruby/rrdtool-bindings/Manifest new file mode 100644 index 000000000000..2dca88add42c --- /dev/null +++ b/dev-ruby/rrdtool-bindings/Manifest @@ -0,0 +1,3 @@ +DIST rrdtool-1.6.0.tar.gz 2186538 BLAKE2B b56ef79b9d45a65cacd7c1d8da2158dcaaff3ebc2ffc0640081cdc2fa3ac643be1ce48a2cac60427a836dc3e457ddb042c95533d0ffbcdefa2978f5659150391 SHA512 45a8f16a2bda9d497c5f39de80236adb7a5bd054a14755c4d130f21cd6430bd0a76caef9632994be56fd1ea2364eb218687ea8ebf945a71ca411221c248f3ebd +DIST rrdtool-1.7.1.tar.gz 2881346 BLAKE2B e538c6ba3fb6726f0515ed655aa8d5e184f6d3066bb32e981b3254e41c53e29529698da5ef73f8365391180c76d15808d1d727a0834b8025893b01c3b9af8f46 SHA512 ee5c9ff234493442ccd9bfc7031700483011de3e05c01e026509b699cb0d7d3e286e2046357c5fff5807f3e709043c8f218b48b43f8b126a23e228a3927d7b14 +DIST rrdtool-1.7.2.tar.gz 2883737 BLAKE2B f3ff6cc4e325cdec42a6f9e67a1644f501c11edc47bc281df58c2e1d7be4c01767c35166f4301f68cf9c22dcd5c159bb51ee704a5e36776acdf166100122cebb SHA512 453230efc68aeb4a12842d20a9d246ba478a79c2f6bfd9693a91837c1c1136abe8af177be64fe29aa40bf84ccfce7f2f15296aefe095e89b8b62aef5a7623e29 diff --git a/dev-ruby/rrdtool-bindings/files/rrdtool-bindings-1.4.8-graph-ruby.patch b/dev-ruby/rrdtool-bindings/files/rrdtool-bindings-1.4.8-graph-ruby.patch new file mode 100644 index 000000000000..8c26ce48cfb3 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/files/rrdtool-bindings-1.4.8-graph-ruby.patch @@ -0,0 +1,70 @@ +--- a/bindings/ruby/main.c ++++ b/bindings/ruby/main.c +@@ -216,13 +216,14 @@ + return rb_rrd_infocall(rrd_update_v, args); + } + ++#ifdef HAVE_RRD_GRAPH + VALUE rb_rrd_graphv( + VALUE self, + VALUE args) + { + return rb_rrd_infocall(rrd_graph_v, args); + } +- ++#endif /* HAVE_RRD_GRAPH */ + + /* Other Calls */ + +@@ -273,6 +274,7 @@ + return result; + } + ++#ifdef HAVE_RRD_GRAPH + VALUE rb_rrd_graph( + VALUE self, + VALUE args) +@@ -302,7 +304,7 @@ + rb_ary_store(result, 2, INT2FIX(ysize)); + return result; + } +- ++#endif /* HAVE_RRD_GRAPH */ + + VALUE rb_rrd_last( + VALUE self, +@@ -320,6 +322,7 @@ + return rb_funcall(rb_cTime, rb_intern("at"), 1, UINT2NUM(last)); + } + ++#ifdef HAVE_RRD_GRAPH + VALUE rb_rrd_xport( + VALUE self, + VALUE args) +@@ -367,6 +370,7 @@ + rb_ary_store(result, 5, rdata); + return result; + } ++#endif /* HAVE_RRD_GRAPH */ + + void Init_RRD( + ) +@@ -377,7 +381,9 @@ + rb_define_module_function(mRRD, "create", rb_rrd_create, -2); + rb_define_module_function(mRRD, "dump", rb_rrd_dump, -2); + rb_define_module_function(mRRD, "fetch", rb_rrd_fetch, -2); ++#ifdef HAVE_RRD_GRAPH + rb_define_module_function(mRRD, "graph", rb_rrd_graph, -2); ++#endif /* HAVE_RRD_GRAPH */ + rb_define_module_function(mRRD, "last", rb_rrd_last, -2); + rb_define_module_function(mRRD, "resize", rb_rrd_resize, -2); + rb_define_module_function(mRRD, "restore", rb_rrd_restore, -2); +@@ -386,6 +392,8 @@ + rb_define_module_function(mRRD, "flushcached", rb_rrd_flushcached, -2); + rb_define_module_function(mRRD, "info", rb_rrd_info, -2); + rb_define_module_function(mRRD, "updatev", rb_rrd_updatev, -2); ++#ifdef HAVE_RRD_GRAPH + rb_define_module_function(mRRD, "graphv", rb_rrd_graphv, -2); + rb_define_module_function(mRRD, "xport", rb_rrd_xport, -2); ++#endif /* HAVE_RRD_GRAPH */ + } diff --git a/dev-ruby/rrdtool-bindings/metadata.xml b/dev-ruby/rrdtool-bindings/metadata.xml new file mode 100644 index 000000000000..fc1f204e4831 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/metadata.xml @@ -0,0 +1,16 @@ +<?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> +<maintainer type="project"> +<email>netmon@gentoo.org</email> +<name>Gentoo network monitoring and analysis project</name> + </maintainer> +<use> +<flag name="graph">Enable support for graphing functions</flag> +</use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild new file mode 100644 index 000000000000..b0e52ca54cd0 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-ng + +MY_P=${P/-bindings} +MY_P=${MY_P/_/-} + +DESCRIPTION="Ruby bindings for rrdtool" +HOMEPAGE="https://oss.oetiker.ch/rrdtool/" +SRC_URI="https://oss.oetiker.ch/rrdtool/pub/${MY_P}.tar.gz" +RUBY_S="$MY_P"/bindings/ruby + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="graph test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( graph )" + +# Block on older versions of rrdtool that install the bindings themselves. +# requires rrd_xport which requires rrd_graph +RDEPEND=" + ~net-analyzer/rrdtool-${PV}[graph=] +" +DEPEND=" + ${RDEPEND} + test? ( ~net-analyzer/rrdtool-${PV}[graph] ) +" + +RUBY_PATCHES=( + "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch +) + +each_ruby_configure() { + rm ../../src/rrd_config.h || die + touch ../../src/rrd_config.h || die + + ${RUBY} extconf.rb \ + --with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die +} + +each_ruby_compile() { + emake V=1 ABS_TOP_SRCDIR="${PWD}/../.." +} + +each_ruby_test() { + if use graph; then + ${RUBY} -I. test.rb || die + fi +} + +all_ruby_install() { + dodoc CHANGES README +} + +each_ruby_install() { + DESTDIR=${D} emake install +} diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1-r1.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1-r1.ebuild new file mode 100644 index 000000000000..371902f19a89 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_TASK_DOC="" +inherit ruby-ng + +MY_P=${P/-bindings} +MY_P=${MY_P/_/-} + +DESCRIPTION="Ruby bindings for rrdtool" +HOMEPAGE="https://oss.oetiker.ch/rrdtool/" +SRC_URI="https://oss.oetiker.ch/rrdtool/pub/${MY_P}.tar.gz" +RUBY_S="$MY_P"/bindings/ruby + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="graph test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( graph )" + +# Block on older versions of rrdtool that install the bindings themselves. +# requires rrd_xport which requires rrd_graph +RDEPEND=" + ~net-analyzer/rrdtool-${PV}[graph=] +" +DEPEND=" + ${RDEPEND} + test? ( ~net-analyzer/rrdtool-${PV}[graph] ) +" + +all_ruby_prepare() { + epatch "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch +} + +each_ruby_configure() { + rm ../../src/rrd_config.h || die + touch ../../src/rrd_config.h || die + + ${RUBY} extconf.rb \ + --with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die +} + +each_ruby_compile() { + emake V=1 ABS_TOP_SRCDIR="${PWD}/../.." +} + +each_ruby_test() { + if use graph; then + ${RUBY} -I. test.rb || die + fi +} + +all_ruby_install() { + dodoc CHANGES README +} + +each_ruby_install() { + DESTDIR=${D} emake install +} diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild new file mode 100644 index 000000000000..b054ce03e312 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +RUBY_FAKEGEM_TASK_DOC="" +inherit ruby-ng + +MY_P=${P/-bindings} +MY_P=${MY_P/_/-} + +DESCRIPTION="Ruby bindings for rrdtool" +HOMEPAGE="https://oss.oetiker.ch/rrdtool/" +SRC_URI="https://oss.oetiker.ch/rrdtool/pub/${MY_P}.tar.gz" +RUBY_S="$MY_P"/bindings/ruby + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="graph test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( graph )" + +# Block on older versions of rrdtool that install the bindings themselves. +# requires rrd_xport which requires rrd_graph +RDEPEND=" + ~net-analyzer/rrdtool-${PV}[graph=] +" +DEPEND=" + ${RDEPEND} + test? ( ~net-analyzer/rrdtool-${PV}[graph] ) +" + +all_ruby_prepare() { + epatch "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch +} + +each_ruby_configure() { + rm ../../src/rrd_config.h || die + touch ../../src/rrd_config.h || die + + ${RUBY} extconf.rb \ + --with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die +} + +each_ruby_compile() { + emake V=1 ABS_TOP_SRCDIR="${PWD}/../.." +} + +each_ruby_test() { + if use graph; then + ${RUBY} -I. test.rb || die + fi +} + +all_ruby_install() { + dodoc CHANGES README +} + +each_ruby_install() { + DESTDIR=${D} emake install +} diff --git a/dev-ruby/rspec-collection_matchers/Manifest b/dev-ruby/rspec-collection_matchers/Manifest new file mode 100644 index 000000000000..5649a1ee0db4 --- /dev/null +++ b/dev-ruby/rspec-collection_matchers/Manifest @@ -0,0 +1 @@ +DIST rspec-collection_matchers-1.2.0.gem 17408 BLAKE2B 9ad83ec161d5cee74e6017a137c955a55262e05e4a82b14270887e0433b88ff3aec7245ea1a1707035dc6d2de19b2d6c27b952ad43882cc516a770bafd0b5a0d SHA512 0988cabcd8873cbb7161fda3500ae77ae299024a25a1f3faa71cad673777097518db5fddc9ff0ca8e25653c4e790b7ba76fe234596848816276defddef2e308c diff --git a/dev-ruby/rspec-collection_matchers/metadata.xml b/dev-ruby/rspec-collection_matchers/metadata.xml new file mode 100644 index 000000000000..8ff0d2df678d --- /dev/null +++ b/dev-ruby/rspec-collection_matchers/metadata.xml @@ -0,0 +1,12 @@ +<?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">rspec/rspec-collection_matchers</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-collection_matchers/rspec-collection_matchers-1.2.0.ebuild b/dev-ruby/rspec-collection_matchers/rspec-collection_matchers-1.2.0.ebuild new file mode 100644 index 000000000000..b4bec03062e3 --- /dev/null +++ b/dev-ruby/rspec-collection_matchers/rspec-collection_matchers-1.2.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-collection_matchers" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rspec-expectations-3.0.0" + +ruby_add_bdepend "test? ( >=dev-ruby/activemodel-3.0 )" diff --git a/dev-ruby/rspec-core/Manifest b/dev-ruby/rspec-core/Manifest new file mode 100644 index 000000000000..597182033760 --- /dev/null +++ b/dev-ruby/rspec-core/Manifest @@ -0,0 +1,3 @@ +DIST rspec-core-2.99.2-git.tgz 212935 BLAKE2B 37195012f79aca3a1959f9143e2f5cbab63230ab07ea97928d6f66face8d07ab54d87f19535f5f235c441b2da6dec17ef2a889e9ccd7e83d987086e24afd1b82 SHA512 e13bc3384fd85c367481a8651c14be4a412cba5f58e12a8f4ab14b5d2768a7b92191b81e000e7dbf6a28275b41044d8b3eb70a04e4b30b5bf88db98cbec4cc44 +DIST rspec-core-3.8.2-git.tgz 387788 BLAKE2B e6cf93f5cef70f53039b6c22fc875cff58eaff4c0c7d4e75d23dedfbe16081980c6fe575d3082dbe6ed9edc8e81f0cbb9e29618da78af40a94c517a859f9d793 SHA512 2fe88ee3d66ecf134562dfa7b1001f23a1a750640c4f65cdec64d85dd735e0fde9d91479286f8f9c38064746813f41632d12d21b3926724ccd7c9ded50d2a7c8 +DIST rspec-core-3.9.1-git.tgz 392102 BLAKE2B e41d4d930201e854015b486eb97e32f356027a837930f061f6282215a0d7e80db99c30c8b537d10f9359380512b46a03fe10ec382f5403704cdc7f0c1796aeed SHA512 2da714ebf35e78be789758857efbebc69548df7a11fff8bcd74a854b61485ef726cf0cec781e27a97d20f4eac0010aad50656b6074248c94b1833d4cb267189a diff --git a/dev-ruby/rspec-core/metadata.xml b/dev-ruby/rspec-core/metadata.xml new file mode 100644 index 000000000000..b39e65150214 --- /dev/null +++ b/dev-ruby/rspec-core/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <use> + <flag name="highlight"> + Enable source code highlighting via <pkg>dev-ruby/coderay</pkg> + </flag> + </use> + <upstream> + <remote-id type="github">rspec/rspec-core</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild b/dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild new file mode 100644 index 000000000000..4e6950f3187d --- /dev/null +++ b/dev-ruby/rspec-core/rspec-core-2.99.2-r2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +# Also install this custom path since internal paths depend on it. +RUBY_FAKEGEM_EXTRAINSTALL="exe" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-core" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( + >=dev-ruby/nokogiri-1.5.2 + dev-ruby/syntax + >=dev-ruby/rspec-expectations-2.14.0:2 + >=dev-ruby/rspec-mocks-2.99.0:2 + dev-ruby/rspec:2 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid dependency on cucumber since we can't run the features anyway. + sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die + + # Duplicate exe also in bin. We can't change it since internal stuff + # also depends on this and fixing that is going to be fragile. This + # way we can at least install proper bin scripts. + cp -R exe bin || die + + # Avoid unneeded dependency on git. + sed -i -e '/git ls-files/ s:^:#:' rspec-core.gemspec || die + + # Avoid aruba dependency so that we don't end up in dependency hell. + sed -i -e '/aruba/ s:^:#:' -e '/Aruba/,/}/ s:^:#:' spec/spec_helper.rb || die + rm spec/command_line/order_spec.rb || die + + # Avoid testing issues with rspec 3 installed + sed -i -e '2igem "rspec", "~> 2.0"' bin/rspec || die + + # Remove minor functionality to remain compatible with rake 12 + sed -i -e '/last_comment/ s:^:#:' lib/rspec/core/rake_task.rb || die + + # Avoid autotest specs since this is no longer part of zentest + sed -i -e '/autotest/ s:^:#:' spec/spec_helper.rb || die + rm -rf spec/autotest || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die + + case ${RUBY} in + *ruby24) + sed -i -e 's/SAFE = 3/SAFE = 1/' spec/support/helper_methods.rb || die + sed -i -e 's/Fixnum: 4/Integer: 4/' spec/rspec/core/memoized_helpers_spec.rb || die + sed -i -e '/warns when HOME env var is not set/,/^ end/ s:^:#:' spec/rspec/core/configuration_options_spec.rb || die + ;; + *ruby25) + sed -i -e 's/SAFE = 3/SAFE = 1/' spec/support/helper_methods.rb || die + sed -i -e 's/Fixnum: 4/Integer: 4/' spec/rspec/core/memoized_helpers_spec.rb || die + sed -i -e '/warns when HOME env var is not set/,/^ end/ s:^:#:' spec/rspec/core/configuration_options_spec.rb || die + sed -i -e '/with mathn loaded/,/^ end/ s:^:#:' spec/rspec/core/formatters/html_formatter_spec.rb || die + sed -i -e '/with mathn loaded/,/^ end/ s:^:#:' spec/rspec/core/formatters/helpers_spec.rb || die + sed -i -e '/is still a private method/,/end/ s:^:#:' spec/rspec/core/memoized_helpers_spec.rb || die + sed -i -e '/leaves a raised exception unmodified/,/^ end/ s:^:#:' spec/rspec/core/example_spec.rb || die + ;; + *ruby26) + sed -i -e 's/SAFE = 3/SAFE = 0/' spec/support/helper_methods.rb || die + sed -i -e 's/Fixnum: 4/Integer: 4/' spec/rspec/core/memoized_helpers_spec.rb || die + sed -i -e '/warns when HOME env var is not set/,/^ end/ s:^:#:' spec/rspec/core/configuration_options_spec.rb || die + sed -i -e '/with mathn loaded/,/^ end/ s:^:#:' spec/rspec/core/formatters/html_formatter_spec.rb || die + sed -i -e '/with mathn loaded/,/^ end/ s:^:#:' spec/rspec/core/formatters/helpers_spec.rb || die + sed -i -e '/is still a private method/,/end/ s:^:#:' spec/rspec/core/memoized_helpers_spec.rb || die + sed -i -e '/leaves a raised exception unmodified/,/^ end/ s:^:#:' spec/rspec/core/example_spec.rb || die + ;; + *ruby27) + sed -i -e 's/SAFE = 3/SAFE = 0/' spec/support/helper_methods.rb || die + sed -i -e 's/Fixnum: 4/Integer: 4/' spec/rspec/core/memoized_helpers_spec.rb || die + sed -i -e '/warns when HOME env var is not set/,/^ end/ s:^:#:' spec/rspec/core/configuration_options_spec.rb || die + sed -i -e '/with mathn loaded/,/^ end/ s:^:#:' spec/rspec/core/formatters/html_formatter_spec.rb || die + sed -i -e '/with mathn loaded/,/^ end/ s:^:#:' spec/rspec/core/formatters/helpers_spec.rb || die + sed -i -e '/is still a private method/,/end/ s:^:#:' spec/rspec/core/memoized_helpers_spec.rb || die + sed -i -e '/leaves a raised exception unmodified/,/^ end/ s:^:#:' spec/rspec/core/example_spec.rb || die + sed -i -e '/PROC_HEX_NUMBER =/ s/@//' lib/rspec/core/filter_manager.rb || die + ;; + esac +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed." +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rspec /usr/bin/rspec-2 'gem "rspec", "~>2.0"' +} diff --git a/dev-ruby/rspec-core/rspec-core-3.8.2.ebuild b/dev-ruby/rspec-core/rspec-core-3.8.2.ebuild new file mode 100644 index 000000000000..5fd4a0948a5e --- /dev/null +++ b/dev-ruby/rspec-core/rspec-core-3.8.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +# Also install this custom path since internal paths depend on it. +RUBY_FAKEGEM_EXTRAINSTALL="exe" + +RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-core" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="highlight" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend " + =dev-ruby/rspec-support-${SUBVERSION}* + !!<dev-ruby/rspec-core-2.14.8-r4 + highlight? ( >=dev-ruby/coderay-1.1.1 ) +" + +ruby_add_bdepend "test? ( + >=dev-ruby/nokogiri-1.5.2 + >=dev-ruby/coderay-1.1.1 + dev-ruby/syntax + >=dev-ruby/thread_order-1.1.0 + >=dev-ruby/rspec-expectations-3.8.0:3 + >=dev-ruby/rspec-mocks-2.99.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid dependency on cucumber since we can't run the features anyway. + sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die + + # Duplicate exe also in bin. We can't change it since internal stuff + # also depends on this and fixing that is going to be fragile. This + # way we can at least install proper bin scripts. + cp -R exe bin || die + + # Avoid unneeded dependency on git. + sed -i -e 's/git ls-files --/find/' rspec-core.gemspec || die + + # Avoid aruba dependency so that we don't end up in dependency hell. + sed -i -e '/ArubaLoader/,/^end/ s:^:#:' -e '/Aruba/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/support/aruba_support.rb || die + rm -f spec/integration/{bisect_runners,failed_line_detection,filtering,order,persistence_failures,suite_hooks_errors}_spec.rb || die + rm -f spec/integration/{spec_file_load_errors,output_stream,fail_if_no_examples}_spec.rb || die + + # Avoid a spec failing due to path issues + sed -i -e '/does not load files in the default path when run by ruby/,/end/ s:^:#:' \ + spec/rspec/core/configuration_spec.rb || die + + # Avoid a spec that depends on dev-ruby/rspec to lessen circular + # dependencies, bug 662328 + sed -i -e '/loads mocks and expectations when the constants are referenced/askip "gentoo: bug 662328"' spec/rspec/core_spec.rb || die + + # Avoid a spec depending on specifics on local networks + # This fails when localhost resolves to ::1 which may be a + # ruby regression in the drb/acl code. + rm -f spec/rspec/core/bisect/server_spec.rb || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed." +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rspec /usr/bin/rspec-3 'gem "rspec", "~>3.0"' +} diff --git a/dev-ruby/rspec-core/rspec-core-3.9.1.ebuild b/dev-ruby/rspec-core/rspec-core-3.9.1.ebuild new file mode 100644 index 000000000000..837a456d2180 --- /dev/null +++ b/dev-ruby/rspec-core/rspec-core-3.9.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +# Also install this custom path since internal paths depend on it. +RUBY_FAKEGEM_EXTRAINSTALL="exe" + +RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-core" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="highlight" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend " + =dev-ruby/rspec-support-${SUBVERSION}* + highlight? ( >=dev-ruby/coderay-1.1.1 ) +" + +ruby_add_bdepend "test? ( + >=dev-ruby/nokogiri-1.5.2 + >=dev-ruby/coderay-1.1.1 + dev-ruby/syntax + >=dev-ruby/thread_order-1.1.0 + >=dev-ruby/rspec-expectations-3.8.0:3 + >=dev-ruby/rspec-mocks-2.99.0:3 + >=dev-ruby/rspec-support-3.9.1:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid dependency on cucumber since we can't run the features anyway. + sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die + + # Duplicate exe also in bin. We can't change it since internal stuff + # also depends on this and fixing that is going to be fragile. This + # way we can at least install proper bin scripts. + cp -R exe bin || die + + # Avoid unneeded dependency on git. + sed -i -e 's/git ls-files --/find/' rspec-core.gemspec || die + + # Avoid aruba dependency so that we don't end up in dependency hell. + sed -i -e '/ArubaLoader/,/^end/ s:^:#:' -e '/Aruba/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/support/aruba_support.rb || die + rm -f spec/integration/{bisect_runners,failed_line_detection,filtering,order,persistence_failures,suite_hooks_errors}_spec.rb || die + rm -f spec/integration/{spec_file_load_errors,output_stream,fail_if_no_examples}_spec.rb || die + + # Avoid a spec failing due to path issues + sed -i -e '/does not load files in the default path when run by ruby/,/end/ s:^:#:' \ + spec/rspec/core/configuration_spec.rb || die + + # Avoid a spec that depends on dev-ruby/rspec to lessen circular + # dependencies, bug 662328 + sed -i -e '/loads mocks and expectations when the constants are referenced/askip "gentoo: bug 662328"' spec/rspec/core_spec.rb || die + + # Avoid a spec depending on specifics on local networks + # This fails when localhost resolves to ::1 which may be a + # ruby regression in the drb/acl code. + rm -f spec/rspec/core/bisect/server_spec.rb || die +} + +each_ruby_prepare() { + sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed." +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rspec /usr/bin/rspec-3 'gem "rspec", "~>3.0"' +} diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest new file mode 100644 index 000000000000..e027d12e20c4 --- /dev/null +++ b/dev-ruby/rspec-expectations/Manifest @@ -0,0 +1,5 @@ +DIST rspec-expectations-2.99.2-git.tgz 106884 BLAKE2B 5b31c8681306d5c688f62fc3fc6adf7be6cabad6df6fd16195c71787d73495924233d793633fa041a94d796f63c9ff97c58e6f4a75bdc09dfbe56e770bb6a5c9 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a +DIST rspec-expectations-3.8.4-git.tgz 200149 BLAKE2B 45fe4cdc4b032bb773ef0e7d3e9b75e6d14a6e8c1850ad6fd84991d85a61860730caa9f191aa9d1ce4e21c85dadd2c52bb69bd0a1454f5ab918dc1e563fc54f1 SHA512 0ecb16f11ccf19c02c40ce587f33846fb2241f1663dd87f012b9b782338c213362dac624c434dee6e00ad2cc7ec4a1cd0af7f2edf1a8e9ebb0a0dfb31cd244d8 +DIST rspec-expectations-3.8.6-git.tgz 200343 BLAKE2B 9d668216c18716344e8c249086bcbf2b70e7c1a5a0d1f3a5328fe03752ef4ace6f5029219314016a4bb00ef482f440702a2adb7d9fe49392b5b1c6ec15f6a2e5 SHA512 9ded8de53127f63f2117f5ef64b6608b643586be498d8df24909366ce159a8bb95c9d8771633b777897f3e4ad3c9a12e3dfe62b2310513320b3d9656d24a120a +DIST rspec-expectations-3.9.0-git.tgz 203008 BLAKE2B aec60d36516ecfd599479b581815e952322e9072a8b807f9f2ac9e9b6b806ad74f4c0313b77a0dc5662b7698549d732578ab960265a4087e9b59ef9c54796d31 SHA512 663b9739681c19b5bb1301447017ce4e10bc377ea3f4e51745ccfaa12b014a47e893aeb262b6fa3792e823adb90ae7a15f5c146c48aa80c72eec5faaf84d516c +DIST rspec-expectations-3.9.1-git.tgz 203727 BLAKE2B 47db054658bdec43c252fd5ac155e7ca794d60ecf8c8b0d3c8e072cf05629153c9778ad618619e5cde5400c95a85c1520f2b9fc3824699af33805fa187549115 SHA512 23a453a46c3eb3bd3f2a39f48f62f05832cf559b570ba0e09235dd6299687254491bab50f5502fefe69dbdeefa09e9d8c5568bc77d0b6b658bb469e197e67572 diff --git a/dev-ruby/rspec-expectations/metadata.xml b/dev-ruby/rspec-expectations/metadata.xml new file mode 100644 index 000000000000..00ec1284d9da --- /dev/null +++ b/dev-ruby/rspec-expectations/metadata.xml @@ -0,0 +1,12 @@ +<?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">rspec/rspec-expectations</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild new file mode 100644 index 000000000000..ad762b8c7d78 --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="http://rspec.rubyforge.org/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-core-2.99.0:2 + >=dev-ruby/rspec-mocks-2.14.0:2 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid a weird, and failing, test testing already installed code. + sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/expectations_spec.rb || die +} + +each_ruby_prepare() { + sed -i -e 's/of Fixnum/of Integer/' spec/rspec/expectations/expectation_target_spec.rb spec/rspec/matchers/be_instance_of_spec.rb || die +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.8.4.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.8.4.ebuild new file mode 100644 index 000000000000..17bb778cae8c --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.8.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.8.6.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.8.6.ebuild new file mode 100644 index 000000000000..5ccca9620ada --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.8.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.9.0.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.9.0.ebuild new file mode 100644 index 000000000000..2df69af6404d --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.9.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.9.1.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.9.1.ebuild new file mode 100644 index 000000000000..2df69af6404d --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.9.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} diff --git a/dev-ruby/rspec-its/Manifest b/dev-ruby/rspec-its/Manifest new file mode 100644 index 000000000000..f30f6fbd515f --- /dev/null +++ b/dev-ruby/rspec-its/Manifest @@ -0,0 +1,2 @@ +DIST rspec-its-1.2.0.gem 12800 BLAKE2B ac9cb1899c2c1c88ab61617bb4fb30fffba572623dede0c6bbecebb12f36d12d7e7aa94ebe584333228d63fe3332ea978a8b8b95489cc7530942d3ec33c12faa SHA512 6b390f92654f8e6482f0da30d4e721ee127f628eb305268e474d4c9fb14fca1d0fb8922cabc9a8c1372976b5a52349c5a5a774e3026f32d8050c5aea2bc9ccae +DIST rspec-its-1.3.0.gem 14336 BLAKE2B 3dabe36bd329ee4bb9134958b1727aec2eb4e15140d3197917bebc69f7a65a7558efea8cd5fdbfa670688fdc4f5db3c6ab5fcf5bf1e5a0995668681442cf1dc0 SHA512 beff75fc84f9879095f02f4515bfd749dded877b8b4d5186423ddd78c6c16d6c5e810ebac80f3500cc7b1d23db119c72780c32888385d21d20672a26499ae94a diff --git a/dev-ruby/rspec-its/metadata.xml b/dev-ruby/rspec-its/metadata.xml new file mode 100644 index 000000000000..2a027282279a --- /dev/null +++ b/dev-ruby/rspec-its/metadata.xml @@ -0,0 +1,12 @@ +<?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">rspec/rspec-its</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild b/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild new file mode 100644 index 000000000000..58deb927e793 --- /dev/null +++ b/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-its" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~sparc x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rspec-core-3.0.0 >=dev-ruby/rspec-expectations-3.0.0" + +each_ruby_prepare() { + case ${RUBY} in + *ruby24|*ruby25|*ruby26) + sed -i -e 's/Fixnum/Integer/' spec/rspec/its_spec.rb || die + ;; + esac +} diff --git a/dev-ruby/rspec-its/rspec-its-1.3.0.ebuild b/dev-ruby/rspec-its/rspec-its-1.3.0.ebuild new file mode 100644 index 000000000000..7456f8acf85b --- /dev/null +++ b/dev-ruby/rspec-its/rspec-its-1.3.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-its" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rspec-core-3.0.0 >=dev-ruby/rspec-expectations-3.0.0" diff --git a/dev-ruby/rspec-json_expectations/Manifest b/dev-ruby/rspec-json_expectations/Manifest new file mode 100644 index 000000000000..5baf536e7e0f --- /dev/null +++ b/dev-ruby/rspec-json_expectations/Manifest @@ -0,0 +1 @@ +DIST rspec-json_expectations-2.2.0.gem 14848 BLAKE2B c2f77e908eb0f473a5bae0ed49e133ebe71d4c471e2b32a9620f84e3881ca6aa92d188b8aafae8d92ee9111edcf2cc3636598c59e9f92747422f3c43c7e14563 SHA512 90da15c4c02404ac518955d65612fc7db28e8f91a756e5a25d0e5667026113f7a1be69cdc9bc656eeb89ccc7cb41069dd241401a2680f69528fb77d5491f2a83 diff --git a/dev-ruby/rspec-json_expectations/metadata.xml b/dev-ruby/rspec-json_expectations/metadata.xml new file mode 100644 index 000000000000..e2f12f1dcb67 --- /dev/null +++ b/dev-ruby/rspec-json_expectations/metadata.xml @@ -0,0 +1,12 @@ +<?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">waterlink/rspec-json_expectations</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-json_expectations/rspec-json_expectations-2.2.0.ebuild b/dev-ruby/rspec-json_expectations/rspec-json_expectations-2.2.0.ebuild new file mode 100644 index 000000000000..d6ef7261733a --- /dev/null +++ b/dev-ruby/rspec-json_expectations/rspec-json_expectations-2.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Set of matchers and helpers to allow you test your APIs responses." +HOMEPAGE="https://github.com/waterlink/rspec-json_expectations" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rspec dev-util/cucumber )" + +each_ruby_test() { + ${RUBY} -S cucumber --format progress features || die +} diff --git a/dev-ruby/rspec-mocks/Manifest b/dev-ruby/rspec-mocks/Manifest new file mode 100644 index 000000000000..bf82b0720c88 --- /dev/null +++ b/dev-ruby/rspec-mocks/Manifest @@ -0,0 +1,5 @@ +DIST rspec-mocks-2.99.2-git.tgz 101731 BLAKE2B 27ae180381d427b642c53c351e7b53602caba4252ddf5393949d940be8474110eb0697901afaaa878cd8d368f081c6644c0fcbce86d9d14b9f93f48c027ae808 SHA512 dd3b9394d56de8d3089db7777cda1e1a5bbdc46486876a99a8a83b602b84ba0320913d8e8dabe5e0367645eb01b943607b93e67d87cc26e380c8db6e048e4e0d +DIST rspec-mocks-3.8.1-git.tgz 191543 BLAKE2B dae8b22a011a3563eb65d1709006169bf5dcf310749cb858f4ff20c7b82e7675a616fc427136fe5e0edeef1db0b42a1d0af1c5623eed35807e84dc355131c8cc SHA512 ec71c4b815beef315f8db329bd2b0e60cdbb1fa37939c624799c1589d94dd28f74b3d1a4c0b9025bc98a809f80d625315458351fe7dec8291bad20e79beecca8 +DIST rspec-mocks-3.8.2-git.tgz 191807 BLAKE2B 9ec44fcaad9fe1e9d75cfb84253e52411b7083070de5dbb19bcdf7c518eb2439e6493e979daf814df7b31bab8bbe72821d42eb797ab88d95e051a700b63d93b5 SHA512 42b9b952386ce862a1cc19116991ae6b4633d551db057babe2e4aa6553acb6eafbb05b98df8a5c6cb362a00025ac3ce0f43f3c4e4ea63343c8bf0dad769a3aed +DIST rspec-mocks-3.9.0-git.tgz 192426 BLAKE2B af19a0dcd5009db310c4417a8f9f75284cb81e02010ffe6f5caa75e3f157d8b5e72c7782b7150bf0ff273bc5a78771edf88659f769a1b0ed95dccdca0f3f248d SHA512 bb6bb5d5dc272e0e0726d23069e0087f780f57614840208816867c570173f1980a43c2cc955c68b2ceca58828951229361305551a4b6bf3530880db843a49bf9 +DIST rspec-mocks-3.9.1-git.tgz 192772 BLAKE2B abcc8fc82648993e6a407a8c4ac4f5b146b821e1e842c1dd2b95824d8468aac0ea796438d77e376c897675f66bd2bc9024da8fa5ccaf60139ea296b388d542cd SHA512 f804783fca4cf2258e83f82515cd5881ceae0bdd3aedb452a1db901e01de5dbca1d2bdef0ac0828a4bd23a1de58d127a42150c8c204219bca39ea7072619098f diff --git a/dev-ruby/rspec-mocks/metadata.xml b/dev-ruby/rspec-mocks/metadata.xml new file mode 100644 index 000000000000..869f893ab731 --- /dev/null +++ b/dev-ruby/rspec-mocks/metadata.xml @@ -0,0 +1,12 @@ +<?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">rspec/rspec-mocks</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild new file mode 100644 index 000000000000..21836988f560 --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="http://rspec.rubyforge.org/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-core-2.10.0:2 + >=dev-ruby/rspec-expectations-2.99.0:2 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + # Avoid a weird, and failing, test testing already installed code. + sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/mocks_spec.rb || die + + # Psych and Syck are not supported by default anymore on ruby22. + rm spec/rspec/mocks/serialization_spec.rb || die + + sed -i -e '/does not affect the ability to access the top-level constant/,/end/ s:^:#:' spec/rspec/mocks/mutate_const_spec.rb || die +} diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.8.1.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.8.1.ebuild new file mode 100644 index 000000000000..e6738f32d9bc --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-3.8.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-mocks" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}* + >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-core-3.3.0:3 + >=dev-ruby/rspec-expectations-2.99.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die +} diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.8.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.8.2.ebuild new file mode 100644 index 000000000000..7d89e8e63bd7 --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-3.8.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-mocks" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}* + >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-core-3.3.0:3 + >=dev-ruby/rspec-expectations-2.99.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die +} diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.9.0.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.9.0.ebuild new file mode 100644 index 000000000000..7d89e8e63bd7 --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-3.9.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-mocks" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}* + >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-core-3.3.0:3 + >=dev-ruby/rspec-expectations-2.99.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die +} diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.9.1.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-3.9.1.ebuild new file mode 100644 index 000000000000..c7d10ede541e --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-3.9.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-mocks" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}* + >=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-core-3.3.0:3 + >=dev-ruby/rspec-expectations-2.99.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die + + sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rspec-rails/Manifest b/dev-ruby/rspec-rails/Manifest new file mode 100644 index 000000000000..3ae53e452f1b --- /dev/null +++ b/dev-ruby/rspec-rails/Manifest @@ -0,0 +1,6 @@ +DIST rspec-rails-3.8.2.tar.gz 135513 BLAKE2B deae49ce0ce97c78fafe910cb73a196a404711adadb896a13bb40c82ecd6f2fd28129c0267057ce739d648ffe19bdf61799512bac97e9da3be03e0f8dd43d130 SHA512 02d60a0135b4f4b52e2721f9a79363310b60acb8252d4bb44220d37dd346605a6cd3db6525d2d8d77b9471dd91888c9a3dd02e541012f39d0d47c33f38c98bbe +DIST rspec-rails-3.8.3.tar.gz 138053 BLAKE2B dab5764d65d484a8a808a2104a3ab093c2ef2e822cacd136996eddb767a972f89df9a459509e701e5541f6b9c42a3b700a4daa816c0391474e004b4558feb2a7 SHA512 210a278cf82c20c4f5ef7faa5e253b9e18609d34467e91cb8728e6116c7cfb15d17fe8941fc15b776bb169e0275df623535b86fc160afe3e49432948f246a165 +DIST rspec-rails-3.9.0.tar.gz 142966 BLAKE2B 2f75b1a2e666c8b790be4aeb3add3814558718049a818bdcbd8ff07b5f837727d34628fbba68fd9ff832b864261cac2e545991daa5ad3f3b72304b411801295c SHA512 f0130bbfcc8367a1ef6d8f259ab04a623720068f205c2454117f988c8405885fd19056692b46d0a04d7ba2d0d24692acf8283a77bb5292054f990002fae10af0 +DIST rspec-rails-3.9.1.tar.gz 143459 BLAKE2B 87a691df63a438b15b5726a802632c16373c784cc66216c1b099ed7e36e0916fdfe7ca1fb964904678b779b8fa90f0659971c4af00f9ca3a1071adf2216466bd SHA512 247acda67672ea3fa0641ea36d6209c8876597c63180979713db257e02cb4282b122af4cc0aa540dae984acdb16afdc4359012360b951f0599710fe422cdccac +DIST rspec-rails-4.0.0.tar.gz 153413 BLAKE2B 8362d971a1df19313a393754fc34f3ac7680794c2684e68710476a72749a26919aeec919cf4962217c834aef5533fa6849f7493e8a0e642071d2b3c03e0aebf3 SHA512 09c79418250086f8ea15649173edb17bb3ccceb77c899c323a46fa52b8515e739906c9ec30eb8f06f2c0c55c45f24cdfd0906a9c2f926fb6aae4dcb60fe2d899 +DIST rspec-rails-4.0.1.tar.gz 153383 BLAKE2B b2591fe27e992df11404f792e7efe1e18fa023e0b4b7c076f7ffc86e83228a013f06206c687167966413641aea654f57f0d1c0a057ecdfd9c1579fd38d08fcfd SHA512 97b06a8696181fb0209e376780860935f1c22cd9a2ae5977efd45217ab74e6cc0260687bb2ccd22f28cf69f2a73ded43c51ac8d43d0d0b6b0bd0fb3e547d920b diff --git a/dev-ruby/rspec-rails/metadata.xml b/dev-ruby/rspec-rails/metadata.xml new file mode 100644 index 000000000000..48d81db8e504 --- /dev/null +++ b/dev-ruby/rspec-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">rspec/rspec-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-rails/rspec-rails-3.8.2.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.8.2.ebuild new file mode 100644 index 000000000000..5b324600b8df --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-3.8.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="https://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* + >=dev-ruby/actionpack-3.0:* + >=dev-ruby/railties-3.0:* + =dev-ruby/rspec-${SUBVERSION}*" + +# Depend on the package being already installed for tests, because +# requiring ammeter will load it, and we need a consistent set of rspec +# and rspec-rails for that to work. +ruby_add_bdepend "test? ( + >=dev-ruby/capybara-2.2.0 + >=dev-ruby/ammeter-1.1.2 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm -f .rspec || die + + # Avoid bundler-specific specs. + rm -f spec/sanity_check_spec.rb || die + + # Avoid broken controller generator specs for now. + rm -fr spec/generators/rspec || die + + # Avoid loading rspec/rails explicitly since ammeter/init will also + # do this and loading it twice causes an error + sed -i -e '/rspec\/rails/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/rspec-rails/rspec-rails-3.8.3.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.8.3.ebuild new file mode 100644 index 000000000000..bc90364ea0a4 --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-3.8.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="https://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* + >=dev-ruby/actionpack-3.0:* + >=dev-ruby/railties-3.0:* + =dev-ruby/rspec-${SUBVERSION}*" + +# Depend on the package being already installed for tests, because +# requiring ammeter will load it, and we need a consistent set of rspec +# and rspec-rails for that to work. +ruby_add_bdepend "test? ( + >=dev-ruby/capybara-2.2.0 + >=dev-ruby/ammeter-1.1.2 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm -f .rspec || die + + # Avoid bundler-specific specs. + rm -f spec/sanity_check_spec.rb || die + + # Avoid broken controller generator specs for now. + rm -fr spec/generators/rspec || die + + # Avoid loading rspec/rails explicitly since ammeter/init will also + # do this and loading it twice causes an error + sed -i -e '/rspec\/rails/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/rspec-rails/rspec-rails-3.9.0.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.9.0.ebuild new file mode 100644 index 000000000000..bc90364ea0a4 --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-3.9.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="https://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* + >=dev-ruby/actionpack-3.0:* + >=dev-ruby/railties-3.0:* + =dev-ruby/rspec-${SUBVERSION}*" + +# Depend on the package being already installed for tests, because +# requiring ammeter will load it, and we need a consistent set of rspec +# and rspec-rails for that to work. +ruby_add_bdepend "test? ( + >=dev-ruby/capybara-2.2.0 + >=dev-ruby/ammeter-1.1.2 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm -f .rspec || die + + # Avoid bundler-specific specs. + rm -f spec/sanity_check_spec.rb || die + + # Avoid broken controller generator specs for now. + rm -fr spec/generators/rspec || die + + # Avoid loading rspec/rails explicitly since ammeter/init will also + # do this and loading it twice causes an error + sed -i -e '/rspec\/rails/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/rspec-rails/rspec-rails-3.9.1.ebuild b/dev-ruby/rspec-rails/rspec-rails-3.9.1.ebuild new file mode 100644 index 000000000000..186d3b997e1d --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-3.9.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="https://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* + >=dev-ruby/actionpack-3.0:* + >=dev-ruby/railties-3.0:* + =dev-ruby/rspec-${SUBVERSION}*" + +# Depend on the package being already installed for tests, because +# requiring ammeter will load it, and we need a consistent set of rspec +# and rspec-rails for that to work. +ruby_add_bdepend "test? ( + >=dev-ruby/capybara-2.2.0 + >=dev-ruby/ammeter-1.1.2 + <dev-ruby/rails-6 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm -f .rspec || die + + # Avoid bundler-specific specs. + rm -f spec/sanity_check_spec.rb || die + + # Avoid broken controller generator specs for now. + rm -fr spec/generators/rspec || die + + # Avoid loading rspec/rails explicitly since ammeter/init will also + # do this and loading it twice causes an error + sed -e '/rspec\/rails/ s:^:#:' \ + -e '1igem "rails", "<6"' \ + -i spec/spec_helper.rb || die +} diff --git a/dev-ruby/rspec-rails/rspec-rails-4.0.0.ebuild b/dev-ruby/rspec-rails/rspec-rails-4.0.0.ebuild new file mode 100644 index 000000000000..0fafb0c55d7c --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-4.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="https://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.2:* + >=dev-ruby/actionpack-4.2:* + >=dev-ruby/railties-4.2:* + >=dev-ruby/rspec-3.8:3" + +# Depend on the package being already installed for tests, because +# requiring ammeter will load it, and we need a consistent set of rspec +# and rspec-rails for that to work. +ruby_add_bdepend "test? ( + >=dev-ruby/capybara-2.2.0 + >=dev-ruby/ammeter-1.1.2 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + echo "--require spec_helper" > .rspec || die + + # Avoid bundler-specific specs. + rm -f spec/sanity_check_spec.rb || die + + # Avoid broken controller generator specs for now. + rm -fr spec/generators/rspec || die + + # Fix gemspec and allow rspec 3.8 as well. This allows parallel installation + # of rspec-rails:3 given our Gentoo constraints. All tests pass. + sed -e 's/git ls-files --/find/' \ + -e '/expected_rspec_version/ s/3.9.0/3.8.0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rspec-rails/rspec-rails-4.0.1.ebuild b/dev-ruby/rspec-rails/rspec-rails-4.0.1.ebuild new file mode 100644 index 000000000000..56a11789674a --- /dev/null +++ b/dev-ruby/rspec-rails/rspec-rails-4.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +#RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="RSpec's official Ruby on Rails plugin" +HOMEPAGE="https://rspec.info/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.2:* + >=dev-ruby/actionpack-4.2:* + >=dev-ruby/railties-4.2:* + >=dev-ruby/rspec-3.9:3" + +# Depend on the package being already installed for tests, because +# requiring ammeter will load it, and we need a consistent set of rspec +# and rspec-rails for that to work. +ruby_add_bdepend "test? ( + >=dev-ruby/capybara-2.2.0 + >=dev-ruby/ammeter-1.1.2 + ~dev-ruby/rspec-rails-${PV} +)" + +all_ruby_prepare() { + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + echo "--require spec_helper" > .rspec || die + + # Avoid bundler-specific specs. + rm -f spec/sanity_check_spec.rb || die + + # Avoid broken controller generator specs for now. + rm -fr spec/generators/rspec || die + + # Fix gemspec. + sed -e 's/git ls-files --/find/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rspec-retry/Manifest b/dev-ruby/rspec-retry/Manifest new file mode 100644 index 000000000000..368068de09b3 --- /dev/null +++ b/dev-ruby/rspec-retry/Manifest @@ -0,0 +1 @@ +DIST rspec-retry-0.6.2.gem 14336 BLAKE2B f619f075c13f054dd73f893a37d2da644e4a77b2cdecef886b8fb2b8616b5c89b9aebb8506b94319e0873fd798c0361a8defeae9e651c1a17b9d2f7b26364134 SHA512 a14874f6589c78a00baf9d50d2415bd5533559457de313a5b56be77f4e226d8885f7e976bd6926b8be669f44ec672a6b16dbcf4dff26c26ca8eac64a25fd1b5b diff --git a/dev-ruby/rspec-retry/metadata.xml b/dev-ruby/rspec-retry/metadata.xml new file mode 100644 index 000000000000..4fba93951bec --- /dev/null +++ b/dev-ruby/rspec-retry/metadata.xml @@ -0,0 +1,12 @@ +<?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">NoRedInk/rspec-retry</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-retry/rspec-retry-0.6.2.ebuild b/dev-ruby/rspec-retry/rspec-retry-0.6.2.ebuild new file mode 100644 index 000000000000..e3a4ee31a774 --- /dev/null +++ b/dev-ruby/rspec-retry/rspec-retry-0.6.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Retry intermittently failing rspec examples" +HOMEPAGE="https://github.com/NoRedInk/rspec-retry" +IUSE="" +SLOT="0" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +ruby_add_rdepend ">=dev-ruby/rspec-core-3.3:3" + +all_ruby_prepare() { + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/rspec-stubbed_env/Manifest b/dev-ruby/rspec-stubbed_env/Manifest new file mode 100644 index 000000000000..59a169465bd2 --- /dev/null +++ b/dev-ruby/rspec-stubbed_env/Manifest @@ -0,0 +1 @@ +DIST rspec-stubbed_env-1.0.0.gem 11264 BLAKE2B 1f00ef85dc0677a35814d2bb6a59e8c836cf08bda2de024f9cf7f8d4696a409ef286d72303428854cb7ca59a7c479a89c731d7e412cd97ae6fae0edaafa84d1e SHA512 e4624614852674035d2c0a7b426d9aa62d8f621a7e52c4f79410ac9e3f833980f50530a7f7da7241c763ec92926bf87bf0be2d2dab4200faa9a17eaacd404640 diff --git a/dev-ruby/rspec-stubbed_env/metadata.xml b/dev-ruby/rspec-stubbed_env/metadata.xml new file mode 100644 index 000000000000..fda5b660d6b6 --- /dev/null +++ b/dev-ruby/rspec-stubbed_env/metadata.xml @@ -0,0 +1,12 @@ +<?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">pboling/rspec-stubbed_env</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.0.ebuild b/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.0.ebuild new file mode 100644 index 000000000000..b0045d2c164b --- /dev/null +++ b/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Gem does not contain tests and upstream releases are not tagged +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Stub environment variables in a scoped context for testing" +HOMEPAGE="https://github.com/pboling/rspec-stubbed_env" +IUSE="" +SLOT="1" + +LICENSE="MIT" +KEYWORDS="~amd64" + +ruby_add_rdepend ">=dev-ruby/rspec-3.0" diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest new file mode 100644 index 000000000000..97082bdd1ae2 --- /dev/null +++ b/dev-ruby/rspec-support/Manifest @@ -0,0 +1,5 @@ +DIST rspec-support-3.8.2-git.tgz 69112 BLAKE2B 84600d3e2b4d847618f7f53efdf60be3836c7ba6c586de88cdf085e84749e616ad556683b1e7b588b9aec08adee10054e64ae1daf69c6ad58a00d1c2447171f7 SHA512 9fb9f8f2507edee5e7c414d32c1641803eed7a5e17fd300308449277ec6efb786f07207d8f28bcea0a669b8d76a2da53057488d149990ae973c0f7a0343180dc +DIST rspec-support-3.8.3-git.tgz 69654 BLAKE2B 1ea3eed0602655fbf5f92cdc14217eb8377d980378c9835a342840bb7a00bb1cf095b6fe57a24f80c01ce1835b398ac3c1bd11ac1f95a90b501be6a000e8f6d2 SHA512 90d678e08ca93be30ace986a60aba4c4a81a58d7c56d34863aca70f91efe92480299970aa7eb158e3f8c4878b1ea3303aa0afabfc8c7782bc78f7f63b90b4f9a +DIST rspec-support-3.9.0-git.tgz 69705 BLAKE2B 96d5cea9c63e6ec2acdbbfc4b7253acc26dbf5202c3bafc4a461123380db7d56958d2bbc787eaf3f1c480801441f6a134e1f29b1d3ce23b1bd3225fe4d8f37a5 SHA512 10e8fa4af59097891219f00e2ced5940e7a5bc67d946fbd348683d2246a4a491e62f7bac6bb757e14d82bb0ba970fe5633609ca4ab2c97c4900719b8004cf4b5 +DIST rspec-support-3.9.1-git.tgz 70196 BLAKE2B 1edf8e64f6121cb5ed9f543c6ee1aac54f53dfa33e25caf278803a3284414e6d0aba69d1d137e0b80b482e798148ec865feb6e3ab0e9e5d86d13c9aa3754fe75 SHA512 d8267117c9e785766860d781d1e6190714f0d3bb378bf19def213d0807cdfa706f90ef54ff24e8e71ea1e14c6bfa175879250525d3baa7282d997bdc2aa13a0d +DIST rspec-support-3.9.2-git.tgz 70021 BLAKE2B 410464836d322545a05277cda5cd5cca8b9d2dcb4bf4299850e089d7a169d05aa630395a7c6fc42dffa29d7c6739bcfbf734fa8b0bb69d15b03243534c8da67f SHA512 436a3400a354012b06f471a339386667ed4854814b780f9c21d71182b001b3b4ab45ade578b56e4f2dec81325de5d88baa783f7e56b27bb215cfdc58448b10f1 diff --git a/dev-ruby/rspec-support/metadata.xml b/dev-ruby/rspec-support/metadata.xml new file mode 100644 index 000000000000..bf45fe090e42 --- /dev/null +++ b/dev-ruby/rspec-support/metadata.xml @@ -0,0 +1,12 @@ +<?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">rspec/rspec-support</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec-support/rspec-support-3.8.2.ebuild b/dev-ruby/rspec-support/rspec-support-3.8.2.ebuild new file mode 100644 index 000000000000..cc992874be34 --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.8.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-support" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.8.0:3 >=dev-ruby/thread_order-1.1.0 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove spec that, by following symlinks, tries to scan pretty much + # the whole filesystem. + rm spec/rspec/support/caller_filter_spec.rb || die + + # Avoid spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die + + # Avoid a spec requiring a specific locale + sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die + + # Avoid a brittle spec depending on ruby implementation details + # should be fixed upstream in next version + sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die +} diff --git a/dev-ruby/rspec-support/rspec-support-3.8.3.ebuild b/dev-ruby/rspec-support/rspec-support-3.8.3.ebuild new file mode 100644 index 000000000000..ea10d2ded460 --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.8.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-support" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.8.0:3 >=dev-ruby/thread_order-1.1.0 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove spec that, by following symlinks, tries to scan pretty much + # the whole filesystem. + rm spec/rspec/support/caller_filter_spec.rb || die + + # Avoid spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die + + # Avoid a spec requiring a specific locale + sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die + + # Avoid a brittle spec depending on ruby implementation details + # should be fixed upstream in next version + #sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die +} diff --git a/dev-ruby/rspec-support/rspec-support-3.9.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.9.0.ebuild new file mode 100644 index 000000000000..ea10d2ded460 --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.9.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-support" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.8.0:3 >=dev-ruby/thread_order-1.1.0 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove spec that, by following symlinks, tries to scan pretty much + # the whole filesystem. + rm spec/rspec/support/caller_filter_spec.rb || die + + # Avoid spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die + + # Avoid a spec requiring a specific locale + sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die + + # Avoid a brittle spec depending on ruby implementation details + # should be fixed upstream in next version + #sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die +} diff --git a/dev-ruby/rspec-support/rspec-support-3.9.1.ebuild b/dev-ruby/rspec-support/rspec-support-3.9.1.ebuild new file mode 100644 index 000000000000..ea10d2ded460 --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.9.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-support" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.8.0:3 >=dev-ruby/thread_order-1.1.0 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove spec that, by following symlinks, tries to scan pretty much + # the whole filesystem. + rm spec/rspec/support/caller_filter_spec.rb || die + + # Avoid spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die + + # Avoid a spec requiring a specific locale + sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die + + # Avoid a brittle spec depending on ruby implementation details + # should be fixed upstream in next version + #sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die +} diff --git a/dev-ruby/rspec-support/rspec-support-3.9.2.ebuild b/dev-ruby/rspec-support/rspec-support-3.9.2.ebuild new file mode 100644 index 000000000000..b0f14e38d54d --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.9.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-support" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.8.0:3 >=dev-ruby/thread_order-1.1.0 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove spec that, by following symlinks, tries to scan pretty much + # the whole filesystem. + rm spec/rspec/support/caller_filter_spec.rb || die + + # Avoid spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die + + # Avoid a spec requiring a specific locale + sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die + + # Avoid a brittle spec depending on ruby implementation details + # should be fixed upstream in next version + #sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die +} diff --git a/dev-ruby/rspec/Manifest b/dev-ruby/rspec/Manifest new file mode 100644 index 000000000000..7d026f85e35b --- /dev/null +++ b/dev-ruby/rspec/Manifest @@ -0,0 +1,3 @@ +DIST rspec-2.99.0.gem 5632 BLAKE2B eba837aeebcb0d65dc18a644fd935f241a6703998885418460b2c0bb59574ef144c416518099a77905ca7676852903804169d1bafc2cf8b3f79654b669c43762 SHA512 bcdf5e86938b102200144c49370e0a0691e39a8720048df2eab1a55f95a5bc5e4ced84c7da86d0ddc83ee4ce0f40602c2ae7ee10e55dccf8bb8b769ab048ebb8 +DIST rspec-3.8.0.gem 10752 BLAKE2B 14b1710fb64fb2ab46d59ac692ceb95dbe7f5e2f5c54e4f97170bd99c2b0d32e1977250f69160ab191367c8016663ecf5cd4e0c89941ff12c727ed52e6118551 SHA512 aa3ecee499240a26866797c00461c7e63915bb84a9a29afce75bd4e7864027588bafde05b108aa7b6d988c1a123265587db807567a8e0f3d03527b0f2d8329ba +DIST rspec-3.9.0.gem 10752 BLAKE2B 212cebbae9e71b8a090757ec4b9902f20043eaf95b079a409247990e1fca4236e13d0e9a3bd9b9eacfbc2d2aaab19583452dbe08b298ca69a85e20f0163741c2 SHA512 a7dbb22f01d842a41b54c375d32d94c77a7b964d1ea5b1971e7c228dfd5dbfcfe03c007d687781addb93f819dde8de664dda307c266137fdd0a07dab96f96fad diff --git a/dev-ruby/rspec/metadata.xml b/dev-ruby/rspec/metadata.xml new file mode 100644 index 000000000000..b65027d60951 --- /dev/null +++ b/dev-ruby/rspec/metadata.xml @@ -0,0 +1,12 @@ +<?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">rspec/rspec</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspec/rspec-2.99.0.ebuild b/dev-ruby/rspec/rspec-2.99.0.ebuild new file mode 100644 index 000000000000..d2d62c086e0a --- /dev/null +++ b/dev-ruby/rspec/rspec-2.99.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem versionator + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="http://rspec.rubyforge.org/" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SUBVERSION="$(get_version_component_range 1-2)" + +ruby_add_rdepend " + =dev-ruby/rspec-core-${SUBVERSION}* + =dev-ruby/rspec-expectations-${SUBVERSION}* + =dev-ruby/rspec-mocks-${SUBVERSION}*" diff --git a/dev-ruby/rspec/rspec-3.8.0.ebuild b/dev-ruby/rspec/rspec-3.8.0.ebuild new file mode 100644 index 000000000000..7b7b4794405d --- /dev/null +++ b/dev-ruby/rspec/rspec-3.8.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend " + =dev-ruby/rspec-core-${SUBVERSION}* + =dev-ruby/rspec-expectations-${SUBVERSION}* + =dev-ruby/rspec-mocks-${SUBVERSION}*" diff --git a/dev-ruby/rspec/rspec-3.9.0.ebuild b/dev-ruby/rspec/rspec-3.9.0.ebuild new file mode 100644 index 000000000000..eb4f595cfdae --- /dev/null +++ b/dev-ruby/rspec/rspec-3.9.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend " + =dev-ruby/rspec-core-${SUBVERSION}* + =dev-ruby/rspec-expectations-${SUBVERSION}* + =dev-ruby/rspec-mocks-${SUBVERSION}*" diff --git a/dev-ruby/rspectacular/Manifest b/dev-ruby/rspectacular/Manifest new file mode 100644 index 000000000000..b081f724e229 --- /dev/null +++ b/dev-ruby/rspectacular/Manifest @@ -0,0 +1 @@ +DIST rspectacular-0.70.8.gem 16896 BLAKE2B daf9b75be33ccf1b7d60a7aaa540b391578b7f841bb1999c52e566caf8000049d7b2180f372084be18bf4cf367f6c59dba422f187505e42ee6bd66e9431ed11c SHA512 6f048a7781bd672049c10687eede3e2218436ea396438e09814c9239cb07396df25f4b88ab78b98f91c66457c4aceaaf1a1b8aadbff748715a881cadff8dd2e1 diff --git a/dev-ruby/rspectacular/metadata.xml b/dev-ruby/rspectacular/metadata.xml new file mode 100644 index 000000000000..4629abff32c3 --- /dev/null +++ b/dev-ruby/rspectacular/metadata.xml @@ -0,0 +1,12 @@ +<?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">thekompanee/rspectacular</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rspectacular/rspectacular-0.70.8-r1.ebuild b/dev-ruby/rspectacular/rspectacular-0.70.8-r1.ebuild new file mode 100644 index 000000000000..b40e6bc54350 --- /dev/null +++ b/dev-ruby/rspectacular/rspectacular-0.70.8-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="RSpec support and matchers" +HOMEPAGE="https://github.com/thekompanee/rspectacular" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rspec-3.1:3 dev-ruby/fuubar:2 dev-ruby/shoulda-matchers:3" diff --git a/dev-ruby/rspectacular/rspectacular-0.70.8.ebuild b/dev-ruby/rspectacular/rspectacular-0.70.8.ebuild new file mode 100644 index 000000000000..7c8c2f6d0ba5 --- /dev/null +++ b/dev-ruby/rspectacular/rspectacular-0.70.8.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="RSpec support and matchers" +HOMEPAGE="https://github.com/thekompanee/rspectacular" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rspec-3.1:3 dev-ruby/fuubar:2 dev-ruby/shoulda-matchers:3" diff --git a/dev-ruby/ruby-atk/Manifest b/dev-ruby/ruby-atk/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-atk/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-atk/metadata.xml b/dev-ruby/ruby-atk/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-atk/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-atk/ruby-atk-3.3.2.ebuild b/dev-ruby/ruby-atk/ruby-atk-3.3.2.ebuild new file mode 100644 index 000000000000..c963c4dc53f6 --- /dev/null +++ b/dev-ruby/ruby-atk/ruby-atk-3.3.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Atk bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" +DEPEND+=" dev-libs/atk" +RDEPEND+=" dev-libs/atk" + +ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/atk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-atk/ruby-atk-3.3.6.ebuild b/dev-ruby/ruby-atk/ruby-atk-3.3.6.ebuild new file mode 100644 index 000000000000..f666da65a3bb --- /dev/null +++ b/dev-ruby/ruby-atk/ruby-atk-3.3.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Atk bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND+=" dev-libs/atk" +RDEPEND+=" dev-libs/atk" + +ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/atk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-atk/ruby-atk-3.3.7.ebuild b/dev-ruby/ruby-atk/ruby-atk-3.3.7.ebuild new file mode 100644 index 000000000000..f666da65a3bb --- /dev/null +++ b/dev-ruby/ruby-atk/ruby-atk-3.3.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Atk bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND+=" dev-libs/atk" +RDEPEND+=" dev-libs/atk" + +ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/atk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-augeas/Manifest b/dev-ruby/ruby-augeas/Manifest new file mode 100644 index 000000000000..aa9c5499a559 --- /dev/null +++ b/dev-ruby/ruby-augeas/Manifest @@ -0,0 +1 @@ +DIST ruby-augeas-0.5.0.gem 24064 BLAKE2B 7ee13cfed3e38bbcb7445305323d44f519239e177a9a0e2e98ee362629f6fa0166338e128ab31f48ffc3a37095ba450433128779be006a8add26eb0523e76142 SHA512 523742368543c617baa2b393e4682451d7fe20aecbcf9ab50fed0f5575119b3fbc06f79f0894cca728d2fee7d441cdd9f075dbcf81628835ba870930c3d2ac8d diff --git a/dev-ruby/ruby-augeas/metadata.xml b/dev-ruby/ruby-augeas/metadata.xml new file mode 100644 index 000000000000..f5978a0c3b07 --- /dev/null +++ b/dev-ruby/ruby-augeas/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>prometheanfire@gentoo.org</email> +</maintainer> +<maintainer type="project"> +<email>ruby@gentoo.org</email> +<name>Gentoo Ruby Project</name> +</maintainer> +<longdescription lang="en"> +ruby-augeas is a set of Ruby bindings around augeas. +</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r3.ebuild b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r3.ebuild new file mode 100644 index 000000000000..b8da9e90c381 --- /dev/null +++ b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc/site/api" +RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby bindings for Augeas" +HOMEPAGE="http://augeas.net/" +SRC_URI="http://download.augeas.net/ruby/${P}.gem" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ppc ~ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=app-admin/augeas-1.1.0" +DEPEND="${RDEPEND} + dev-libs/libxml2" + +each_ruby_configure() { + ${RUBY} -C ext/augeas extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/augeas V=1 +} + +each_ruby_install() { + mv ext/augeas/_augeas$(get_modname) lib/ || die + + each_fakegem_install +} diff --git a/dev-ruby/ruby-cairo-gobject/Manifest b/dev-ruby/ruby-cairo-gobject/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-cairo-gobject/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-cairo-gobject/metadata.xml b/dev-ruby/ruby-cairo-gobject/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-cairo-gobject/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.2.ebuild b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.2.ebuild new file mode 100644 index 000000000000..d415228daa0a --- /dev/null +++ b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +RUBY_S="ruby-gnome2-all-${PV}/cairo-gobject" + +DESCRIPTION="Ruby cairo-gobject bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/cairo" +RDEPEND+=" x11-libs/cairo" + +ruby_add_rdepend "dev-ruby/rcairo + >=dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + test/cairo-gobject-test-utils.rb || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.6.ebuild b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.6.ebuild new file mode 100644 index 000000000000..ecd747dd85fa --- /dev/null +++ b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +RUBY_S="ruby-gnome2-all-${PV}/cairo-gobject" + +DESCRIPTION="Ruby cairo-gobject bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/cairo" +RDEPEND+=" x11-libs/cairo" + +ruby_add_rdepend "dev-ruby/rcairo + >=dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + test/cairo-gobject-test-utils.rb || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.7.ebuild b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.7.ebuild new file mode 100644 index 000000000000..85aa662c9da3 --- /dev/null +++ b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-3.3.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-ng-gnome2 + +RUBY_S="ruby-gnome2-all-${PV}/cairo-gobject" + +DESCRIPTION="Ruby cairo-gobject bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/cairo" +RDEPEND+=" x11-libs/cairo" + +ruby_add_rdepend "dev-ruby/rcairo + >=dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + test/cairo-gobject-test-utils.rb || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-clutter-gdk/Manifest b/dev-ruby/ruby-clutter-gdk/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-clutter-gdk/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-clutter-gdk/metadata.xml b/dev-ruby/ruby-clutter-gdk/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-clutter-gdk/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.2.ebuild b/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.2.ebuild new file mode 100644 index 000000000000..5aeb80797227 --- /dev/null +++ b/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby binding of GDK specific API of Clutter" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gdk + +RDEPEND+=" media-libs/clutter[gtk]" + +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gdk3-${PV}" + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.6.ebuild b/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.6.ebuild new file mode 100644 index 000000000000..0dcb0dfa89ea --- /dev/null +++ b/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby binding of GDK specific API of Clutter" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gdk + +RDEPEND+=" media-libs/clutter[gtk]" + +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gdk3-${PV}" + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.7.ebuild b/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.7.ebuild new file mode 100644 index 000000000000..0dcb0dfa89ea --- /dev/null +++ b/dev-ruby/ruby-clutter-gdk/ruby-clutter-gdk-3.3.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby binding of GDK specific API of Clutter" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gdk + +RDEPEND+=" media-libs/clutter[gtk]" + +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gdk3-${PV}" + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gstreamer/Manifest b/dev-ruby/ruby-clutter-gstreamer/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-clutter-gstreamer/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-clutter-gstreamer/metadata.xml b/dev-ruby/ruby-clutter-gstreamer/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-clutter-gstreamer/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.2.ebuild b/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.2.ebuild new file mode 100644 index 000000000000..7aa2ed4e4c69 --- /dev/null +++ b/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gstreamer + +DEPEND+=" media-libs/clutter-gst" +RDEPEND+=" media-libs/clutter-gst:*" + +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gstreamer-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../clutter/test/clutter-test-utils.rb \ + test/clutter-gstreamer-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.6.ebuild b/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.6.ebuild new file mode 100644 index 000000000000..51bc88ca3681 --- /dev/null +++ b/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gstreamer + +DEPEND+=" media-libs/clutter-gst" +RDEPEND+=" media-libs/clutter-gst:*" + +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gstreamer-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../clutter/test/clutter-test-utils.rb \ + test/clutter-gstreamer-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.7.ebuild b/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.7.ebuild new file mode 100644 index 000000000000..51bc88ca3681 --- /dev/null +++ b/dev-ruby/ruby-clutter-gstreamer/ruby-clutter-gstreamer-3.3.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gstreamer + +DEPEND+=" media-libs/clutter-gst" +RDEPEND+=" media-libs/clutter-gst:*" + +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gstreamer-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../clutter/test/clutter-test-utils.rb \ + test/clutter-gstreamer-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gtk/Manifest b/dev-ruby/ruby-clutter-gtk/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-clutter-gtk/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-clutter-gtk/metadata.xml b/dev-ruby/ruby-clutter-gtk/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-clutter-gtk/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.2.ebuild b/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.2.ebuild new file mode 100644 index 000000000000..cf410257d92c --- /dev/null +++ b/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gtk + +DEPEND+=" media-libs/clutter-gtk[gtk]" +RDEPEND+=" media-libs/clutter-gtk[gtk]" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-clutter-gdk-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../clutter/test/clutter-test-utils.rb \ + test/clutter-gtk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.6.ebuild b/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.6.ebuild new file mode 100644 index 000000000000..3248be0c2abd --- /dev/null +++ b/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gtk + +DEPEND+=" media-libs/clutter-gtk[gtk]" +RDEPEND+=" media-libs/clutter-gtk[gtk]" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-clutter-gdk-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../clutter/test/clutter-test-utils.rb \ + test/clutter-gtk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.7.ebuild b/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.7.ebuild new file mode 100644 index 000000000000..3248be0c2abd --- /dev/null +++ b/dev-ruby/ruby-clutter-gtk/ruby-clutter-gtk-3.3.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter-gtk + +DEPEND+=" media-libs/clutter-gtk[gtk]" +RDEPEND+=" media-libs/clutter-gtk[gtk]" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-clutter-gdk-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../clutter/test/clutter-test-utils.rb \ + test/clutter-gtk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter/Manifest b/dev-ruby/ruby-clutter/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-clutter/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-clutter/metadata.xml b/dev-ruby/ruby-clutter/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-clutter/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-clutter/ruby-clutter-3.3.2.ebuild b/dev-ruby/ruby-clutter/ruby-clutter-3.3.2.ebuild new file mode 100644 index 000000000000..fcf3df7f84b9 --- /dev/null +++ b/dev-ruby/ruby-clutter/ruby-clutter-3.3.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter + +DEPEND+=" media-libs/clutter" +RDEPEND+=" media-libs/clutter" + +ruby_add_bdepend ">=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-pango-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-cairo-gobject-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-pango-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../cairo-gobject/test/cairo-gobject-test-utils.rb \ + test/clutter-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter/ruby-clutter-3.3.6.ebuild b/dev-ruby/ruby-clutter/ruby-clutter-3.3.6.ebuild new file mode 100644 index 000000000000..159b0a794889 --- /dev/null +++ b/dev-ruby/ruby-clutter/ruby-clutter-3.3.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter + +DEPEND+=" media-libs/clutter" +RDEPEND+=" media-libs/clutter" + +ruby_add_bdepend ">=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-pango-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-cairo-gobject-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-pango-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../cairo-gobject/test/cairo-gobject-test-utils.rb \ + test/clutter-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-clutter/ruby-clutter-3.3.7.ebuild b/dev-ruby/ruby-clutter/ruby-clutter-3.3.7.ebuild new file mode 100644 index 000000000000..159b0a794889 --- /dev/null +++ b/dev-ruby/ruby-clutter/ruby-clutter-3.3.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Clutter bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RUBY_S=ruby-gnome2-all-${PV}/clutter + +DEPEND+=" media-libs/clutter" +RDEPEND+=" media-libs/clutter" + +ruby_add_bdepend ">=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-pango-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-cairo-gobject-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-pango-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + ../cairo-gobject/test/cairo-gobject-test-utils.rb \ + test/clutter-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-dict/Manifest b/dev-ruby/ruby-dict/Manifest new file mode 100644 index 000000000000..943b8ced3651 --- /dev/null +++ b/dev-ruby/ruby-dict/Manifest @@ -0,0 +1 @@ +DIST ruby-dict-0.9.4.tar.gz 50487 BLAKE2B fa812bf222f82bc91ccf5a4f2a225e3463d7d85677004e3131547a49da88f89af3632de6f18e1b95f4ca68a5f7c5b5f909a9e811faf849865c879b3658bf43fd SHA512 54ce421c1bf49d0d52fc2549409887e05ebac5d3d1d50fc1b3a2ef55eb1242af509e3fb2ee046ee3389b088ca951a9903e9ea3ed3ca3dcfb0d521acd0eb54c59 diff --git a/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch b/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch new file mode 100644 index 000000000000..5ed897773fac --- /dev/null +++ b/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch @@ -0,0 +1,20 @@ +--- lib/dict.rb.orig 2013-10-27 19:15:03.957167192 +0100 ++++ lib/dict.rb 2013-10-27 19:16:15.191165936 +0100 +@@ -153,7 +153,7 @@ + + + require 'socket' +-require 'md5' ++require 'digest/md5' + + + # lines that start with .. need to be reduced to . +@@ -434,7 +434,7 @@ + # AUTHorise user + # + def auth(user, secret) +- auth = MD5::new(@msgid + secret).hexdigest ++ auth = Digest::MD5.new.hexdigest(@msgid + secret) + exec_cmd('AUTH %s %s' % [ user, auth ]) + end + diff --git a/dev-ruby/ruby-dict/metadata.xml b/dev-ruby/ruby-dict/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ruby-dict/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild new file mode 100644 index 000000000000..d333cb46cc3d --- /dev/null +++ b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng + +DESCRIPTION="RFC 2229 client in Ruby" +HOMEPAGE="http://www.caliban.org/ruby/ruby-dict.shtml" +SRC_URI="http://www.caliban.org/files/ruby/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RUBY_PATCHES=( "${PN}-ruby19.patch" ) + +each_ruby_install() { + doruby lib/dict.rb || die "doruby failed" +} + +all_ruby_install() { + dobin rdict + + dodoc README Changelog TODO doc/rfc2229.txt + dodoc doc/dict.html doc/rdict.html + + # This would probably need a 3rb section.. + # doman doc/dict.3 + doman doc/rdict.1 +} diff --git a/dev-ruby/ruby-elf/Manifest b/dev-ruby/ruby-elf/Manifest new file mode 100644 index 000000000000..07d27f7196fc --- /dev/null +++ b/dev-ruby/ruby-elf/Manifest @@ -0,0 +1 @@ +DIST ruby-elf-1.0.8.tar.gz 1958368 BLAKE2B c12464d55dc318301e7b999de5057bc6efb306c2393942200e866d7a48c05a179a09991366bddbf10d4a181d9db36c1dbadb0e2ba50ea1021f012a47dce200e7 SHA512 40eb774b9869948812c56193c46548f5c372a1fbd3892b7e6ecd7865607e0edba81ba7e857b6571acb9abb67e066aed312d48a3d0ddd64c8f51f142eb45f8d8f diff --git a/dev-ruby/ruby-elf/metadata.xml b/dev-ruby/ruby-elf/metadata.xml new file mode 100644 index 000000000000..1a714dd9b315 --- /dev/null +++ b/dev-ruby/ruby-elf/metadata.xml @@ -0,0 +1,12 @@ +<?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">Flameeyes/ruby-elf</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild new file mode 100644 index 000000000000..246f1f2373ff --- /dev/null +++ b/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +GITHUB_URI="https://github.com/Flameeyes/${PN}" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="${GITHUB_URI}.git" +fi + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKGEM_GESPEC="${PN}.gemspec" + +inherit ruby-fakegem ${EGIT_REPO_URI:+git-2} + +if [[ -n ${EGIT_REPO_URI} ]]; then + SRC_URI="" +else + SRC_URI="${GITHUB_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Ruby library to access ELF files information" +HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" + +ruby_add_bdepend " + test? ( dev-ruby/test-unit:2 ) + dev-ruby/rake" + +# for the man pages +DEPEND+=" + dev-libs/libxslt + app-text/docbook-xsl-ns-stylesheets" + +RDEPEND+=" + virtual/man" + +if [[ ${PV} == "9999" ]]; then + all_ruby_unpack() { + git_src_unpack + } +fi + +all_ruby_compile() { + # build the man pages + rake manpages || die "rake manpages failed" +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/test_*.rb +} + +all_ruby_install() { + all_fakegem_install + + doman manpages/*.1 + dodoc DONATING README.md +} diff --git a/dev-ruby/ruby-feedparser/Manifest b/dev-ruby/ruby-feedparser/Manifest new file mode 100644 index 000000000000..9b5327f2af9e --- /dev/null +++ b/dev-ruby/ruby-feedparser/Manifest @@ -0,0 +1 @@ +DIST ruby-feedparser-0.9.4.tar.gz 2705393 BLAKE2B 22d95f817d7cd80c33da804e391dce877eb3947dc249eff82884e0ba747aae9d6949418311a7596f6639470e32ce81e1bcc180737e25ab1bbc910bbfeaabdcca SHA512 0fbecb83837996c1a9483d70275cf869a62dcb53bb42d3fc8d1c7992e37c7d2c8b3194a9d0372566c4907f8ffd893c1f6ee1b2e55fa2417c5f34b71496bfad9d diff --git a/dev-ruby/ruby-feedparser/metadata.xml b/dev-ruby/ruby-feedparser/metadata.xml new file mode 100644 index 000000000000..b971afa5826a --- /dev/null +++ b/dev-ruby/ruby-feedparser/metadata.xml @@ -0,0 +1,12 @@ +<?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">feed2imap/ruby-feedparser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.4.ebuild b/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.4.ebuild new file mode 100644 index 000000000000..2d3990eedd08 --- /dev/null +++ b/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +GITHUB_USER="feed2imap" + +DESCRIPTION="Ruby library to parse ATOM/RSS feeds" +HOMEPAGE="https://github.com/feed2imap/ruby-feedparser" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend "dev-ruby/magic" + +ruby_add_bdepend "dev-ruby/magic + test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + # Extract gemspec source from Rakefile + sed -n -e '/Gem::Specification/,/end$/p' Rakefile > ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e 's/PKG_NAME/"'${PN}'"/' \ + -e 's/PKG_VERSION/"'${PV}'"/' \ + -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/PKG_VERSION/ s:ruby:'${RUBY}':' Rakefile || die +} diff --git a/dev-ruby/ruby-filemagic/Manifest b/dev-ruby/ruby-filemagic/Manifest new file mode 100644 index 000000000000..0db39a866a4d --- /dev/null +++ b/dev-ruby/ruby-filemagic/Manifest @@ -0,0 +1 @@ +DIST ruby-filemagic-0.7.2.gem 19456 BLAKE2B 5008fb27a5b6bbd93522c72381b1c74788e544e6120f3c44f4a594b360ee783d4e92e73ef584a8e56c1776a5e5e824d6fa603df135b6e1779fa460c19c3bb4a7 SHA512 b68324dfb0cd2e55cd200696fabe87c0aa68a11922789ae40abc999db7d200810cffa2c414c07bc96e2fee54aab775f01752f951b3a3273289594201ca547494 diff --git a/dev-ruby/ruby-filemagic/metadata.xml b/dev-ruby/ruby-filemagic/metadata.xml new file mode 100644 index 000000000000..fe12897854eb --- /dev/null +++ b/dev-ruby/ruby-filemagic/metadata.xml @@ -0,0 +1,12 @@ +<?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">blackwinter/ruby-filemagic</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.2.ebuild b/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.2.ebuild new file mode 100644 index 000000000000..3423c96dd0e3 --- /dev/null +++ b/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README TODO" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby binding to libmagic" +HOMEPAGE="https://github.com/blackwinter/ruby-filemagic" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +DEPEND="${DEPEND} sys-apps/file test? ( >=sys-apps/file-5.30 )" +RDEPEND="${RDEPEND} sys-apps/file" + +all_ruby_prepare() { + # Fix up tests for newer sys-apps/file definitions + sed -i -e '/test_abbrev_mime_type/,/^ end/ s/ms-office/ms-excel/' test/filemagic_test.rb || die + + # Fix up broken test symlink and regenerate compiled magic file + pushd test || die + rm -f pylink && ln -s pyfile pylink || die + file -C -m perl || die + popd || die +} + +each_ruby_configure() { + ${RUBY} -Cext/filemagic extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/filemagic + mv ext/filemagic/ruby_filemagic$(get_modname) lib/filemagic/ || die +} + +each_ruby_test() { + find test + ${RUBY} -Ctest -I../lib filemagic_test.rb || die +} diff --git a/dev-ruby/ruby-gdk3/Manifest b/dev-ruby/ruby-gdk3/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gdk3/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gdk3/metadata.xml b/dev-ruby/ruby-gdk3/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gdk3/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.2.ebuild b/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.2.ebuild new file mode 100644 index 000000000000..eeea1483eeb7 --- /dev/null +++ b/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby GDK-3.x bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:3" +RDEPEND+=" x11-libs/gtk+:3" + +ruby_add_rdepend " + ~dev-ruby/ruby-gdkpixbuf2-${PV} + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-pango-${PV} +" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + test/gdk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/Makefile/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.6.ebuild b/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.6.ebuild new file mode 100644 index 000000000000..576ca4286ace --- /dev/null +++ b/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby GDK-3.x bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:3" +RDEPEND+=" x11-libs/gtk+:3" + +ruby_add_rdepend " + ~dev-ruby/ruby-gdkpixbuf2-${PV} + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-pango-${PV} +" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + test/gdk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/Makefile/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.7.ebuild b/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.7.ebuild new file mode 100644 index 000000000000..576ca4286ace --- /dev/null +++ b/dev-ruby/ruby-gdk3/ruby-gdk3-3.3.7.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby GDK-3.x bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:3" +RDEPEND+=" x11-libs/gtk+:3" + +ruby_add_rdepend " + ~dev-ruby/ruby-gdkpixbuf2-${PV} + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-pango-${PV} +" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + test/gdk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/Makefile/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gdkpixbuf2/Manifest b/dev-ruby/ruby-gdkpixbuf2/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gdkpixbuf2/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gdkpixbuf2/metadata.xml b/dev-ruby/ruby-gdkpixbuf2/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gdkpixbuf2/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.2.ebuild b/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.2.ebuild new file mode 100644 index 000000000000..1419115f25e6 --- /dev/null +++ b/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="gdk_pixbuf2" + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME} + +DESCRIPTION="Ruby GdkPixbuf2 bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" x11-libs/gtk+:2" + +ruby_add_rdepend " + ~dev-ruby/ruby-gio2-${PV} +" + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.6.ebuild b/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.6.ebuild new file mode 100644 index 000000000000..bdf7742116e2 --- /dev/null +++ b/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="gdk_pixbuf2" + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME} + +DESCRIPTION="Ruby GdkPixbuf2 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" x11-libs/gtk+:2" + +ruby_add_rdepend " + ~dev-ruby/ruby-gio2-${PV} +" + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.7.ebuild b/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.7.ebuild new file mode 100644 index 000000000000..bdf7742116e2 --- /dev/null +++ b/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-3.3.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="gdk_pixbuf2" + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME} + +DESCRIPTION="Ruby GdkPixbuf2 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" x11-libs/gtk+:2" + +ruby_add_rdepend " + ~dev-ruby/ruby-gio2-${PV} +" + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gettext/Manifest b/dev-ruby/ruby-gettext/Manifest new file mode 100644 index 000000000000..f5b0c05e68df --- /dev/null +++ b/dev-ruby/ruby-gettext/Manifest @@ -0,0 +1,5 @@ +DIST gettext-3.2.9.gem 285696 BLAKE2B a7bc40b2102f5b937d5f0e407dbaa23ead1da59eb9284c10a249c59548d0e2ad5fcd56b8855439893d2d31b57e0109bb6a9d5cc2d24075f5e360dc16b9291137 SHA512 21496c38cfc16a2b280f30bb94ff4560007eaa7f02c2341cb26aca2969a663c0863cdb650b4eadfd262d8585111dfb572e2ebc66a7a879045de50bf9da80a501 +DIST gettext-3.3.2.gem 289280 BLAKE2B f18af8ca573c7a503983c741cb719896208f062b83382533fe818c0ca2e6b3eb5c4491150dd43ba5701ec0fa9a52c1b7686b938d05da6e4a35c5823fe447b4f9 SHA512 92ec140795fe4477754349375413061f20933daddf71f024b989b85fa05a773aa63583c11d982f7c65ab6e842ed03d2083834883ddd45a76f84655ae814969c2 +DIST gettext-3.3.3.gem 290304 BLAKE2B 17a9020660c0f9793d86428cf5738485e9b76d88d23a41aef053ef2c7034d6b98f1c880a61a37c6b04dfce37dc82672bbd6659312da5279e6e0c85212206559a SHA512 f14cd5166d16c592cec6e9b3ad5b2e5e27889cee0380b70abc3a6a69bcd8bcd1f742c88021e58ba843655d22e731decaeb1151e359fb49f613e71721e675cbf8 +DIST gettext-3.3.4.gem 290304 BLAKE2B 70b24b598dcbbe85ab9d1cf6c6e59e911b67f7ceccc3482b16096abb0bec2ac94197febf36b839ff1d6917fe44df69c570ae15a2d44a3bc2dc070ed9ca864382 SHA512 79b731968f94287597b3bd6219c1f5cf3c37206d3a024f5998cde9a61ef60334557d1bb51f1e439de64eb8cc6bc60511577763a71e6f3b3c65cc7c52ac221aa4 +DIST gettext-3.3.5.gem 290816 BLAKE2B 74434c3feaedc16a17ee530669dacbc4b32ae0be95eb903ce89131619e862e1c823351653ce3c5f95f0882c183e3b2fe87b423a245aa2d8803688ce7e6afb5f7 SHA512 6777b96dd73b3d454c0a14a40d2ac0eac52894fa58067ba9ec976627c96efc98b294b1498bed965d0426bcaa1b371dcde5745101e05e21e408397b4e8d31894b diff --git a/dev-ruby/ruby-gettext/metadata.xml b/dev-ruby/ruby-gettext/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ruby-gettext/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.2.9.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.2.9.ebuild new file mode 100644 index 000000000000..efc05b841e4f --- /dev/null +++ b/dev-ruby/ruby-gettext/ruby-gettext-3.2.9.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="${PN/ruby-/}" +RUBY_FAKEGEM_VERSION="${PV%_*}" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="locale po" + +inherit ruby-fakegem + +DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package" +HOMEPAGE="https://ruby-gettext.github.io/" + +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +IUSE="doc test" +SLOT="0" +LICENSE="|| ( Ruby LGPL-3+ )" + +ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + dev-ruby/racc" +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-rr )" + +RDEPEND+=" sys-devel/gettext" +DEPEND+=" sys-devel/gettext" + +all_ruby_prepare() { + # Fix broken racc invocation + sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die + + # Avoid bundler dependency + sed -i -e '/bundler/,/helper.install/ s:^:#:' \ + -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die + + # Avoid dependency on developer-specific tools. + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die + + # Avoid tests failing due to a missing test file. + #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die + + # Avoid SAFE mode test that fails on ruby 2.6 + sed -i -e '/test_safe_mode/aomit' test/test_gettext.rb || die +} + +each_ruby_test() { + # Upstream tries to daisy-chain rake calls but they fail badly + # with our setup, so run it manually. + ${RUBY} test/run-test.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r samples +} diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.3.2.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.3.2.ebuild new file mode 100644 index 000000000000..f1094d10f26b --- /dev/null +++ b/dev-ruby/ruby-gettext/ruby-gettext-3.3.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_NAME="${PN/ruby-/}" +RUBY_FAKEGEM_VERSION="${PV%_*}" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="locale po" + +inherit ruby-fakegem + +DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package" +HOMEPAGE="https://ruby-gettext.github.io/" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" +SLOT="0" +LICENSE="|| ( Ruby LGPL-3+ )" + +ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + dev-ruby/racc" +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-rr )" + +RDEPEND+=" sys-devel/gettext" +DEPEND+=" sys-devel/gettext" + +all_ruby_prepare() { + # Fix broken racc invocation + sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die + + # Avoid bundler dependency + sed -i -e '/bundler/,/helper.install/ s:^:#:' \ + -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die + + # Avoid dependency on developer-specific tools. + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die + + # Avoid tests failing due to a missing test file. + #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die + + # Avoid SAFE mode test that fails on ruby 2.6 + sed -i -e '/test_safe_mode/aomit' test/test_gettext.rb || die +} + +each_ruby_test() { + # Upstream tries to daisy-chain rake calls but they fail badly + # with our setup, so run it manually. + ${RUBY} test/run-test.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.3.3.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.3.3.ebuild new file mode 100644 index 000000000000..f1094d10f26b --- /dev/null +++ b/dev-ruby/ruby-gettext/ruby-gettext-3.3.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_NAME="${PN/ruby-/}" +RUBY_FAKEGEM_VERSION="${PV%_*}" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="locale po" + +inherit ruby-fakegem + +DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package" +HOMEPAGE="https://ruby-gettext.github.io/" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" +SLOT="0" +LICENSE="|| ( Ruby LGPL-3+ )" + +ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + dev-ruby/racc" +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-rr )" + +RDEPEND+=" sys-devel/gettext" +DEPEND+=" sys-devel/gettext" + +all_ruby_prepare() { + # Fix broken racc invocation + sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die + + # Avoid bundler dependency + sed -i -e '/bundler/,/helper.install/ s:^:#:' \ + -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die + + # Avoid dependency on developer-specific tools. + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die + + # Avoid tests failing due to a missing test file. + #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die + + # Avoid SAFE mode test that fails on ruby 2.6 + sed -i -e '/test_safe_mode/aomit' test/test_gettext.rb || die +} + +each_ruby_test() { + # Upstream tries to daisy-chain rake calls but they fail badly + # with our setup, so run it manually. + ${RUBY} test/run-test.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.3.4.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.3.4.ebuild new file mode 100644 index 000000000000..f1094d10f26b --- /dev/null +++ b/dev-ruby/ruby-gettext/ruby-gettext-3.3.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_NAME="${PN/ruby-/}" +RUBY_FAKEGEM_VERSION="${PV%_*}" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="locale po" + +inherit ruby-fakegem + +DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package" +HOMEPAGE="https://ruby-gettext.github.io/" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" +SLOT="0" +LICENSE="|| ( Ruby LGPL-3+ )" + +ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + dev-ruby/racc" +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-rr )" + +RDEPEND+=" sys-devel/gettext" +DEPEND+=" sys-devel/gettext" + +all_ruby_prepare() { + # Fix broken racc invocation + sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die + + # Avoid bundler dependency + sed -i -e '/bundler/,/helper.install/ s:^:#:' \ + -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die + + # Avoid dependency on developer-specific tools. + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die + + # Avoid tests failing due to a missing test file. + #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die + + # Avoid SAFE mode test that fails on ruby 2.6 + sed -i -e '/test_safe_mode/aomit' test/test_gettext.rb || die +} + +each_ruby_test() { + # Upstream tries to daisy-chain rake calls but they fail badly + # with our setup, so run it manually. + ${RUBY} test/run-test.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.3.5.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.3.5.ebuild new file mode 100644 index 000000000000..7ce7349633f1 --- /dev/null +++ b/dev-ruby/ruby-gettext/ruby-gettext-3.3.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_NAME="${PN/ruby-/}" +RUBY_FAKEGEM_VERSION="${PV%_*}" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="locale po" + +inherit ruby-fakegem + +DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package" +HOMEPAGE="https://ruby-gettext.github.io/" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" +SLOT="0" +LICENSE="|| ( Ruby LGPL-3+ )" + +ruby_add_rdepend ">=dev-ruby/locale-2.0.5 >=dev-ruby/text-1.3.0" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + dev-ruby/racc" +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-rr )" + +RDEPEND+=" sys-devel/gettext" +DEPEND+=" sys-devel/gettext" + +all_ruby_prepare() { + # Fix broken racc invocation + sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die + + # Avoid bundler dependency + sed -i -e '/bundler/,/helper.install/ s:^:#:' \ + -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die + + # Avoid dependency on developer-specific tools. + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die + + # Avoid tests failing due to a missing test file. + #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die + + # Avoid SAFE mode test that fails on ruby 2.6 + sed -i -e '/test_safe_mode/aomit' test/test_gettext.rb || die +} + +each_ruby_test() { + # Upstream tries to daisy-chain rake calls but they fail badly + # with our setup, so run it manually. + ${RUBY} test/run-test.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/ruby-gio2/Manifest b/dev-ruby/ruby-gio2/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gio2/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gio2/metadata.xml b/dev-ruby/ruby-gio2/metadata.xml new file mode 100644 index 000000000000..1f14d7bc5265 --- /dev/null +++ b/dev-ruby/ruby-gio2/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gio2/ruby-gio2-3.3.2.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-3.3.2.ebuild new file mode 100644 index 000000000000..a43f1e28a9ae --- /dev/null +++ b/dev-ruby/ruby-gio2/ruby-gio2-3.3.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby binding of GooCanvas" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + test/gio2-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/which make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Make sure Makefile is generated fresh for each target + rm -f ext/gio2/Makefile Makefile Makefile.lib || die +} + +each_ruby_test() { + XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-gio2/ruby-gio2-3.3.6.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-3.3.6.ebuild new file mode 100644 index 000000000000..341d6ab3eb43 --- /dev/null +++ b/dev-ruby/ruby-gio2/ruby-gio2-3.3.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby binding of GooCanvas" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + test/gio2-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/which make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Make sure Makefile is generated fresh for each target + rm -f ext/gio2/Makefile Makefile Makefile.lib || die +} + +each_ruby_test() { + XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-gio2/ruby-gio2-3.3.7.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-3.3.7.ebuild new file mode 100644 index 000000000000..8bb8278c24ca --- /dev/null +++ b/dev-ruby/ruby-gio2/ruby-gio2-3.3.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby binding of GooCanvas" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + test/gio2-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/which make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Make sure Makefile is generated fresh for each target + rm -f ext/gio2/Makefile Makefile Makefile.lib || die +} + +each_ruby_test() { + XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-glib2/Manifest b/dev-ruby/ruby-glib2/Manifest new file mode 100644 index 000000000000..1b65a51f45db --- /dev/null +++ b/dev-ruby/ruby-glib2/Manifest @@ -0,0 +1 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c diff --git a/dev-ruby/ruby-glib2/files/support-glib-2.26.0.patch b/dev-ruby/ruby-glib2/files/support-glib-2.26.0.patch new file mode 100644 index 000000000000..acb9ea657011 --- /dev/null +++ b/dev-ruby/ruby-glib2/files/support-glib-2.26.0.patch @@ -0,0 +1,32 @@ +From f34f99f0c6a752084f90e52c382e329d02ad22fd Mon Sep 17 00:00:00 2001 +From: Mamoru TASAKA <mtasaka@fedoraproject.org> +Date: Fri, 6 Sep 2019 12:19:21 +0900 +Subject: [PATCH] glib2: fix parser in MkEnums for resent GLib + +GLib 2.62.0 introduced some deprecation warnings for macros in gtestutils.h with the commit https://gitlab.gnome.org/GNOME/glib/commit/40ff4759774516b7dff3b07303a98fc1626b2d0e . +This patch makes GLib::MkEnums correctly parse header files in GLib 2.62.0 again. +From c6fba15e10d379127441902b6d80f923797eb98b Mon Sep 17 00:00:00 2001 +From: Kouhei Sutou <kou@clear-code.com> +Date: Sun, 8 Sep 2019 11:11:40 +0900 +Subject: [PATCH] Don't capture enum typedef attribute + +--- + glib2/lib/glib-mkenums.rb | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/glib2/lib/glib-mkenums.rb b/glib2/lib/glib-mkenums.rb +index 37545ece8..fc9f2e93e 100644 +--- a/lib/glib-mkenums.rb ++++ b/lib/glib-mkenums.rb +@@ -112,7 +112,10 @@ def self.parse(data, g_type_prefix, options={}) + data.force_encoding("utf-8") if data.respond_to?(:force_encoding) + data.scan(/^\s*typedef\s+enum\s*(\/\*<\s*flags\s*>\*\/)?\s* + \{?\s*(.*?) +- \}\s*(\w+);/mx) do |force_flags, constants, name| ++ \}\s*(\w+) ++ # GLIB_DEPRECATED_TYPE_IN_2_38_FOR(GTestSubprocessFlags) ++ (?:\s+[\w()\s]+)? ++ ;/mx) do |force_flags, constants, name| + enum_options = {} + enum_options[:force_flags] = !force_flags.nil? + force_flags_patterns = [(options[:force_flags] || [])].flatten diff --git a/dev-ruby/ruby-glib2/metadata.xml b/dev-ruby/ruby-glib2/metadata.xml new file mode 100644 index 000000000000..79224fb562f5 --- /dev/null +++ b/dev-ruby/ruby-glib2/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>calculatelinux-overlay</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-glib2/ruby-glib2-3.3.2-r1.ebuild b/dev-ruby/ruby-glib2/ruby-glib2-3.3.2-r1.ebuild new file mode 100644 index 000000000000..ab3e829060e7 --- /dev/null +++ b/dev-ruby/ruby-glib2/ruby-glib2-3.3.2-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Glib2 bindings" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="" +RDEPEND+=" >=dev-libs/glib-2" +DEPEND+=" >=dev-libs/glib-2" + +PATCHES=( ${FILESDIR}/support-glib-2.26.0.patch ) + +ruby_add_bdepend "dev-ruby/pkg-config + test? ( >=dev-ruby/test-unit-2 )" + +all_ruby_prepare() { + # Skip spawn tests since our sandbox also provides items in the environment and this makes the test fragile. + rm -f test/test-spawn.rb || die + + # Remove pregenerated Makefile since it will otherwise be shared by all targets. + rm -f Makefile Makefile.lib ext/glib2/Makefile || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#:' lib/mkmf-gnome2.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-gnome2/metadata.xml b/dev-ruby/ruby-gnome2/metadata.xml new file mode 100644 index 000000000000..8b0662154314 --- /dev/null +++ b/dev-ruby/ruby-gnome2/metadata.xml @@ -0,0 +1,12 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.2.ebuild b/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.2.ebuild new file mode 100644 index 000000000000..38c2ff03a977 --- /dev/null +++ b/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng + +DESCRIPTION="Ruby Gnome2 bindings" +HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" +SRC_URI="" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-clutter-gstreamer-${PV} + >=dev-ruby/ruby-clutter-gdk-${PV} + >=dev-ruby/ruby-clutter-gtk-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-gdk3-${PV} + >=dev-ruby/ruby-gio2-${PV} + >=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-gstreamer-${PV} + >=dev-ruby/ruby-gtk2-${PV} + >=dev-ruby/ruby-gtk3-${PV} + >=dev-ruby/ruby-gtksourceview-${PV} + >=dev-ruby/ruby-gtksourceview3-${PV} + >=dev-ruby/ruby-pango-${PV} + >=dev-ruby/ruby-poppler-${PV} + >=dev-ruby/ruby-rsvg-${PV} + >=dev-ruby/ruby-vte-${PV} + >=dev-ruby/ruby-vte3-${PV} + >=dev-ruby/ruby-webkit2-gtk-${PV}" diff --git a/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.6.ebuild b/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.6.ebuild new file mode 100644 index 000000000000..e7a6d40efe5a --- /dev/null +++ b/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng + +DESCRIPTION="Ruby Gnome2 bindings" +HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" +SRC_URI="" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-clutter-gstreamer-${PV} + >=dev-ruby/ruby-clutter-gdk-${PV} + >=dev-ruby/ruby-clutter-gtk-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-gdk3-${PV} + >=dev-ruby/ruby-gio2-${PV} + >=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-gstreamer-${PV} + >=dev-ruby/ruby-gtk2-${PV} + >=dev-ruby/ruby-gtk3-${PV} + >=dev-ruby/ruby-gtksourceview-${PV} + >=dev-ruby/ruby-gtksourceview3-${PV} + >=dev-ruby/ruby-pango-${PV} + >=dev-ruby/ruby-poppler-${PV} + >=dev-ruby/ruby-rsvg-${PV} + >=dev-ruby/ruby-vte-${PV} + >=dev-ruby/ruby-vte3-${PV} + >=dev-ruby/ruby-webkit2-gtk-${PV}" diff --git a/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.7.ebuild b/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.7.ebuild new file mode 100644 index 000000000000..e7a6d40efe5a --- /dev/null +++ b/dev-ruby/ruby-gnome2/ruby-gnome2-3.3.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng + +DESCRIPTION="Ruby Gnome2 bindings" +HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" +SRC_URI="" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-clutter-${PV} + >=dev-ruby/ruby-clutter-gstreamer-${PV} + >=dev-ruby/ruby-clutter-gdk-${PV} + >=dev-ruby/ruby-clutter-gtk-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-gdk3-${PV} + >=dev-ruby/ruby-gio2-${PV} + >=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-gstreamer-${PV} + >=dev-ruby/ruby-gtk2-${PV} + >=dev-ruby/ruby-gtk3-${PV} + >=dev-ruby/ruby-gtksourceview-${PV} + >=dev-ruby/ruby-gtksourceview3-${PV} + >=dev-ruby/ruby-pango-${PV} + >=dev-ruby/ruby-poppler-${PV} + >=dev-ruby/ruby-rsvg-${PV} + >=dev-ruby/ruby-vte-${PV} + >=dev-ruby/ruby-vte3-${PV} + >=dev-ruby/ruby-webkit2-gtk-${PV}" diff --git a/dev-ruby/ruby-gobject-introspection/Manifest b/dev-ruby/ruby-gobject-introspection/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gobject-introspection/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gobject-introspection/metadata.xml b/dev-ruby/ruby-gobject-introspection/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gobject-introspection/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.2.ebuild b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.2.ebuild new file mode 100644 index 000000000000..f987c9c9f381 --- /dev/null +++ b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/gobject-introspection + +DESCRIPTION="Ruby GObjectIntrospection bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" dev-libs/gobject-introspection" +RDEPEND+=" dev-libs/gobject-introspection" + +ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Remove pregenerated Makefile since it will otherwise be shared by all targets. + rm -f Makefile Makefile.lib ext/gobject-introspection/Makefile || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/gobject-introspection-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.6.ebuild b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.6.ebuild new file mode 100644 index 000000000000..2cb9544a2609 --- /dev/null +++ b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/gobject-introspection + +DESCRIPTION="Ruby GObjectIntrospection bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" dev-libs/gobject-introspection" +RDEPEND+=" dev-libs/gobject-introspection" + +ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Remove pregenerated Makefile since it will otherwise be shared by all targets. + rm -f Makefile Makefile.lib ext/gobject-introspection/Makefile || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/gobject-introspection-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.7.ebuild b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.7.ebuild new file mode 100644 index 000000000000..2d2bad37ef78 --- /dev/null +++ b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.3.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/gobject-introspection + +DESCRIPTION="Ruby GObjectIntrospection bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" dev-libs/gobject-introspection" +RDEPEND+=" dev-libs/gobject-introspection" + +ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Remove pregenerated Makefile since it will otherwise be shared by all targets. + rm -f Makefile Makefile.lib ext/gobject-introspection/Makefile || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/gobject-introspection-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-gstreamer/Manifest b/dev-ruby/ruby-gstreamer/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gstreamer/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gstreamer/metadata.xml b/dev-ruby/ruby-gstreamer/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gstreamer/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.2.ebuild b/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.2.ebuild new file mode 100644 index 000000000000..89ff678c7db1 --- /dev/null +++ b/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby GStreamer bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="${RDEPEND} + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0" +DEPEND="${DEPEND} + dev-libs/gobject-introspection + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0" + +ruby_add_rdepend " + ~dev-ruby/ruby-glib2-${PV} + ~dev-ruby/ruby-gobject-introspection-${PV} +" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.6.ebuild b/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.6.ebuild new file mode 100644 index 000000000000..33b2feb69f99 --- /dev/null +++ b/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby GStreamer bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="${RDEPEND} + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0" +DEPEND="${DEPEND} + dev-libs/gobject-introspection + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0" + +ruby_add_rdepend " + ~dev-ruby/ruby-glib2-${PV} + ~dev-ruby/ruby-gobject-introspection-${PV} +" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.7.ebuild b/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.7.ebuild new file mode 100644 index 000000000000..33b2feb69f99 --- /dev/null +++ b/dev-ruby/ruby-gstreamer/ruby-gstreamer-3.3.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby GStreamer bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="${RDEPEND} + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0" +DEPEND="${DEPEND} + dev-libs/gobject-introspection + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0" + +ruby_add_rdepend " + ~dev-ruby/ruby-glib2-${PV} + ~dev-ruby/ruby-gobject-introspection-${PV} +" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtk2/Manifest b/dev-ruby/ruby-gtk2/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gtk2/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gtk2/metadata.xml b/dev-ruby/ruby-gtk2/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gtk2/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.2.ebuild b/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.2.ebuild new file mode 100644 index 000000000000..040b058af766 --- /dev/null +++ b/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk2 bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:2 + x11-themes/hicolor-icon-theme" +RDEPEND+=" x11-libs/gtk+:2" + +ruby_add_rdepend " + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-pango-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die + + # Use standard icon + sed -i -e 's/"find"/"call-start"/' test/test_gtk_icon_theme.rb || die + + # Fix search path for gtk-2.0 on Gentoo + sed -i -e "/include_paths =/ s:]$:,'/usr/include/gtk-2.0']:" ext/gtk2/extconf.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.6.ebuild b/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.6.ebuild new file mode 100644 index 000000000000..0e3c06c28808 --- /dev/null +++ b/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk2 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:2 + x11-themes/hicolor-icon-theme" +RDEPEND+=" x11-libs/gtk+:2" + +ruby_add_rdepend " + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-pango-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die + + # Use standard icon + sed -i -e 's/"find"/"call-start"/' test/test_gtk_icon_theme.rb || die + + # Fix search path for gtk-2.0 on Gentoo + sed -i -e "/include_paths =/ s:]$:,'/usr/include/gtk-2.0']:" ext/gtk2/extconf.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.7.ebuild b/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.7.ebuild new file mode 100644 index 000000000000..0e3c06c28808 --- /dev/null +++ b/dev-ruby/ruby-gtk2/ruby-gtk2-3.3.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk2 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:2 + x11-themes/hicolor-icon-theme" +RDEPEND+=" x11-libs/gtk+:2" + +ruby_add_rdepend " + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-pango-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die + + # Use standard icon + sed -i -e 's/"find"/"call-start"/' test/test_gtk_icon_theme.rb || die + + # Fix search path for gtk-2.0 on Gentoo + sed -i -e "/include_paths =/ s:]$:,'/usr/include/gtk-2.0']:" ext/gtk2/extconf.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtk3/Manifest b/dev-ruby/ruby-gtk3/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gtk3/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gtk3/metadata.xml b/dev-ruby/ruby-gtk3/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gtk3/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.2.ebuild b/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.2.ebuild new file mode 100644 index 000000000000..c3d22ef7d885 --- /dev/null +++ b/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk3 bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:3" +RDEPEND+=" x11-libs/gtk+:3" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-pango-${PV}" + +ruby_add_rdepend " + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-gdk3-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-gio2-${PV} + >=dev-ruby/ruby-pango-${PV} +" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/which make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Use standard icon + sed -i -e 's/"find"/"call-start"/' test/test-gtk-icon-theme.rb || die + sed -i -e 's/"search"/"system-search"/' test/test-gtk-icon-theme.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.6.ebuild b/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.6.ebuild new file mode 100644 index 000000000000..b391c141ba4a --- /dev/null +++ b/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk3 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:3" +RDEPEND+=" x11-libs/gtk+:3" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-pango-${PV}" + +ruby_add_rdepend " + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-gdk3-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-gio2-${PV} + >=dev-ruby/ruby-pango-${PV} +" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/which make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Use standard icon + sed -i -e 's/"find"/"call-start"/' test/test-gtk-icon-theme.rb || die + sed -i -e 's/"search"/"system-search"/' test/test-gtk-icon-theme.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.7.ebuild b/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.7.ebuild new file mode 100644 index 000000000000..b391c141ba4a --- /dev/null +++ b/dev-ruby/ruby-gtk3/ruby-gtk3-3.3.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk3 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtk+:3" +RDEPEND+=" x11-libs/gtk+:3" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-pango-${PV}" + +ruby_add_rdepend " + >=dev-ruby/ruby-atk-${PV} + >=dev-ruby/ruby-gdk3-${PV} + >=dev-ruby/ruby-gdkpixbuf2-${PV} + >=dev-ruby/ruby-gio2-${PV} + >=dev-ruby/ruby-pango-${PV} +" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/which make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Use standard icon + sed -i -e 's/"find"/"call-start"/' test/test-gtk-icon-theme.rb || die + sed -i -e 's/"search"/"system-search"/' test/test-gtk-icon-theme.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtksourceview/Manifest b/dev-ruby/ruby-gtksourceview/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gtksourceview/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gtksourceview/metadata.xml b/dev-ruby/ruby-gtksourceview/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gtksourceview/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.2.ebuild b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.2.ebuild new file mode 100644 index 000000000000..c49fad2e3eb3 --- /dev/null +++ b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="gtksourceview2" + +inherit virtualx ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/gtksourceview2 + +DESCRIPTION="Ruby bindings for gtksourceview" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" x11-libs/gtksourceview:2.0" +DEPEND+=" x11-libs/gtksourceview:2.0" + +ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.6.ebuild b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.6.ebuild new file mode 100644 index 000000000000..d973a464c104 --- /dev/null +++ b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="gtksourceview2" + +inherit virtualx ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/gtksourceview2 + +DESCRIPTION="Ruby bindings for gtksourceview" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" x11-libs/gtksourceview:2.0" +DEPEND+=" x11-libs/gtksourceview:2.0" + +ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.7.ebuild b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.7.ebuild new file mode 100644 index 000000000000..d973a464c104 --- /dev/null +++ b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME="gtksourceview2" + +inherit virtualx ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/gtksourceview2 + +DESCRIPTION="Ruby bindings for gtksourceview" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" x11-libs/gtksourceview:2.0" +DEPEND+=" x11-libs/gtksourceview:2.0" + +ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} diff --git a/dev-ruby/ruby-gtksourceview3/Manifest b/dev-ruby/ruby-gtksourceview3/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-gtksourceview3/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-gtksourceview3/metadata.xml b/dev-ruby/ruby-gtksourceview3/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-gtksourceview3/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild new file mode 100644 index 000000000000..b92164d0691c --- /dev/null +++ b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk3 bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtksourceview:3.0" +RDEPEND+=" x11-libs/gtksourceview:3.0" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.6.ebuild b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.6.ebuild new file mode 100644 index 000000000000..d7cec26403d9 --- /dev/null +++ b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk3 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtksourceview:3.0" +RDEPEND+=" x11-libs/gtksourceview:3.0" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.7.ebuild b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.7.ebuild new file mode 100644 index 000000000000..d7cec26403d9 --- /dev/null +++ b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby Gtk3 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/gtksourceview:3.0" +RDEPEND+=" x11-libs/gtksourceview:3.0" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-hmac/Manifest b/dev-ruby/ruby-hmac/Manifest new file mode 100644 index 000000000000..93d4630b9f29 --- /dev/null +++ b/dev-ruby/ruby-hmac/Manifest @@ -0,0 +1 @@ +DIST ruby-hmac-0.4.0.gem 7168 BLAKE2B 659cca6e63434b8211069281e2d50965e01cc864c5b3e11fff6698398d3888da03cc6b21471f6d1dd4e8f5931c8f435fa014285e70dd0df068312e98bbaf464a SHA512 a35cdf8a9bd16f47cd64e304839b83284a0e0ddd6b7963e1b42926ce464a1c5131cadd01ec787ade379aa4ee74a66b14b5179cc9caa93b7d2af89fd982234d53 diff --git a/dev-ruby/ruby-hmac/metadata.xml b/dev-ruby/ruby-hmac/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/ruby-hmac/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-hmac/ruby-hmac-0.4.0-r1.ebuild b/dev-ruby/ruby-hmac/ruby-hmac-0.4.0-r1.ebuild new file mode 100644 index 000000000000..91aa144cd409 --- /dev/null +++ b/dev-ruby/ruby-hmac/ruby-hmac-0.4.0-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="A common interface to HMAC functionality as documented in RFC2104" +HOMEPAGE="http://ruby-hmac.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/hoe-2.5.0 )" diff --git a/dev-ruby/ruby-ldap/Manifest b/dev-ruby/ruby-ldap/Manifest new file mode 100644 index 000000000000..b8adbc6011a3 --- /dev/null +++ b/dev-ruby/ruby-ldap/Manifest @@ -0,0 +1 @@ +DIST ruby-ldap-0.9.20.gem 67072 BLAKE2B 626a35ab764dacfb37c727d867e1d435222730a3e7ea745ee4e7ec051ce3a822cc5a1230b463bc12f4a2390db667ed3b61deceb9842c014f64cdf43a26d285f9 SHA512 4f4902e7eaf4fe0cd421d58c73ce4e625d61ee20ef02363d3cf5754c66237e0f378ac433b234c2b86d5f5284ae03b7ae6c46d3575c512487bc1a931d021c9517 diff --git a/dev-ruby/ruby-ldap/metadata.xml b/dev-ruby/ruby-ldap/metadata.xml new file mode 100644 index 000000000000..66de17cf83ca --- /dev/null +++ b/dev-ruby/ruby-ldap/metadata.xml @@ -0,0 +1,13 @@ +<?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="google-code">ruby-activeldap</remote-id> + <remote-id type="sourceforge">ruby-ldap</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-ldap/ruby-ldap-0.9.20.ebuild b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20.ebuild new file mode 100644 index 000000000000..fe8e2531154b --- /dev/null +++ b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit multilib ruby-fakegem + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="ChangeLog FAQ NOTES README TODO" + +DESCRIPTION="A Ruby interface to some LDAP libraries" +HOMEPAGE="https://github.com/bearded/ruby-ldap" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ppc ~ppc64 ~sparc x86 ~x86-macos" +IUSE="ssl" +DEPEND=">=net-nds/openldap-2 + dev-libs/cyrus-sasl + ssl? ( dev-libs/openssl:0 )" +RDEPEND="${DEPEND}" + +# Current test set is interactive due to certificate generation and requires +# running LDAP daemon +RESTRICT="test" + +each_ruby_configure() { + local myconf="--with-openldap2" + if ! use ssl ; then + myconf="${myconf} --without-libcrypto --without-libssl" + fi + ${RUBY} extconf.rb ${myconf} || die "extconf.rb failed" + sed -i -e 's:-Wl,--no-undefined::' \ + -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" Makefile || die +} + +each_ruby_compile() { + emake V=1 + cp ldap$(get_modname) lib/ || die +} diff --git a/dev-ruby/ruby-macho/Manifest b/dev-ruby/ruby-macho/Manifest new file mode 100644 index 000000000000..307a2efa2738 --- /dev/null +++ b/dev-ruby/ruby-macho/Manifest @@ -0,0 +1,2 @@ +DIST ruby-macho-2.1.0.tar.gz 65006 BLAKE2B 70c3ceb6f6ee7850fe0b775cc8be6664dd074e2a4a35d868230f39073f09c6a1c4394c7feded6067c3a7049c033655fc2b87f88d67278375606e0387775e2632 SHA512 1ec95304b91506a56d079dc0c24653fb1a4f0da041770320c7d9e256769df01a3784fe0d5e6e13081639d4347851e6a552cf36037bd4793cb12aea6f6cf3c194 +DIST ruby-macho-2.2.0.tar.gz 65473 BLAKE2B aedb5524926649d2f1612c135bee2cd18e4740412afd5d0e21616edae46fa4111208d8490fd83a0fe95ed13bd7c33a8a347162c34667f3f4d0bbdf86258bc4c7 SHA512 bfb13d0ec52f3fd2a359d0ae8de1437c272545f0ecf594c13ee491089ee79e5d70341e3557e840e82c0ca7d12dba27daff5d011903239d5caaee44f5d5189a97 diff --git a/dev-ruby/ruby-macho/metadata.xml b/dev-ruby/ruby-macho/metadata.xml new file mode 100644 index 000000000000..b3731e26bd0e --- /dev/null +++ b/dev-ruby/ruby-macho/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">Homebrew/ruby-macho</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild b/dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild new file mode 100644 index 000000000000..9083056aee1f --- /dev/null +++ b/dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A library for viewing and manipulating Mach-O files in Ruby" +HOMEPAGE="https://github.com/Homebrew/ruby-macho" +SRC_URI="https://github.com/Homebrew/ruby-macho/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid benchmarks with additional dependencies + rm -f test/bench.rb || die + sed -i -e '/test\/bench/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/ruby-macho/ruby-macho-2.2.0.ebuild b/dev-ruby/ruby-macho/ruby-macho-2.2.0.ebuild new file mode 100644 index 000000000000..9083056aee1f --- /dev/null +++ b/dev-ruby/ruby-macho/ruby-macho-2.2.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A library for viewing and manipulating Mach-O files in Ruby" +HOMEPAGE="https://github.com/Homebrew/ruby-macho" +SRC_URI="https://github.com/Homebrew/ruby-macho/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid benchmarks with additional dependencies + rm -f test/bench.rb || die + sed -i -e '/test\/bench/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/ruby-mp3info/Manifest b/dev-ruby/ruby-mp3info/Manifest new file mode 100644 index 000000000000..bdb3da54e1ab --- /dev/null +++ b/dev-ruby/ruby-mp3info/Manifest @@ -0,0 +1 @@ +DIST ruby-mp3info-0.8.10-git.tgz 89178 BLAKE2B fb9a046890851f3325a80bd47f6adc6c0bd7af74955b277a1a38d3727599e2fa0686b662419e1a8265a23aa7d4d102bbd26b97d5f2fa28e1d84df52484a46c0f SHA512 778d7cf80783385c2889a42eaf821a8544e1fa26d7bed743c52852c137ac5cff84483f638ffb931edd6df528c613ea5ac62ea2e4f0ee8ccc31d77846297e3291 diff --git a/dev-ruby/ruby-mp3info/metadata.xml b/dev-ruby/ruby-mp3info/metadata.xml new file mode 100644 index 000000000000..f5d5dab53637 --- /dev/null +++ b/dev-ruby/ruby-mp3info/metadata.xml @@ -0,0 +1,12 @@ +<?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">moumar/ruby-mp3info</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10.ebuild b/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10.ebuild new file mode 100644 index 000000000000..f35a1fc63cb9 --- /dev/null +++ b/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby library for access to mp3 files (internal infos and tags)" +HOMEPAGE="http://rubyforge.org/projects/ruby-mp3info/" +SRC_URI="https://github.com/moumar/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND+=" test? ( media-sound/id3v2 )" + +ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/test-unit:2 )" diff --git a/dev-ruby/ruby-net-ldap/Manifest b/dev-ruby/ruby-net-ldap/Manifest new file mode 100644 index 000000000000..018162de197d --- /dev/null +++ b/dev-ruby/ruby-net-ldap/Manifest @@ -0,0 +1 @@ +DIST net-ldap-0.16.2.gem 94208 BLAKE2B aebfc53b29c3bf81eecfc50a7422bd30b7dfe1894f8b7ceaeb82e346ae0e3ecbf463f3f15aab2200d42a391782a07cea8bbbf3f1c0d1cd0ae95959ef77bc8a14 SHA512 5d0e63473b5e1b1133463a49ed1c88fbf00fda06265a9a091fdb513f1d20fb45e5227c6384a9adc82ad71082ef07786cf63143060711b15386ceb7d3bd7b800b diff --git a/dev-ruby/ruby-net-ldap/metadata.xml b/dev-ruby/ruby-net-ldap/metadata.xml new file mode 100644 index 000000000000..c0f44b8c7458 --- /dev/null +++ b/dev-ruby/ruby-net-ldap/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-ldap/ruby-net-ldap</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.16.2.ebuild b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.16.2.ebuild new file mode 100644 index 000000000000..264834ae7694 --- /dev/null +++ b/dev-ruby/ruby-net-ldap/ruby-net-ldap-0.16.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test spec" +RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc History.rdoc README.rdoc" + +RUBY_FAKEGEM_NAME="net-ldap" + +inherit ruby-fakegem + +DESCRIPTION="Pure ruby LDAP client implementation" +HOMEPAGE="https://github.com/ruby-ldap/ruby-net-ldap" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/flexmock-1.3.0 )" + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby-oci8/Manifest b/dev-ruby/ruby-oci8/Manifest new file mode 100644 index 000000000000..1c1de543d541 --- /dev/null +++ b/dev-ruby/ruby-oci8/Manifest @@ -0,0 +1,2 @@ +DIST ruby-oci8-2.2.7.gem 337408 BLAKE2B e5f9d620e7df2b64643981614a3df877fd2bb9c5047e16d5aec6885259190faa437687c440c226a03bb70d4ca0a14155da4d64b442e9a532234b9cf047f7455c SHA512 03ecd7d0b94a8a8d164afec0f71c862c10d57d6d227b971384678a39e40bbf7dc14e7267c9133f3ec466fcaa5da46d78c6804d34187790cc8c23289ab9093fcd +DIST ruby-oci8-2.2.8.gem 338432 BLAKE2B e1db0c29ba71fff190b94c5946bc5025d4809ad92e154ddc5de2c2e1a4ccf856e81e33589ed17e303fe8708cd9f47e131e803bb534981da496f9f5820d895d0d SHA512 4184a7899384a6dd6ce9f152371015aeb1d6f09c37c48a368a1919168ddf0eb340bc8d576abdc1f804c2c776685ca9afc660104e35e2666d7c59cc16fd2c84f7 diff --git a/dev-ruby/ruby-oci8/metadata.xml b/dev-ruby/ruby-oci8/metadata.xml new file mode 100644 index 000000000000..240b741aa185 --- /dev/null +++ b/dev-ruby/ruby-oci8/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>troy@lump.net</email> + <name>Troy Bowman</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="rubygems">ruby-oci8</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-oci8/ruby-oci8-2.2.7.ebuild b/dev-ruby/ruby-oci8/ruby-oci8-2.2.7.ebuild new file mode 100644 index 000000000000..4e29e5166b57 --- /dev/null +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.2.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit multilib ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="NEWS README.md ChangeLog" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +DESCRIPTION="A Ruby library for Oracle OCI8" +HOMEPAGE="https://rubygems.org/gems/ruby-oci8/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="" + +RDEPEND+=" dev-db/oracle-instantclient-basic" +DEPEND+=" dev-db/oracle-instantclient-basic" + +EXT_DIR="ext/oci8" + +each_ruby_configure() { + # configure the native libraries + ${RUBY} -C${EXT_DIR} extconf.rb --prefix="${D}/usr" || die "configure failed" +} + +each_ruby_compile() { + # compile the native libraries + emake -C ${EXT_DIR} V=1 +} + +each_ruby_install() { + # install the native libraries + emake -C ${EXT_DIR} install DESTDIR="${D}" + # install the gem files + each_fakegem_install +} diff --git a/dev-ruby/ruby-oci8/ruby-oci8-2.2.8.ebuild b/dev-ruby/ruby-oci8/ruby-oci8-2.2.8.ebuild new file mode 100644 index 000000000000..0eb354ca1b47 --- /dev/null +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.2.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit multilib ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="NEWS README.md ChangeLog" + +DESCRIPTION="A Ruby library for Oracle OCI8" +HOMEPAGE="https://rubygems.org/gems/ruby-oci8/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" dev-db/oracle-instantclient-basic" +DEPEND+=" dev-db/oracle-instantclient-basic" + +EXT_DIR="ext/oci8" + +each_ruby_configure() { + # configure the native libraries + ${RUBY} -C${EXT_DIR} extconf.rb --prefix="${D}/usr" || die "configure failed" +} + +each_ruby_compile() { + # compile the native libraries + emake -C ${EXT_DIR} V=1 +} + +each_ruby_install() { + # install the native libraries + emake -C ${EXT_DIR} install DESTDIR="${D}" + # install the gem files + each_fakegem_install +} diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest new file mode 100644 index 000000000000..559be4b719fa --- /dev/null +++ b/dev-ruby/ruby-odbc/Manifest @@ -0,0 +1 @@ +DIST ruby-odbc-0.99999.tar.gz 76934 BLAKE2B 59de5a544b7eefe8e181f2c6a9a61915361743ef5f7554f778667b50ca0dc57fd0c4f71e406ad6f1d00fb2c6a6509030e61ad34dddecff61896f7bfe383d0a9b SHA512 05e3e67a895406e1a57fbea6f8ecd1c087d836794ea3245bd9eec888eb3c46fa2bf2607cc1b8fdc416d7bc531d783d621c03c9fde004db8c2e431fe838c531af diff --git a/dev-ruby/ruby-odbc/metadata.xml b/dev-ruby/ruby-odbc/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ruby-odbc/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild new file mode 100644 index 000000000000..53bada59107e --- /dev/null +++ b/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README ChangeLog" + +inherit ruby-fakegem + +DESCRIPTION="RubyODBC - For accessing ODBC data sources from the Ruby language" +HOMEPAGE="http://www.ch-werner.de/rubyodbc/" +SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz" + +LICENSE="|| ( GPL-2 Ruby )" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="${DEPEND} >=dev-db/unixODBC-2.0.6" +RDEPEND="${RDEPEND} >=dev-db/unixODBC-2.0.6" + +# tests require to have an ODBC service enabled, so we can't run them +# for now :( +RESTRICT=test + +all_ruby_prepare() { + # Make sure that it doesn't try to use the absolute-local path for + # the extension as we'd be unable to run it properly otherwise. + sed -i -e 's:\./odbc:odbc:' test/{,utf8/}test.rb || die + + # Since lib should not get installed avoid it entirely… + mv lib contrib || die +} + +each_ruby_configure() { + for dir in ext ext/utf8; do + ${RUBY} -C${dir} extconf.rb --disable-dlopen || die "extconf (${dir}) failed" + done +} + +each_ruby_compile() { + for dir in ext ext/utf8; do + emake V=1 -C${dir} + done +} + +each_ruby_install() { + each_fakegem_install + + ruby_fakegem_newins ext/odbc.so lib/odbc.so + ruby_fakegem_newins ext/utf8/odbc_utf8.so lib/odbc_utf8.so +} + +all_ruby_install() { + all_fakegem_install + dodoc doc/*.html +} diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest new file mode 100644 index 000000000000..69929520b027 --- /dev/null +++ b/dev-ruby/ruby-oembed/Manifest @@ -0,0 +1,2 @@ +DIST ruby-oembed-0.13.0.gem 4508672 BLAKE2B 154accd1025f9874a3367d8661ce54aa517ecd663faa47a7fa5714acb6846def05c159ca72aff98d77d03edfde84dd825f2be5447eec141268ed4e597c0a9448 SHA512 3998b4ae507320fe6c02b998b58fbf99c926b58d4e44597a81fba95f85b3cf3d9a4565cbd34b1c9d47f9dd01365ce6a1dc46a32fb9368abdd35fe5e69b34bc1e +DIST ruby-oembed-0.13.1.gem 4509184 BLAKE2B 212cdb606a1155349c23c1c06f25fedbcc2436dc22a52c8f405b63e27457881617b41d79db15e92e5caac8094c7a9ea912f1b16d994448f5296d3c6117062f17 SHA512 d87f65f1d76d485488c81d4fa2b2df5580a03104a16e3af5e65e6987f4652b3f5652ebcb0a79eab882ef0e5cc9c7b35537032a849de7b848b609f13ca3b83dd8 diff --git a/dev-ruby/ruby-oembed/metadata.xml b/dev-ruby/ruby-oembed/metadata.xml new file mode 100644 index 000000000000..8782b1a43c4b --- /dev/null +++ b/dev-ruby/ruby-oembed/metadata.xml @@ -0,0 +1,12 @@ +<?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">judofyr/ruby-oembed</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.13.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.13.0.ebuild new file mode 100644 index 000000000000..32d0aa98300a --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.13.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +inherit ruby-fakegem + +DESCRIPTION="An oEmbed consumer library written in Ruby." +HOMEPAGE="https://github.com/judofyr/ruby-oembed" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? + ( + dev-ruby/json + dev-ruby/vcr:5 + dev-ruby/xml-simple + dev-ruby/nokogiri + dev-ruby/webmock:3 + )" + +all_ruby_prepare() { + # Remove bundler but keep vcr version requirement + rm -f Gemfile || die + sed -i -e '1igem "vcr", "~> 5.0"' spec/spec_helper.rb || die + + # Avoid development dependencies + sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild new file mode 100644 index 000000000000..32d0aa98300a --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +inherit ruby-fakegem + +DESCRIPTION="An oEmbed consumer library written in Ruby." +HOMEPAGE="https://github.com/judofyr/ruby-oembed" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? + ( + dev-ruby/json + dev-ruby/vcr:5 + dev-ruby/xml-simple + dev-ruby/nokogiri + dev-ruby/webmock:3 + )" + +all_ruby_prepare() { + # Remove bundler but keep vcr version requirement + rm -f Gemfile || die + sed -i -e '1igem "vcr", "~> 5.0"' spec/spec_helper.rb || die + + # Avoid development dependencies + sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ruby-ole/Manifest b/dev-ruby/ruby-ole/Manifest new file mode 100644 index 000000000000..4ff183440b21 --- /dev/null +++ b/dev-ruby/ruby-ole/Manifest @@ -0,0 +1,2 @@ +DIST ruby-ole-1.2.12.1.gem 56320 BLAKE2B e7107af4ca2fedeb3c4d3b2802f17fd922a5f70909ce0cd32b8627986af03f607417c801e525f553265f6f56246257618ef03484daaa3f7fff483aa89521ba68 SHA512 1c8c6669d37008aa9b837df33d6f12acb0c672e14828d8ab3e7cc2cdfb67f407b6af83972c9022cd9661232ff4c85a3ea2fdca82878ba48f713d6391f088392b +DIST ruby-ole-1.2.12.2.gem 56832 BLAKE2B 489dbaff30d5d293f5c04672c2e8dd2a6144f6b32fb22319c4691a351318f0aee8fd5d01106f3ef6abaab40e81cd86c8ba9d93ddb1e004240eb052ab6ce5675e SHA512 2c28336a827e42faed4183d79ae61d4dd2b888f3d13eb26fb2b7e967057127a01e184fb509c6e4718e7beebb7490ea2f7aa230f2c5e29efae49994fa92d604b7 diff --git a/dev-ruby/ruby-ole/metadata.xml b/dev-ruby/ruby-ole/metadata.xml new file mode 100644 index 000000000000..c188f4166c1f --- /dev/null +++ b/dev-ruby/ruby-ole/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + <name>Michael Orlitzky</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">aquasync/ruby-ole</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-ole/ruby-ole-1.2.12.1.ebuild b/dev-ruby/ruby-ole/ruby-ole-1.2.12.1.ebuild new file mode 100644 index 000000000000..9c37baa336ed --- /dev/null +++ b/dev-ruby/ruby-ole/ruby-ole-1.2.12.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +# Same thing for the docs whose rake target just calls rdoc. +RUBY_FAKEGEM_RECIPE_DOC=rdoc +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library for easy read/write access to OLE compound documents" +HOMEPAGE="https://github.com/aquasync/ruby-ole" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +each_ruby_test() { + ruby-ng_testrb-2 --pattern='test.*\.rb' test/ +} diff --git a/dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild b/dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild new file mode 100644 index 000000000000..322e931f685e --- /dev/null +++ b/dev-ruby/ruby-ole/ruby-ole-1.2.12.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +# Same thing for the docs whose rake target just calls rdoc. +RUBY_FAKEGEM_RECIPE_DOC=rdoc +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library for easy read/write access to OLE compound documents" +HOMEPAGE="https://github.com/aquasync/ruby-ole" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +each_ruby_test() { + ruby-ng_testrb-2 --pattern='test.*\.rb' test/ +} diff --git a/dev-ruby/ruby-opengl/Manifest b/dev-ruby/ruby-opengl/Manifest new file mode 100644 index 000000000000..98ec49dcf54d --- /dev/null +++ b/dev-ruby/ruby-opengl/Manifest @@ -0,0 +1 @@ +DIST opengl-0.10.0.gem 565248 BLAKE2B e427590865e7ff13110d22a21d04a936cbdc7e559e80b37be94938a4b15c71ca6341d72bc093a45ca10e7cf419fe720e7c68866724a3c99ddc44314a4b054414 SHA512 8d85d7f8a25e429b18245a10c186d07a85fdc8dc4e158b0001cde2b6e4bacfe4b09552a3b3fba5e14439d2fdbe000ad23bba89563f58f612f79958283b588dde diff --git a/dev-ruby/ruby-opengl/metadata.xml b/dev-ruby/ruby-opengl/metadata.xml new file mode 100644 index 000000000000..1a4ed6bf6292 --- /dev/null +++ b/dev-ruby/ruby-opengl/metadata.xml @@ -0,0 +1,12 @@ +<?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">larskanis/opengl</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-opengl/ruby-opengl-0.10.0.ebuild b/dev-ruby/ruby-opengl/ruby-opengl-0.10.0.ebuild new file mode 100644 index 000000000000..e13565a006f8 --- /dev/null +++ b/dev-ruby/ruby-opengl/ruby-opengl-0.10.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +# Two tests fails but the README already indicates that this may not +# work. Additionally these tests require access to video devices such as +# /dev/nvidiactl. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_NAME="opengl" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="OpenGL / GLUT bindings for ruby" +HOMEPAGE="https://github.com/larskanis/opengl" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 x86" + +IUSE="" + +DEPEND+=" virtual/opengl + media-libs/freeglut" +RDEPEND+=" virtual/opengl + media-libs/freeglut" + +each_ruby_configure() { + ${RUBY} -Cext/opengl extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/opengl V=1 + + cp ext/*/*$(get_modname) lib/opengl/ || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples +} diff --git a/dev-ruby/ruby-openid/Manifest b/dev-ruby/ruby-openid/Manifest new file mode 100644 index 000000000000..f3c3817e0965 --- /dev/null +++ b/dev-ruby/ruby-openid/Manifest @@ -0,0 +1 @@ +DIST ruby-openid-2.9.2.tar.gz 514882 BLAKE2B 496b257087617537fc413931820fc721f026d9e7826d1684c85250d29d295ef031f834af31449e3448386f714c45a7db802d46531ca207fec099e2e2e80b9780 SHA512 5f4b696952d457ecbb99c6e2bc4b5c04557e8ed8d7653259eaf89a151ef43e62edc1936a28ac9e0d5a2c253379010d6c6a820be4bf2caa90bfcbf4689695d075 diff --git a/dev-ruby/ruby-openid/metadata.xml b/dev-ruby/ruby-openid/metadata.xml new file mode 100644 index 000000000000..4c44e67498ec --- /dev/null +++ b/dev-ruby/ruby-openid/metadata.xml @@ -0,0 +1,12 @@ +<?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">openid/ruby-openid</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-openid/ruby-openid-2.9.2.ebuild b/dev-ruby/ruby-openid/ruby-openid-2.9.2.ebuild new file mode 100644 index 000000000000..947e273e4a45 --- /dev/null +++ b/dev-ruby/ruby-openid/ruby-openid-2.9.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md NOTICE UPGRADE.md" + +RUBY_FAKEGEM_GEMSPEC="ruby-openid.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A robust library for verifying and serving OpenID identities" +HOMEPAGE="https://github.com/openid/ruby-openid" +SRC_URI="https://github.com/openid/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~x86-macos" +IUSE="test" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples +} diff --git a/dev-ruby/ruby-pango/Manifest b/dev-ruby/ruby-pango/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-pango/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-pango/metadata.xml b/dev-ruby/ruby-pango/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-pango/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-pango/ruby-pango-3.3.2.ebuild b/dev-ruby/ruby-pango/ruby-pango-3.3.2.ebuild new file mode 100644 index 000000000000..cf1e5b597b5e --- /dev/null +++ b/dev-ruby/ruby-pango/ruby-pango-3.3.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Pango bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" +DEPEND+=" >=x11-libs/pango-1.2.1" +RDEPEND+=" >=x11-libs/pango-1.2.1" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gobject-introspection-${PV} +" + +all_ruby_prepare() { + # Remove test depending on specific locales to be set up: bug 526248 + rm -f test/test-language.rb || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + # Include pango path since run-test does not list it + ${RUBY} -Iext/pango test/run-test.rb || die +} diff --git a/dev-ruby/ruby-pango/ruby-pango-3.3.6.ebuild b/dev-ruby/ruby-pango/ruby-pango-3.3.6.ebuild new file mode 100644 index 000000000000..880b50d9aa51 --- /dev/null +++ b/dev-ruby/ruby-pango/ruby-pango-3.3.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Pango bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND+=" >=x11-libs/pango-1.2.1" +RDEPEND+=" >=x11-libs/pango-1.2.1" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gobject-introspection-${PV} +" + +all_ruby_prepare() { + # Remove test depending on specific locales to be set up: bug 526248 + rm -f test/test-language.rb || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + # Include pango path since run-test does not list it + ${RUBY} -Iext/pango test/run-test.rb || die +} diff --git a/dev-ruby/ruby-pango/ruby-pango-3.3.7.ebuild b/dev-ruby/ruby-pango/ruby-pango-3.3.7.ebuild new file mode 100644 index 000000000000..880b50d9aa51 --- /dev/null +++ b/dev-ruby/ruby-pango/ruby-pango-3.3.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Pango bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND+=" >=x11-libs/pango-1.2.1" +RDEPEND+=" >=x11-libs/pango-1.2.1" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gobject-introspection-${PV} +" + +all_ruby_prepare() { + # Remove test depending on specific locales to be set up: bug 526248 + rm -f test/test-language.rb || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_test() { + # Include pango path since run-test does not list it + ${RUBY} -Iext/pango test/run-test.rb || die +} diff --git a/dev-ruby/ruby-poppler/Manifest b/dev-ruby/ruby-poppler/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-poppler/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-poppler/metadata.xml b/dev-ruby/ruby-poppler/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-poppler/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-poppler/ruby-poppler-3.3.2.ebuild b/dev-ruby/ruby-poppler/ruby-poppler-3.3.2.ebuild new file mode 100644 index 000000000000..bc9f056fbe6d --- /dev/null +++ b/dev-ruby/ruby-poppler/ruby-poppler-3.3.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby poppler-glib bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" app-text/poppler[cairo]" +DEPEND+=" app-text/poppler[cairo]" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gio2-${PV} +" + +all_ruby_prepare() { + # Avoid compilation of dependencies during test. + sed -i -e '/if have_make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid tests downloading a test PDF directly. + rm -f test/test_{annotation,document,page}.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-poppler/ruby-poppler-3.3.6.ebuild b/dev-ruby/ruby-poppler/ruby-poppler-3.3.6.ebuild new file mode 100644 index 000000000000..ed0b2a50186b --- /dev/null +++ b/dev-ruby/ruby-poppler/ruby-poppler-3.3.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby poppler-glib bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" app-text/poppler[cairo]" +DEPEND+=" app-text/poppler[cairo]" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gio2-${PV} +" + +all_ruby_prepare() { + # Avoid compilation of dependencies during test. + sed -i -e '/if have_make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid tests downloading a test PDF directly. + rm -f test/test_{annotation,document,page}.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-poppler/ruby-poppler-3.3.7.ebuild b/dev-ruby/ruby-poppler/ruby-poppler-3.3.7.ebuild new file mode 100644 index 000000000000..681c77dd5d37 --- /dev/null +++ b/dev-ruby/ruby-poppler/ruby-poppler-3.3.7.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby poppler-glib bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" app-text/poppler[cairo]" +DEPEND+=" app-text/poppler[cairo]" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gio2-${PV} +" + +all_ruby_prepare() { + # Avoid compilation of dependencies during test. + sed -i -e '/if have_make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid tests downloading a test PDF directly. + rm -f test/test_{annotation,document,page}.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest new file mode 100644 index 000000000000..266b1fe550cd --- /dev/null +++ b/dev-ruby/ruby-prof/Manifest @@ -0,0 +1 @@ +DIST ruby-prof-0.18.0.tgz 93925 BLAKE2B f7e0825e5291fdab017035b2a71029407d2b01161f4c4c7aa1f10a80b4080ac14f7adaa2c0340fe5c80f7352181d085d724dee66597ed29825ab7116d37c5e58 SHA512 1743bbd97789c9de66e9479384d204b0870e43a265471f0fbdf7a72bb19d77a30afc25da9d0ac66a921c28ce83d8a8d72279bdd9b23cf8505ccde952092dd9a5 diff --git a/dev-ruby/ruby-prof/metadata.xml b/dev-ruby/ruby-prof/metadata.xml new file mode 100644 index 000000000000..beb3d7151eeb --- /dev/null +++ b/dev-ruby/ruby-prof/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-prof/ruby-prof</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-prof/ruby-prof-0.18.0.ebuild b/dev-ruby/ruby-prof/ruby-prof-0.18.0.ebuild new file mode 100644 index 000000000000..d29eeb957fdb --- /dev/null +++ b/dev-ruby/ruby-prof/ruby-prof-0.18.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit multilib ruby-fakegem + +DESCRIPTION="A module for profiling Ruby code" +HOMEPAGE="https://github.com/ruby-prof/ruby-prof" +SRC_URI="https://github.com/ruby-prof/${PN}/archive/${PV}.tar.gz -> ${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/minitest )" + +all_ruby_prepare() { + # Avoid bundler + sed -i -e '/bundler/I s:^:#:' -e '/:build/ s:^:#:' Rakefile || die + + sed -i -e '2igem "test-unit"' test/test_helper.rb || die + + # Fix a timing-dependant spec since its thresholds for success are + # too tight. + sed -i -e '/test_class_methods/,/^ end/ s:^:#:' test/measure_cpu_time_test.rb || die + + # We install the shared object in lib, not ext. + sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die + + # Avoid unneeded dependency on rake-compiler + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die + + # Create directory required for the test suite to pass + mkdir tmp || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ruby_prof extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -Cext/ruby_prof + + cp ext/ruby_prof/*$(get_modname) lib/ || die "copy of extension failed" +} + +all_ruby_install() { + all_fakegem_install + + for dir in examples ; do + docinto "$dir" + dodoc -r "$dir"/* + done +} diff --git a/dev-ruby/ruby-progressbar/Manifest b/dev-ruby/ruby-progressbar/Manifest new file mode 100644 index 000000000000..cee7ccd88d94 --- /dev/null +++ b/dev-ruby/ruby-progressbar/Manifest @@ -0,0 +1,3 @@ +DIST ruby-progressbar-1.10.0.tar.gz 51483 BLAKE2B 24b92718fe933caa29460939a816b14a492d3144e9a891839ec3b5dbac103849bc0aa3becfb47e507a001ce6b0d0bbf2e0b207fe8d7cb51443924e81c9395b0a SHA512 ec645858d619a95081304905661918eef6d5bd19c0f8d00beac48df3f202d18ac85811d51028d71ab144a5a56649feb2409eca59b3db26733c00a1a54a7ef55d +DIST ruby-progressbar-1.10.1.tar.gz 53416 BLAKE2B ee435291cd55558843ab05254c01a6148711aee54a5ce80d7b03902e32fd8735fda2e3686794f3f2c8a62c7ca26d90df4d63b48c8d947a471279c35131c49898 SHA512 6cbd791833a1638949c7283b5c475164b44ec8a5d4c7eb417d741da5c9cda9e777481a785f112be7fd1c3714668ad58cbf9aa39eecb61d1022fb3bb35ddb6203 +DIST ruby-progressbar-1.4.2.gem 24064 BLAKE2B 4c26f5c281129a7333c8a7a1f7738a094ec02d769293252c8fbc6df0bea99971cd0d235b6bbeba7e2e4fac10409028f7cdb15870484878c26d9ea9f709f0135b SHA512 443fc015b2dcabc76c685f1529a39ffba289cb00c3cee3992ef240fb9822729f9049db4d85c58ee1ab6cc17927cb325044ea45a968c755a9b5ad93f7b9999fbd diff --git a/dev-ruby/ruby-progressbar/metadata.xml b/dev-ruby/ruby-progressbar/metadata.xml new file mode 100644 index 000000000000..fa348e23fe78 --- /dev/null +++ b/dev-ruby/ruby-progressbar/metadata.xml @@ -0,0 +1,12 @@ +<?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">jfelchner/ruby-progressbar</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.0.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.0.ebuild new file mode 100644 index 000000000000..b111a54ef13b --- /dev/null +++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A Text Progress Bar Library for Ruby" +HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" +SRC_URI="https://github.com/jfelchner/ruby-progressbar/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-progressbar-releases-v${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rspectacular dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/warning_filter/ s:^:#:' \ + spec/spec_helper.rb || die + # Avoid ruby24 syntax for an unneeded check + sed -i -e '/^return/ s:^:#:' spec/ruby-progressbar/refinements/enumerator_spec.rb || die +} diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1-r1.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1-r1.ebuild new file mode 100644 index 000000000000..9a3af0575d9d --- /dev/null +++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A Text Progress Bar Library for Ruby" +HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" +SRC_URI="https://github.com/jfelchner/ruby-progressbar/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-progressbar-releases-v${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rspectacular dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/warning_filter/ s:^:#:' \ + spec/spec_helper.rb || die + # Avoid ruby24 syntax for an unneeded check + sed -i -e '/^return/ s:^:#:' spec/ruby-progressbar/refinements/enumerator_spec.rb || die +} diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1.ebuild new file mode 100644 index 000000000000..0910ef551afc --- /dev/null +++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A Text Progress Bar Library for Ruby" +HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" +SRC_URI="https://github.com/jfelchner/ruby-progressbar/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-progressbar-releases-v${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rspectacular dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/warning_filter/ s:^:#:' \ + spec/spec_helper.rb || die + # Avoid ruby24 syntax for an unneeded check + sed -i -e '/^return/ s:^:#:' spec/ruby-progressbar/refinements/enumerator_spec.rb || die +} diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.4.2-r1.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.4.2-r1.ebuild new file mode 100644 index 000000000000..b1ae93a641e1 --- /dev/null +++ b/dev-ruby/ruby-progressbar/ruby-progressbar-1.4.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Text Progress Bar Library for Ruby" +HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc ppc64 x86" + +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ruby-rc4/Manifest b/dev-ruby/ruby-rc4/Manifest new file mode 100644 index 000000000000..b72f562a2b86 --- /dev/null +++ b/dev-ruby/ruby-rc4/Manifest @@ -0,0 +1 @@ +DIST ruby-rc4-0.1.5.gem 7168 BLAKE2B af70beb14218a5b83fe37c3244eea153e237258d0d5555a432340b2b4dd523ee250e2b0707d873c2e177cd12a2cc4609e42bc180ac87294d1291d5e4be13e311 SHA512 db0fd372a3534f0da6bd1c53c42f12691a54dcc36324819c14d1288aa8ba0fa99a04a3ce739035c11007f47d781f147bc0c0b9746e59bf2c8ed0e5830f2df6f5 diff --git a/dev-ruby/ruby-rc4/metadata.xml b/dev-ruby/ruby-rc4/metadata.xml new file mode 100644 index 000000000000..4ad7c76a61fc --- /dev/null +++ b/dev-ruby/ruby-rc4/metadata.xml @@ -0,0 +1,12 @@ +<?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">caiges/Ruby-RC4</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-rc4/ruby-rc4-0.1.5-r2.ebuild b/dev-ruby/ruby-rc4/ruby-rc4-0.1.5-r2.ebuild new file mode 100644 index 000000000000..57e2599b9ce7 --- /dev/null +++ b/dev-ruby/ruby-rc4/ruby-rc4-0.1.5-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby implementation of the Rc4 algorithm" +HOMEPAGE="https://github.com/caiges/Ruby-RC4" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/"README"/"README.md"/' Rakefile || die +} diff --git a/dev-ruby/ruby-romkan/Manifest b/dev-ruby/ruby-romkan/Manifest new file mode 100644 index 000000000000..98aee2f60f9a --- /dev/null +++ b/dev-ruby/ruby-romkan/Manifest @@ -0,0 +1 @@ +DIST ruby-romkan-0.4.tar.gz 4653 BLAKE2B 2680fece04c80be9d2f312a98c5d5756fcd465aacbee5a3ddbd5409e89d8d54cbc0dd27b556173e94ead143dcc25cde530fb002dd3c4833d321b6169afaabaf7 SHA512 d4e4089122d643878a0e19852dd650c4d7e35918838edfe4bc210a5d26cc3e55b5be430db4378e75f44a3435331fd4e1155dfc3e1846babb3a1b626dd127eacd diff --git a/dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch b/dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch new file mode 100644 index 000000000000..4ae355749281 --- /dev/null +++ b/dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch @@ -0,0 +1,32 @@ +--- romkan.rb 2002-02-12 02:45:16.000000000 +0100 ++++ romkan.rb 2012-06-25 10:15:59.723542130 +0200 +@@ -1,3 +1,4 @@ ++# -*- encoding:euc-jp -*- + # + # Ruby/Romkan - a Romaji <-> Kana conversion library for Ruby. + # +@@ -209,13 +210,13 @@ + HEPPAT = HEPBURN.sort {|a, b| b.length <=> a.length }.join "|" + + TO_HEPBURN = (romrom = Hash.new +- KUNREI.each_with_index {|x, i| +- romrom[KUNREI[i]] = HEPBURN[i]} ++ KUNREI.each_with_index {|x, j| ++ romrom[KUNREI[j]] = HEPBURN[j]} + romrom) + + TO_KUNREI = (romrom = Hash.new +- HEPBURN.each_with_index {|x, i| +- romrom[HEPBURN[i]] = KUNREI[i]} ++ HEPBURN.each_with_index {|x, j| ++ romrom[HEPBURN[j]] = KUNREI[j]} + romrom) + + # FIXME: ad hod solution +--- test.rb 2002-02-12 02:45:25.000000000 +0100 ++++ test.rb 2012-06-25 10:13:51.832021574 +0200 +@@ -1,3 +1,4 @@ ++# -*- encoding:euc-jp -*- + # + # ruby -Ke test.rb </dev/null && echo ok + # diff --git a/dev-ruby/ruby-romkan/metadata.xml b/dev-ruby/ruby-romkan/metadata.xml new file mode 100644 index 000000000000..79e981ed97fd --- /dev/null +++ b/dev-ruby/ruby-romkan/metadata.xml @@ -0,0 +1,13 @@ +<?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> +<maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> +</maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-romkan/ruby-romkan-0.4-r6.ebuild b/dev-ruby/ruby-romkan/ruby-romkan-0.4-r6.ebuild new file mode 100644 index 000000000000..d133430211cb --- /dev/null +++ b/dev-ruby/ruby-romkan/ruby-romkan-0.4-r6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng + +DESCRIPTION="A Romaji <-> Kana conversion library for Ruby" +HOMEPAGE="http://0xcc.net/ruby-romkan/" +SRC_URI="http://0xcc.net/ruby-romkan/${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +DOCS="ChangeLog *.rd" + +RUBY_PATCHES=( "${FILESDIR}/${PN}-ruby19.patch" ) + +each_ruby_test() { + ${RUBY} -I. -Ke test.rb < /dev/null || die "test failed" +} + +each_ruby_install() { + doruby romkan.rb +} + +all_ruby_install() { + dodoc ${DOCS} +} diff --git a/dev-ruby/ruby-rsvg/Manifest b/dev-ruby/ruby-rsvg/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-rsvg/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-rsvg/metadata.xml b/dev-ruby/ruby-rsvg/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-rsvg/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.2.ebuild b/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.2.ebuild new file mode 100644 index 000000000000..fb6f57589d74 --- /dev/null +++ b/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME=rsvg2 + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/rsvg2 + +DESCRIPTION="Ruby bindings for librsvg" +KEYWORDS="amd64 ~ppc ~x86" + +RDEPEND+=" >=gnome-base/librsvg-2.16.1" +DEPEND+=" >=gnome-base/librsvg-2.16.1" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gdkpixbuf2-${PV} +" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/rsvg2-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid test that fails and may be version-specific + sed -i -e '/test_unlimited/aomit "version specific?"' test/test-handle.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.6.ebuild b/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.6.ebuild new file mode 100644 index 000000000000..43cb3c718d48 --- /dev/null +++ b/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME=rsvg2 + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/rsvg2 + +DESCRIPTION="Ruby bindings for librsvg" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND+=" >=gnome-base/librsvg-2.16.1" +DEPEND+=" >=gnome-base/librsvg-2.16.1" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gdkpixbuf2-${PV} +" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/rsvg2-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid test that fails and may be version-specific + sed -i -e '/test_unlimited/aomit "version specific?"' test/test-handle.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.7.ebuild b/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.7.ebuild new file mode 100644 index 000000000000..43cb3c718d48 --- /dev/null +++ b/dev-ruby/ruby-rsvg/ruby-rsvg-3.3.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_NAME=rsvg2 + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/rsvg2 + +DESCRIPTION="Ruby bindings for librsvg" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND+=" >=gnome-base/librsvg-2.16.1" +DEPEND+=" >=gnome-base/librsvg-2.16.1" + +ruby_add_rdepend " + ~dev-ruby/ruby-cairo-gobject-${PV} + ~dev-ruby/ruby-gdkpixbuf2-${PV} +" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/rsvg2-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/and have_make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid test that fails and may be version-specific + sed -i -e '/test_unlimited/aomit "version specific?"' test/test-handle.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_install() { + each_fakegem_install +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/ruby-sdl/Manifest b/dev-ruby/ruby-sdl/Manifest new file mode 100644 index 000000000000..6f6345227ac6 --- /dev/null +++ b/dev-ruby/ruby-sdl/Manifest @@ -0,0 +1 @@ +DIST ruby-sdl-2.1.2.tar.gz 178105 BLAKE2B 84870279edcf2616159861267ffc8666b482786f43a30c8729cd4c59f25219956648270452bf38b72115e05235786ec8c0f0e7913469cc8573d9eda813d25726 SHA512 1ddae367fb4145cc8142edbf3c61acaf56604054f710ac37cadb8d04f93db24fc3595c1bc8e0fb5f330aabc815884f31b5f2a39c0108026fca442fc0b3bc2807 diff --git a/dev-ruby/ruby-sdl/metadata.xml b/dev-ruby/ruby-sdl/metadata.xml new file mode 100644 index 000000000000..b5ee107a5b3f --- /dev/null +++ b/dev-ruby/ruby-sdl/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <use> + <flag name="image">Enable <pkg>media-libs/sdl-image</pkg> support</flag> + <flag name="mixer">Enable <pkg>media-libs/sdl-mixer</pkg> support</flag> + <flag name="sge">Enable sdl-sge support</flag> + </use> + <upstream> + <remote-id type="github">ohai/rubysdl</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r2.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r2.ebuild new file mode 100644 index 000000000000..59c0ee86f366 --- /dev/null +++ b/dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit eutils ruby-ng + +RELEASE="rel-${PV//./-}" +RUBY_S="rubysdl-${RELEASE}" + +DESCRIPTION="Ruby/SDL: Ruby bindings for SDL" +HOMEPAGE="https://www.kmc.gr.jp/~ohai/rubysdl.en.html" +SRC_URI="https://github.com/ohai/rubysdl/archive/${RELEASE}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +IUSE="image mixer truetype mpeg sge" + +CDEPEND=" + >=media-libs/libsdl-1.2.5 + truetype? ( >=media-libs/sdl-ttf-2.0.6 ) + image? ( >=media-libs/sdl-image-1.2.2 ) + mixer? ( >=media-libs/sdl-mixer-1.2.4 ) + mpeg? ( >=media-libs/smpeg-0.4.4-r1 ) + sge? ( media-libs/sge )" +DEPEND="${DEPEND} ${CDEPEND}" +RDEPEND="${RDEPEND} ${CDEPEND}" + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 +} + +each_ruby_install() { + emake V=1 DESTDIR="${D}" install +} + +all_ruby_install() { + dodoc README.en README.ja NEWS.en NEWS.ja + insinto /usr/share/doc/${P}/doc + doins doc-en/* + insinto /usr/share/doc/${P}/sample + doins sample/* +} + +pkg_postinst() { + if ! use image || ! use mixer || ! use truetype || ! use mpeg || ! use sge; then + echo "" + ewarn "If any of the following packages are not installed, Ruby/SDL" + ewarn "will be missing some functionality. This is ok, but may" + ewarn "cause errors in Ruby/SDL programs that need these libraries:" + ewarn "" + ewarn "\tmedia-libs/sdl-image\tImage loading (PNG, JPEG, etc.)" + ewarn "\tmedia-libs/sdl-mixer\tSound mixing" + ewarn "\tmedia-libs/sdl-ttf\tTrueType Fonts" + ewarn "\tmedia-libs/sge\t\tVarious cool graphics extensions" + ewarn "\tmedia-libs/smpeg\tMPEG playback (including mp3)" + ewarn "" + ewarn "If you need the functionality offered by these libraries," + ewarn "emerge the desired libraries, then re-emerge dev-ruby/rubysdl" + echo "" + fi +} diff --git a/dev-ruby/ruby-shadow/Manifest b/dev-ruby/ruby-shadow/Manifest new file mode 100644 index 000000000000..b72014436ce5 --- /dev/null +++ b/dev-ruby/ruby-shadow/Manifest @@ -0,0 +1 @@ +DIST ruby-shadow-2.5.0.gem 11264 BLAKE2B 22012d4672528e76a860e534fecb2a40d27c15f7440a0be6880c4ffd06be26e58d2f5279c385c49aca611864c8959ed0ea3afdd78bcdb28ac0912123f18a35e0 SHA512 1abd54df1bd4f29e135093df9b22886a726824f8b72b742017fd31bdc3fa39e3d79410a747cf2ebe4117f75e665fb89c904375b5c44a674bec91a4cc37646520 diff --git a/dev-ruby/ruby-shadow/metadata.xml b/dev-ruby/ruby-shadow/metadata.xml new file mode 100644 index 000000000000..89ae78611628 --- /dev/null +++ b/dev-ruby/ruby-shadow/metadata.xml @@ -0,0 +1,12 @@ +<?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">apalmblad/ruby-shadow</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-shadow/ruby-shadow-2.5.0.ebuild b/dev-ruby/ruby-shadow/ruby-shadow-2.5.0.ebuild new file mode 100644 index 000000000000..edc5690fc4cf --- /dev/null +++ b/dev-ruby/ruby-shadow/ruby-shadow-2.5.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="HISTORY README README.euc" + +inherit multilib ruby-fakegem + +DESCRIPTION="ruby shadow bindings" +HOMEPAGE="https://github.com/apalmblad/ruby-shadow http://ttsky.net" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ppc ~ppc64 ~sparc x86" +IUSE="" + +each_ruby_configure() { + ${RUBY} extconf.rb || die "Configuration failed." + sed -i -e "/^ldflags =/s/$/ \$(LDFLAGS)/" Makefile || die +} + +each_ruby_compile() { + emake V=1 + mkdir -p lib + cp shadow$(get_modname) lib/ || die +} diff --git a/dev-ruby/ruby-shout/Manifest b/dev-ruby/ruby-shout/Manifest new file mode 100644 index 000000000000..eaf8522ce007 --- /dev/null +++ b/dev-ruby/ruby-shout/Manifest @@ -0,0 +1 @@ +DIST ruby-shout-2.2.2.gem 13312 BLAKE2B da84e8ca777e5c5e60f4319f030467cbbb0709f8e94c08d3b7c8bb30c4db2861d27852930a01f4a0625ca8cf71ed849fd39f0398708b838c3b6bdcf85c12609d SHA512 2553518d3cef655e9cd59a734860d290928171600676dd0fa4b65d84421286eb9d79cc897cfa5544570e3731c4f761e97e8cd1dd3488d9b62246af840a1d126d diff --git a/dev-ruby/ruby-shout/metadata.xml b/dev-ruby/ruby-shout/metadata.xml new file mode 100644 index 000000000000..8dcb5db3925c --- /dev/null +++ b/dev-ruby/ruby-shout/metadata.xml @@ -0,0 +1,12 @@ +<?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">niko/ruby-shout</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-shout/ruby-shout-2.2.2.ebuild b/dev-ruby/ruby-shout/ruby-shout-2.2.2.ebuild new file mode 100644 index 000000000000..ebdd1067bb67 --- /dev/null +++ b/dev-ruby/ruby-shout/ruby-shout-2.2.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.textile" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby interface to libshout2" +HOMEPAGE="https://github.com/niko/ruby-shout" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +RDEPEND+=" >=media-libs/libshout-2.0" +DEPEND+=" >=media-libs/libshout-2.0" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die "extconf failed" +} + +each_ruby_compile() { + emake -C ext V=1 +} + +each_ruby_install() { + each_fakegem_install + + ruby_fakegem_newins ext/${PN#ruby-}_ext$(get_modname) lib/${PN#ruby-}_ext$(get_modname) +} diff --git a/dev-ruby/ruby-termios/Manifest b/dev-ruby/ruby-termios/Manifest new file mode 100644 index 000000000000..6058dd68ca0d --- /dev/null +++ b/dev-ruby/ruby-termios/Manifest @@ -0,0 +1 @@ +DIST ruby-termios-1.0.2.gem 17408 BLAKE2B f85877dc3c9beb5c8d20e044ef7dfde6a12d540157228c1fdff365f3b662f8c84b9e7460ede985f0d402ec76a1d248fa41d336ac7bd9333222543c6d01748c83 SHA512 e32e899e917eb04e382a02484accf9fea0369de8c1942b445e48e71e9c836305e2d54221c9a044d27ede44a7d5c14f976a8ffda79f79f71b5a121474e759f45d diff --git a/dev-ruby/ruby-termios/metadata.xml b/dev-ruby/ruby-termios/metadata.xml new file mode 100644 index 000000000000..5453ea681915 --- /dev/null +++ b/dev-ruby/ruby-termios/metadata.xml @@ -0,0 +1,12 @@ +<?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">arika/ruby-termios</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild b/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild new file mode 100644 index 000000000000..6a6e1cc0f2e2 --- /dev/null +++ b/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md termios.rd" + +# There are no tests in the gem, and the upstream tests only work +# with a normal TTY, bug 340575. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_BINWRAP="" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby interface to termios" +HOMEPAGE="http://arika.org/ruby/termios" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~hppa ~mips ~ppc x86 ~x86-macos" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext V=1 + cp ext/termios$(get_modname) lib/ || die +} diff --git a/dev-ruby/ruby-vte/Manifest b/dev-ruby/ruby-vte/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-vte/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-vte/metadata.xml b/dev-ruby/ruby-vte/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-vte/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-vte/ruby-vte-3.3.2.ebuild b/dev-ruby/ruby-vte/ruby-vte-3.3.2.ebuild new file mode 100644 index 000000000000..e91a33a4e925 --- /dev/null +++ b/dev-ruby/ruby-vte/ruby-vte-3.3.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby vte bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" >=x11-libs/vte-0.12.1:0" +DEPEND+=" >=x11-libs/vte-0.12.1:0" + +ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die +} diff --git a/dev-ruby/ruby-vte/ruby-vte-3.3.6.ebuild b/dev-ruby/ruby-vte/ruby-vte-3.3.6.ebuild new file mode 100644 index 000000000000..d1099f2a49c3 --- /dev/null +++ b/dev-ruby/ruby-vte/ruby-vte-3.3.6.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby vte bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" >=x11-libs/vte-0.12.1:0" +DEPEND+=" >=x11-libs/vte-0.12.1:0" + +ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die +} diff --git a/dev-ruby/ruby-vte/ruby-vte-3.3.7.ebuild b/dev-ruby/ruby-vte/ruby-vte-3.3.7.ebuild new file mode 100644 index 000000000000..d1099f2a49c3 --- /dev/null +++ b/dev-ruby/ruby-vte/ruby-vte-3.3.7.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby vte bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND+=" >=x11-libs/vte-0.12.1:0" +DEPEND+=" >=x11-libs/vte-0.12.1:0" + +ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die +} diff --git a/dev-ruby/ruby-vte3/Manifest b/dev-ruby/ruby-vte3/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-vte3/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-vte3/metadata.xml b/dev-ruby/ruby-vte3/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-vte3/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-vte3/ruby-vte3-3.3.2.ebuild b/dev-ruby/ruby-vte3/ruby-vte3-3.3.2.ebuild new file mode 100644 index 000000000000..3f405b899a3e --- /dev/null +++ b/dev-ruby/ruby-vte3/ruby-vte3-3.3.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby VTE bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/vte:2.91" +RDEPEND+=" x11-libs/vte:2.91" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid tests that require a real pty. + rm -f test/test-pty.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-vte3/ruby-vte3-3.3.6.ebuild b/dev-ruby/ruby-vte3/ruby-vte3-3.3.6.ebuild new file mode 100644 index 000000000000..d6239bf0b7a3 --- /dev/null +++ b/dev-ruby/ruby-vte3/ruby-vte3-3.3.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby VTE bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/vte:2.91" +RDEPEND+=" x11-libs/vte:2.91" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid tests that require a real pty. + rm -f test/test-pty.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-vte3/ruby-vte3-3.3.7.ebuild b/dev-ruby/ruby-vte3/ruby-vte3-3.3.7.ebuild new file mode 100644 index 000000000000..d6239bf0b7a3 --- /dev/null +++ b/dev-ruby/ruby-vte3/ruby-vte3-3.3.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby VTE bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" x11-libs/vte:2.91" +RDEPEND+=" x11-libs/vte:2.91" + +ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}" +ruby_add_rdepend ">=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die + + # Avoid tests that require a real pty. + rm -f test/test-pty.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-webkit2-gtk/Manifest b/dev-ruby/ruby-webkit2-gtk/Manifest new file mode 100644 index 000000000000..0c56169bcbe9 --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/Manifest @@ -0,0 +1,3 @@ +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c +DIST ruby-gnome2-all-3.3.6.tar.gz 2307419 BLAKE2B 80d981528a7d1ff41400e8555c7576ac299a5e3b7d3fc7f78843ae0bedfa6ad43c79d3ebef60b918236c9054b0e5de462b48a274d1fdd03f6f288ff53d6645a5 SHA512 8bcd439cee77efc70423eeec43380f080b348627384c675e3b3a810e602b5da4f04bc476eccabdf009a442d496442e7a45a23f126bde4b356af70ac9949c27f5 +DIST ruby-gnome2-all-3.3.7.tar.gz 2316976 BLAKE2B 51fa3da9941254d17332854ad1a7b1bcd016f70aba70cbad7fbdffc9e54ed6f7da8bac09b49ed152bea2cd188d5af64783ef1ad8b754abeebfad358fb261c866 SHA512 4af9a4c6f7bba2b596880ec83e4a43f2afd7f34bb0cdbb42157e65de2517d3b9504eafe08eb63f47f43035bf50351b8a0a4dd7cb1b738e67e8373191910d0bce diff --git a/dev-ruby/ruby-webkit2-gtk/metadata.xml b/dev-ruby/ruby-webkit2-gtk/metadata.xml new file mode 100644 index 000000000000..1611b2f450fa --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">ruby-gnome2</remote-id> + <remote-id type="sourceforge">ruby-gnome2</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.2.ebuild b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.2.ebuild new file mode 100644 index 000000000000..a3581d1d6910 --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby WebKitGtk+ for Gtk 3.0 bindings" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" net-libs/webkit-gtk:4" +RDEPEND+=" net-libs/webkit-gtk:4" + +RUBY_S="ruby-gnome2-all-${PV}/webkit2-gtk" + +ruby_add_rdepend ">=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + test/webkit2-gtk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/"Makefile"/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + DCONF_PROFILE="${T}" virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.6.ebuild b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.6.ebuild new file mode 100644 index 000000000000..f55006950a4d --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby WebKitGtk+ for Gtk 3.0 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" net-libs/webkit-gtk:4" +RDEPEND+=" net-libs/webkit-gtk:4" + +RUBY_S="ruby-gnome2-all-${PV}/webkit2-gtk" + +ruby_add_rdepend ">=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + test/webkit2-gtk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/"Makefile"/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + DCONF_PROFILE="${T}" virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.7.ebuild b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.7.ebuild new file mode 100644 index 000000000000..f55006950a4d --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.3.7.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby WebKitGtk+ for Gtk 3.0 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" net-libs/webkit-gtk:4" +RDEPEND+=" net-libs/webkit-gtk:4" + +RUBY_S="ruby-gnome2-all-${PV}/webkit2-gtk" + +ruby_add_rdepend ">=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + test/webkit2-gtk-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/"Makefile"/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + DCONF_PROFILE="${T}" virtx ${RUBY} test/run-test.rb +} + +each_ruby_install() { + each_fakegem_install +} diff --git a/dev-ruby/ruby-xslt/Manifest b/dev-ruby/ruby-xslt/Manifest new file mode 100644 index 000000000000..80ecdef10380 --- /dev/null +++ b/dev-ruby/ruby-xslt/Manifest @@ -0,0 +1 @@ +DIST ruby-xslt-0.9.10.gem 35328 BLAKE2B aa0a627e76fcbc5626018389b5adbdbef1d54cc228f5622fd8cef4305e2d79c023c193031b8f8cc5f0e63d9c0af96edc0398beea4ac7f5eafe3dcf13ad2ff0ea SHA512 b196a517b19c6cb91ed6f4543ecfc6b58532e66f460029d2618e792cfe4078342fcb4428642328cbe6d97d1d942a6025ecff617578fc3abe2b0e414bf61ca1c4 diff --git a/dev-ruby/ruby-xslt/metadata.xml b/dev-ruby/ruby-xslt/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ruby-xslt/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild b/dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild new file mode 100644 index 000000000000..3e9138950639 --- /dev/null +++ b/dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.rdoc AUTHORS.rdoc README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby class for processing XSLT" +HOMEPAGE="https://github.com/glejeune/ruby-xslt" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86" +IUSE="" + +DEPEND+=" >=dev-libs/libxslt-1.1.12" +RDEPEND+=" >=dev-libs/libxslt-1.1.12" + +all_ruby_prepare() { + # Remove forced -g compiler flag. + sed -i -e 's/-g //' ext/xslt_lib/extconf.rb || die + + # One test fails but we have installed this code already for a long + # time so this probably isn't a regression. No upstream bug tracker + # to report the problem :-( + sed -i -e '/test_transformation_error/,/^ end/ s:^:#:' test/test.rb || die +} + +each_ruby_configure() { + ${RUBY} -C ext/xslt_lib extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/xslt_lib V=1 + cp ext/xslt_lib/xslt_lib$(get_modname) lib/xml/ || die +} + +each_ruby_test() { + ${RUBY} -I../lib:lib -Ctest test.rb || die +} diff --git a/dev-ruby/ruby-yadis/Manifest b/dev-ruby/ruby-yadis/Manifest new file mode 100644 index 000000000000..8ed183d5f4f6 --- /dev/null +++ b/dev-ruby/ruby-yadis/Manifest @@ -0,0 +1 @@ +DIST ruby-yadis-0.3.4.gem 16896 BLAKE2B 69527b23900792e83e8ef52970ed8b847f69748823f0bb04d417b2b1cdbd765127b54aad81cf5b1559f532cefc7ea78d7c32e2a222a6a1364103e2b9026ccd54 SHA512 1811fda5421b630c954a493a227d4ea70a6d2722c136c3b668a33c3c94f4bf9229f34c0e807dadb452a6c74f008461ed3bb3fa192bafe4bfd5e8f1d242e6e5c9 diff --git a/dev-ruby/ruby-yadis/metadata.xml b/dev-ruby/ruby-yadis/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/ruby-yadis/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r2.ebuild b/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r2.ebuild new file mode 100644 index 000000000000..98d05240649c --- /dev/null +++ b/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library for performing Yadis service discovery" +HOMEPAGE="http://yadis.rubyforge.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" + +each_ruby_prepare() { + # Remove live tests that require content that is no longer available. + rm test/test_discovery.rb || die + sed -i -e '/test_discovery/d' test/runtests.rb || die +} + +each_ruby_test() { + ${RUBY} -I../lib:lib:test -Ctest runtests.rb || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r examples +} diff --git a/dev-ruby/ruby2_keywords/Manifest b/dev-ruby/ruby2_keywords/Manifest new file mode 100644 index 000000000000..cac2ba9eaefe --- /dev/null +++ b/dev-ruby/ruby2_keywords/Manifest @@ -0,0 +1 @@ +DIST ruby2_keywords-0.0.2.gem 4608 BLAKE2B a13fab6800dafe557ca05a14301ed37afdd0fef22b6c4a8458be758d96099dbad47c49d7b01bd3c7297aec51d971c944005f704fbdfc45d8f50249040c244250 SHA512 a7bc02980e073a899bf3de2e32711ca9820657d43cc44dede44ca31681d8586e7f808a93b6f6778aaaaf8b84da37a48c8062e69ca33477d9469e9634d616ed8d diff --git a/dev-ruby/ruby2_keywords/metadata.xml b/dev-ruby/ruby2_keywords/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/ruby2_keywords/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.2.ebuild b/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.2.ebuild new file mode 100644 index 000000000000..d146654b3767 --- /dev/null +++ b/dev-ruby/ruby2_keywords/ruby2_keywords-0.0.2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Shim library for Module#ruby2_keywords" +HOMEPAGE="https://github.com/ruby/ruby2_keywords" + +LICENSE="Ruby" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" diff --git a/dev-ruby/ruby2ruby/Manifest b/dev-ruby/ruby2ruby/Manifest new file mode 100644 index 000000000000..90e1868be2e5 --- /dev/null +++ b/dev-ruby/ruby2ruby/Manifest @@ -0,0 +1,3 @@ +DIST ruby2ruby-2.4.2.gem 26624 BLAKE2B c7ad5c63829bf03cc166d42f2ae67b47790b4652b1973367881a4c242866acffabf6783cc3296ca7ea91ff3e9967f703852be6c4bcb53dfaaff0f822b50747db SHA512 ae8a34a77d48a97d29bd0ea9e2653e6189666564e971b985e7a459a562f8f03fdff4ec8775a2184cef578249aebbc8a050b57613b63d3c09b7a84aec5f727a7c +DIST ruby2ruby-2.4.3.gem 26624 BLAKE2B fa8252e3e89fdef2c512e3f61dcea7e02ad000d0d65b14b5dcc2ee26d7ee6cc6243536bf3f745c44465c15cc557d1e5c2c9252421d3375da5142a2fe4b4ce1b1 SHA512 9858c2b8ceefe3604cbfedeb0c7c60ada2328d1bb7c5dbeb888936a3025af13718f33f498bb52ee5e659b021907a6e8c44117c6f3a4d4bbbb2dfaa8ddd15601f +DIST ruby2ruby-2.4.4.gem 26624 BLAKE2B d330cd65513218a96c9e35fe2b69d859fa103ad6dd1b8e8a671bddb9732f99cd65540b404632e671ababbe5842ed2be34a29c2b1fb3bc4c43935f5a7a0735d9e SHA512 51728d702d2142e9a7599fe53c2b58906cd386be429fe97590f850df8cf461c046c67a99fc7b7e277551013b78e35d21609c8125fb568ef90270d146a685c04d diff --git a/dev-ruby/ruby2ruby/metadata.xml b/dev-ruby/ruby2ruby/metadata.xml new file mode 100644 index 000000000000..877d32211816 --- /dev/null +++ b/dev-ruby/ruby2ruby/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/ruby2ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby2ruby/ruby2ruby-2.4.2.ebuild b/dev-ruby/ruby2ruby/ruby2ruby-2.4.2.ebuild new file mode 100644 index 000000000000..6ac4d1dceb67 --- /dev/null +++ b/dev-ruby/ruby2ruby/ruby2ruby-2.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Generates readable ruby from ParseTree" +HOMEPAGE="https://github.com/seattlerb/ruby2ruby" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha amd64 arm hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/sexp_processor-4.6.0:4 + >=dev-ruby/ruby_parser-3.1:3 + !<dev-ruby/ruby2ruby-1.3.1-r1" +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 >=dev-ruby/sexp_processor-4.10.0:4 )" + +all_ruby_prepare() { + sed -i -e '/plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby2ruby/ruby2ruby-2.4.3.ebuild b/dev-ruby/ruby2ruby/ruby2ruby-2.4.3.ebuild new file mode 100644 index 000000000000..da41fbccb2fc --- /dev/null +++ b/dev-ruby/ruby2ruby/ruby2ruby-2.4.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Generates readable ruby from ParseTree" +HOMEPAGE="https://github.com/seattlerb/ruby2ruby" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/sexp_processor-4.6.0:4 + >=dev-ruby/ruby_parser-3.1:3 + !<dev-ruby/ruby2ruby-1.3.1-r1" +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 >=dev-ruby/sexp_processor-4.10.0:4 )" + +all_ruby_prepare() { + sed -i -e '/plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby2ruby/ruby2ruby-2.4.4.ebuild b/dev-ruby/ruby2ruby/ruby2ruby-2.4.4.ebuild new file mode 100644 index 000000000000..8e12abe14932 --- /dev/null +++ b/dev-ruby/ruby2ruby/ruby2ruby-2.4.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Generates readable ruby from ParseTree" +HOMEPAGE="https://github.com/seattlerb/ruby2ruby" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/sexp_processor-4.6.0:4 + >=dev-ruby/ruby_parser-3.1:3 +" +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 >=dev-ruby/sexp_processor-4.10.0:4 )" + +all_ruby_prepare() { + sed -i -e '/plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby_dep/Manifest b/dev-ruby/ruby_dep/Manifest new file mode 100644 index 000000000000..e2119c693ad0 --- /dev/null +++ b/dev-ruby/ruby_dep/Manifest @@ -0,0 +1 @@ +DIST ruby_dep-1.5.0.gem 11776 BLAKE2B 0883eb6908c4e0aeec3bb88eaa2a3fd526ce6f16f4b9feb3b817ea32f40f86967c3e9f60791f8bd83e52b108bf748784c98d07d5d121ccf884ed19f76fa8266f SHA512 f12b589262d84525b301370845840221f0d204b0cfee66fbbbee62eb61e817c46590e87f70318f8d14d000da20280182448d129b685468701ff7ffa8e6965377 diff --git a/dev-ruby/ruby_dep/metadata.xml b/dev-ruby/ruby_dep/metadata.xml new file mode 100644 index 000000000000..385a10d3bbcb --- /dev/null +++ b/dev-ruby/ruby_dep/metadata.xml @@ -0,0 +1,12 @@ +<?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">e2/ruby_dep</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby_dep/ruby_dep-1.5.0.ebuild b/dev-ruby/ruby_dep/ruby_dep-1.5.0.ebuild new file mode 100644 index 000000000000..16d227947d83 --- /dev/null +++ b/dev-ruby/ruby_dep/ruby_dep-1.5.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Creates a version constraint of supported Rubies,suitable for a gemspec file" +HOMEPAGE="https://github.com/e2/ruby_dep" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" diff --git a/dev-ruby/ruby_gntp/Manifest b/dev-ruby/ruby_gntp/Manifest new file mode 100644 index 000000000000..98da1781076d --- /dev/null +++ b/dev-ruby/ruby_gntp/Manifest @@ -0,0 +1 @@ +DIST ruby_gntp-0.3.4.gem 10240 BLAKE2B dff0f192ee0308793171f0233379b41e8ff8cf8e3af3497c5f04f323dc5f75d4f310f2fc21538beda271f4d3bedc8fcad200afe7b4d24ec864e023346c5899c6 SHA512 876b728430183b273bf97a7e7b662c0614bcc21a3d1a7c4c07b2af9b1643c9a9bc96e92843e6118903d75d99b21c2faff0f27c22fbc8822db14560937e6a5dd8 diff --git a/dev-ruby/ruby_gntp/metadata.xml b/dev-ruby/ruby_gntp/metadata.xml new file mode 100644 index 000000000000..c3db7d1c9214 --- /dev/null +++ b/dev-ruby/ruby_gntp/metadata.xml @@ -0,0 +1,12 @@ +<?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">snaka/ruby_gntp</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby_gntp/ruby_gntp-0.3.4.ebuild b/dev-ruby/ruby_gntp/ruby_gntp-0.3.4.ebuild new file mode 100644 index 000000000000..c1c71d8ff585 --- /dev/null +++ b/dev-ruby/ruby_gntp/ruby_gntp-0.3.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README ChangeLog" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library for GNTP(Growl Notification Transport Protocol)" +HOMEPAGE="https://github.com/snaka/ruby_gntp" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rr )" + +all_ruby_prepare() { + mv test spec || die + sed -i -e "s/Spec::Runner/RSpec/" \ + -e "s#\.\./lib/##"\ + spec/ruby_gntp_spec.rb || die + +} diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest new file mode 100644 index 000000000000..70ba58d23c94 --- /dev/null +++ b/dev-ruby/ruby_parser/Manifest @@ -0,0 +1,4 @@ +DIST ruby_parser-3.13.1.gem 445952 BLAKE2B 7df7bbfe3f7f700747d32bd5c66d94fdd7c57974e622969958dda39f4dc8656a4211378ba51c4b8e8eefafebf82e550ab73a775530eab06ff6419a3dee7f8f7b SHA512 90c8b68245168c7df4ec8d0e6c62d9723d759945823768645614fe085f375c6811a15c35334c485cb59f32f6adb1aa0a06e7df043b09a48ef4e6102d93562b1b +DIST ruby_parser-3.14.0.gem 467456 BLAKE2B 0eca83b919a87306e35e0a6481b6518d5b7ca04e437f6953de278bc757e8fd53e15dd26d7049a715314fd88c01cbd4fc5123fdc98e3cfa7d063e291f92a39a93 SHA512 077cc4610a768430982735e174ddff762ac677a6d437e0e82ee6615c467997434ec6f556d6144593e548c0e7bb8f7e208485e64085858757c4ba2dc9e606e9b2 +DIST ruby_parser-3.14.1.gem 467968 BLAKE2B bcd72ebdf855111358f12c08518d200b1fdcd6bf860614dc190fc59f8a242d843271ec426797b7a2afb3082ec6775777d83d324d66391e21d1df8a27971e1b10 SHA512 0bbbe8a85e1602fd26d2ea8d19d4e57933251ba94341cda79631f7f0e35ea8f3c5b0c2e6e8bc182340838737d508cc8142167917dbd35e0bdb005889f152d72c +DIST ruby_parser-3.14.2.gem 466432 BLAKE2B 2694888b5b705733468eaf074f7f059814e2a230d1ec7390ef6b093c717534bfc6648a00240fd07d0f108ee1dcdc9f81b121a0ff0446d4ebf75fa5bf87006fa0 SHA512 65b8977fff322d4ecdbb8da1276d76318f08a13a25d8cf8429ba5ca7097c2b58c03431d60b05eec6cb62be316cf9b1efc753b86e8b67e076fd413d2324bc6655 diff --git a/dev-ruby/ruby_parser/metadata.xml b/dev-ruby/ruby_parser/metadata.xml new file mode 100644 index 000000000000..6c9ab0742bd9 --- /dev/null +++ b/dev-ruby/ruby_parser/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/ruby_parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby_parser/ruby_parser-3.13.1.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.13.1.ebuild new file mode 100644 index 000000000000..a02c7b8db55f --- /dev/null +++ b/dev-ruby/ruby_parser/ruby_parser-3.13.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A ruby parser written in pure ruby" +HOMEPAGE="https://github.com/seattlerb/ruby_parser" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 arm hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4 + !<dev-ruby/ruby_parser-2.3.1-r1" + +ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.12.0:4 )" + +DEPEND+=" test? ( dev-util/unifdef )" + +all_ruby_prepare() { + # Remove reference to perforce method that is not in a released + # version of hoe-seattlerb. + #sed -i -e '/perforce/d' Rakefile || die + sed -i -e '/license/d' Rakefile || die + sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby_parser/ruby_parser-3.14.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.14.0.ebuild new file mode 100644 index 000000000000..081f52a32c05 --- /dev/null +++ b/dev-ruby/ruby_parser/ruby_parser-3.14.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A ruby parser written in pure ruby" +HOMEPAGE="https://github.com/seattlerb/ruby_parser" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4 + !<dev-ruby/ruby_parser-2.3.1-r1" + +ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.13.0:4 )" + +DEPEND+=" test? ( dev-util/unifdef )" + +all_ruby_prepare() { + # Remove reference to perforce method that is not in a released + # version of hoe-seattlerb. + #sed -i -e '/perforce/d' Rakefile || die + sed -i -e '/license/d' Rakefile || die + sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby_parser/ruby_parser-3.14.1.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.14.1.ebuild new file mode 100644 index 000000000000..cc09e5c49971 --- /dev/null +++ b/dev-ruby/ruby_parser/ruby_parser-3.14.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A ruby parser written in pure ruby" +HOMEPAGE="https://github.com/seattlerb/ruby_parser" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4" + +ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.13.0:4 )" + +DEPEND+=" test? ( dev-util/unifdef )" + +all_ruby_prepare() { + # Remove reference to perforce method that is not in a released + # version of hoe-seattlerb. + #sed -i -e '/perforce/d' Rakefile || die + sed -i -e '/license/d' Rakefile || die + sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby_parser/ruby_parser-3.14.2.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.14.2.ebuild new file mode 100644 index 000000000000..cc09e5c49971 --- /dev/null +++ b/dev-ruby/ruby_parser/ruby_parser-3.14.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A ruby parser written in pure ruby" +HOMEPAGE="https://github.com/seattlerb/ruby_parser" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4" + +ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.13.0:4 )" + +DEPEND+=" test? ( dev-util/unifdef )" + +all_ruby_prepare() { + # Remove reference to perforce method that is not in a released + # version of hoe-seattlerb. + #sed -i -e '/perforce/d' Rakefile || die + sed -i -e '/license/d' Rakefile || die + sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/ruby_smb/Manifest b/dev-ruby/ruby_smb/Manifest new file mode 100644 index 000000000000..3043cc2c0db8 --- /dev/null +++ b/dev-ruby/ruby_smb/Manifest @@ -0,0 +1,2 @@ +DIST ruby_smb-1.0.5.gem 157184 BLAKE2B 6865e908bf57a5785d6b2523a1dc78a0fb5f63f47103fcf757c28b73228848feb7b2f05ad3286df6a52703a956854aa243fdc6d26c2841abb497b6e09449b38c SHA512 af4bd0cd40f8be0f12b204ded7ef9832de31bdadf4d0ff7f05a4addb1300827ced4f0588131c31638797f1f294230e0c61c4829fd1962043af452d55bbe133ee +DIST ruby_smb-1.1.0.gem 175104 BLAKE2B ffa4a7b3666f736fd721c8d561c28724709c7db6a2a4075e183a0a931e5df0c8047e428a2537a747eda9482d9023c2ed8fd8157d1b40244615b3818dc0c0bc37 SHA512 038ca625b580ac32455d08c675a5d7319e320944fe3aef6ed7272872fdc6affbbf2bda325897369cb23d4d62e24923a74b13fe392017854c6c5b9889c5e003f6 diff --git a/dev-ruby/ruby_smb/metadata.xml b/dev-ruby/ruby_smb/metadata.xml new file mode 100644 index 000000000000..45cc6e57da88 --- /dev/null +++ b/dev-ruby/ruby_smb/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">rapid7/ruby_smb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ruby_smb/ruby_smb-1.0.5.ebuild b/dev-ruby/ruby_smb/ruby_smb-1.0.5.ebuild new file mode 100644 index 000000000000..e1f254fa5b94 --- /dev/null +++ b/dev-ruby/ruby_smb/ruby_smb-1.0.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="pure Ruby implementation of the SMB Protocol Family" +HOMEPAGE="https://github.com/rapid7/ruby_smb" + +LICENSE="BSD" +SLOT="1" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/bindata:* + dev-ruby/rubyntlm + dev-ruby/windows_error" + +all_ruby_prepare() { + sed -i -e '/simple[Cc]ov/d' -e '/coveralls/d' spec/spec_helper.rb + sed -i -e '/[Ss]imple[Cc]ov/,/end/d' \ + -e '/[Cc]overalls/,/end/d' spec/spec_helper.rb + sed -i '/TRAVIS/d' spec/spec_helper.rb + sed -i -e '1irequire "rubyntlm"; require "time"' spec/spec_helper.rb +} diff --git a/dev-ruby/ruby_smb/ruby_smb-1.1.0.ebuild b/dev-ruby/ruby_smb/ruby_smb-1.1.0.ebuild new file mode 100644 index 000000000000..caa2f415553c --- /dev/null +++ b/dev-ruby/ruby_smb/ruby_smb-1.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="pure Ruby implementation of the SMB Protocol Family" +HOMEPAGE="https://github.com/rapid7/ruby_smb" + +LICENSE="BSD" +SLOT="1" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/bindata:* + dev-ruby/rubyntlm + dev-ruby/windows_error" + +all_ruby_prepare() { + sed -i -e '/simple[Cc]ov/d' -e '/coveralls/d' spec/spec_helper.rb + sed -i -e '/[Ss]imple[Cc]ov/,/end/d' \ + -e '/[Cc]overalls/,/end/d' spec/spec_helper.rb + sed -i '/TRAVIS/d' spec/spec_helper.rb + sed -i -e '1irequire "rubyntlm"; require "time"' spec/spec_helper.rb +} diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest new file mode 100644 index 000000000000..f493b4e8bd68 --- /dev/null +++ b/dev-ruby/rubygems/Manifest @@ -0,0 +1,8 @@ +DIST rubygems-2.7.10.tgz 863618 BLAKE2B 26a453d2808cbf03caa6f2ef4a829418de58f4ed0c7584935a0ad5fc722d7fbdf9f442261f96fdca4b6975b62608965d2f0053d3046da59771be373bed21154a SHA512 48a18c0f202f463c38cf5dafecfbc7cc39245e63c7a059ef2cefadda478483794a929ea6b7e0ef062dd4423230746f1f09d7bec06a97fe3ceccc3325397a3e71 +DIST rubygems-3.0.3.tgz 904175 BLAKE2B d99de4bdd51779ab214bc4a81f55483341a2c193d4304b8eeb6105cb95877e0a33fe03d93c47433ad3c6bdc8d3e453e33ffb799fd36164feac31616f95eeced4 SHA512 1dd585243341901c7b4cc60a4902000c10ce57fe2cc9c28e27e274a2e6029f936cde1c99d7097c93c2c5b2c8bcee5d692c8fe5cc00c996a040e4954b674e330e +DIST rubygems-3.0.4.tgz 883664 BLAKE2B d5ec493657c055561aa9c0c09719529857706db197bf266ef4c51e48e6f97c08d85a8923b0c6fd72b3fd6ecb584533ff8ca56515c555e9c5b786b0d99ad2a16e SHA512 887c64226ec0b32d33f2ea331936683406d54dc74d19e658a23521e25ab50aa23534fe9eecaf696154247ad1df1d24c233d8900b9aabc79096eebd6afef3f775 +DIST rubygems-3.0.6.tgz 887156 BLAKE2B 685cfb108cc684ecbbcee6fe341baa429ac28f331b3db444c5ed3557bc169147dddc8d226780a85842bf1de2e24f6a60b0464820afa2a6838221c22543a36daa SHA512 1ef1822a2b19790a36a6d242b7d4584222617baa27787ec58961a9cfeb2733f19f9085490ffc72ee375d3153c7114e050c42e68fc8039e727fe5961b09365ee5 +DIST rubygems-3.0.8.tgz 888058 BLAKE2B e5cf7985fb67f2d4647fffa7679241a8722d5b7c3262432cfb06ba36716d8acaca6df3704a85e24d2f14c56f260f507067f31c3ccdd9321b922e8f13d085398c SHA512 ac8906360bea6e089c987308b1ee661d2f1c68e1ed66dcb7c5afd7ebfe5bef81c5a01ab6113c5eb5b0738129105f3176e0c595a0883a952082a048b7f20a5dbf +DIST rubygems-3.1.2.tgz 995386 BLAKE2B bddf5dfc3568402257a2218642e6a15fe904b837114b9ce3a1aad155b235e42d96b1b0d4c6be1ee2e71712b8f1876902c343afdcb6d191ae0a6560f582cb282c SHA512 707525a98d14d46e69922e1deecd3b6c4caa090ee8113ba43b3912dc615cd2b1e0a083ecd0876a08b69c209bc05bba67d179f70d65aca45a92ac543170f13d39 +DIST rubygems-3.1.3.tgz 996881 BLAKE2B 0dd3bad8420de742f5ce76db977bee800f1abf2beb48b9d8f32332c4d06814d5febb8df0a2e70f6c4f26a1aa6adbf802e041019ff1d15e2c1f8f9d2ab65974d0 SHA512 8ca0c869a53c4b99072f220bca3455edee6126effb2bc5abb9265758083688b523303e8d2ca0e6d612fbc40140c06570f990fff50cce104f443d86458b190c3b +DIST rubygems-3.1.4.tgz 997835 BLAKE2B 21b8060f28e2228b7400533fa1d9fa1ae8bcaff3ebf9354e64f7d70ae35366147805a6f169986c956766bf41f34ce458d30c326c2b6f996620b14761fdf224b3 SHA512 86bb42736ccf320929eb12c83b3ce55fe95053ce5b38434902604d8d61d78c3f3cd8f20858d0fed66c473ef9fd70d7cb596c077cd06506caeac3e62ee6812ad2 diff --git a/dev-ruby/rubygems/files/auto_gem.rb b/dev-ruby/rubygems/files/auto_gem.rb new file mode 100644 index 000000000000..5c4f540a92df --- /dev/null +++ b/dev-ruby/rubygems/files/auto_gem.rb @@ -0,0 +1,7 @@ +# This file is installed by Gentoo's rubygems package. +# It's intended to help automate the loading of rubygems + +begin +require 'rubygems' +rescue LoadError +end diff --git a/dev-ruby/rubygems/files/auto_gem.rb.ruby19 b/dev-ruby/rubygems/files/auto_gem.rb.ruby19 new file mode 100644 index 000000000000..e7d564264d68 --- /dev/null +++ b/dev-ruby/rubygems/files/auto_gem.rb.ruby19 @@ -0,0 +1,10 @@ +# DO NOT USE THIS FILE! +# --------------------- +# This file is a placebo for Ruby 1.9 to work with a legacy feature, Gentoo +# added to Ruby 1.8 and earlier, loading rubygems automatically (auto_gem). +# It is no longer needed, but ruby19 needs this file to operate properly on +# a system containing older versions of Ruby and thus the legacy feature. +# +# REMOVAL NOTE: +# You may remove this file if you are running a Ruby >=1.9.1 *only* system +# or have disabled the Gentoo auto_gem.rb/RUBYOPT=auto_gem magic. diff --git a/dev-ruby/rubygems/files/conf.d-gem_server b/dev-ruby/rubygems/files/conf.d-gem_server new file mode 100644 index 000000000000..b9cfa3f557ee --- /dev/null +++ b/dev-ruby/rubygems/files/conf.d-gem_server @@ -0,0 +1,5 @@ +# /etc/conf.d/gem_server + +# See `gem_server --help` for more + +GEM_SERVER_OPTS="" diff --git a/dev-ruby/rubygems/files/gentoo-defaults-3.rb b/dev-ruby/rubygems/files/gentoo-defaults-3.rb new file mode 100644 index 000000000000..9d499b73f89d --- /dev/null +++ b/dev-ruby/rubygems/files/gentoo-defaults-3.rb @@ -0,0 +1,63 @@ +# frozen_string_literal: true + +# Gentoo defaults for rubygems 3.x +# +# Gentoo policy is to install all manually installed code into +# /usr/local and to keep /usr managed by Gentoo. This policy file +# ensures that all manually installed gems using "gem install" are +# installed in /usr/local. Gentoo gems are installed in /usr. + +# TODO: We used to manipulate the default_dir, but this no longer +# works since this is now the base for the new "default" gems that +# ruby 2.6 uses with irb. So default_dir should refer to the system +# default now. rubygems also provides various hooks so we may be able +# to use those to install gems in /usr/local by default in a less +# intrusive way. +module Gem + + class << self + def portage_gems_dir + ConfigMap[:sitelibdir].gsub('site_ruby', 'gems') + end + + def local_dir + portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr', + '@GENTOO_PORTAGE_EPREFIX@/usr/local') + end + + def install_dir + Process.euid.zero? ? local_dir : user_dir + end + + undef :default_path + def default_path + path = [] + path << user_dir if user_home && File.exist?(user_home) + path << default_dir + path << vendor_dir if vendor_dir && File.directory?(vendor_dir) + path << local_dir + path << portage_gems_dir + end + + def system_config_path + '@GENTOO_PORTAGE_EPREFIX@/etc' + end + + # Set Gentoo defaults for gem commands + begin + undef :operating_system_defaults + rescue NameError + # Avoid either runtime errors or redefinition warnings since + # this method is not present in all rubygem versions distributed + # with dev-lang/ruby. + end + def operating_system_defaults + { + 'install' => "--install-dir #{install_dir}", + 'uninstall' => "--install-dir #{install_dir}", + 'update' => "--install-dir #{install_dir}" + } + end + + end +end diff --git a/dev-ruby/rubygems/files/gentoo-defaults-4.rb b/dev-ruby/rubygems/files/gentoo-defaults-4.rb new file mode 100644 index 000000000000..1da07f64ddef --- /dev/null +++ b/dev-ruby/rubygems/files/gentoo-defaults-4.rb @@ -0,0 +1,63 @@ +# frozen_string_literal: true + +# Gentoo defaults for rubygems 3.x +# +# Gentoo policy is to install all manually installed code into +# /usr/local and to keep /usr managed by Gentoo. This policy file +# ensures that all manually installed gems using "gem install" are +# installed in /usr/local. Gentoo gems are installed in /usr. + +# TODO: We used to manipulate the default_dir, but this no longer +# works since this is now the base for the new "default" gems that +# ruby 2.6 uses with irb. So default_dir should refer to the system +# default now. rubygems also provides various hooks so we may be able +# to use those to install gems in /usr/local by default in a less +# intrusive way. +module Gem + + class << self + def portage_gems_dir + RbConfig::CONFIG['sitelibdir'].gsub('site_ruby', 'gems') + end + + def local_dir + portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr', + '@GENTOO_PORTAGE_EPREFIX@/usr/local') + end + + def install_dir + Process.euid.zero? ? local_dir : user_dir + end + + undef :default_path + def default_path + path = [] + path << user_dir if user_home && File.exist?(user_home) + path << default_dir + path << vendor_dir if vendor_dir && File.directory?(vendor_dir) + path << local_dir + path << portage_gems_dir + end + + def system_config_path + '@GENTOO_PORTAGE_EPREFIX@/etc' + end + + # Set Gentoo defaults for gem commands + begin + undef :operating_system_defaults + rescue NameError + # Avoid either runtime errors or redefinition warnings since + # this method is not present in all rubygem versions distributed + # with dev-lang/ruby. + end + def operating_system_defaults + { + 'install' => "--install-dir #{install_dir}", + 'uninstall' => "--install-dir #{install_dir}", + 'update' => "--install-dir #{install_dir}" + } + end + + end +end diff --git a/dev-ruby/rubygems/files/gentoo-defaults.rb b/dev-ruby/rubygems/files/gentoo-defaults.rb new file mode 100644 index 000000000000..a645f4868281 --- /dev/null +++ b/dev-ruby/rubygems/files/gentoo-defaults.rb @@ -0,0 +1,42 @@ +module Gem + + class << self + def portage_gems_dir + ConfigMap[:sitelibdir].gsub('site_ruby', 'gems') + end + + def local_dir + portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr', '@GENTOO_PORTAGE_EPREFIX@/usr/local') + end + + undef :default_dir + def default_dir + Process.euid == 0 ? local_dir : user_dir + end + + undef :default_path + def default_path + [user_dir, local_dir, portage_gems_dir] + end + + undef :default_bindir + def default_bindir + Process.euid == 0 ? "@GENTOO_PORTAGE_EPREFIX@/usr/local/bin" : File.join(user_dir, 'bin') + end + + undef :ruby_engine + def ruby_engine + if defined? RUBY_DESCRIPTION and RUBY_DESCRIPTION =~ /Ruby Enterprise Edition/ + "rubyee" + else + # Ruby 1.8 and Ruby 1.9.2_rc2 and later install here, and JRuby + # rewrites that anyway. + "ruby" + end + end + + def system_config_path + "@GENTOO_PORTAGE_EPREFIX@/etc" + end + end +end diff --git a/dev-ruby/rubygems/files/init.d-gem_server2 b/dev-ruby/rubygems/files/init.d-gem_server2 new file mode 100644 index 000000000000..213d88b0bd6e --- /dev/null +++ b/dev-ruby/rubygems/files/init.d-gem_server2 @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +PID=/var/run/gem_server.pid + +depend() { + need localmount net +} + +start() { + ebegin "Starting gem_server" + start-stop-daemon --start --user nobody --quiet --background \ + --make-pidfile --pidfile ${PID} --exec /usr/bin/ruby -- \ + /usr/bin/gem server ${GEM_SERVER_OPTS} + eend ${?} +} + +stop() { + ebegin "Stopping gem_server" + start-stop-daemon --stop --pidfile ${PID} + eend ${?} +} diff --git a/dev-ruby/rubygems/metadata.xml b/dev-ruby/rubygems/metadata.xml new file mode 100644 index 000000000000..d7ae03be1b13 --- /dev/null +++ b/dev-ruby/rubygems/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <use> + <flag name="server">Install support for the rubygems server</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rubygems/rubygems-2.7.10.ebuild b/dev-ruby/rubygems/rubygems-2.7.10.ebuild new file mode 100644 index 000000000000..1f2029347947 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-2.7.10.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( >=dev-ruby/builder-2.1 )" + +ruby_add_bdepend " + test? ( + dev-ruby/json + >=dev-ruby/minitest-4:0 + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + + # Skip tests for default gems that all fail + sed -i -e '/test_default_gems_use_full_paths/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + sed -i -e '/test_execute_ignore_default_gem_verbose/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_cleanup_command.rb || die + sed -i -e '/test_execute_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_contents_command.rb test/rubygems/test_gem_commands_pristine_command.rb || die + sed -i -e '/test_execute_\(default_details\|show_default_gems\)/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_query_command.rb || die + sed -i -e '/test_execute_all/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_uninstall_command.rb || die + sed -i -e '/\(test_default_gem\|test_check_executable_overwrite\|test_require_works_after_cleanup\)/,/^ end/ s:^:#:' \ + test/rubygems/test_{gem_installer,require}.rb || die + sed -i -e '/test_\(load_default_gem\|default_spec_stub\)/,/^ end/ s:^:#:' test/rubygems/test_gem_specification.rb || die + sed -i -e '/test_uninstall_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_uninstaller.rb || die + rm -f test/rubygems/test_gem_indexer.rb || die + sed -i -e '/test_\(require_when_gem_defined\|realworld_default_gem\)/,/^ end/ s:^:#:' test/rubygems/test_require.rb || die + rm -f test/rubygems/test_gem_commands_setup_command.rb || die + + # Avoid tests playing tricks with ruby engine that don't seem to + # work for us. + rm test/rubygems/test_gem_request_set_gem_dependency_api.rb || die + + # Avoid test requiring network access + sed -i -e '/test_download_to_cache/askip "requires network access"' test/rubygems/test_gem_remote_fetcher.rb || die + # Avoid test requiring obsolete TLS versions + sed -i -e '/test_do_not_allow_invalid_client_cert_auth_connection/askip "requires obsolete TLSv1"' test/rubygems/test_gem_remote_fetcher.rb || die + + # Avoid test requiring file system permission changes + sed -i -e '/test_traverse_parents_does_not_crash_on_permissions_error/,/^ end/ s:^:#:' test/rubygems/test_gem_util.rb || die +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>4.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:' || die) +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(23|24|...)" + ewarn +} diff --git a/dev-ruby/rubygems/rubygems-3.0.3.ebuild b/dev-ruby/rubygems/rubygems-3.0.3.ebuild new file mode 100644 index 000000000000..86f348332678 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.0.3.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + sed -i -e '/assert_self_install_permissions/,/^ end/ s/^.*RUBY_INSTALL_NAME.*//' test/rubygems/test_gem.rb || die + + # Skip tests for default gems that all fail + sed -i -e '/test_default_gems_use_full_paths/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + sed -i -e '/test_execute_ignore_default_gem_verbose/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_cleanup_command.rb || die + sed -i -e '/test_execute_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_contents_command.rb test/rubygems/test_gem_commands_pristine_command.rb || die + sed -i -e '/test_execute_\(default_details\|show_default_gems\)/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_query_command.rb || die + sed -i -e '/test_execute_all/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_uninstall_command.rb || die + sed -i -e '/\(test_default_gem\|test_check_executable_overwrite\|test_require_works_after_cleanup\)/,/^ end/ s:^:#:' \ + test/rubygems/test_{gem_installer,require}.rb || die + sed -i -e '/test_\(load_default_gem\|default_spec_stub\|self_stubs\)/,/^ end/ s:^:#:' test/rubygems/test_gem_specification.rb || die + sed -i -e '/test_uninstall_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_uninstaller.rb || die + rm -f test/rubygems/test_gem_indexer.rb || die + sed -i -e '/test_\(require_when_gem_defined\|realworld_default_gem\)/,/^ end/ s:^:#:' test/rubygems/test_require.rb || die + rm -f test/rubygems/test_gem_commands_setup_command.rb || die + + # Avoid tests playing tricks with ruby engine that don't seem to + # work for us. + rm test/rubygems/test_gem_request_set_gem_dependency_api.rb || die + + # Avoid test requiring network access + sed -i -e '/test_download_to_cache/askip "requires network access"' test/rubygems/test_gem_remote_fetcher.rb || die + + # Avoid test requiring file system permission changes + sed -i -e '/test_traverse_parents_does_not_crash_on_permissions_error/,/^ end/ s:^:#:' test/rubygems/test_gem_util.rb || die + + # Avoid uninvestigated test failure in favor of security release + sed -i -e '/test_self_install_permissions_with_format_executable/askip "uninvestigated failure"' test/rubygems/test_gem.rb || die +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(23|24|...)" + ewarn +} diff --git a/dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild b/dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild new file mode 100644 index 000000000000..35ab109bb28d --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-3.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(23|24|...)" + ewarn +} diff --git a/dev-ruby/rubygems/rubygems-3.0.6.ebuild b/dev-ruby/rubygems/rubygems-3.0.6.ebuild new file mode 100644 index 000000000000..bbd9d9d9b186 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.0.6.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-3.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(23|24|...)" + ewarn +} diff --git a/dev-ruby/rubygems/rubygems-3.0.8.ebuild b/dev-ruby/rubygems/rubygems-3.0.8.ebuild new file mode 100644 index 000000000000..239ef3fa3eff --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.0.8.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_depend "virtual/ruby-ssl" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-3.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + sed -i -e '/test_env_shebang_flag/askip' test/rubygems/test_gem_commands_setup_command.rb || die +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(23|24|...)" + ewarn +} diff --git a/dev-ruby/rubygems/rubygems-3.1.2.ebuild b/dev-ruby/rubygems/rubygems-3.1.2.ebuild new file mode 100644 index 000000000000..54e32ae28236 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.1.2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_depend "virtual/ruby-ssl" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rake + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-4.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + # Avoid test that won't work as json is also installed as plain ruby code + sed -i -e '/test_realworld_default_gem/askip "gentoo"' test/rubygems/test_require.rb || die + + # Update manifest after changing files to avoid a test failure + if use test; then + rake update_manifest || die + fi +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(25|26|...)" + ewarn +} diff --git a/dev-ruby/rubygems/rubygems-3.1.3.ebuild b/dev-ruby/rubygems/rubygems-3.1.3.ebuild new file mode 100644 index 000000000000..54e32ae28236 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.1.3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_depend "virtual/ruby-ssl" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rake + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-4.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + # Avoid test that won't work as json is also installed as plain ruby code + sed -i -e '/test_realworld_default_gem/askip "gentoo"' test/rubygems/test_require.rb || die + + # Update manifest after changing files to avoid a test failure + if use test; then + rake update_manifest || die + fi +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(25|26|...)" + ewarn +} diff --git a/dev-ruby/rubygems/rubygems-3.1.4.ebuild b/dev-ruby/rubygems/rubygems-3.1.4.ebuild new file mode 100644 index 000000000000..83d91f198951 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-3.1.4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="https://rubygems.org/" +LICENSE="GPL-2 || ( Ruby MIT )" + +SRC_URI="https://rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" +RESTRICT="!test? ( test )" + +PDEPEND="server? ( =dev-ruby/builder-3* )" + +ruby_add_depend "virtual/ruby-ssl" + +ruby_add_bdepend " + test? ( + dev-ruby/json + dev-ruby/minitest:5 + dev-ruby/rake + dev-ruby/rdoc + )" + +all_ruby_prepare() { + + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults-4.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die + # Avoid test that won't work as json is also installed as plain ruby code + sed -i -e '/test_realworld_default_gem/askip "gentoo"' test/rubygems/test_require.rb || die + + # Update manifest after changing files to avoid a test failure + if use test; then + rake update_manifest || die + fi +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ + -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') +} + +all_ruby_install() { + dodoc History.txt README.md + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server + newconfd "${FILESDIR}/conf.d-gem_server" gem_server + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(25|26|...)" + ewarn +} diff --git a/dev-ruby/rubyntlm/Manifest b/dev-ruby/rubyntlm/Manifest new file mode 100644 index 000000000000..9d77479e0334 --- /dev/null +++ b/dev-ruby/rubyntlm/Manifest @@ -0,0 +1 @@ +DIST rubyntlm-0.6.2.gem 32768 BLAKE2B 2459dc14c5eaa00c8728bafc0e30fbc1ad09a1fe012e4c6e428028f6232045ddd34fda1654e7b8ebcbc9349cbe24f6f6e44dc4af34c86e6b219e86d3a0caff88 SHA512 11c5a4affc47ac9c4207718856549e202946a0d75f40b508d9dbdde4f5792de0737e03342c653a0cb06f8ca91a260859cd386d6349c909c7ea99c31c77fd6bb3 diff --git a/dev-ruby/rubyntlm/metadata.xml b/dev-ruby/rubyntlm/metadata.xml new file mode 100644 index 000000000000..146277f852f4 --- /dev/null +++ b/dev-ruby/rubyntlm/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">winrb/rubyntlm</remote-id> + <remote-id type="rubygems">rubyntlm</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rubyntlm/rubyntlm-0.6.2.ebuild b/dev-ruby/rubyntlm/rubyntlm-0.6.2.ebuild new file mode 100644 index 000000000000..045312f02ff0 --- /dev/null +++ b/dev-ruby/rubyntlm/rubyntlm-0.6.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby/NTLM provides message creator and parser for the NTLM authentication." +HOMEPAGE="https://github.com/winrb/rubyntlm" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/rubypants/Manifest b/dev-ruby/rubypants/Manifest new file mode 100644 index 000000000000..2978d0a3801c --- /dev/null +++ b/dev-ruby/rubypants/Manifest @@ -0,0 +1,2 @@ +DIST rubypants-0.7.0.gem 13824 BLAKE2B c132b3c60390b712c08ec54b10a14255e21d9622399b9ddba8d2359915411c604052569e5713fdb4b1a3fefcc3416f4d5af16baca19063a0b79203838b8f3066 SHA512 cacd05e0cc87389b5513c83fe085db39202c2789b882b564caaded6b84b1ecb1acbde8232462dadf501c68c1c881ee7b7f4e640feec47c9c0f7a08758b5f5724 +DIST rubypants-0.7.1.gem 14336 BLAKE2B 6a2fd50f07e6eca0ee76a3f653fd378b9c389349a23bfa98cbf1be42e46a58cb76769e4f653bf83d72faa318be81b60920d0dbd900053f85489fe2c6a1a69a23 SHA512 48f04e621cefecb9911ee346ea9b4f185ee52a603f9a307d5424d314d3be88d0efda959a5654b5f532dfdd5af9ce2c0c6baceca4e09ad6d1471bf31c990e79bb diff --git a/dev-ruby/rubypants/metadata.xml b/dev-ruby/rubypants/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/rubypants/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rubypants/rubypants-0.7.0.ebuild b/dev-ruby/rubypants/rubypants-0.7.0.ebuild new file mode 100644 index 000000000000..a97b04f5ff82 --- /dev/null +++ b/dev-ruby/rubypants/rubypants-0.7.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby port of the SmartyPants PHP library" +HOMEPAGE="http://chneukirchen.org/repos/rubypants/README" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/ecov/I s:^:#:' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I. test/rubypants_test.rb || die "tests failed" +} diff --git a/dev-ruby/rubypants/rubypants-0.7.1.ebuild b/dev-ruby/rubypants/rubypants-0.7.1.ebuild new file mode 100644 index 000000000000..9f766aea0c21 --- /dev/null +++ b/dev-ruby/rubypants/rubypants-0.7.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby port of the SmartyPants PHP library" +HOMEPAGE="https://leahneukirchen.org/repos/rubypants/README" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/ecov/I s:^:#:' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -I. test/rubypants_test.rb || die "tests failed" +} diff --git a/dev-ruby/rubytest-cli/Manifest b/dev-ruby/rubytest-cli/Manifest new file mode 100644 index 000000000000..9a4cd298ea68 --- /dev/null +++ b/dev-ruby/rubytest-cli/Manifest @@ -0,0 +1 @@ +DIST rubytest-cli-0.2.0.gem 12800 BLAKE2B 7f20680cf9d061c9bbddd268bac3ded3107cba5f8c4f2ff16865e4927dfdc118993079e400b229dd9f865f624ce33da982ea65fe792682d5a3b92659ae22fa88 SHA512 cd09b69e713f10c37569a20eeaa6fe8375238a17d927f5628d44218291c0f2f0e37a08bc06e51d25bff4ccf207c589b23f9cbc67221b2326baf8c14906fbbe3e diff --git a/dev-ruby/rubytest-cli/metadata.xml b/dev-ruby/rubytest-cli/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/rubytest-cli/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild b/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild new file mode 100644 index 000000000000..503ffce38f20 --- /dev/null +++ b/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Rubytest CLI is a command-line interface for Rubytest" +HOMEPAGE="https://rubyworks.github.io/rubytest-cli/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/ansi >=dev-ruby/rubytest-0.8.0" diff --git a/dev-ruby/rubytest/Manifest b/dev-ruby/rubytest/Manifest new file mode 100644 index 000000000000..875ccec80e27 --- /dev/null +++ b/dev-ruby/rubytest/Manifest @@ -0,0 +1 @@ +DIST rubytest-0.8.1.gem 23552 BLAKE2B 1109a2e5de2336d727a3fd1ed7833a60549022d95a74a3ce0c4d94d1fc527841cd5aaef6177adebc002e7fe8c016b24be82f1c8c1dc602a7ef8f5c4653781447 SHA512 545e3c2af0c5f9bd5b109b809dc249171f4e738b7b3827f753746740ba03c360191a6b3c5f4068c97472474b543d3f1f88ef755a8dddbaf291a78e3fc073bb66 diff --git a/dev-ruby/rubytest/metadata.xml b/dev-ruby/rubytest/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/rubytest/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rubytest/rubytest-0.8.1.ebuild b/dev-ruby/rubytest/rubytest-0.8.1.ebuild new file mode 100644 index 000000000000..ef5b1435f785 --- /dev/null +++ b/dev-ruby/rubytest/rubytest-0.8.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby Test is a universal test harness for Ruby" +HOMEPAGE="https://rubyworks.github.io/rubytest/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/ae dev-ruby/qed )" +ruby_add_rdepend "dev-ruby/ansi" + +each_ruby_test() { + ${RUBY} -S qed || die 'tests failed' +} diff --git a/dev-ruby/rubytter/Manifest b/dev-ruby/rubytter/Manifest new file mode 100644 index 000000000000..2a62f2f09de4 --- /dev/null +++ b/dev-ruby/rubytter/Manifest @@ -0,0 +1 @@ +DIST rubytter-1.5.1.gem 15872 BLAKE2B fd4f3be2570f12a900fa031a74fa6b4e053bc966e8c086d099fb0716c80515ccf1df63d0634af676a95541329029b932911262db5f377a1bc32a41bfbed5fdeb SHA512 79be7b7803a53db654a14ff83da657e3e5016d5bda61e8c127dbf6d85231a8c115d38041aba99fdabd50825135b801cc444cca84c13d174004cda8cc4760bd2e diff --git a/dev-ruby/rubytter/metadata.xml b/dev-ruby/rubytter/metadata.xml new file mode 100644 index 000000000000..78dc6f7e7480 --- /dev/null +++ b/dev-ruby/rubytter/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> +</maintainer> +<maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rubytter/rubytter-1.5.1-r1.ebuild b/dev-ruby/rubytter/rubytter-1.5.1-r1.ebuild new file mode 100644 index 000000000000..8986caea688a --- /dev/null +++ b/dev-ruby/rubytter/rubytter-1.5.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc examples/*" + +inherit ruby-fakegem + +DESCRIPTION="Rubytter is a simple twitter library" +HOMEPAGE="https://wiki.github.com/jugyo/rubytter" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/json-1.1.3:* >=dev-ruby/oauth-0.3.6" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/check_dependencies/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest new file mode 100644 index 000000000000..9c699b36d15b --- /dev/null +++ b/dev-ruby/rubyzip/Manifest @@ -0,0 +1,3 @@ +DIST rubyzip-1.3.0-git.tgz 156664 BLAKE2B 2bde6515ddc71da32fc2d2819770857f7dde8605718c868f73edb8493f7db5ce66a7115d09933ffc6a06ac0979ab07e8cbdcd47984707688b7a5db43394847bc SHA512 5a764725d1f6a797f710581dbe07bd7971f0a8a5b0ffb7fc9b1a627c32e6e342ff54e2ad39e74e294dd283b8cbf358ed2dc40857f6f656007adff80d4769b9f4 +DIST rubyzip-2.2.0-git.tgz 224109 BLAKE2B b1d879d04c4bd23f32f82260d386a0b0ff8bb4c1af705a4eca9fc279b4095551edad27e2187aa146b9c76f183df2687fc03dd7c6d62c2dde6d70c9137226316c SHA512 c10f3574c7948ae29ed665de69f79d714e146bda27a634c3bfdf7210240b535c6a9fba43fff0228fd85afd262ca56d25002393eda90237d8da1034edda62e2a7 +DIST rubyzip-2.3.0-git.tgz 225336 BLAKE2B 24b00e02c26881953c843761d38b8bf3a9a5a04da6cafa73bea6abdeea345a71a31241a557ff3c182df274210a970f17b3e866657153784df6b03cdf472681f6 SHA512 da9c446aa1a3c457decdaedb387f4030f84a2b1c1c3ca14a0e8588103f95cf893812e7a146362c083aba478828ccda4b127cd0b80fa2fa09022e06ad041506bf diff --git a/dev-ruby/rubyzip/metadata.xml b/dev-ruby/rubyzip/metadata.xml new file mode 100644 index 000000000000..cb1c2991ebbd --- /dev/null +++ b/dev-ruby/rubyzip/metadata.xml @@ -0,0 +1,12 @@ +<?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">rubyzip/rubyzip</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild b/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild new file mode 100644 index 000000000000..cc2a60650cc9 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="rubyzip.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library for reading and writing zip files" +HOMEPAGE="https://github.com/rubyzip/rubyzip" +# Tests are not included in the gem. +SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="Ruby" +SLOT="1" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86" +IUSE="" + +RDEPEND="" +DEPEND="${DEPEND} test? ( app-arch/zip )" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} + +all_ruby_prepare() { + # Avoid dependencies on simplecov and coveralls + sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Avoid dependency on bundler + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Fix hardcoded path to /tmp + sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die + + # Add missing requires + sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die +} diff --git a/dev-ruby/rubyzip/rubyzip-2.2.0.ebuild b/dev-ruby/rubyzip/rubyzip-2.2.0.ebuild new file mode 100644 index 000000000000..35b67483c881 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-2.2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="rubyzip.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library for reading and writing zip files" +HOMEPAGE="https://github.com/rubyzip/rubyzip" +# Tests are not included in the gem. +SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="Ruby" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${DEPEND} test? ( app-arch/zip )" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} + +all_ruby_prepare() { + # Avoid dependencies on simplecov and coveralls + sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Avoid dependency on bundler + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Fix hardcoded path to /tmp + sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die + + # Add missing requires + sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die +} diff --git a/dev-ruby/rubyzip/rubyzip-2.3.0.ebuild b/dev-ruby/rubyzip/rubyzip-2.3.0.ebuild new file mode 100644 index 000000000000..16bec97ba963 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-2.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="rubyzip.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library for reading and writing zip files" +HOMEPAGE="https://github.com/rubyzip/rubyzip" +# Tests are not included in the gem. +SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="Ruby" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${DEPEND} test? ( app-arch/zip )" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} + +all_ruby_prepare() { + # Avoid dependencies on simplecov and coveralls + sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Avoid dependency on bundler + sed -i -e '/bundler/ s:^:#: ; /rubocop/I s:^:#:' Rakefile || die + + # Fix hardcoded path to /tmp + sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die + + # Add missing requires + sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die +} diff --git a/dev-ruby/safe_yaml/Manifest b/dev-ruby/safe_yaml/Manifest new file mode 100644 index 000000000000..ca8a9f884fbf --- /dev/null +++ b/dev-ruby/safe_yaml/Manifest @@ -0,0 +1 @@ +DIST safe_yaml-1.0.5.gem 30720 BLAKE2B affbf5331cf290c3e7932f53da9b0f488730ae9138f0b28eb1e8e0323c7056635ed73bcadebd52f725895030a153dab13e243d997e84004f5bfac82e82dcebe2 SHA512 d9c8d9c28c3c8708f97cb0545f58152af81056f5e79147424dd7bf625f8e533440d1ed41d6abe2faf84578754823a1215ba28772c2e8593bfcfc397d647187b9 diff --git a/dev-ruby/safe_yaml/metadata.xml b/dev-ruby/safe_yaml/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/safe_yaml/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/safe_yaml/safe_yaml-1.0.5.ebuild b/dev-ruby/safe_yaml/safe_yaml-1.0.5.ebuild new file mode 100644 index 000000000000..cb26c6118e1b --- /dev/null +++ b/dev-ruby/safe_yaml/safe_yaml-1.0.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Parse YAML safely, alternative implementation of YAML.load" +HOMEPAGE="https://dtao.github.com/safe_yaml" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/hashie + dev-ruby/heredoc_unindent + dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/local timezone/askip "timezone"' spec/transform/to_date_spec.rb || die +} + +each_ruby_test() { + # Run specs with monkeypatch + ${RUBY} -S rspec-3 spec --tag ~libraries || die + + # Running specs without monkeypatch + ${RUBY} -S rspec-3 spec --tag libraries || die +} diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest new file mode 100644 index 000000000000..2257fc237800 --- /dev/null +++ b/dev-ruby/sanitize/Manifest @@ -0,0 +1,5 @@ +DIST sanitize-4.6.6.tar.gz 1349809 BLAKE2B d34f3359f1241881f96d48cfce6aa554796e7c7a2282c729dc93b6db7f1c5d2ec1677ebd1cddb79cb14f84d7724ddb7dad551136cd130bd89750ab5851a8094f SHA512 6f2567601dea9fd08996fe537e5543c7618e407a68580a19b74333a6e840d1123891a087e6c57c88f887390cd04e4c25af71547d7d9622e61369dc4ffe92f220 +DIST sanitize-5.0.0.tar.gz 1350342 BLAKE2B 0c4a8e442a2dc9748dfb4ab2cf13862bbb2692665194ae8aa18bf84bac200e5622fa05cf2a022d7a0c3a7ddd901996f028948f517f8f6227d0aad2479f05996c SHA512 dcfaec0666bb017580deaa4a9fb2c6e50dc678fe26bd57db7451472e1558ff7adaa6e0bd43554ceb68501a92d25405415ce6570806b177d7d92f138666f5169c +DIST sanitize-5.1.0.tar.gz 1351620 BLAKE2B 098fc23c87d02d73341e466b6bb4440037f5a46841a898e05f37bc3379df8534ade8948e58173725d93b620627d8ba9c5a9a9e55b6d29f52b43fd7328cd6fd3f SHA512 d6c1f28795f881ab7fd11283c29f8e09b15bf393ee1b419aa9b8bbe41a7a7a28b5644a1c55b8e87534acf0ac73f1a07c14964c3d158814302dee57eaf2e91f90 +DIST sanitize-5.2.0.tar.gz 1352054 BLAKE2B a0502805472bbe3d9bfb7c647bde6fd67d7204addf7e351c890e3db001c7095f0292d19b338aef73ef35f3f46525b9365bfcac820820025578b5bcf60afaa01d SHA512 9851145f9a4e07c18da15de809ca8120739d6062bdbc10d39947bbffc8b41385f6d8e8e5abebb5c4d29c5dfa68ff772767758cc079fe13b44e055a61bd978ab4 +DIST sanitize-5.2.1.tar.gz 1352785 BLAKE2B 2742085ac296869b8be36cf803f999475032c147d94aa0fba77fb83b8305470baf144f4c68fc5711871779f327c9bf1ba8b3b817f3777a04fb0b9c726318ee1d SHA512 3384d01db244f9f7feeb67bf2fae5773a85f512411bd761db6a71ab3fb690fac33c0caae848e5a4df6f202be7dd7cc52f8bac4c82bef447d20dbc70a586ed82f diff --git a/dev-ruby/sanitize/metadata.xml b/dev-ruby/sanitize/metadata.xml new file mode 100644 index 000000000000..e19bd9598096 --- /dev/null +++ b/dev-ruby/sanitize/metadata.xml @@ -0,0 +1,12 @@ +<?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">rgrove/sanitize</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sanitize/sanitize-4.6.6.ebuild b/dev-ruby/sanitize/sanitize-4.6.6.ebuild new file mode 100644 index 000000000000..03582866e28e --- /dev/null +++ b/dev-ruby/sanitize/sanitize-4.6.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" +HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.4.4 + >=dev-ruby/nokogumbo-1.4:0" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} diff --git a/dev-ruby/sanitize/sanitize-5.0.0.ebuild b/dev-ruby/sanitize/sanitize-5.0.0.ebuild new file mode 100644 index 000000000000..3b5304727231 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" +HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.8.0 + dev-ruby/nokogumbo:2" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} diff --git a/dev-ruby/sanitize/sanitize-5.1.0.ebuild b/dev-ruby/sanitize/sanitize-5.1.0.ebuild new file mode 100644 index 000000000000..c5bc9ca51fd6 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" +HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.8.0 + dev-ruby/nokogumbo:2" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} diff --git a/dev-ruby/sanitize/sanitize-5.2.0.ebuild b/dev-ruby/sanitize/sanitize-5.2.0.ebuild new file mode 100644 index 000000000000..980f5a48297e --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" +HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.8.0 + dev-ruby/nokogumbo:2" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} diff --git a/dev-ruby/sanitize/sanitize-5.2.1.ebuild b/dev-ruby/sanitize/sanitize-5.2.1.ebuild new file mode 100644 index 000000000000..37517b331d8d --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" +HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.8.0 + dev-ruby/nokogumbo:2" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} diff --git a/dev-ruby/sass-listen/Manifest b/dev-ruby/sass-listen/Manifest new file mode 100644 index 000000000000..27e4fbcb81f0 --- /dev/null +++ b/dev-ruby/sass-listen/Manifest @@ -0,0 +1 @@ +DIST sass-listen-4.0.0.tar.gz 49449 BLAKE2B bb44a91a6fbdca1b6d1b8b2253efd1709fb89713631d9772ce91dab9bc701b197a6551391699f5566d3a75ae42f9958d5d6d8346de9f74b45d7b60d88cca5ee7 SHA512 799e1e70f86b4be671c3286ae860cbcec83d8a1311d67fb37956dc527e2961888094439fd8377d50c78798c494f19ddbed3a412f02e76e429dcc1717c93b7e19 diff --git a/dev-ruby/sass-listen/files/listen-3.1.5-ruby26.patch b/dev-ruby/sass-listen/files/listen-3.1.5-ruby26.patch new file mode 100644 index 000000000000..f90ab1ed213c --- /dev/null +++ b/dev-ruby/sass-listen/files/listen-3.1.5-ruby26.patch @@ -0,0 +1,33 @@ +From 2908365366792ac3ba010fa32bc3be2beaed451a Mon Sep 17 00:00:00 2001 +From: Samuel Williams <samuel.williams@oriontransfer.co.nz> +Date: Sun, 16 Dec 2018 11:32:45 +1300 +Subject: [PATCH] Use raw Pathname to fix Linux specs. + +--- + lib/listen/adapter/linux.rb | 2 +- + spec/lib/listen/adapter/linux_spec.rb | 12 +----------- + 2 files changed, 2 insertions(+), 12 deletions(-) + +diff --git a/spec/lib/listen/adapter/linux_spec.rb b/spec/lib/listen/adapter/linux_spec.rb +index d77f0c0..da48319 100644 +--- a/spec/lib/listen/adapter/linux_spec.rb ++++ b/spec/lib/listen/adapter/linux_spec.rb +@@ -10,17 +10,7 @@ + end + + if linux? +- let(:dir1) do +- instance_double( +- Pathname, +- 'dir1', +- to_s: '/foo/dir1', +- cleanpath: real_dir1 +- ) +- end +- +- # just so cleanpath works in above double +- let(:real_dir1) { instance_double(Pathname, 'dir1', to_s: '/foo/dir1') } ++ let(:dir1) {Pathname.new("/foo/dir1")} + + let(:config) { instance_double(Listen::Adapter::Config) } + let(:queue) { instance_double(Queue) } diff --git a/dev-ruby/sass-listen/metadata.xml b/dev-ruby/sass-listen/metadata.xml new file mode 100644 index 000000000000..60e64de6a28c --- /dev/null +++ b/dev-ruby/sass-listen/metadata.xml @@ -0,0 +1,12 @@ +<?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">sass/listen</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sass-listen/sass-listen-4.0.0.ebuild b/dev-ruby/sass-listen/sass-listen-4.0.0.ebuild new file mode 100644 index 000000000000..20637b7aef85 --- /dev/null +++ b/dev-ruby/sass-listen/sass-listen-4.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/sass/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Fork of guard/listen provides a stable API for users of the ruby Sass CLI" +HOMEPAGE="https://github.com/guard/listen" +RUBY_S="listen-${PV}" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="test" + +PATCHES=( "${FILESDIR}/listen-3.1.5-ruby26.patch" ) + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.7" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/sass-listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +} diff --git a/dev-ruby/sass-rails/Manifest b/dev-ruby/sass-rails/Manifest new file mode 100644 index 000000000000..b8542013b986 --- /dev/null +++ b/dev-ruby/sass-rails/Manifest @@ -0,0 +1,3 @@ +DIST sass-rails-5.0.7.tar.gz 90425 BLAKE2B 8aceff670ba2e4993597858b74362a02307e39ac967a331005f21d384644d0dbdd414560abaa88e60d35358b47d65c146baa72f37c879a2f13178e187cc1f79b SHA512 491a1618a75becf6095b102c996e50d25fe701d3a6c1b6c6fadff81c6c09260c3ee6ff9c84abf7bc62779fa7034d54d7c0d9a7c4148d3cc741d83efda87ec0a0 +DIST sass-rails-5.0.8.tar.gz 90020 BLAKE2B 20e9e6e4701b0a14ff10f343fb94065af0110d86aab1bb4676de4806e20f8031b4cf7961002828438c3ae6be9802b3a2e4367882241e8fe745029747d31f9b04 SHA512 05d9e8d269c608723158831e215599a8482383fe79a9c3416fa8efd11bf9bae7935c5b7a1f5e8a22a85336abf4ceecc50578f0c8e51310c09b2540831959652e +DIST sass-rails-5.1.0.tar.gz 89994 BLAKE2B dc0083af8399d2ff1210a6430d47ccaaac88b337da5cfeb61c7a4f0c6b1f55d59d896a874945a943cc322fabfb3a31d80a1a467a12d04f2c1a1f9c84cbb452a0 SHA512 894b957b6b72d340ef2eebdc721c58c2d101fd275a10265f859f17f654736b3d3542a7100db922236925af40ae090406689815a4bb4f623c5f70652685571b7e diff --git a/dev-ruby/sass-rails/metadata.xml b/dev-ruby/sass-rails/metadata.xml new file mode 100644 index 000000000000..f09258070739 --- /dev/null +++ b/dev-ruby/sass-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/sass-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sass-rails/sass-rails-5.0.7.ebuild b/dev-ruby/sass-rails/sass-rails-5.0.7.ebuild new file mode 100644 index 000000000000..82e656fb0e0b --- /dev/null +++ b/dev-ruby/sass-rails/sass-rails-5.0.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Official Ruby-on-Rails Integration with Sass" +HOMEPAGE="https://github.com/rails/sass-rails" +SRC_URI="https://github.com/rails/sass-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="" + +# Restrict tests for now since it is hard to set up the right +# environment with the correct ruby interpreter and Rails test +# application. +RESTRICT="test" + +#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )" + +ruby_add_rdepend ">=dev-ruby/sass-3.1:* =dev-ruby/sass-3*:* + >=dev-ruby/railties-4:* <dev-ruby/railties-6:* + >=dev-ruby/sprockets-rails-2.0:* <dev-ruby/sprockets-rails-4:* + >=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:* + >=dev-ruby/tilt-1.1:* <dev-ruby/tilt-3:*" + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild b/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild new file mode 100644 index 000000000000..ab579a6f00bd --- /dev/null +++ b/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official Ruby-on-Rails Integration with Sass" +HOMEPAGE="https://github.com/rails/sass-rails" +SRC_URI="https://github.com/rails/sass-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="" + +# Restrict tests for now since it is hard to set up the right +# environment with the correct ruby interpreter and Rails test +# application. +RESTRICT="test" + +#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )" + +ruby_add_rdepend ">=dev-ruby/sass-3.1:* =dev-ruby/sass-3*:* + >=dev-ruby/railties-5.2.0 + >=dev-ruby/sprockets-rails-2.0:* <dev-ruby/sprockets-rails-4:* + >=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:* + >=dev-ruby/tilt-1.1:* <dev-ruby/tilt-3:*" + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/sass-rails/sass-rails-5.1.0.ebuild b/dev-ruby/sass-rails/sass-rails-5.1.0.ebuild new file mode 100644 index 000000000000..ab579a6f00bd --- /dev/null +++ b/dev-ruby/sass-rails/sass-rails-5.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official Ruby-on-Rails Integration with Sass" +HOMEPAGE="https://github.com/rails/sass-rails" +SRC_URI="https://github.com/rails/sass-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="" + +# Restrict tests for now since it is hard to set up the right +# environment with the correct ruby interpreter and Rails test +# application. +RESTRICT="test" + +#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )" + +ruby_add_rdepend ">=dev-ruby/sass-3.1:* =dev-ruby/sass-3*:* + >=dev-ruby/railties-5.2.0 + >=dev-ruby/sprockets-rails-2.0:* <dev-ruby/sprockets-rails-4:* + >=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:* + >=dev-ruby/tilt-1.1:* <dev-ruby/tilt-3:*" + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/sass/Manifest b/dev-ruby/sass/Manifest new file mode 100644 index 000000000000..75cdba4a8532 --- /dev/null +++ b/dev-ruby/sass/Manifest @@ -0,0 +1,3 @@ +DIST sass-3.4.25.gem 352768 BLAKE2B f3c725ee75f0d5b3a30cfbfdbf5dd949fc2b6d99878039a073c3b369753609f9b202ea6f756016783b251877831d1480dad4032db8338dff453b088b219b799a SHA512 5ff4bd47857425832c6a39b963ae4465dd91d63774eb35196ec28075082ad231254babe507d7071304ddb73cdfc1168a547bf231225afaeb3b7ddd677c0bd712 +DIST sass-3.5.7.gem 320000 BLAKE2B aeae548d1005b9f420c82f4efc96b2428d3025395b49784917c298fa48228d8052f758c1f851fb6e4e8024c63d48a9880f6c2e88411cd2125e76ad291e469bc0 SHA512 a72b499cfca4862fb4bfeb5201fda788339bb57d97b467c427e9c8365b03088b886a0f3cb3a6d87b1426e1497032b8394a948eb4a2f45004be80c03070304f95 +DIST sass-3.7.4.tar.gz 401442 BLAKE2B 52abe37390282d2aead3eea6c2a049da529a5e96bac44b01ccded1e3c4d2c332d82f164da941413c0138fd3a94f59cda084d8fb724db87fc522f33dd7bc31adb SHA512 4bebb6ddc84e7f2687d9b801e6b30e897d83a46940249349d775e0139d1fca8ffd96d0976f4c35a7a0dba9ebf786883a70aff2ff002708e28b685a034634aaf2 diff --git a/dev-ruby/sass/metadata.xml b/dev-ruby/sass/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/sass/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sass/sass-3.4.25-r1.ebuild b/dev-ruby/sass/sass-3.4.25-r1.ebuild new file mode 100644 index 000000000000..ee579eab184d --- /dev/null +++ b/dev-ruby/sass/sass-3.4.25-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME" + +# Allow the latest slot to provide these +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem versionator + +DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more" +HOMEPAGE="http://sass-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" +SLOT="$(get_version_component_range 1-2)" +IUSE="" + +ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" + +ruby_add_rdepend ">=dev-ruby/listen-1.3.1:1" + +# tests could use `less` if we had it + +all_ruby_prepare() { + rm -rf vendor/listen || die + + # Don't require maruku as markdown provider but let yard decide. + sed -i -e '/maruku/d' .yardopts || die +} + +each_ruby_test() { + RUBOCOP=false ${RUBY} -S rake test:ruby || die +} diff --git a/dev-ruby/sass/sass-3.4.25.ebuild b/dev-ruby/sass/sass-3.4.25.ebuild new file mode 100644 index 000000000000..bbecbc273dcc --- /dev/null +++ b/dev-ruby/sass/sass-3.4.25.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME" + +inherit ruby-fakegem versionator + +DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more" +HOMEPAGE="http://sass-lang.com/" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux" +SLOT="$(get_version_component_range 1-2)" +IUSE="" + +ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" + +ruby_add_rdepend ">=dev-ruby/listen-1.3.1:1" + +# tests could use `less` if we had it + +all_ruby_prepare() { + rm -rf vendor/listen || die + + # Don't require maruku as markdown provider but let yard decide. + sed -i -e '/maruku/d' .yardopts || die +} + +each_ruby_test() { + RUBOCOP=false ${RUBY} -S rake test:ruby || die +} diff --git a/dev-ruby/sass/sass-3.5.7-r1.ebuild b/dev-ruby/sass/sass-3.5.7-r1.ebuild new file mode 100644 index 000000000000..9974c2caf1bd --- /dev/null +++ b/dev-ruby/sass/sass-3.5.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_DATE VERSION_NAME" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more" +HOMEPAGE="https://sass-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +SLOT="$(ver_cut 1-2)" +IUSE="" + +ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" + +ruby_add_rdepend " + !!<dev-ruby/sass-3.4.25-r1:3.4 + dev-ruby/sass-listen:4" + +# tests could use `less` if we had it + +all_ruby_prepare() { + # Don't require maruku as markdown provider but let yard decide. + sed -i -e '/maruku/d' .yardopts || die + + # Keep VERSION_DATE around since we don't create a new package + sed -i -e '/at_exit/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + RUBOCOP=false ${RUBY} -S rake test:ruby || die +} diff --git a/dev-ruby/sass/sass-3.5.7.ebuild b/dev-ruby/sass/sass-3.5.7.ebuild new file mode 100644 index 000000000000..1759626884af --- /dev/null +++ b/dev-ruby/sass/sass-3.5.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_DATE VERSION_NAME" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more" +HOMEPAGE="https://sass-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +SLOT="$(ver_cut 1-2)" +IUSE="" + +ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" + +ruby_add_rdepend " + !!<dev-ruby/sass-3.4.25-r1:3.4 + dev-ruby/sass-listen:4" + +# tests could use `less` if we had it + +all_ruby_prepare() { + # Don't require maruku as markdown provider but let yard decide. + sed -i -e '/maruku/d' .yardopts || die + + # Keep VERSION_DATE around since we don't create a new package + sed -i -e '/at_exit/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + RUBOCOP=false ${RUBY} -S rake test:ruby || die +} diff --git a/dev-ruby/sass/sass-3.7.4.ebuild b/dev-ruby/sass/sass-3.7.4.ebuild new file mode 100644 index 000000000000..a753feb654e8 --- /dev/null +++ b/dev-ruby/sass/sass-3.7.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more" +HOMEPAGE="https://sass-lang.com/" +SRC_URI="https://github.com/sass/ruby-sass/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-sass-${PV}" + +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" +SLOT="$(ver_cut 1-2)" +IUSE="" + +ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" + +ruby_add_rdepend " + !!<dev-ruby/sass-3.4.25-r1:3.4 + !!<dev-ruby/sass-3.5.7-r1:3.5 + dev-ruby/sass-listen:4" + +# tests could use `less` if we had it + +all_ruby_prepare() { + # Don't require maruku as markdown provider but let yard decide. + sed -i -e '/maruku/d' .yardopts || die + + # Keep VERSION_DATE around since we don't create a new package + sed -i -e '/at_exit/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + RUBOCOP=false ${RUBY} -S rake test:ruby || die +} diff --git a/dev-ruby/sassc-rails/Manifest b/dev-ruby/sassc-rails/Manifest new file mode 100644 index 000000000000..e2ffad0593bb --- /dev/null +++ b/dev-ruby/sassc-rails/Manifest @@ -0,0 +1 @@ +DIST sassc-rails-2.1.2.gem 33280 BLAKE2B 1ecd048a879ea9ba08390ed81c679a3a4461f3937d1b0ce5ee001810067286f386ea885787984ffa417d2af191f178563e892ea24f1b466b6538c815fadbd9e3 SHA512 d250f22a3f2c4afb56a22f4533194d80b8a301730e5e4b49f9613e489f7158e7bd9c02cff8e1ec8ce727ede25f1c03a2613a664291967b5e97e210f7890d0bc8 diff --git a/dev-ruby/sassc-rails/metadata.xml b/dev-ruby/sassc-rails/metadata.xml new file mode 100644 index 000000000000..02ec960e7a4e --- /dev/null +++ b/dev-ruby/sassc-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">sass/sassc-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild b/dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild new file mode 100644 index 000000000000..54f5843763ad --- /dev/null +++ b/dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Integrate SassC-Ruby with Rails" +HOMEPAGE="https://github.com/sass/sassc-rails" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/sassc-2.0 + dev-ruby/tilt:* + >=dev-ruby/railties-4:* + >=dev-ruby/sprockets-3.0:* + dev-ruby/sprockets-rails:* +" + +ruby_add_bdepend " + test? ( dev-ruby/bundler dev-ruby/mocha )" + +all_ruby_prepare() { + sed -e '/rake/ s/,.*$//' \ + -e '/pry/ s:^:#:' \ + -e 's/git ls-files -z/find . -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/sassc/Manifest b/dev-ruby/sassc/Manifest new file mode 100644 index 000000000000..3f31a6490fd0 --- /dev/null +++ b/dev-ruby/sassc/Manifest @@ -0,0 +1,2 @@ +DIST sassc-2.0.1.gem 357888 BLAKE2B 670a622edc065abd7124a413bff3e32e524703cd3343ae7ffd1439af075e04d513ee125ddbd9ff81ffd7eadbb2dd935a83dc71334252b681fb478da9aad06181 SHA512 cece2741e316eeb4684a5650627bb2a9f161bfd99a3c93c2bf8b7d40f47ff064ee837831b1f9ad77d9e321bbd9874301762c9f0519b2b42658cbea6fd7240fcd +DIST sassc-2.2.1.gem 302080 BLAKE2B 626601d2b22f91f354a4ddf7a68e4463b0a56b0a79e5d2ca122a083101146dac32699e348fd4573ef4ba76a430470ecd39427a8542caec931a8e16b26a23bb70 SHA512 728ad274363fd79aedee74fb6d4dbfc60f31b334e1a8054943ccf9cfa534fa3465abb00a2bd3020e198d287327058890411bb1983da6dc5dc3c4413b1936e2eb diff --git a/dev-ruby/sassc/metadata.xml b/dev-ruby/sassc/metadata.xml new file mode 100644 index 000000000000..8441fd928c83 --- /dev/null +++ b/dev-ruby/sassc/metadata.xml @@ -0,0 +1,12 @@ +<?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">sass/sassc-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sassc/sassc-2.0.1-r1.ebuild b/dev-ruby/sassc/sassc-2.0.1-r1.ebuild new file mode 100644 index 000000000000..5ed366f5d0cb --- /dev/null +++ b/dev-ruby/sassc/sassc-2.0.1-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="sassc.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Use libsass with Ruby" +HOMEPAGE="https://github.com/sass/sassc-ruby" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="" + +RDEPEND+=">=dev-libs/libsass-3.5.5" + +ruby_add_rdepend " + >=dev-ruby/ffi-1.9.6 + dev-ruby/rake +" + +ruby_add_bdepend "test? ( + dev-ruby/test_construct + dev-ruby/minitest-around +)" + +all_ruby_prepare() { + # Use unbundled libsass + rm -rf ext || die + + sed -i -e '/spec =/,/ffi_lib/ s:^:#:' \ + -e '/ffi_lib/a ffi_lib "/usr/lib64/libsass.so"' \ + lib/sassc/native.rb || die + + # Avoid version-specific test so newer libsass versions can be used. + sed -i -e '/test_it_reports_the_libsass_version/,/end/ s:^:#:' test/native_test.rb || die + + sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die + + sed -e 's/git ls-files -z/find . -print0/' \ + -e '/gem_dir/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sassc/sassc-2.2.1.ebuild b/dev-ruby/sassc/sassc-2.2.1.ebuild new file mode 100644 index 000000000000..4d00f99db555 --- /dev/null +++ b/dev-ruby/sassc/sassc-2.2.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Use libsass with Ruby" +HOMEPAGE="https://github.com/sass/sassc-ruby" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="" + +RDEPEND+=">=dev-libs/libsass-3.6.1" + +ruby_add_rdepend " + >=dev-ruby/ffi-1.9.6 +" + +ruby_add_bdepend "test? ( + dev-ruby/test_construct + dev-ruby/minitest-around +)" + +all_ruby_prepare() { + # Use unbundled libsass + rm -rf ext || die + + sed -i -e '/ffi_lib/ s:__dir__:"/usr/lib64":' \ + lib/sassc/native.rb || die + + # Avoid version-specific test so newer libsass versions can be used. + sed -i -e '/test_it_reports_the_libsass_version/,/end/ s:^:#:' test/native_test.rb || die + + sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest new file mode 100644 index 000000000000..436db72d48ed --- /dev/null +++ b/dev-ruby/sawyer/Manifest @@ -0,0 +1 @@ +DIST sawyer-0.8.2.tar.gz 15059 BLAKE2B 11a82158493fba69695b4eee15db223a07ebd81f8e39910553ef197a253a3342cffd00045385706c56c6f5e46bf4e20872cf61028acaf02d6f81fa2f640fc09b SHA512 fdaf88d33d87922bd0d44de919b920938b7072ad437db4b98370c507e22e4229ec0c68c613944fd2e20dde060ae5d34de6c001568eb7d1f38098831ca29b0c13 diff --git a/dev-ruby/sawyer/metadata.xml b/dev-ruby/sawyer/metadata.xml new file mode 100644 index 000000000000..45dc9a1d5b82 --- /dev/null +++ b/dev-ruby/sawyer/metadata.xml @@ -0,0 +1,12 @@ +<?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">lostisland/sawyer</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sawyer/sawyer-0.8.2.ebuild b/dev-ruby/sawyer/sawyer-0.8.2.ebuild new file mode 100644 index 000000000000..8848eb45b332 --- /dev/null +++ b/dev-ruby/sawyer/sawyer-0.8.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Secret User Agent of HTTP" +HOMEPAGE="https://github.com/lostisland/sawyer" +SRC_URI="https://github.com/lostisland/sawyer/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_rdepend " + <dev-ruby/faraday-2.0:* + >=dev-ruby/addressable-2.3.5" + +all_ruby_prepare() { + # Avoid tests that require network acces + sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die +} diff --git a/dev-ruby/sdoc/Manifest b/dev-ruby/sdoc/Manifest new file mode 100644 index 000000000000..076613d81395 --- /dev/null +++ b/dev-ruby/sdoc/Manifest @@ -0,0 +1 @@ +DIST sdoc-1.0.0.gem 268800 BLAKE2B 238b36af9909e7329f6b54e297b4e03f27e8850bee2cb65483c9b912b92c16933639fba5f085ae8c30f808cbd6a94d1b34b5bb45af3f1d9a7fc37a4ea45f32f8 SHA512 cee8be23a2bc53dc3e052e183405ae17546594e2b1b87b7d83c8dc527b2c4bd71a5f642f52ae489f4990ba5d3571c23b590b6a562d677b32597cdeeb08c63a38 diff --git a/dev-ruby/sdoc/metadata.xml b/dev-ruby/sdoc/metadata.xml new file mode 100644 index 000000000000..11b2ead10d9e --- /dev/null +++ b/dev-ruby/sdoc/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">sdoc</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sdoc/sdoc-1.0.0.ebuild b/dev-ruby/sdoc/sdoc-1.0.0.ebuild new file mode 100644 index 000000000000..7fca6821b724 --- /dev/null +++ b/dev-ruby/sdoc/sdoc-1.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-fakegem + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +DESCRIPTION="rdoc generator html with javascript search index" +HOMEPAGE="https://rubygems.org/gems/sdoc" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/rdoc-5.0" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/ s:^:#:' sdoc.gemspec || die + + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/seed-fu/Manifest b/dev-ruby/seed-fu/Manifest new file mode 100644 index 000000000000..502b16fb8ad7 --- /dev/null +++ b/dev-ruby/seed-fu/Manifest @@ -0,0 +1 @@ +DIST seed-fu-2.3.9.tar.gz 13392 BLAKE2B 7468c54013f6a51bcebf4b6ad1f2401d53ddd2a5f61eddc71d0edc088ea1296acf8012ae885036d5f11c5e9336e7dbf67f2508b3d89830647b36d6f7992d574d SHA512 bf5b7a472a5af6bd40f06f60c404c8893641b222d80469765a434a126e182ae6e7fd5281a0ba9d5d61bd89aa515ee0a3f244238108cd41fb15ced501c917b216 diff --git a/dev-ruby/seed-fu/metadata.xml b/dev-ruby/seed-fu/metadata.xml new file mode 100644 index 000000000000..ffb8408a80fa --- /dev/null +++ b/dev-ruby/seed-fu/metadata.xml @@ -0,0 +1,12 @@ +<?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">mbleigh/seed-fu</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/seed-fu/seed-fu-2.3.9.ebuild b/dev-ruby/seed-fu/seed-fu-2.3.9.ebuild new file mode 100644 index 000000000000..f4a51296aeba --- /dev/null +++ b/dev-ruby/seed-fu/seed-fu-2.3.9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit ruby-fakegem + +DESCRIPTION="Advanced seed data handling for Rails" +HOMEPAGE="https://github.com/mbleigh/seed-fu" +SRC_URI="https://github.com/mbleigh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/activerecord-3.1:* + >=dev-ruby/activesupport-3.1:*" +ruby_add_bdepend "test? ( dev-ruby/sqlite3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' spec/spec_helper.rb || die "sed failed" + + # Avoid failing test that appears not be innocent + sed -i -e '/raise an ActiveRecord::RecordNotSaved/,/end/ s:^:#:' spec/seeder_spec.rb || die +} diff --git a/dev-ruby/selenium-webdriver/Manifest b/dev-ruby/selenium-webdriver/Manifest new file mode 100644 index 000000000000..e9f854e59406 --- /dev/null +++ b/dev-ruby/selenium-webdriver/Manifest @@ -0,0 +1,3 @@ +DIST selenium-webdriver-2.53.4.gem 897536 BLAKE2B 630b5e8cd5ce53de7a689135ce80e364e33b783bd8493f79af01d79717d3d65541fe04c6c0e5016a85af8a559864ddcb641d06c99430599b21095b54ff40845a SHA512 ad7934a67c4415a81c2d0efae5f510d41784411076ea903724e1fa2be1b209382131aa1b05f3636deb1deca38db6e76805262f5037ab2e621e785e4eb3c2b90e +DIST selenium-webdriver-3.142.6.gem 864768 BLAKE2B 6d48561c4d50c64936cc0ec55a3f777723062f8ea1fb08f345e2c84d0080dd6a04b09e13caa23b77041c91dd2de9ae80980562f5f3a286992f0296a8e19adc75 SHA512 1a34c504214ac662195a6d0addcda8fc2de6d863aa367fd9d9b973bf7dd44699e4776fb52cf7c3dbaa16ebd87c427bac6c3747ad469a5b07e4cace7e02416e33 +DIST selenium-webdriver-3.142.7.gem 865280 BLAKE2B 650011848afaa3ea4fab7c8172828c7562df212383a8fbea9615a5136e3382aba0fcf17952d941c7b514e5229c0aafe3dbc320386698eb8756f567eff67722bd SHA512 0e7891c19b8a0b20441d85bc17032ecf03cba7ca435846e03abc50b62b0c53c075dc70456796c9bfcd1ecd28ecc517f907a3d6868346a07617fd1d0c1b9437c0 diff --git a/dev-ruby/selenium-webdriver/metadata.xml b/dev-ruby/selenium-webdriver/metadata.xml new file mode 100644 index 000000000000..9a4c0c3b846d --- /dev/null +++ b/dev-ruby/selenium-webdriver/metadata.xml @@ -0,0 +1,12 @@ +<?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">seleniumhq/selenium</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-2.53.4-r1.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-2.53.4-r1.ebuild new file mode 100644 index 000000000000..303687cb407c --- /dev/null +++ b/dev-ruby/selenium-webdriver/selenium-webdriver-2.53.4-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +# NOTE: this package contains precompiled code. It appears that all +# source code can be found at https://code.google.com/p/selenium/ but the +# repository is not organized in a way so that we can easily rebuild the +# suited shared object. We'll just try our luck with the precompiled +# objects for now. + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so" +QA_PREBUILT="*/x_ignore_nofocus.so" + +inherit ruby-fakegem + +DESCRIPTION="This gem provides Ruby bindings for WebDriver" +HOMEPAGE="http://gemcutter.org/gems/selenium-webdriver" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/childprocess-0.5.0 + dev-ruby/rubyzip:1" + +all_ruby_prepare() { + # Make websocket a development dependency since it is only needed + # for the safari driver which we don't support on Gentoo. + sed -i -e '/websocket/,/version_requirements/ s/runtime/development/' ../metadata || die +} diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-3.142.6.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-3.142.6.ebuild new file mode 100644 index 000000000000..b88b9685d7e0 --- /dev/null +++ b/dev-ruby/selenium-webdriver/selenium-webdriver-3.142.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +# NOTE: this package contains precompiled code. It appears that all +# source code can be found at https://code.google.com/p/selenium/ but the +# repository is not organized in a way so that we can easily rebuild the +# suited shared object. We'll just try our luck with the precompiled +# objects for now. + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so" +QA_PREBUILT="*/x_ignore_nofocus.so" + +inherit ruby-fakegem + +DESCRIPTION="This gem provides Ruby bindings for WebDriver" +HOMEPAGE="https://github.com/seleniumhq/selenium" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="amd64 ~arm ~arm64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/childprocess-0.5:2 + >=dev-ruby/rubyzip-1.2.2:*" diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-3.142.7.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-3.142.7.ebuild new file mode 100644 index 000000000000..fc0ae13ab285 --- /dev/null +++ b/dev-ruby/selenium-webdriver/selenium-webdriver-3.142.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# NOTE: this package contains precompiled code. It appears that all +# source code can be found at https://code.google.com/p/selenium/ but the +# repository is not organized in a way so that we can easily rebuild the +# suited shared object. We'll just try our luck with the precompiled +# objects for now. + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so" +QA_PREBUILT="*/x_ignore_nofocus.so" + +inherit ruby-fakegem + +DESCRIPTION="This gem provides Ruby bindings for WebDriver" +HOMEPAGE="https://github.com/seleniumhq/selenium" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/childprocess-0.5:2 + >=dev-ruby/rubyzip-1.2.2:*" diff --git a/dev-ruby/semantic_puppet/Manifest b/dev-ruby/semantic_puppet/Manifest new file mode 100644 index 000000000000..b85af5cc2ff4 --- /dev/null +++ b/dev-ruby/semantic_puppet/Manifest @@ -0,0 +1 @@ +DIST semantic_puppet-1.0.2.gem 31744 BLAKE2B fd80225f799f55fe668c712cec20ad57163c3829ce70f49a30e7b73037883ea1960be0ea8f510e147c30254b7527e64f323fd7f9edb30f934762088ed997a241 SHA512 b059d8c7b13ae96dfe012318e7c6ee483cc09986d5d065c8422167a27a14d8e99433229c90388a7ff9ee425a0f5b6a6a6d5bc55f8b81901490afd8039ea86480 diff --git a/dev-ruby/semantic_puppet/metadata.xml b/dev-ruby/semantic_puppet/metadata.xml new file mode 100644 index 000000000000..cb7d40c84ce3 --- /dev/null +++ b/dev-ruby/semantic_puppet/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <longdescription lang="en"> + Library of useful tools for working with Semantic Versions and module dependencies. + </longdescription> + <upstream> + <remote-id type="github">puppetlabs/semantic_puppet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/semantic_puppet/semantic_puppet-1.0.2.ebuild b/dev-ruby/semantic_puppet/semantic_puppet-1.0.2.ebuild new file mode 100644 index 000000000000..0eb14bdce896 --- /dev/null +++ b/dev-ruby/semantic_puppet/semantic_puppet-1.0.2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit ruby-fakegem + +DESCRIPTION="Library of tools for working with Semantic Versions and module dependencies" +HOMEPAGE="https://github.com/puppetlabs/semantic_puppet" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ppc ppc64 x86" +IUSE="" diff --git a/dev-ruby/semver2/Manifest b/dev-ruby/semver2/Manifest new file mode 100644 index 000000000000..ced0e6073ad7 --- /dev/null +++ b/dev-ruby/semver2/Manifest @@ -0,0 +1 @@ +DIST semver2-3.4.2.tar.gz 9048 BLAKE2B dd0f7d0ec826b0d893aba07203fc1ff01367b9d0406c24157dd76290a7c3bb6301e8656d149aaa9a76f2ace5a1c9559df56aa5236f3a305bc982f30450c36ff9 SHA512 7f724397ac4a58a459e7b4794d2097111d2796837150634c318c6785d321299215099d4c359d010036d1da2a7d78e50ef6bad1629d01363650687e0e678a51d5 diff --git a/dev-ruby/semver2/metadata.xml b/dev-ruby/semver2/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/semver2/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/semver2/semver2-3.4.2.ebuild b/dev-ruby/semver2/semver2-3.4.2.ebuild new file mode 100644 index 000000000000..ac1e41d4d90f --- /dev/null +++ b/dev-ruby/semver2/semver2-3.4.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="maintain versions as per http://semver.org" +HOMEPAGE="https://github.com/haf/semver" +SRC_URI="https://github.com/haf/semver/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="semver-${PV}" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" diff --git a/dev-ruby/serialport/Manifest b/dev-ruby/serialport/Manifest new file mode 100644 index 000000000000..95cc0d03cd94 --- /dev/null +++ b/dev-ruby/serialport/Manifest @@ -0,0 +1 @@ +DIST serialport-1.3.1.gem 25088 BLAKE2B 391188ff8a78f3998c82b17668a1aebad737643739c8087c4f32ce719dbf7bbf5f29cdc0717ab16f196020a227afc4fcfc29409331b2aabf5c6bf3382ef3496b SHA512 cdce9e13065cecf6d090d716626abb399bcc2a079be7bf1fe7755a20360218550f2f31980d62d8aae1fcc62fc62d6f7549685f865e30d2a5f40a617f5f197ed9 diff --git a/dev-ruby/serialport/metadata.xml b/dev-ruby/serialport/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/serialport/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/serialport/serialport-1.3.1.ebuild b/dev-ruby/serialport/serialport-1.3.1.ebuild new file mode 100644 index 000000000000..bd32e9c0411f --- /dev/null +++ b/dev-ruby/serialport/serialport-1.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="a library for serial port (rs232) access in ruby" +HOMEPAGE="http://rubyforge.org/projects/ruby-serialport/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +all_ruby_prepare() { + # Fix the miniterm script so that it might actually work, we'll + # install it as example. + sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die +} + +each_ruby_configure() { + cd ext/native || die + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + pushd ext/native &>/dev/null + emake V=1 + popd &>/dev/null + + # Avoids the need for a specific install phase + cp ext/native/*$(get_modname) lib/ || die "extension copy failed" +} + +all_ruby_install() { + all_fakegem_install + + dodoc test/miniterm.rb +} diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest new file mode 100644 index 000000000000..788d04ff7567 --- /dev/null +++ b/dev-ruby/serverengine/Manifest @@ -0,0 +1,3 @@ +DIST serverengine-2.1.1.gem 38912 BLAKE2B 110adef1bfc4538dcbd9cddc5aabcda00f0e6276f3092cccd54bdd92d644bc6121300c1963276d3bbb810fc2be44c9c833d1d74b524b3d7faae8424b98e45e3f SHA512 627ba0ad0235536009ed22cca017d23d76ad7863b9ed83e90504d374bb3c1b887c73ed0b120378327485ba7c68a18bf354228529da84e134ac4d3b6dd96d14e1 +DIST serverengine-2.2.0.gem 38912 BLAKE2B 78af0816c480613e7e85ebd9d1061888af311a4eff045b59e4224cb86738193fe0bef25d435c891231b7b7c3397f25970b8ddd8fead09393e9fe7824bce03025 SHA512 a6ef8fc094a1306524357c740ba198d0ac0fecbd1716e873ce25d3caae9874e4c73424c5fb4e3d60886bb9e613651288f24085ae7c0a244bcd27c606d5a843c7 +DIST serverengine-2.2.1.gem 39424 BLAKE2B 0c68bfd59c0f6abbb294ecd8003c80853413b38b05ba1553230a2a49ffbf56dad43428eafbac4e77a012d66fdc30d4445249aed53e6eead11f52f5aeffd91c1e SHA512 920dd828561b44525dbef2a45144a40f456a5fbc2a56366a7831b42e9f6e115895a0156adc10114a007c2487d1bd1488f73c9c00373fd90648ee272c9c872111 diff --git a/dev-ruby/serverengine/metadata.xml b/dev-ruby/serverengine/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/serverengine/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/serverengine/serverengine-2.1.1.ebuild b/dev-ruby/serverengine/serverengine-2.1.1.ebuild new file mode 100644 index 000000000000..125a668bc72a --- /dev/null +++ b/dev-ruby/serverengine/serverengine-2.1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="Changelog README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="A framework to implement robust multiprocess servers" +HOMEPAGE="https://github.com/fluent/serverengine" +LICENSE="Apache-2.0" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sigdump-0.2.2:0" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/~>/>=/' \ + -e '/rspec/ s/2.13.0/2.13/' \ + -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die +} + +each_ruby_test() { + # The specs spawn ruby processes with bundler support + ${RUBY} -S bundle exec rspec-2 spec || die +} diff --git a/dev-ruby/serverengine/serverengine-2.2.0.ebuild b/dev-ruby/serverengine/serverengine-2.2.0.ebuild new file mode 100644 index 000000000000..8895caeaffc0 --- /dev/null +++ b/dev-ruby/serverengine/serverengine-2.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="Changelog README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="A framework to implement robust multiprocess servers" +HOMEPAGE="https://github.com/fluent/serverengine" +LICENSE="Apache-2.0" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sigdump-0.2.2:0" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/~>/>=/' \ + -e '/rspec/ s/2.13.0/2.13/' \ + -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die +} + +each_ruby_test() { + # The specs spawn ruby processes with bundler support + ${RUBY} -S bundle exec rspec-2 spec || die +} diff --git a/dev-ruby/serverengine/serverengine-2.2.1.ebuild b/dev-ruby/serverengine/serverengine-2.2.1.ebuild new file mode 100644 index 000000000000..e563fa5d3d3c --- /dev/null +++ b/dev-ruby/serverengine/serverengine-2.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Changelog README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="A framework to implement robust multiprocess servers" +HOMEPAGE="https://github.com/fluent/serverengine" +LICENSE="Apache-2.0" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sigdump-0.2.2:0" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/~>/>=/' \ + -e '/rspec/ s/2.13.0/2.13/' \ + -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die +} + +each_ruby_test() { + # The specs spawn ruby processes with bundler support + ${RUBY} -S bundle exec rspec-2 spec || die +} diff --git a/dev-ruby/session/Manifest b/dev-ruby/session/Manifest new file mode 100644 index 000000000000..a8b908b7eac9 --- /dev/null +++ b/dev-ruby/session/Manifest @@ -0,0 +1 @@ +DIST session-3.2.0.gem 18432 BLAKE2B b50ff6f52dd0226cdfbe07ea434ac35fc19d695ab474d2c240ce3a6ab707da1d03db5006d68594de6a75ff356154a1ba5ab06fe17a766d3e4154fd11d3abe4b9 SHA512 57c0676fb4a4254e86dbe68e36309c8eb85515dd659de73a87e1ae2e8e5dc7f979192ef665135e75182c26e2a5c847d61daf855639772da7c66af888ed0dc91a diff --git a/dev-ruby/session/metadata.xml b/dev-ruby/session/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/session/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/session/session-3.2.0.ebuild b/dev-ruby/session/session-3.2.0.ebuild new file mode 100644 index 000000000000..3f632e580862 --- /dev/null +++ b/dev-ruby/session/session-3.2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="A set of classes to drive external programs via pipe" +HOMEPAGE="http://codeforpeople.com/lib/ruby/session/" +#SRC_URI="http://codeforpeople.com/lib/ruby/session/${P}.tgz" + +# License info based on https://github.com/ahoward/session as indicated +# by author. +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test" + +DEPEND+=" test? ( sys-apps/coreutils )" + +all_ruby_prepare() { + # needed to void a collision with the Timeout::Error alias in Ruby + # 1.8.7 at least. + sed -i -e 's:TimeoutError:SessionTimeoutError:' test/session.rb || die + + # Fix broken test, bug 662514 + sed -i -e '/cmd =/ s/sleep 0.1"/sleep 0.1";/' test/session.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc sample/* +} diff --git a/dev-ruby/settingslogic/Manifest b/dev-ruby/settingslogic/Manifest new file mode 100644 index 000000000000..77ce25f22a56 --- /dev/null +++ b/dev-ruby/settingslogic/Manifest @@ -0,0 +1 @@ +DIST settingslogic-2.0.9.gem 10752 BLAKE2B 7910ab9a4e61c92d5b23a34e9ba58ad89bbf71b7aaf8c2e679eab3e517ea38553d83d05a32a13151c9deaa36d0e6ae44a6afd1b13cfe452a69c668e07fa618b8 SHA512 e9229231815c8d80b7539724cda78c0cfd17bcf8423d0bc2643b3ce2a046e8014f3b398c5314b095aef480a0c7de16e0c93a6592fe8eabfea4ae94742f3dab57 diff --git a/dev-ruby/settingslogic/metadata.xml b/dev-ruby/settingslogic/metadata.xml new file mode 100644 index 000000000000..d4d8a205d768 --- /dev/null +++ b/dev-ruby/settingslogic/metadata.xml @@ -0,0 +1,12 @@ +<?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">binarylogic/settingslogic</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild new file mode 100644 index 000000000000..a3c172397326 --- /dev/null +++ b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="A simple configuration / settings solution that uses an ERB enabled YAML file" +HOMEPAGE="https://github.com/binarylogic/settingslogic" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86 ~x86-macos" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/check_dependencies/d' Rakefile || die +} diff --git a/dev-ruby/sexp_processor/Manifest b/dev-ruby/sexp_processor/Manifest new file mode 100644 index 000000000000..04f82a2b8bf1 --- /dev/null +++ b/dev-ruby/sexp_processor/Manifest @@ -0,0 +1,6 @@ +DIST sexp_processor-4.12.0.gem 54784 BLAKE2B bdbb349a85fbd1c7750db3dcd22d9b792eb17605d5157c969d083a8fca404b1af3db1e2bfdcf76a6b7f392043996d246686dfa73117b9efacec529896d5a8e35 SHA512 d1e1ae7cf13b0b8c2e6786aad1bdeda25697d88abec86fc9415bb76d4e9e98097d2fecf16ceddbc80d1d447064bfa73beec5eaa5270ef38ce224c4bdbcdede3a +DIST sexp_processor-4.12.1.gem 54784 BLAKE2B 95b238abb3050448cd076cfbda61d60c1d2bd90cfc94c3eafb51187b48a26249eb84b26e2a9469414e61f1c26f7764703fdf33842cb77730219048f999d48b92 SHA512 00f27cfea808ce16eba209207f804a432057d434c181d62f44656798d051c783f0232fa9ff9068ba83c254dfc0bb50d59a83196bf2a5f247f438b6467d9ba701 +DIST sexp_processor-4.13.0.gem 55808 BLAKE2B d807f632e93bbffaf92c31214a5d76fb5f069563af07f3f3c9d8095114d4ffc41a759144f93e1081d4192e6b7d572feab2be10a5fd639bafc0d3b166a4d5b5e1 SHA512 0b83613c10dd268837bddd552910c799e002eea6b409aa9788a5a65957454d2ef601cc023f84d98dbacc34e3c58923d6c43115510bae7ec9d2d72286f141828a +DIST sexp_processor-4.14.0.gem 55808 BLAKE2B 60e19163bfca60b019b462f251eddc1f3644207f8eb4ac6240cb5eec9365621c56bd0a6741d1371a502c745b41e6a5efa29323a43ce919d823c0f11fd1a4d6f5 SHA512 90a6ed905d79079b51849521e25d8e6aa87c8d9aced75883b4080568a30aa3c349df35bb74556a1755f77ed73d3260ce88534d1967db93b39b34cf28132e0093 +DIST sexp_processor-4.14.1.gem 56320 BLAKE2B 86b4ca1f766d224fcaa83cf24df3db00d1790cb8d84cdc17fa427143d1a06b0ae3fa752994f528f5b4ddced04fb285af3c0d30e6227d84188b26dbf7a0a7625f SHA512 2a693afd2eb478360d06b59191a98f6590f6bfaba79dd931c6c7b1f5d6b511ec899e804c9826ce054ed3d625ab74dc775583167e0ff560713c6481785e31b8b3 +DIST sexp_processor-4.15.0.gem 56320 BLAKE2B 8624b7fe28f4aa9447f42cf4f8c5b424088ca2c1628f3e785f746ceb60725449812205dc657ea856c5bead616ac18d689330315fdb44e92447ee3a89740557d1 SHA512 f7877ca59191ab39848c6d3b0cf9625c2e1c180784cd757c00a7cea67aa6eee5549ab5630641f4044c875a1aaadc89b8237f8adadc961ed86c5379cb72db33c3 diff --git a/dev-ruby/sexp_processor/metadata.xml b/dev-ruby/sexp_processor/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/sexp_processor/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sexp_processor/sexp_processor-4.12.0.ebuild b/dev-ruby/sexp_processor/sexp_processor-4.12.0.ebuild new file mode 100644 index 000000000000..94db62b4770e --- /dev/null +++ b/dev-ruby/sexp_processor/sexp_processor-4.12.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Processor for s-expressions created as part of the ParseTree project" +HOMEPAGE="https://www.zenspider.com/projects/sexp_processor.html" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~alpha amd64 arm hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-5.5 + )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sexp_processor/sexp_processor-4.12.1.ebuild b/dev-ruby/sexp_processor/sexp_processor-4.12.1.ebuild new file mode 100644 index 000000000000..bf2a7fb2ac6f --- /dev/null +++ b/dev-ruby/sexp_processor/sexp_processor-4.12.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Processor for s-expressions created as part of the ParseTree project" +HOMEPAGE="https://www.zenspider.com/projects/sexp_processor.html" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-5.5 + )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sexp_processor/sexp_processor-4.13.0.ebuild b/dev-ruby/sexp_processor/sexp_processor-4.13.0.ebuild new file mode 100644 index 000000000000..c884e16c3d4f --- /dev/null +++ b/dev-ruby/sexp_processor/sexp_processor-4.13.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Processor for s-expressions created as part of the ParseTree project" +HOMEPAGE="https://www.zenspider.com/projects/sexp_processor.html" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-5.5 + )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sexp_processor/sexp_processor-4.14.0.ebuild b/dev-ruby/sexp_processor/sexp_processor-4.14.0.ebuild new file mode 100644 index 000000000000..19ab7bf0b4c2 --- /dev/null +++ b/dev-ruby/sexp_processor/sexp_processor-4.14.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Processor for s-expressions created as part of the ParseTree project" +HOMEPAGE="https://www.zenspider.com/projects/sexp_processor.html" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-5.5 + )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sexp_processor/sexp_processor-4.14.1.ebuild b/dev-ruby/sexp_processor/sexp_processor-4.14.1.ebuild new file mode 100644 index 000000000000..19ab7bf0b4c2 --- /dev/null +++ b/dev-ruby/sexp_processor/sexp_processor-4.14.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Processor for s-expressions created as part of the ParseTree project" +HOMEPAGE="https://www.zenspider.com/projects/sexp_processor.html" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-5.5 + )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sexp_processor/sexp_processor-4.15.0.ebuild b/dev-ruby/sexp_processor/sexp_processor-4.15.0.ebuild new file mode 100644 index 000000000000..19ab7bf0b4c2 --- /dev/null +++ b/dev-ruby/sexp_processor/sexp_processor-4.15.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Processor for s-expressions created as part of the ParseTree project" +HOMEPAGE="https://www.zenspider.com/projects/sexp_processor.html" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-5.5 + )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/sfl/Manifest b/dev-ruby/sfl/Manifest new file mode 100644 index 000000000000..68c42e5bc65f --- /dev/null +++ b/dev-ruby/sfl/Manifest @@ -0,0 +1 @@ +DIST sfl-2.2.gem 8192 BLAKE2B 631712748d0f58a9d76087a194cd889c4cc95696df2ac755a13357e7055f0277a146f6f3df58e678f95134ec9fa1d5ecf720c702b2bf2c7e4385d443381b3cdb SHA512 9b64a966ec4125ae39d273e9ea1529f422dd17bfe2c4696574ab7725c0aad42f974febe7359dafa073c2291b47c6e351e1d549e145d247ed7c2ea6ebc5c73932 diff --git a/dev-ruby/sfl/metadata.xml b/dev-ruby/sfl/metadata.xml new file mode 100644 index 000000000000..100f2c119c80 --- /dev/null +++ b/dev-ruby/sfl/metadata.xml @@ -0,0 +1,12 @@ +<?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">ujihisa/spawn-for-legacy</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sfl/sfl-2.2-r1.ebuild b/dev-ruby/sfl/sfl-2.2-r1.ebuild new file mode 100644 index 000000000000..6e1a75b1a1b0 --- /dev/null +++ b/dev-ruby/sfl/sfl-2.2-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="Library providing spawn() which is almost perfectly compatible with ruby 1.9's" +HOMEPAGE="https://github.com/ujihisa/spawn-for-legacy" + +LICENSE="|| ( Ruby BSD-2 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +IUSE="" + +all_ruby_prepare() { + rm -f Gemfile* || die + sed -i -e "s:/tmp:${TMPDIR}:" spec/sfl_spec.rb || die +} diff --git a/dev-ruby/shorturl/Manifest b/dev-ruby/shorturl/Manifest new file mode 100644 index 000000000000..7608585bfb54 --- /dev/null +++ b/dev-ruby/shorturl/Manifest @@ -0,0 +1 @@ +DIST shorturl-1.0.0.gem 10752 BLAKE2B 6d6605dded6584510abaf09168cdb2fbe7bfeac804b2da9e1c80a9a17fcfdd7d594948394838a8490e6d1c186fb166aeebc81ade40bf352db44073816dfc4625 SHA512 d2323107449a5a66065dc225fbec101a653cf4bc1c719f18e7e5d78c89aafc8c4863aace08ed2a007e33c72f6986ea56a0307e856fb4bbf4c213206155d22312 diff --git a/dev-ruby/shorturl/metadata.xml b/dev-ruby/shorturl/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/shorturl/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/shorturl/shorturl-1.0.0-r2.ebuild b/dev-ruby/shorturl/shorturl-1.0.0-r2.ebuild new file mode 100644 index 000000000000..89a61cffd951 --- /dev/null +++ b/dev-ruby/shorturl/shorturl-1.0.0-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_DOC="doc" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.txt README.rdoc TODO.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="A very simple library to use URL shortening services such as TinyURL or RubyURL" +HOMEPAGE="https://github.com/robbyrussell/shorturl/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~x86-macos" +IUSE="" + +# All tests require network connectivity. +RESTRICT="test" + +each_ruby_test() { + ${RUBY} -Ilib:test test/ts_all.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + if use doc; then + # If the doc build fails, the doc directory might not exist + pushd doc &>/dev/null || die "pushd doc failed" + dohtml -r . + popd &>/dev/null + fi +} diff --git a/dev-ruby/shotgun/Manifest b/dev-ruby/shotgun/Manifest new file mode 100644 index 000000000000..d12c47d73f09 --- /dev/null +++ b/dev-ruby/shotgun/Manifest @@ -0,0 +1 @@ +DIST shotgun-0.9.2.gem 16384 BLAKE2B aa87fbaf2af41a28dac3d5fadc635ff0948dc874e0a02c6b6a9a7717e955a093862b18b6a37d76d6fbb776fb2e3b62fd5be7fffc9b97eea99719748e2c66d45a SHA512 62228b0b8bdac815e2204fd89d3e106d033cfee7668ef12406120e5a21f52770ee36c6fa7b3edf3eaf09bdfde5849239364d3483a817914024c21618897e8d9a diff --git a/dev-ruby/shotgun/metadata.xml b/dev-ruby/shotgun/metadata.xml new file mode 100644 index 000000000000..ae84e1031c79 --- /dev/null +++ b/dev-ruby/shotgun/metadata.xml @@ -0,0 +1,12 @@ +<?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">rtomayko/shotgun</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/shotgun/shotgun-0.9.2.ebuild b/dev-ruby/shotgun/shotgun-0.9.2.ebuild new file mode 100644 index 000000000000..a98cdd82f3c5 --- /dev/null +++ b/dev-ruby/shotgun/shotgun-0.9.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# No documentation task +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit ruby-fakegem + +DESCRIPTION="Forking implementation of rackup" +HOMEPAGE="https://github.com/rtomayko/shotgun" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Warning: the code does not use gem versioning to make sure to load +# only the right rack version so we might need to patch it to work :/ +ruby_add_rdepend 'dev-ruby/rack:*' +ruby_add_bdepend "test? ( dev-ruby/bacon )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_shotgun_static.rb || die + ${RUBY} -Ilib test/test_shotgun_loader.rb || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/shotgun.1 +} diff --git a/dev-ruby/shoulda-context/Manifest b/dev-ruby/shoulda-context/Manifest new file mode 100644 index 000000000000..1e75b8b29b29 --- /dev/null +++ b/dev-ruby/shoulda-context/Manifest @@ -0,0 +1 @@ +DIST shoulda-context-1.2.2.gem 24064 BLAKE2B a6068da369c00a36e6056a8ebba96eca90efddf94613dfc90c9f2a47bec2c054a41fa61b861b2f3ec1195e417bdc54ab60d53f91bc5e0f167eac07b84880892b SHA512 b09f5ce2db59bbb26d5678b17b6641b79df7983d25e81a31bc10c42b702bdba09795b692d711d59c103beb2f691b503567e37c46668f77e600416551ef2c5e05 diff --git a/dev-ruby/shoulda-context/metadata.xml b/dev-ruby/shoulda-context/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/shoulda-context/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/shoulda-context/shoulda-context-1.2.2.ebuild b/dev-ruby/shoulda-context/shoulda-context-1.2.2.ebuild new file mode 100644 index 000000000000..6d2796fc5e74 --- /dev/null +++ b/dev-ruby/shoulda-context/shoulda-context-1.2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb rails tasks" + +# Don't install the conversion script to avoid collisions with older +# shoulda. +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Context framework extracted from Shoulda" +HOMEPAGE="https://github.com/thoughtbot/shoulda-context" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 hppa ~ppc ~ppc64" +IUSE="doc test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 + <dev-ruby/mocha-1 )" + +all_ruby_prepare() { + sed -i -e "1igem 'mocha', '~>0.10'\n" test/test_helper.rb || die +} + +each_ruby_test() { + BUNDLE_GEMFILE=x ruby-ng_testrb-2 -Itest test/shoulda/*_test.rb || die +} diff --git a/dev-ruby/shoulda-matchers/Manifest b/dev-ruby/shoulda-matchers/Manifest new file mode 100644 index 000000000000..75e8800d72b4 --- /dev/null +++ b/dev-ruby/shoulda-matchers/Manifest @@ -0,0 +1,2 @@ +DIST shoulda-matchers-3.1.3.gem 208384 BLAKE2B 0ce7cb91ec8a311ecd4872ca45b178686fedb126fd5a05d55cc8654f5a40d1ed7e0a1da2b2c47c34ce3e5ed13a302a1d309f4afa67bafb37d5ed8a724945e97f SHA512 c61397d20724f3048172a8a20ef8abaeafdba3a1d5d4b923b1b11480b25c70820fd372eb2851c6eb307894bc0b7e1aae515e23a3581a83db1b65a2c778b22d67 +DIST shoulda-matchers-4.3.0.tar.gz 235212 BLAKE2B 03d634a851d5b79baac7fb3c5017be2ba8ce5b36905597eb759ea6ed22d543af5ce02c0c2af0f560d913d17713a8b3c417770adb7f247a6548d0666164e0866f SHA512 ffc90760ec47502d0820decfb8ab0620fa65fd9f45f3435c1d905ce0fe96010a3e059c690e9dbab7b30146b09a9e511ed4687a220d7cdf000f2fe1060e0b5ada diff --git a/dev-ruby/shoulda-matchers/metadata.xml b/dev-ruby/shoulda-matchers/metadata.xml new file mode 100644 index 000000000000..eb81fb150ee7 --- /dev/null +++ b/dev-ruby/shoulda-matchers/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">thoughtbot/shoulda-matchers</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-3.1.3-r1.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-3.1.3-r1.ebuild new file mode 100644 index 000000000000..bd845ff47f88 --- /dev/null +++ b/dev-ruby/shoulda-matchers/shoulda-matchers-3.1.3-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_TEST="" + +RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.0.0:*" diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-3.1.3.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-3.1.3.ebuild new file mode 100644 index 000000000000..32252b23022e --- /dev/null +++ b/dev-ruby/shoulda-matchers/shoulda-matchers-3.1.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_TEST="" + +RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.0.0:*" diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-4.3.0-r1.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-4.3.0-r1.ebuild new file mode 100644 index 000000000000..96c055803c21 --- /dev/null +++ b/dev-ruby/shoulda-matchers/shoulda-matchers-4.3.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers" +SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*" + +all_ruby_prepare() { + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '/s.files/,/^ end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-4.3.0.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-4.3.0.ebuild new file mode 100644 index 000000000000..60349fce2fb2 --- /dev/null +++ b/dev-ruby/shoulda-matchers/shoulda-matchers-4.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers" +SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*" + +all_ruby_prepare() { + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '/s.files/,/^ end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/shoulda/Manifest b/dev-ruby/shoulda/Manifest new file mode 100644 index 000000000000..ed2a8d37e25d --- /dev/null +++ b/dev-ruby/shoulda/Manifest @@ -0,0 +1,2 @@ +DIST shoulda-2.11.3.tar.gz 145068 BLAKE2B 5e6d9b78b255612ec18c78076f9c4d45265a3e02a8fd56a127ea8f235e3b344005942c4b6e53014e6328206501c178ce76e1554a9d995ba0de04f5afefe4a0f7 SHA512 0b347c4a8be177b5806364114c25dc786ca2ac95a11c93a723dbc9ea1f6d8ae62df7fb420a52d477cd1e10e8d894074072a040eef36ee8a43440e5256c8427e4 +DIST shoulda-3.6.0.tar.gz 22691 BLAKE2B 798b88e208355b0325b9e8b48f66687ad2702e1b5fc058d45504648fe7c7760b018eaf3d1c7bd45c68656c7bbba8fccc9b74d72003ee0b78ac53a277567609bb SHA512 10f7c6801eaabafa08eb2bc9c4d2a96237d4494aee7d40e5db8cf9c1abd8cccfe86aa21b0e68e2ec42cf222d285cdbec11ed2fdd804ffb8bd65ffd2efa3e72ac diff --git a/dev-ruby/shoulda/metadata.xml b/dev-ruby/shoulda/metadata.xml new file mode 100644 index 000000000000..c5852cfdb04b --- /dev/null +++ b/dev-ruby/shoulda/metadata.xml @@ -0,0 +1,12 @@ +<?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">thoughtbot/shoulda</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild b/dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild new file mode 100644 index 000000000000..2c4a1501e0e5 --- /dev/null +++ b/dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Use rdoc recipe to avoid obsolete Rakefile +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTION_GUIDELINES.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="http://thoughtbot.com/projects/shoulda" +SRC_URI="https://github.com/thoughtbot/${PN}/tarball/v${PV} -> ${P}.tar.gz" +RUBY_S="thoughtbot-${PN}-*" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +# tests seem to be quite broken :( They require working version of +# various rails versions. There appear to be unit and matcher tests but +# they can't be run on their own. +RESTRICT=test diff --git a/dev-ruby/shoulda/shoulda-3.6.0.ebuild b/dev-ruby/shoulda/shoulda-3.6.0.ebuild new file mode 100644 index 000000000000..7b71cea84191 --- /dev/null +++ b/dev-ruby/shoulda/shoulda-3.6.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="http://thoughtbot.com/projects/shoulda" +SRC_URI="https://github.com/thoughtbot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64" +IUSE="" + +# This now more or less a meta-gem and it only contains features for +# integration tests using Appraisals, which we don't currently package. +RESTRICT=test + +ruby_add_rdepend ">=dev-ruby/shoulda-context-1.0.1 + dev-ruby/shoulda-matchers:3" + +all_ruby_prepare() { + sed -e '/executables/,/^ end/d ; /test_files/d; s/git ls-files/find . -print/' -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/sigar/Manifest b/dev-ruby/sigar/Manifest new file mode 100644 index 000000000000..9405c0d5a6d6 --- /dev/null +++ b/dev-ruby/sigar/Manifest @@ -0,0 +1 @@ +DIST sigar-0.7.3.gem 205312 BLAKE2B 1a1d526e2f60a4a91ef405bbb7bf6aede2d4707631108f2779dfd1533d345b9e2c1fb586aa748d13ff1f7cb0b228e34618a0e8d549a3b4b4dc44a37684f2e970 SHA512 cdab3ec8b9662bfa3a432f0206c34c99c6e6e0ac5c85a93cb472367a9f325a27d5232bf2166f5c2955817e3ab8bd1035db06aad709ce20cc261f1b15d89dea2a diff --git a/dev-ruby/sigar/metadata.xml b/dev-ruby/sigar/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/sigar/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sigar/sigar-0.7.3.ebuild b/dev-ruby/sigar/sigar-0.7.3.ebuild new file mode 100644 index 000000000000..3b8f234f356f --- /dev/null +++ b/dev-ruby/sigar/sigar-0.7.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit multilib ruby-fakegem + +DESCRIPTION="System Information Gatherer And Reporter" +HOMEPAGE="http://sigar.hyperic.com/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND+=" || ( <sys-libs/glibc-2.26 net-libs/libtirpc )" + +all_ruby_prepare() { + sed -i -e '25i$CFLAGS += " -std=gnu89 -I/usr/include/tirpc"' \ + -e '25i$LDFLAGS += " -ltirpc"' bindings/ruby/extconf.rb || die + + # Fix compatibility with glibc 2.25 + sed -i -e '26i#include <sys/sysmacros.h>' \ + -e '27i#include <ctype.h>' bindings/ruby/rbsigar.c src/os/linux/linux_sigar.c || die +} + +each_ruby_configure() { + ${RUBY} -Cbindings/ruby extconf.rb || die +} + +each_ruby_compile() { + emake -Cbindings/ruby V=1 + mkdir lib || die + cp bindings/ruby/${PN}$(get_modname) lib/ || die +} diff --git a/dev-ruby/sigdump/Manifest b/dev-ruby/sigdump/Manifest new file mode 100644 index 000000000000..66de317f1079 --- /dev/null +++ b/dev-ruby/sigdump/Manifest @@ -0,0 +1 @@ +DIST sigdump-0.2.4.gem 9216 BLAKE2B 66c3d61eca7f1288de6d95e8d0376d27ab39fee6e5168430801d0f2016f6488eb20cc92e83967d69f690e5ff064952d2696ed08ecd0ab0c4e98c61fdfdbf38cf SHA512 c079f538d3e4e1af61325f18b0580a8d92869800736fc770bc7b193358df480105f1ff223158d52e62ea272e1c375be82ab6415b43c28cc1d74c57cc7640d9cd diff --git a/dev-ruby/sigdump/metadata.xml b/dev-ruby/sigdump/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/sigdump/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sigdump/sigdump-0.2.4.ebuild b/dev-ruby/sigdump/sigdump-0.2.4.ebuild new file mode 100644 index 000000000000..d73f3c482809 --- /dev/null +++ b/dev-ruby/sigdump/sigdump-0.2.4.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Setup signal handler which dumps backtrace of threads and allocated objects" +HOMEPAGE="https://github.com/frsyuki/sigdump" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" diff --git a/dev-ruby/simple-rss/Manifest b/dev-ruby/simple-rss/Manifest new file mode 100644 index 000000000000..57a2d58a4a0e --- /dev/null +++ b/dev-ruby/simple-rss/Manifest @@ -0,0 +1 @@ +DIST simple-rss-1.3.3.gem 33280 BLAKE2B 7de333c13cb928627ed9962ceb55cb23415218d3214591a3ac2dd29e3782cfcb07bb7e99efec067ed3042eed317f38f815dc43bb11ad5246cc9212e8b03f3664 SHA512 7ce7c121889ede58344cf686ac17ab97d75eea6ba5346aedf06294e969f239999a4e19ae416db93f3933f6dae24d7dce22c408d71efb3bbea91cc8091bf43920 diff --git a/dev-ruby/simple-rss/metadata.xml b/dev-ruby/simple-rss/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/simple-rss/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/simple-rss/simple-rss-1.3.3.ebuild b/dev-ruby/simple-rss/simple-rss-1.3.3.ebuild new file mode 100644 index 000000000000..3f9cd88cea72 --- /dev/null +++ b/dev-ruby/simple-rss/simple-rss-1.3.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby" +HOMEPAGE="https://github.com/cardmagic/simple-rss" +LICENSE="LGPL-2" + +KEYWORDS="amd64 x86" +SLOT="0" +IUSE="" + +all_ruby_prepare() { + # Avoid dependency on bundler + sed -i -e '/bundler/d' \ + -e '/rubyforgepublisher/I s:^:#:' \ + Rakefile || die + + # Avoid tests that require unpackaged test data + sed -i -e '/@\(media_rss\|rss20_utf8\)/ s:^:#:' \ + -e '/test_rss_utf8/aomit "missing data"' \ + test/base/base_test.rb || die +} diff --git a/dev-ruby/simple_oauth/Manifest b/dev-ruby/simple_oauth/Manifest new file mode 100644 index 000000000000..43d0f08696fb --- /dev/null +++ b/dev-ruby/simple_oauth/Manifest @@ -0,0 +1 @@ +DIST simple_oauth-0.3.1.tar.gz 9572 BLAKE2B c451850e4ece0741de8542b4736b6e68117f580974238e1a1c30714071c76d73bdd83c57c82841b7e0b131c58362d7787865000412d6d0d050d691f71f5f9e6a SHA512 9de7370b56a179e491dca703d92e093fe8dbab44783056b5f667d20e5475aa97210b5b187918159c1753458b5f80057971bb57f4ac2a6bd2f06ae133bc1a5099 diff --git a/dev-ruby/simple_oauth/metadata.xml b/dev-ruby/simple_oauth/metadata.xml new file mode 100644 index 000000000000..3f0cfaad0ec9 --- /dev/null +++ b/dev-ruby/simple_oauth/metadata.xml @@ -0,0 +1,12 @@ +<?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">laserlemon/simple_oauth</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/simple_oauth/simple_oauth-0.3.1.ebuild b/dev-ruby/simple_oauth/simple_oauth-0.3.1.ebuild new file mode 100644 index 000000000000..458da6c56307 --- /dev/null +++ b/dev-ruby/simple_oauth/simple_oauth-0.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simply builds and verifies OAuth headers" +HOMEPAGE="https://github.com/laserlemon/simple_oauth" +SRC_URI="https://github.com/laserlemon/simple_oauth/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e "/simplecov/,+8d" spec/helper.rb || die + + sed -i -e '/files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + export CI=true + each_fakegem_test +} diff --git a/dev-ruby/simplecov-html/Manifest b/dev-ruby/simplecov-html/Manifest new file mode 100644 index 000000000000..ecf3db9773f9 --- /dev/null +++ b/dev-ruby/simplecov-html/Manifest @@ -0,0 +1,5 @@ +DIST simplecov-html-0.10.2.gem 183296 BLAKE2B f4edfe25249927d46f32d422b004d8a03671926792ea78016864764242f8bf8dc9131a0580b9519db6798beb3fa093f79a0d585b63d6b6b62c9faf7ae94087e8 SHA512 141b9d55ca7cbf1bb64616482828107c7c33c7d6db1b5650ae9d463e5ece7a7fb56d123c539c7364fe2a35e5faea382620a0b34e337d4c9d4871caafc794a967 +DIST simplecov-html-0.11.0.gem 184832 BLAKE2B d70fa7688752d0286fc72de57352169749a78737b9ecd97bb735d26951476c872eac87c4a41eb9dd5fa4513474c21071750accaff6297c6d8a4f31206a36364b SHA512 2971769d9bd5d84229ca074fbefab5223874946062804bc4ce195b1773e96d374338908684b72a0b33c2d37ee6778ca01de888b09d856944f018aec6ac7365d5 +DIST simplecov-html-0.12.0.gem 336896 BLAKE2B 03172ebaf3320e34937dd9715bc15e4bdbe91df41a22922c38089a75a0b85fcf1eb4e7b8a803d298c6789b684df6d5d1ab582d34ce3e07f6fa9a4b5316a22619 SHA512 dd05aed77e44d35a54d272abb78d4984655eddc9bf7cee8d24f00da2088e62f486bf160dcd3327833fadcd18b79c15b34f4790300cb9e689e13bb6daf873334d +DIST simplecov-html-0.12.1.gem 336896 BLAKE2B ef068de799698c92b1a2cc9e54c7a85a08b763af43c8e013ca409283ee77ddbbea37b92fe691270fe3fb1675c9e4d9e79264dbb232a1aeaa23bab6e4358f17cf SHA512 9f85694d283588f5be3794edd37af94d22c914bb1659da5b8f846af8a988fc82935441fe60dc61c0345b7991ad3e85673e8aa345a8f8c3337e5fd2ab327ca5c9 +DIST simplecov-html-0.12.2.gem 336896 BLAKE2B dbd735855216b395280a3d3b34493bde8fc63594543abb6a2600a4bf87165b06dd3bddd7b161aa82d18b87ef62da51599eae366e5dfb4b85163380062fd4fb77 SHA512 5f89cdaba272b841446ae68d40daacbd551f3fcf7750c2491f14b79a3e61c6c32c066305eb2f1862f8cbd2ecc1b020cc9a907a977ef567653276d8d78d584efb diff --git a/dev-ruby/simplecov-html/metadata.xml b/dev-ruby/simplecov-html/metadata.xml new file mode 100644 index 000000000000..358bc16bca6d --- /dev/null +++ b/dev-ruby/simplecov-html/metadata.xml @@ -0,0 +1,12 @@ +<?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">colszowka/simplecov</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/simplecov-html/simplecov-html-0.10.2.ebuild b/dev-ruby/simplecov-html/simplecov-html-0.10.2.ebuild new file mode 100644 index 000000000000..b975509dbec3 --- /dev/null +++ b/dev-ruby/simplecov-html/simplecov-html-0.10.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="assets public views" + +inherit ruby-fakegem + +DESCRIPTION="Generates a HTML report of your SimpleCov ruby code coverage results" +HOMEPAGE="https://github.com/colszowka/simplecov" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0.10" +IUSE="doc" diff --git a/dev-ruby/simplecov-html/simplecov-html-0.11.0.ebuild b/dev-ruby/simplecov-html/simplecov-html-0.11.0.ebuild new file mode 100644 index 000000000000..9f00e25ece36 --- /dev/null +++ b/dev-ruby/simplecov-html/simplecov-html-0.11.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="assets public views" + +inherit ruby-fakegem + +DESCRIPTION="Generates a HTML report of your SimpleCov ruby code coverage results" +HOMEPAGE="https://github.com/colszowka/simplecov" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1-2)" +IUSE="doc" diff --git a/dev-ruby/simplecov-html/simplecov-html-0.12.0.ebuild b/dev-ruby/simplecov-html/simplecov-html-0.12.0.ebuild new file mode 100644 index 000000000000..9f00e25ece36 --- /dev/null +++ b/dev-ruby/simplecov-html/simplecov-html-0.12.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="assets public views" + +inherit ruby-fakegem + +DESCRIPTION="Generates a HTML report of your SimpleCov ruby code coverage results" +HOMEPAGE="https://github.com/colszowka/simplecov" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1-2)" +IUSE="doc" diff --git a/dev-ruby/simplecov-html/simplecov-html-0.12.1.ebuild b/dev-ruby/simplecov-html/simplecov-html-0.12.1.ebuild new file mode 100644 index 000000000000..9f00e25ece36 --- /dev/null +++ b/dev-ruby/simplecov-html/simplecov-html-0.12.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="assets public views" + +inherit ruby-fakegem + +DESCRIPTION="Generates a HTML report of your SimpleCov ruby code coverage results" +HOMEPAGE="https://github.com/colszowka/simplecov" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1-2)" +IUSE="doc" diff --git a/dev-ruby/simplecov-html/simplecov-html-0.12.2.ebuild b/dev-ruby/simplecov-html/simplecov-html-0.12.2.ebuild new file mode 100644 index 000000000000..9f00e25ece36 --- /dev/null +++ b/dev-ruby/simplecov-html/simplecov-html-0.12.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="assets public views" + +inherit ruby-fakegem + +DESCRIPTION="Generates a HTML report of your SimpleCov ruby code coverage results" +HOMEPAGE="https://github.com/colszowka/simplecov" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1-2)" +IUSE="doc" diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest new file mode 100644 index 000000000000..8fad4e234cc6 --- /dev/null +++ b/dev-ruby/simplecov/Manifest @@ -0,0 +1,4 @@ +DIST simplecov-0.16.1.tar.gz 62296 BLAKE2B f9ebe2c7ec3d8b5bb80f642be3e9803210f9af334a2e7eacc2d1339567750027bf0505106e9fd641c42b3ad41e5e74ebbe730d8ff80947b1ec2ff23f6ee8fef1 SHA512 5b3c16bcdcbfcbd5282bd91375d1593292ad421a73b88cbdf18fc8f57364e20e1eec44bb084be3619684f9871612ca81f790eea8eec98b61cf523bf38b4a997f +DIST simplecov-0.17.0.tar.gz 64354 BLAKE2B 640d2b312dd8202ddc13c2f33bfbd325441d4fd6502d8c738c15386fbac90a233043de1386c3bc57649b84a699187b71211c1b529071bae387451a16e5604ad9 SHA512 b477c215bfccafe0f24245078a211d6f7355098fc862b6dddf9c44cfaf9a352157535c628d31da4049323c5c7469be2e33566f381de5bbbb690a430d5d5cf5b6 +DIST simplecov-0.17.1.tar.gz 64431 BLAKE2B a9de43f4c2e106a9726c769c51d918328de30abcc19fbfe4f2fa1f1bbba0bda99738f7c2af57fabd1e903ae5cb9371a587d837d7428205648a1d9dd7dccaef07 SHA512 f7d6b6fb3a67e033e481fc9d10d71ca2f2d1b41f4cb57c48eff40b3b77842d2c373d8b0ae0377ffe25cb9bba263c9bf7ba72178acf725321427f08d611da3e02 +DIST simplecov-0.18.5.tar.gz 100495 BLAKE2B b92ebac7983e33c36aacad29ac499dbdcbae9f2bcf9d3ffb0cc07eabff112e74ba0489ada7b923453a69cf3a1487c8ea3c7af8b973242fa52671b0ba96b2a2f4 SHA512 05c452138997f4dcbf4b8cb053871591c291229e3f1fa152d128b1ea87668582ac4d72fa412c59f30fa29dbed1a4ca07fbfe8e1a1fe9470a22b2d1e931171874 diff --git a/dev-ruby/simplecov/metadata.xml b/dev-ruby/simplecov/metadata.xml new file mode 100644 index 000000000000..358bc16bca6d --- /dev/null +++ b/dev-ruby/simplecov/metadata.xml @@ -0,0 +1,12 @@ +<?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">colszowka/simplecov</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/simplecov/simplecov-0.16.1-r1.ebuild b/dev-ruby/simplecov/simplecov-0.16.1-r1.ebuild new file mode 100644 index 000000000000..e78addd19b86 --- /dev/null +++ b/dev-ruby/simplecov/simplecov-0.16.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_GEMSPEC="simplecov.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Code coverage with a configuration library and merging across test suites" +HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov" +SRC_URI="https://github.com/colszowka/simplecov/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0.8" +IUSE="doc" + +ruby_add_rdepend "|| ( dev-ruby/json:2 >=dev-ruby/json-1.8:0 ) + dev-ruby/simplecov-html:0.10 + >=dev-ruby/docile-1.1:0" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + dev-ruby/test-unit:2 +)" + +# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem. + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/helper.rb features/support/env.rb || die + + # Avoid test depending on spawning ruby and having timing issues + sed -i -e '/blocks other processes/askip "gentoo"' spec/result_merger_spec.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die + + #${RUBY} -S cucumber features || die +} diff --git a/dev-ruby/simplecov/simplecov-0.17.0.ebuild b/dev-ruby/simplecov/simplecov-0.17.0.ebuild new file mode 100644 index 000000000000..b0bba4411b73 --- /dev/null +++ b/dev-ruby/simplecov/simplecov-0.17.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_GEMSPEC="simplecov.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Code coverage with a configuration library and merging across test suites" +HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov" +SRC_URI="https://github.com/colszowka/simplecov/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0.8" +IUSE="doc" + +ruby_add_rdepend "|| ( dev-ruby/json:2 >=dev-ruby/json-1.8:0 ) + dev-ruby/simplecov-html:0.10 + >=dev-ruby/docile-1.1:0" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + dev-ruby/test-unit:2 +)" + +# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem. + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/helper.rb features/support/env.rb || die + + # Avoid test depending on spawning ruby and having timing issues + sed -i -e '/blocks other processes/askip "gentoo"' spec/result_merger_spec.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die + + #${RUBY} -S cucumber features || die +} diff --git a/dev-ruby/simplecov/simplecov-0.17.1.ebuild b/dev-ruby/simplecov/simplecov-0.17.1.ebuild new file mode 100644 index 000000000000..35dfc4004fbe --- /dev/null +++ b/dev-ruby/simplecov/simplecov-0.17.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="simplecov.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Code coverage with a configuration library and merging across test suites" +HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov" +SRC_URI="https://github.com/colszowka/simplecov/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0.8" +IUSE="doc" + +ruby_add_rdepend "|| ( dev-ruby/json:2 >=dev-ruby/json-1.8:0 ) + dev-ruby/simplecov-html:0.10 + >=dev-ruby/docile-1.1:0" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + dev-ruby/test-unit:2 +)" + +# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem. + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/helper.rb features/support/env.rb || die + + # Avoid test depending on spawning ruby and having timing issues + sed -i -e '/blocks other processes/askip "gentoo"' spec/result_merger_spec.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die + + #${RUBY} -S cucumber features || die +} diff --git a/dev-ruby/simplecov/simplecov-0.18.5.ebuild b/dev-ruby/simplecov/simplecov-0.18.5.ebuild new file mode 100644 index 000000000000..99d480b4b2ae --- /dev/null +++ b/dev-ruby/simplecov/simplecov-0.18.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="simplecov.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Code coverage with a configuration library and merging across test suites" +HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov" +SRC_URI="https://github.com/colszowka/simplecov/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0.8" +IUSE="doc" + +ruby_add_rdepend " + dev-ruby/simplecov-html:0.12 + >=dev-ruby/docile-1.1:0" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/rspec:3 + dev-ruby/test-unit:2 +)" + +# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem. + +all_ruby_prepare() { + # Avoid test depending on spawning ruby and having timing issues + sed -i -e '/blocks other processes/askip "gentoo"' spec/result_merger_spec.rb || die + + sed -i -e '5i require "bundler"' spec/helper.rb || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die + + #${RUBY} -S cucumber features || die +} diff --git a/dev-ruby/sinatra-partial/Manifest b/dev-ruby/sinatra-partial/Manifest new file mode 100644 index 000000000000..9e03f313c77c --- /dev/null +++ b/dev-ruby/sinatra-partial/Manifest @@ -0,0 +1 @@ +DIST sinatra-partial-1.0.1.gem 16384 BLAKE2B d129940c425a7e1b079860ab5c9f6459c39fc04d4256a0c1a5f25bcb9f3198133c897bd4b447429cd1e5ef11fdbaffa8d8b9384898d80d2564cbadb08e2131cd SHA512 04fb0826cdc9f6d8ce6ae8d80a9eafb3b0b37136fcecfb3f5e45a1bac101dac0486168473ff66de75979a5153d4efbdce17b63d774f5ddcd0e7fa251df0da1bd diff --git a/dev-ruby/sinatra-partial/metadata.xml b/dev-ruby/sinatra-partial/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/sinatra-partial/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sinatra-partial/sinatra-partial-1.0.1.ebuild b/dev-ruby/sinatra-partial/sinatra-partial-1.0.1.ebuild new file mode 100644 index 000000000000..3f07b0c8b6d8 --- /dev/null +++ b/dev-ruby/sinatra-partial/sinatra-partial-1.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.markdown README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Just the partials helper in a gem" +HOMEPAGE="https://github.com/yb66/Sinatra-Partial" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/sinatra-1.4" + +ruby_add_bdepend "test? ( dev-ruby/haml dev-ruby/rack-test dev-ruby/rspec-its dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest new file mode 100644 index 000000000000..c10a3cd61587 --- /dev/null +++ b/dev-ruby/sinatra/Manifest @@ -0,0 +1,4 @@ +DIST sinatra-1.4.8.gem 369152 BLAKE2B 8a344f85c34dc8736180551690bc55ee615118a243c48421711339f2ef366e6c6facfecf914594f0440a825244e13f98648d11903fd9053054767a58a34aa285 SHA512 e56a5a6d7ceb0be4bc537feb6ada2956f1fd64b452dee347b259837aa02041dfa53d9808531cdd0a02a91093ba92f7c505c39f0dd990dfbc6e872681f40bc5e9 +DIST sinatra-2.0.5.tar.gz 490580 BLAKE2B 6e82a02bf57f8ec6f0c5313b6b6e89e899a5cdc9ff39e897903b6991f990ec75135483c2ef5ac71032abf7afdc84402bbad431f9ae579bab94e3b140d3ce6911 SHA512 da626d584f065f924fa5a42802b0e7a03e40e780cfd92e9cb072c86e9cb6d8ba4a699d7383a81b13ac0ffd0ce427900cdf059b77565ace5961dbd00c088ce0f9 +DIST sinatra-2.0.7.tar.gz 490969 BLAKE2B 292bc4902ad3c5ff0665f12825ede4ea44bd4db39cd622289ffe1801dac4fe4865e90a223a7b37feb9a48b4c404edb3ef62b5e061fc080d5b02fdf96aaf3114c SHA512 dd894b4eb55ff19b92142b7d87b3c60ceb7eacd70b8f524a6e86e8938c64a409098c91b8dae4af68e73b6ef04b184bb4efb29e418caba2b9288cd2b6325840c8 +DIST sinatra-2.0.8.1.tar.gz 507102 BLAKE2B 7b88f50b2b2960c17aaa4f0ffbffaf70ece16c1bb29b3ee4706904ebc8e779ad84058ca49ae7cea28f86e635eb9b10ab6f5d94c6eeb4de72637bf5b74d4cac42 SHA512 c6c166e14f2be53cda18263121876ca191c670e12c2c42abb10d0f4a0d8db2916210a6775ef894cf00201c445cd185e5f13c5cd8a1ab0e78e12faa6cb51ee69b diff --git a/dev-ruby/sinatra/metadata.xml b/dev-ruby/sinatra/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/sinatra/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sinatra/sinatra-1.4.8.ebuild b/dev-ruby/sinatra/sinatra-1.4.8.ebuild new file mode 100644 index 000000000000..0d815fc809b6 --- /dev/null +++ b/dev-ruby/sinatra/sinatra-1.4.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +# no documentation is generable, it needs hanna, which is broken +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" +HOMEPAGE="http://www.sinatrarb.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "=dev-ruby/rack-1*:* >=dev-ruby/rack-1.5:* + >=dev-ruby/rack-protection-1.4:1 + >=dev-ruby/tilt-1.3.4:* <dev-ruby/tilt-3:*" +ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder )" + +# haml tests are optional and not yet marked for ruby20. +#USE_RUBY="ruby20" ruby_add_bdepend "test? ( >=dev-ruby/haml-3.0 )" + +all_ruby_prepare() { + # Remove implicit build dependency on git. + sed -i -e '/\(s.files\|s.test_files\|s.extra_rdoc_files\)/d' sinatra.gemspec || die + + # Use correct rack version in tests + sed -i -e '1igem "rack", "~> 1.5"' test/helper.rb test/integration/app.rb || die +} diff --git a/dev-ruby/sinatra/sinatra-2.0.5.ebuild b/dev-ruby/sinatra/sinatra-2.0.5.ebuild new file mode 100644 index 000000000000..f7e9be6290a7 --- /dev/null +++ b/dev-ruby/sinatra/sinatra-2.0.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:core" + +RUBY_FAKEGEM_TASK_DOC="doc" +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" +HOMEPAGE="http://www.sinatrarb.com/" +SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/mustermann:1 + dev-ruby/rack:2.0 + ~dev-ruby/rack-protection-${PV} + dev-ruby/tilt:2" +ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder dev-ruby/activesupport )" +ruby_add_bdepend "doc? ( dev-ruby/yard )" diff --git a/dev-ruby/sinatra/sinatra-2.0.7.ebuild b/dev-ruby/sinatra/sinatra-2.0.7.ebuild new file mode 100644 index 000000000000..98223fedbcb5 --- /dev/null +++ b/dev-ruby/sinatra/sinatra-2.0.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:core" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" +HOMEPAGE="http://www.sinatrarb.com/" +SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/mustermann:1 + dev-ruby/rack:2.0 + ~dev-ruby/rack-protection-${PV} + dev-ruby/tilt:2" +ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder dev-ruby/activesupport )" +ruby_add_bdepend "doc? ( dev-ruby/yard )" diff --git a/dev-ruby/sinatra/sinatra-2.0.8.1-r1.ebuild b/dev-ruby/sinatra/sinatra-2.0.8.1-r1.ebuild new file mode 100644 index 000000000000..c9c7334d49b8 --- /dev/null +++ b/dev-ruby/sinatra/sinatra-2.0.8.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:core" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" +HOMEPAGE="http://www.sinatrarb.com/" +SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/mustermann:1 + || ( dev-ruby/rack:2.1 dev-ruby/rack:2.0 ) + ~dev-ruby/rack-protection-${PV} + dev-ruby/tilt:2" +ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder dev-ruby/activesupport )" +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i -e '1igem "rack", "<2.2"' test/helper.rb || die +} diff --git a/dev-ruby/sinatra/sinatra-2.0.8.1.ebuild b/dev-ruby/sinatra/sinatra-2.0.8.1.ebuild new file mode 100644 index 000000000000..d6cb5cf6518b --- /dev/null +++ b/dev-ruby/sinatra/sinatra-2.0.8.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test:core" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" +HOMEPAGE="http://www.sinatrarb.com/" +SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/mustermann:1 + dev-ruby/rack:2.0 + ~dev-ruby/rack-protection-${PV} + dev-ruby/tilt:2" +ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder dev-ruby/activesupport )" +ruby_add_bdepend "doc? ( dev-ruby/yard )" diff --git a/dev-ruby/six/Manifest b/dev-ruby/six/Manifest new file mode 100644 index 000000000000..21b619aa7b89 --- /dev/null +++ b/dev-ruby/six/Manifest @@ -0,0 +1 @@ +DIST six-0.2.0.tar.gz 6747 BLAKE2B acf034ac527b3e5379a55ad95bacdf18d544577cad9e7f7ea322e6b05d2b1557f5712915ec79d51e48e5d246661f384207a5eae07775a85e27548fb9af99e6fb SHA512 8c3bfbe2b07b5682b696800a9235ebf542c7d292f69728aa9c9707f92fa042fe7bfee6a0b28808dab86f8ec80fec5ba993be5e42f4a098d8cfccbc7611fa2016 diff --git a/dev-ruby/six/metadata.xml b/dev-ruby/six/metadata.xml new file mode 100644 index 000000000000..fa31f6e16e2d --- /dev/null +++ b/dev-ruby/six/metadata.xml @@ -0,0 +1,12 @@ +<?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">randx/six</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/six/six-0.2.0.ebuild b/dev-ruby/six/six-0.2.0.ebuild new file mode 100644 index 000000000000..c84f7472ea08 --- /dev/null +++ b/dev-ruby/six/six-0.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="An ultra lite authorization library" +HOMEPAGE="https://github.com/randx/six" +SRC_URI="https://github.com/randx/six/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die "sed failed" +} diff --git a/dev-ruby/slim/Manifest b/dev-ruby/slim/Manifest new file mode 100644 index 000000000000..641a07459dec --- /dev/null +++ b/dev-ruby/slim/Manifest @@ -0,0 +1,3 @@ +DIST slim-3.0.9.gem 99840 BLAKE2B e449585fe5642c1980b4d8fb0c93979d8c16020c331f1bc2993c6f7b5bb3e55c1b85595711bf3acdc369c6a3fbfdc6873a8208c59aedaa49dead1cd9166347d4 SHA512 220dbcde230aab05e294022924346fbb02a1bf813a7c97910c2f60d7b3a7dd498d04f6f4f2883b895d2a3e6e9f526331914e3ab4560e748de2bd991358cca90d +DIST slim-4.0.1.gem 103424 BLAKE2B cf3629e6bb5254082ee3596dc4ddd05921186071823cfe6c423d3f173f80c46ca874e3cfa9a795ce4d564da2c7aa42a422513677978a6e79545a918ef3b9fb6f SHA512 afdaf01ce8372e270c00bc3fd863b9c2f7d26c851ed032374e648f069e6591e9522d4490f57350d4f13b85c68e6a9038111ad03a644a8e89894dca4ebffa0c90 +DIST slim-4.1.0.gem 103424 BLAKE2B 87de8411d6284569ac56366d4e2f3ee351c6908001cbda2926312f25c1c39520662371e826493d1346722bb507348bd8c117f3b0447b433bdb406435b80a70e2 SHA512 a929edcd1b194bc6abddf5757e0e942835f6c5e1555aa7bf021b0e850d74c9777637a2a0eafbdf2de7f0f0574eb03866c562826c656adcc0517cc4bfcb5ca897 diff --git a/dev-ruby/slim/metadata.xml b/dev-ruby/slim/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/slim/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/slim/slim-3.0.9-r1.ebuild b/dev-ruby/slim/slim-3.0.9-r1.ebuild new file mode 100644 index 000000000000..28b1bf6d333f --- /dev/null +++ b/dev-ruby/slim/slim-3.0.9-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-1.3.3:* <dev-ruby/tilt-2.1:* + >=dev-ruby/temple-0.7.6:0.7" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/redcarpet dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} diff --git a/dev-ruby/slim/slim-3.0.9.ebuild b/dev-ruby/slim/slim-3.0.9.ebuild new file mode 100644 index 000000000000..e697e9648c5b --- /dev/null +++ b/dev-ruby/slim/slim-3.0.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86" +SLOT="0" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-1.3.3:* <dev-ruby/tilt-2.1:* + >=dev-ruby/temple-0.7.6:0.7" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/redcarpet dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} diff --git a/dev-ruby/slim/slim-4.0.1-r1.ebuild b/dev-ruby/slim/slim-4.0.1-r1.ebuild new file mode 100644 index 000000000000..4e71e1931b4b --- /dev/null +++ b/dev-ruby/slim/slim-4.0.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit eapi7-ver ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +SLOT="$(ver_cut 1)" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-2.0.6:* =dev-ruby/tilt-2.0*:* + >=dev-ruby/temple-0.7.6:0.7 + !!<dev-ruby/slim-3.0.9-r1" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/redcarpet dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} diff --git a/dev-ruby/slim/slim-4.0.1.ebuild b/dev-ruby/slim/slim-4.0.1.ebuild new file mode 100644 index 000000000000..c6a86b286162 --- /dev/null +++ b/dev-ruby/slim/slim-4.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit eapi7-ver ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +SLOT="$(ver_cut 1)" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-2.0.6:* =dev-ruby/tilt-2.0*:* + >=dev-ruby/temple-0.7.6:0.7" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/redcarpet dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} diff --git a/dev-ruby/slim/slim-4.1.0.ebuild b/dev-ruby/slim/slim-4.1.0.ebuild new file mode 100644 index 000000000000..7f7a6d8b4595 --- /dev/null +++ b/dev-ruby/slim/slim-4.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_RECIPE_DOC="rake" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +SLOT="$(ver_cut 1)" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-2.0.6:* =dev-ruby/tilt-2.0*:* + >=dev-ruby/temple-0.7.6:0.7 + !!<dev-ruby/slim-3.0.9-r1" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/redcarpet dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} diff --git a/dev-ruby/slop/Manifest b/dev-ruby/slop/Manifest new file mode 100644 index 000000000000..eef6e4849870 --- /dev/null +++ b/dev-ruby/slop/Manifest @@ -0,0 +1,3 @@ +DIST slop-4.6.2.tgz 15750 BLAKE2B a31c8ec895e534be7fe77eb09909c2210d298c1a89099080af816b9e06a5ee2358aef223b1ce0669f9d40cc91c04ce55e8ebb6d506a4bec35fb1fd9b93c0017d SHA512 352d7e5bbbe9ae4c324d1561f953fe28c1c99078bdef27f1be45453e60b34e0191e94d8952ec0a8cee7d689c6ba910616c9515747e81a8378fa825cb2139bfc7 +DIST slop-4.7.0.tgz 16367 BLAKE2B ad128b803876184cddaca5fdc4c8a1c2d20a0deab46cfcc9521cec88dbc777ee849a8bda8b0257281fdcb614a1e710e25b683f9a5f7d97d34ad78e3a1479a88f SHA512 3cbf1c7e2a7f2baf01e533b10f29cb52060dab2d03f69ba345b63cc0aa9d4cdebf1d18eff26177bfbac11bf55fd1167605dcc86d030fed0568fa132de33d1f37 +DIST slop-4.8.1.tgz 16805 BLAKE2B 875b9a1895d99147f6d597b976831fcb406170d6172ad4c888f53cb18e35439f9fc6bcf785864a3209de5169166b2760d196e1f2f102308db3aec07950fe5e88 SHA512 4edace1693081ab7f9d1efaeb9c894f34c0012ae827ee13bd1c8014c222e88db20b082be3d6b0a97e664135b2ba09bec9e7ecb0d20c22b32a859ac574fd2b71e diff --git a/dev-ruby/slop/metadata.xml b/dev-ruby/slop/metadata.xml new file mode 100644 index 000000000000..2d3d6a78c2a7 --- /dev/null +++ b/dev-ruby/slop/metadata.xml @@ -0,0 +1,12 @@ +<?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">injekt/slop</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/slop/slop-4.6.2.ebuild b/dev-ruby/slop/slop-4.6.2.ebuild new file mode 100644 index 000000000000..1071fbc080d8 --- /dev/null +++ b/dev-ruby/slop/slop-4.6.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A simple option parser with an easy to remember syntax and friendly API" +HOMEPAGE="https://github.com/injekt/slop" +SRC_URI="https://github.com/injekt/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~ppc64 ~x86" + +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' slop.gemspec || die +} diff --git a/dev-ruby/slop/slop-4.7.0.ebuild b/dev-ruby/slop/slop-4.7.0.ebuild new file mode 100644 index 000000000000..6f83d6d82d67 --- /dev/null +++ b/dev-ruby/slop/slop-4.7.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A simple option parser with an easy to remember syntax and friendly API" +HOMEPAGE="https://github.com/injekt/slop" +SRC_URI="https://github.com/injekt/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~ppc64 ~x86" + +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' slop.gemspec || die +} diff --git a/dev-ruby/slop/slop-4.8.1.ebuild b/dev-ruby/slop/slop-4.8.1.ebuild new file mode 100644 index 000000000000..aefdfb5d23c7 --- /dev/null +++ b/dev-ruby/slop/slop-4.8.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="slop.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A simple option parser with an easy to remember syntax and friendly API" +HOMEPAGE="https://github.com/injekt/slop" +SRC_URI="https://github.com/injekt/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~ppc64 ~x86" + +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' slop.gemspec || die +} diff --git a/dev-ruby/slow_enumerator_tools/Manifest b/dev-ruby/slow_enumerator_tools/Manifest new file mode 100644 index 000000000000..85d88746b44f --- /dev/null +++ b/dev-ruby/slow_enumerator_tools/Manifest @@ -0,0 +1 @@ +DIST slow_enumerator_tools-1.1.0.gem 12800 BLAKE2B f8566bd15b37496be4fb7613e97367e62329f53a9da1c5f6c9247cd6fee220063bb91dd77e137bf6e3b419e4e9d2878bbb85747e2f0a939b1fe6740acf87d81f SHA512 0ac2396980d461205d0a2daa41db15016dd8536994cca6599f1e3b7be9c758d51123eefce97f53aaeec06ee1a1f9302d714d113666dbf99ed65be070816f71a2 diff --git a/dev-ruby/slow_enumerator_tools/metadata.xml b/dev-ruby/slow_enumerator_tools/metadata.xml new file mode 100644 index 000000000000..feac7ea4cd96 --- /dev/null +++ b/dev-ruby/slow_enumerator_tools/metadata.xml @@ -0,0 +1,12 @@ +<?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">ddfreyne/slow_enumerator_tools</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/slow_enumerator_tools/slow_enumerator_tools-1.1.0.ebuild b/dev-ruby/slow_enumerator_tools/slow_enumerator_tools-1.1.0.ebuild new file mode 100644 index 000000000000..d0c2d9fdbc0f --- /dev/null +++ b/dev-ruby/slow_enumerator_tools/slow_enumerator_tools-1.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Transform Ruby enumerators that produce data slowly and unpredictably" +HOMEPAGE="https://github.com/ddfreyne/slow_enumerator_tools/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.formatter/ s:^:#:' \ + -e '/fuubar/,/^end/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '/Fuubar/d' .rspec || die +} diff --git a/dev-ruby/source_map/Manifest b/dev-ruby/source_map/Manifest new file mode 100644 index 000000000000..ba78821a0752 --- /dev/null +++ b/dev-ruby/source_map/Manifest @@ -0,0 +1 @@ +DIST source_map-3.0.1.gem 12288 BLAKE2B 59d51caf46087379ea7c6a0842721a0065fa02fce8cb848a8097af14a8c6e2c99d216ffbeec643254c2f0aea75833960e272a0470f72c37587f6191370067b43 SHA512 3fc4a55f2ad2e79059c40ba4fd28e555af25c5881ac5513d6d37595d6a1c405e8e601e808b96b336725227dbd9b377235251cb8a9eeaefe60d8000f6fa67ea2f diff --git a/dev-ruby/source_map/metadata.xml b/dev-ruby/source_map/metadata.xml new file mode 100644 index 000000000000..cecefdb54df0 --- /dev/null +++ b/dev-ruby/source_map/metadata.xml @@ -0,0 +1,12 @@ +<?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">ConradIrwin/ruby-source_map</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/source_map/source_map-3.0.1.ebuild b/dev-ruby/source_map/source_map-3.0.1.ebuild new file mode 100644 index 000000000000..64c36988a72d --- /dev/null +++ b/dev-ruby/source_map/source_map-3.0.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Provides an API for parsing, and an API for generating source maps in ruby" +HOMEPAGE="https://github.com/ConradIrwin/ruby-source_map" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +IUSE="" + +ruby_add_rdepend "dev-ruby/json:*" diff --git a/dev-ruby/sourcemap/Manifest b/dev-ruby/sourcemap/Manifest new file mode 100644 index 000000000000..4dea119e7348 --- /dev/null +++ b/dev-ruby/sourcemap/Manifest @@ -0,0 +1 @@ +DIST sourcemap-0.1.1.gem 15872 BLAKE2B fac8ae7604a5d5a56b6aff82742b8c773bebfdeb41be6b6aeb3f2b5aff9c6cb2bf584b29ee7a6cfcb4b3064e6b1666e6c0341383fa4d39037759fcbf51ae57ee SHA512 d197a3aab0fe8c9e620c50d3bd994ed957b37dba071f6abc3b8a149a8a0490ee1b89512036b833ec44e6bdcdca6dacbdda9872036ba51736ac1d1e1f160ded59 diff --git a/dev-ruby/sourcemap/metadata.xml b/dev-ruby/sourcemap/metadata.xml new file mode 100644 index 000000000000..cb6bdd277f24 --- /dev/null +++ b/dev-ruby/sourcemap/metadata.xml @@ -0,0 +1,12 @@ +<?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">maccman/sourcemap</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sourcemap/sourcemap-0.1.1.ebuild b/dev-ruby/sourcemap/sourcemap-0.1.1.ebuild new file mode 100644 index 000000000000..18ed1e0abf8f --- /dev/null +++ b/dev-ruby/sourcemap/sourcemap-0.1.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby source maps" +HOMEPAGE="https://github.com/maccman/sourcemap" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/sparklines/Manifest b/dev-ruby/sparklines/Manifest new file mode 100644 index 000000000000..b072a881a9e5 --- /dev/null +++ b/dev-ruby/sparklines/Manifest @@ -0,0 +1 @@ +DIST sparklines-0.5.2.gem 150016 BLAKE2B 408a8a5348e0bb3a331087066dfccbb42a58f68b839b7ba24b7577e50d5ad8f9c33c8befc60ae4577d2f8b5b809e52d13c5e11f61021a1d3eafff4d5c1fb2a32 SHA512 2666db1c2f4dd97cad10fd6b9b2fc938ab6b2e619b968f93b86090db4a77cc356cb97bd5ec01582804412c214226ed99cc0f65196e2a26ea1a395b29288cc715 diff --git a/dev-ruby/sparklines/metadata.xml b/dev-ruby/sparklines/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/sparklines/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild new file mode 100644 index 000000000000..e54ab7d476c9 --- /dev/null +++ b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Create sparklines, small graphs to be used inline in texts" +HOMEPAGE="http://sparklines.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-macos" +IUSE="" + +DEPEND+="test? ( media-gfx/imagemagick[png] )" + +ruby_add_rdepend "dev-ruby/rmagick:*" + +ruby_add_bdepend test "dev-ruby/tidy_table dev-ruby/dust" + +all_ruby_prepare() { + # Don't use deprecated rmagick require for compatibility with newer + # versions. + sed -i -e '/require/ s/RMagick/rmagick/' lib/sparklines.rb || die +} + +each_ruby_test() { + ${RUBY} -I. test/test_all.rb || die +} diff --git a/dev-ruby/spork/Manifest b/dev-ruby/spork/Manifest new file mode 100644 index 000000000000..979b99241ea6 --- /dev/null +++ b/dev-ruby/spork/Manifest @@ -0,0 +1 @@ +DIST spork-0.9.2.gem 33280 BLAKE2B 0c06cad1d6fc7264aee25fa400ddf1890685f87bbcb3fa8f5cb31f45f9c99845ff650b1d8e9738b04d87bb35fa4bc4466c24ddfb0d35a27377b9f42ba46eddfb SHA512 04acbdb00cb23c74ab5e3737d85f6b353dd50555e01e13aa4e0289bc7716eaed144800127840d9eae8d580f020ab646351411f5c1cbf299cf17ed5a73d24d81a diff --git a/dev-ruby/spork/metadata.xml b/dev-ruby/spork/metadata.xml new file mode 100644 index 000000000000..b565b3c21f6d --- /dev/null +++ b/dev-ruby/spork/metadata.xml @@ -0,0 +1,12 @@ +<?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">sporkrb/spork</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/spork/spork-0.9.2-r2.ebuild b/dev-ruby/spork/spork-0.9.2-r2.ebuild new file mode 100644 index 000000000000..2d4bcc344359 --- /dev/null +++ b/dev-ruby/spork/spork-0.9.2-r2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" +RUBY_FAKEGEM_EXTRAINSTALL="assets" + +inherit ruby-fakegem + +DESCRIPTION="Spork is Tim Harper's implementation of test server" +HOMEPAGE="https://github.com/sporkrb/spork" +LICENSE="MIT" + +KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 ~sparc x86" +SLOT="0" +IUSE="" diff --git a/dev-ruby/spreadsheet/Manifest b/dev-ruby/spreadsheet/Manifest new file mode 100644 index 000000000000..60df906c22a2 --- /dev/null +++ b/dev-ruby/spreadsheet/Manifest @@ -0,0 +1,5 @@ +DIST spreadsheet-1.1.9.tar.gz 4656240 BLAKE2B cb2b663bc4721d916f0485fe51a5e46239f2e48dca2410d3b5e6f50ad4a4fb92982e3a9ba7605c4f202d538f3f69931837c2c0d323b8b30e9c25210fadca8796 SHA512 1a4d8f3e2f6772ff6fdfdc818893d8d808b03f68428125d6f3deab38830dc47ab203fbface21b01c66ab451e2175db38f4b6d3b0cc2423ac37578d3bd135305c +DIST spreadsheet-1.2.2.tar.gz 4656143 BLAKE2B d68e128fc902dce7508e64f2ea530f222cea6be43a2841aa9fe28a4155919c11279bb43f525de8b62f1a08a4eb35e0d7bf0af2b808bd22e649a798fa3a77bbb0 SHA512 8a7a7b385b15967b3cabf4fcc40a69788ef4470e81789256208be6b6afed4fcc078e85e4cfab0e647a03ec3c312d07f4c24160bf57814d4990f7c6dba3abccef +DIST spreadsheet-1.2.4.tar.gz 4656374 BLAKE2B f1879115c108e26e9a0593f3d7f8ed94527b404d7c6e6b1e94cb1bd1012ed83943a7d48e7abd99548fb9f702f7a97896763d34022716309e87aaaf5923806654 SHA512 273be3ca2cb11f705f6cc610590da96a69d5d6aa8ec8b74b8a30673bcebb20363593edc5bbed8b0d4cd4f57fb8c65a893ad8435e69f87b1d7825f80f8d0cdde3 +DIST spreadsheet-1.2.5.tar.gz 4656771 BLAKE2B ab2972e54e5c386ac3dcce46b6a3cb982a826d0d7485d0014ec774e58e335edbae9925eaa8786b60c38a5b434cf019fc9183fc31ab6333be95a0ec22b95a173e SHA512 933beff8d6587887f41e6c2a9fef4912c618136718595357a14ec6d8f86f858f5d81559aee33c65c582fae2f3ef0a929570d0d3646b4a6b507f64d8293f530ff +DIST spreadsheet-1.2.6.tar.gz 4656515 BLAKE2B a3b94804db9f4aceb8f6db66da7319082c86f625fc1c6bee5b1c1dc65b121970876cf5adfcc7d6d6800cadab38b017d67c7d0ecd1d708759a6ccd9726666c50e SHA512 4e05dd759f56de97979823864b4f4bed17c7b9c35cb2cc76e817d309ee2b0db38ae5efedba401b1259f3b80b7c954d95c6d26e928ebf03f329bc07d53f8013af diff --git a/dev-ruby/spreadsheet/metadata.xml b/dev-ruby/spreadsheet/metadata.xml new file mode 100644 index 000000000000..b6474eea9979 --- /dev/null +++ b/dev-ruby/spreadsheet/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + <name>Michael Orlitzky</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">spreadsheet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/spreadsheet/spreadsheet-1.1.9.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.1.9.ebuild new file mode 100644 index 000000000000..9f95a8c8f22c --- /dev/null +++ b/dev-ruby/spreadsheet/spreadsheet-1.1.9.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +# Same thing for the docs whose rake target just calls rdoc. +RUBY_FAKEGEM_RECIPE_DOC=rdoc +RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library to read and write spreadsheet documents" +HOMEPAGE="https://github.com/zdavatz/spreadsheet" +SRC_URI="https://github.com/zdavatz/spreadsheet/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" +ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0" + +each_ruby_test() { + ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/ +} diff --git a/dev-ruby/spreadsheet/spreadsheet-1.2.2.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.2.2.ebuild new file mode 100644 index 000000000000..9f95a8c8f22c --- /dev/null +++ b/dev-ruby/spreadsheet/spreadsheet-1.2.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +# Same thing for the docs whose rake target just calls rdoc. +RUBY_FAKEGEM_RECIPE_DOC=rdoc +RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library to read and write spreadsheet documents" +HOMEPAGE="https://github.com/zdavatz/spreadsheet" +SRC_URI="https://github.com/zdavatz/spreadsheet/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" +ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0" + +each_ruby_test() { + ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/ +} diff --git a/dev-ruby/spreadsheet/spreadsheet-1.2.4.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.2.4.ebuild new file mode 100644 index 000000000000..c24aef1ddbd0 --- /dev/null +++ b/dev-ruby/spreadsheet/spreadsheet-1.2.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +# Same thing for the docs whose rake target just calls rdoc. +RUBY_FAKEGEM_RECIPE_DOC=rdoc +RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library to read and write spreadsheet documents" +HOMEPAGE="https://github.com/zdavatz/spreadsheet" +SRC_URI="https://github.com/zdavatz/spreadsheet/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" +ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0" + +each_ruby_test() { + ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/ +} diff --git a/dev-ruby/spreadsheet/spreadsheet-1.2.5.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.2.5.ebuild new file mode 100644 index 000000000000..97cfbe3bd16e --- /dev/null +++ b/dev-ruby/spreadsheet/spreadsheet-1.2.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md" + +RUBY_FAKEGEM_GEMSPEC="spreadsheet.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library to read and write spreadsheet documents" +HOMEPAGE="https://github.com/zdavatz/spreadsheet" +SRC_URI="https://github.com/zdavatz/spreadsheet/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" +ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0" + +each_ruby_test() { + ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/ +} diff --git a/dev-ruby/spreadsheet/spreadsheet-1.2.6.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.2.6.ebuild new file mode 100644 index 000000000000..8222a91115de --- /dev/null +++ b/dev-ruby/spreadsheet/spreadsheet-1.2.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md" + +RUBY_FAKEGEM_GEMSPEC="spreadsheet.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library to read and write spreadsheet documents" +HOMEPAGE="https://github.com/zdavatz/spreadsheet" +SRC_URI="https://github.com/zdavatz/spreadsheet/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" +ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0" + +each_ruby_test() { + ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/ +} diff --git a/dev-ruby/spring/Manifest b/dev-ruby/spring/Manifest new file mode 100644 index 000000000000..e4cafbe53338 --- /dev/null +++ b/dev-ruby/spring/Manifest @@ -0,0 +1,2 @@ +DIST spring-2.0.2.tar.gz 43318 BLAKE2B 91c032b6e4573721de559f7cdd7013656fd39b71b7d0776b0518ead3730044b6fb25b2900931023a920f1afdf555c2856e4748f052856515ad5fca83df356659 SHA512 73d6eb241807dd9bd20e0e393773da77fa22e07c72cd8d909e7ef1330a6c3d1e5ae483d2a10bff5d99f57214a96f87da2eb784c8532ed9e680c1d679dbf4bc0c +DIST spring-2.1.0.tar.gz 43499 BLAKE2B 0736706638b0b8c76d244d5cc18b17730f807e6c87384c7823a71d9878a55337de8ab07ce1c75fc0ce0eaf3798df31d1c38f9c3fdac7cc4eedb84e1cab4eb27f SHA512 9c396cc55228f3afcc291f51418621071991d965312068dac88a940281d5df42239275a7da2f6a16801086b89e05477fa474705020060b1c4051baddf1305b05 diff --git a/dev-ruby/spring/metadata.xml b/dev-ruby/spring/metadata.xml new file mode 100644 index 000000000000..615b747147f8 --- /dev/null +++ b/dev-ruby/spring/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/spring</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/spring/spring-2.0.2.ebuild b/dev-ruby/spring/spring-2.0.2.ebuild new file mode 100644 index 000000000000..95f928afe184 --- /dev/null +++ b/dev-ruby/spring/spring-2.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_TASK_TEST="test:unit" + +inherit ruby-fakegem + +DESCRIPTION="Rails application preloader" +HOMEPAGE="https://github.com/rails/spring" +SRC_URI="https://github.com/rails/spring/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.1" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.2:*" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/activesupport )" + +all_ruby_prepare() { + sed -i -e '/files/d' \ + -e '/bump/d' ${PN}.gemspec || die + sed -i -e '/bump/d' Rakefile || die +} diff --git a/dev-ruby/spring/spring-2.1.0.ebuild b/dev-ruby/spring/spring-2.1.0.ebuild new file mode 100644 index 000000000000..8557e90c7002 --- /dev/null +++ b/dev-ruby/spring/spring-2.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_TASK_TEST="test:unit" + +inherit ruby-fakegem + +DESCRIPTION="Rails application preloader" +HOMEPAGE="https://github.com/rails/spring" +SRC_URI="https://github.com/rails/spring/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.1" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activesupport-4.2:*" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/activesupport )" + +all_ruby_prepare() { + sed -i -e '/files/d' \ + -e '/bump/d' ${PN}.gemspec || die + sed -i -e '/bump/d' Rakefile || die +} diff --git a/dev-ruby/sprockets-rails/Manifest b/dev-ruby/sprockets-rails/Manifest new file mode 100644 index 000000000000..3404c25c120a --- /dev/null +++ b/dev-ruby/sprockets-rails/Manifest @@ -0,0 +1 @@ +DIST sprockets-rails-3.2.1.tar.gz 108682 BLAKE2B 842ce4560c7537f12c3aa2c068da89d99b410c4ad27f44b69abeead90518a4d9bad92fe6a70406c2f52d1124857419e845e3a1468cddcdce8a534c5f1210c3a8 SHA512 2c108370dfbf945e912505e854cdaf799f08d4374aac57a33bfc298d6e9bbf136877978458f7a8f48e5d120f578d3c7a88d91c058c12f520dd10b8271f82c49b diff --git a/dev-ruby/sprockets-rails/metadata.xml b/dev-ruby/sprockets-rails/metadata.xml new file mode 100644 index 000000000000..3dafdabc082a --- /dev/null +++ b/dev-ruby/sprockets-rails/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/sprockets-rails</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.2.1.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.2.1.ebuild new file mode 100644 index 000000000000..9f10fcd57896 --- /dev/null +++ b/dev-ruby/sprockets-rails/sprockets-rails-3.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline" +HOMEPAGE="https://github.com/rails/sprockets-rails" +SRC_URI="https://github.com/rails/sprockets-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/actionpack-4.0:* + >=dev-ruby/activesupport-4.0:* + >=dev-ruby/sprockets-3.0.0:*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/actionpack-4 + >=dev-ruby/railties-4 + dev-ruby/test-unit:2 + )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Help load correct rack version consistently + sed -i -e "3irequire 'action_controller'" test/test_helper.rb || die +} diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest new file mode 100644 index 000000000000..7843b9c439de --- /dev/null +++ b/dev-ruby/sprockets/Manifest @@ -0,0 +1 @@ +DIST sprockets-3.7.2-git.tgz 369053 BLAKE2B 3c40de921d82b2f5c71e3ecaa114576293946352415da1195e60cdda6363066a6be05474eb7842ab1122e29fa6c19fd2f7a38fb0a7cf9972de0640eeb29d03f0 SHA512 bc7d79ba696a072644852b7a3a73ce086d297662309deb1d00318ad453f50ac6e494e6489632cb282795de2f334700155cfd21cc80be638dc471a3215422591f diff --git a/dev-ruby/sprockets/metadata.xml b/dev-ruby/sprockets/metadata.xml new file mode 100644 index 000000000000..f99f6736dd61 --- /dev/null +++ b/dev-ruby/sprockets/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/sprockets</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sprockets/sprockets-3.7.2.ebuild b/dev-ruby/sprockets/sprockets-3.7.2.ebuild new file mode 100644 index 000000000000..af093d625a6e --- /dev/null +++ b/dev-ruby/sprockets/sprockets-3.7.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Ruby library for compiling and serving web assets" +HOMEPAGE="https://github.com/rails/sprockets" +SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="" + +ruby_add_rdepend " + dev-ruby/concurrent-ruby:1 + >=dev-ruby/rack-1:* <dev-ruby/rack-3:*" + +ruby_add_bdepend "test? ( + dev-ruby/json + dev-ruby/rack-test + =dev-ruby/coffee-script-2* + =dev-ruby/execjs-2* + =dev-ruby/sass-3* >=dev-ruby/sass-3.1 + dev-ruby/uglifier + )" + +all_ruby_prepare() { + # Avoid tests for template types that we currently don't package: + # eco and ejs. + sed -i -e '/eco templates/,/end/ s:^:#:' \ + -e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die + sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die + rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die + sed -i -e "/bundler/d" Rakefile || die +} + +each_ruby_prepare() { + sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die +} + +each_ruby_test() { + # Make sure we have completely separate copies. Hardlinks won't work + # for this test suite. + cp -R test test-new || die + rm -rf test || die + mv test-new test || die + + each_fakegem_test +} diff --git a/dev-ruby/spy/Manifest b/dev-ruby/spy/Manifest new file mode 100644 index 000000000000..53df2ffc97c0 --- /dev/null +++ b/dev-ruby/spy/Manifest @@ -0,0 +1 @@ +DIST spy-1.0.0.gem 33280 BLAKE2B e85c6de9ad9eedd61f95d0a22a87d402949fffe925af3c525a9ed7842ec4582a5063caa6767ece7c2c6f470d10abd44015c0e02a4f31f21c85d6db6b6a28c2a3 SHA512 adea03cd0c2e60f964887c3a80a29deabe7bf1d98f2b5490e8ed833e64c53144437fca636ec1cfa9413f93dbcf154b2cd27afc9363b33c37d99db7cb4790b358 diff --git a/dev-ruby/spy/metadata.xml b/dev-ruby/spy/metadata.xml new file mode 100644 index 000000000000..9aca300bd1b5 --- /dev/null +++ b/dev-ruby/spy/metadata.xml @@ -0,0 +1,12 @@ +<?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">ryanong/spy</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/spy/spy-1.0.0.ebuild b/dev-ruby/spy/spy-1.0.0.ebuild new file mode 100644 index 000000000000..37689f6bc649 --- /dev/null +++ b/dev-ruby/spy/spy-1.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A simple opinionated mocking framework" +HOMEPAGE="https://github.com/ryanong/spy" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:0 )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" -e "/pry/d" -e "/[Cc]overalls/d" -e '/[Rr]eporters/d' Rakefile test/test_helper.rb || die +} diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest new file mode 100644 index 000000000000..4a352a81a89a --- /dev/null +++ b/dev-ruby/sqlite3/Manifest @@ -0,0 +1,3 @@ +DIST sqlite3-1.3.13.gem 64512 BLAKE2B a36e3161e44004a0510297d16bf491df3dc29434432208ad231f5e46ddecb4607add417e105f5ae8472a768f80efef3f74b703b2a441396b4c9b6c9ff90bf31e SHA512 5d3eab7c788cc62c497de179919054324e53595294ec3a9df2a10d23151a406ee9a88f1c3ac945777f138e78cec61018c388b023456b873131d678a6788a505f +DIST sqlite3-1.4.1.gem 70144 BLAKE2B 5a850296c804223cfe7673f72a1e303fb80c49569f23ab57be9a26acacbe95945382db1b1fd22bb432c974ddcf7c28abd913912823c2e8477d2eda165dbafe0d SHA512 33f87af2e962459cad07f2f07c9d6dffb59551c4e5371e47446f10f5314a05da495598ef5f90f896f876f9a59bd2e90b5bb3fdfb6efb95966ff51bb578f81a80 +DIST sqlite3-1.4.2.gem 70656 BLAKE2B ef7fa7667fd080a6f175bcfbd1fe8dfba00d3fdf1214cc3d776f0576dc29386b627db8d6c0dd06f07ab65fff877a6803a6dcacefd4fbc5bb0f7d2149e355c88d SHA512 c4630dd2fa13914e2fcc70092c35568103f61f976958b439fe205abdfcff61702ca176d10bea40ff0cfea3169644cdb9146b7be94dff883cad3b753e84629545 diff --git a/dev-ruby/sqlite3/metadata.xml b/dev-ruby/sqlite3/metadata.xml new file mode 100644 index 000000000000..c3704845e8d1 --- /dev/null +++ b/dev-ruby/sqlite3/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> 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..ae595f27816d --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.3.13.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26" + +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 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.4.1.ebuild b/dev-ruby/sqlite3/sqlite3-1.4.1.ebuild new file mode 100644 index 000000000000..a44e030dcc1b --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.4.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +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 ~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 + doc? ( dev-ruby/rdoc 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 -f rakelib/vendor_sqlite3.rake || die + + # Remove gem tasks since we don't need them and they require hoe. + rm -f rakelib/gem.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' rakelib/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() { + emake -Cext/sqlite3 V=1 + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || 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.4.2.ebuild b/dev-ruby/sqlite3/sqlite3-1.4.2.ebuild new file mode 100644 index 000000000000..2b9f78f2a591 --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-1.4.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +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 ~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 + doc? ( dev-ruby/rdoc 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 -f rakelib/vendor_sqlite3.rake || die + + # Remove gem tasks since we don't need them and they require hoe. + rm -f rakelib/gem.rake || die + + sed -i -e 's:, HOE.spec::' -e '/task :test/d' rakelib/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() { + emake -Cext/sqlite3 V=1 + mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || 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/sshkey/Manifest b/dev-ruby/sshkey/Manifest new file mode 100644 index 000000000000..8d7d6fcd68ad --- /dev/null +++ b/dev-ruby/sshkey/Manifest @@ -0,0 +1,2 @@ +DIST sshkey-1.9.0.gem 25600 BLAKE2B 8d20f10c7bbb243ed6a0eb41ddf07b06af803fb71ad7fe49c5b0a90fffe0db167e0b527513401400d12486fcf3fa445db1934b2eee08a5954cd2347dbaa03506 SHA512 d8cebd1341ee70886f868e4f7b4a524b1781a229e80261172b8c9a14ae665cc5e84b98f7b476cd62e57af430247c172a08dcd219956adc95a42caf88aab1b0b7 +DIST sshkey-2.0.0.gem 26112 BLAKE2B 19fb790d4eba7f57e96b57d838fb6736857b9394f678d37f4577a1794b6d7f901fe35165616c317add04d470a301ab79b55e39d64ef93b566d4c1f628a74fe22 SHA512 dfd56a8b3b4f6abe785f37b5e1a4a61799c704a864821c35beaa6ddcec51b2f9f0111ef945fdacac685cbe6141e7ce2ad0c9bae8fa4cf8a8d48354701a0e5d05 diff --git a/dev-ruby/sshkey/metadata.xml b/dev-ruby/sshkey/metadata.xml new file mode 100644 index 000000000000..d101fdfad03c --- /dev/null +++ b/dev-ruby/sshkey/metadata.xml @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">bensie/sshkey</remote-id> + <remote-id type="rubygems">sshkey</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sshkey/sshkey-1.9.0.ebuild b/dev-ruby/sshkey/sshkey-1.9.0.ebuild new file mode 100644 index 000000000000..15739cd2b47b --- /dev/null +++ b/dev-ruby/sshkey/sshkey-1.9.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="SSH private and public key generator in pure Ruby" +HOMEPAGE="https://rubygems.org/gems/sshkey" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" diff --git a/dev-ruby/sshkey/sshkey-2.0.0.ebuild b/dev-ruby/sshkey/sshkey-2.0.0.ebuild new file mode 100644 index 000000000000..135aaec5d532 --- /dev/null +++ b/dev-ruby/sshkey/sshkey-2.0.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="SSH private and public key generator in pure Ruby" +HOMEPAGE="https://rubygems.org/gems/sshkey" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest new file mode 100644 index 000000000000..6bcf459ecfbf --- /dev/null +++ b/dev-ruby/sshkit/Manifest @@ -0,0 +1,2 @@ +DIST sshkit-1.20.0.gem 155648 BLAKE2B fdb95aed6d407c598abde71591cbe2d7b1f98d91985695509a6545bcabc5c0f3337cfe8f73e82f4b212e3c04b6da09e7521637934baeea7a9b5e268ff72fcad1 SHA512 682234f99d6ae9533c99f0319ad0f3732f2ff166a8f1a07d5ce8ff59fd9606af9440798a39f657dd3899e9278639aa93d5fb29af8f64b2ebea7f3b8e75fb25fa +DIST sshkit-1.21.0.gem 144384 BLAKE2B f4f77d9cf00db4bc0ab6ac092dc859af31fd50976fc9425c0e5ba1b5c1607bd9b50fff44f65f0207b9d9d604c5ace153ba05ec062fb064c44673572769416a22 SHA512 981fdaa19d633e92d4e3ef5fc9255a89d992813c400af4a468e6cf12ca52cbe612b771a87afe6392c4098d07b42162d5981025b8b214aafa197a68222b5e234e diff --git a/dev-ruby/sshkit/metadata.xml b/dev-ruby/sshkit/metadata.xml new file mode 100644 index 000000000000..9fd81bc5389e --- /dev/null +++ b/dev-ruby/sshkit/metadata.xml @@ -0,0 +1,12 @@ +<?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">capistrano/sshkit</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sshkit/sshkit-1.20.0.ebuild b/dev-ruby/sshkit/sshkit-1.20.0.ebuild new file mode 100644 index 000000000000..9a29e10ccf72 --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.20.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# There are functional tests that require vagrant boxes to be set up. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby" +HOMEPAGE="https://github.com/capistrano/sshkit" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/net-ssh-2.8.0:* + >=dev-ruby/net-scp-1.1.2 +" + +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die + sed -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \ + -e '1irequire "set"; require "pathname"' test/helper.rb || die + + # Fix assumption about parent directory name + sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die +} + +each_ruby_test() { + # Run tests directly to avoid dependencies in the Rakefile + ${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/sshkit/sshkit-1.21.0.ebuild b/dev-ruby/sshkit/sshkit-1.21.0.ebuild new file mode 100644 index 000000000000..0c7d9e01c9e0 --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.21.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# There are functional tests that require vagrant boxes to be set up. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby" +HOMEPAGE="https://github.com/capistrano/sshkit" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/net-ssh-2.8.0:* + >=dev-ruby/net-scp-1.1.2 +" + +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die + sed -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \ + -e '1irequire "set"; require "pathname"' test/helper.rb || die + + # Fix assumption about parent directory name + sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die +} + +each_ruby_test() { + # Run tests directly to avoid dependencies in the Rakefile + ${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/stamp/Manifest b/dev-ruby/stamp/Manifest new file mode 100644 index 000000000000..495ed9312e14 --- /dev/null +++ b/dev-ruby/stamp/Manifest @@ -0,0 +1 @@ +DIST stamp-0.6.0.tar.gz 9099 BLAKE2B 6e5d4b95fcd6f31f47b02a4053670fad53e982bd965120f02ef3751e9b499d21a0867ef11afd628eeb2b1bcc523e3423aa319103868554b4c74341253614b1b3 SHA512 2f467444bad3c8932aeaeda061796ee3469b16d908027325efa28f7da005c8a4c8c95f0d3b84b6b1040bf5e5fe4114fc4779e3c9efc6c00817a050c13be62472 diff --git a/dev-ruby/stamp/metadata.xml b/dev-ruby/stamp/metadata.xml new file mode 100644 index 000000000000..760290d1c6e8 --- /dev/null +++ b/dev-ruby/stamp/metadata.xml @@ -0,0 +1,12 @@ +<?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">jeremyw/stamp</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/stamp/stamp-0.6.0.ebuild b/dev-ruby/stamp/stamp-0.6.0.ebuild new file mode 100644 index 000000000000..9544f8dac9b1 --- /dev/null +++ b/dev-ruby/stamp/stamp-0.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="cucumber" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit ruby-fakegem + +DESCRIPTION="Date and time formatting for humans" +HOMEPAGE="https://github.com/jeremyw/stamp" +SRC_URI="https://github.com/jeremyw/stamp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile || die "sed failed" + sed -i -e '/bundler/,+7d' features/support/env.rb || die "sed failed" +} diff --git a/dev-ruby/state_machine/Manifest b/dev-ruby/state_machine/Manifest new file mode 100644 index 000000000000..ada22debc86f --- /dev/null +++ b/dev-ruby/state_machine/Manifest @@ -0,0 +1 @@ +DIST state_machine-1.2.0.gem 604160 BLAKE2B 5fe7b3b192d887293fccbd27c2c1b289883e0c0fdc918b188564ded4366175278f172907ee62a57bb37a9d969e7e989f6cda639fe0b946935455cf81466c9ed6 SHA512 aa26d9cc99b0e873f9b146acddaa53f0332cff403463a5079cab5e00902db7b60e47957fc8b4c7ebc62861894460613a0b075b13548544392432ee564936567f diff --git a/dev-ruby/state_machine/metadata.xml b/dev-ruby/state_machine/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/state_machine/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/state_machine/state_machine-1.2.0.ebuild b/dev-ruby/state_machine/state_machine-1.2.0.ebuild new file mode 100644 index 000000000000..377475add7e9 --- /dev/null +++ b/dev-ruby/state_machine/state_machine-1.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="Adds support for creating state machines for attributes on any Ruby class" +HOMEPAGE="http://www.pluginaweek.org" +IUSE="test" +SLOT="0" + +LICENSE="MIT" +KEYWORDS="~amd64" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/{unit,functional}/*_test.rb +} diff --git a/dev-ruby/stomp/Manifest b/dev-ruby/stomp/Manifest new file mode 100644 index 000000000000..f4c87745f652 --- /dev/null +++ b/dev-ruby/stomp/Manifest @@ -0,0 +1 @@ +DIST stomp-1.4.9.gem 99328 BLAKE2B 9aa50880224cede15be69657ec7ecccf1a075db3e51de55faf3a0ba50335b90b910d1202c646585229cc35c0e2e4cf01fd99774960d9ae90ff82030c4bac6a69 SHA512 e1e3aed86621e2dac199fd7e4ba67fedc3582b5cfe9e4ff2efbdc9c545bb25d2c52391d9403e2fa935f69635e85bd3c1ca29d2d5b3c425aa850d3ccb8f7a5e86 diff --git a/dev-ruby/stomp/metadata.xml b/dev-ruby/stomp/metadata.xml new file mode 100644 index 000000000000..0899558797c3 --- /dev/null +++ b/dev-ruby/stomp/metadata.xml @@ -0,0 +1,12 @@ +<?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">stompgem/stomp</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/stomp/stomp-1.4.9.ebuild b/dev-ruby/stomp/stomp-1.4.9.ebuild new file mode 100644 index 000000000000..cd1e6a88a687 --- /dev/null +++ b/dev-ruby/stomp/stomp-1.4.9.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Ruby bindings for the stomp messaging protocol" +HOMEPAGE="https://github.com/stompgem/stomp" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +all_ruby_prepare() { + # Skip specs that hang the test run indefinitely, most likely + # because of rspec-mocks deprecation output + rm -f spec/connection_spec.rb || die +} diff --git a/dev-ruby/stringex/Manifest b/dev-ruby/stringex/Manifest new file mode 100644 index 000000000000..c6b7c372c9ab --- /dev/null +++ b/dev-ruby/stringex/Manifest @@ -0,0 +1 @@ +DIST stringex-2.8.5.gem 130048 BLAKE2B c07eaaee07bf348690166b41b0846bc49eb49c5ba9e39c7eaeea2a3a60d6089edd7c7d1d75fd9a5208c9883c4bff8840ccf56c6f186daeabcf79e7f4fb6b4d25 SHA512 53f9908f176f465d2e884e92dffb26abcdf75593c94ee8250253da0eb29eddf489cf5b3f539135659ad4c0e2dd738d2affff6a946c50abd5f36517148d8338ce diff --git a/dev-ruby/stringex/metadata.xml b/dev-ruby/stringex/metadata.xml new file mode 100644 index 000000000000..034b176372de --- /dev/null +++ b/dev-ruby/stringex/metadata.xml @@ -0,0 +1,12 @@ +<?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">rsl/stringex</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/stringex/stringex-2.8.5.ebuild b/dev-ruby/stringex/stringex-2.8.5.ebuild new file mode 100644 index 000000000000..1b59c985132b --- /dev/null +++ b/dev-ruby/stringex/stringex-2.8.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Extensions for Ruby's String class" +HOMEPAGE="https://github.com/rsl/stringex" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +IUSE="test" + +# we could rely on activerecord[sqlite3], but since we do not remove the +# sqlite3 adapter from activerecord when building -sqlite3, it's easier +# to just add another dependency, so the user doesn't have to change the +# USE flags at all. +ruby_add_bdepend " + test? ( + dev-ruby/i18n:1 + dev-ruby/redcloth + dev-ruby/test-unit:2 + >=dev-ruby/activerecord-3 + dev-ruby/sqlite3 )" + +all_ruby_prepare() { + sed -i -e '1agem "i18n", "~>1.0"' test/test_helper.rb || die +} diff --git a/dev-ruby/strptime/Manifest b/dev-ruby/strptime/Manifest new file mode 100644 index 000000000000..98817d4643ba --- /dev/null +++ b/dev-ruby/strptime/Manifest @@ -0,0 +1,2 @@ +DIST strptime-0.2.3.tar.gz 17375 BLAKE2B 583566c19cdd96f97b469d3353236624b814ea9200e1479d32c552d06431e0008cd9dcf5be03564948898fb9e5a1470a5a8bdb531d4054bfe64899bbd6ec92e0 SHA512 1b9ee2f7c0fa747c6df5a56c5d7f667c4a9314c334472867e890758074f9da387aae54d9171b2460036a21e890fd743187571c6d4a995e4117d6c4307b8134cc +DIST strptime-0.2.4.tar.gz 17429 BLAKE2B 9b6a7f29075ef5e55a17f28859961013d96778c7bd78fac9138a455819ec062f4b0d311038026a9da45ecc96e3f92207462970201c5d3095b9b0d653706c64a2 SHA512 ae92df60e049eb57e60f414e0a436fd90b56c6a3f5812597619aaac2d78b80046aeef77cdaae6f8822f37d069903d2806b9f7710ff1520eaf11070aaf3465f56 diff --git a/dev-ruby/strptime/metadata.xml b/dev-ruby/strptime/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/strptime/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/strptime/strptime-0.2.3.ebuild b/dev-ruby/strptime/strptime-0.2.3.ebuild new file mode 100644 index 000000000000..20a5d9d41adc --- /dev/null +++ b/dev-ruby/strptime/strptime-0.2.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="strptime.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit multilib ruby-fakegem + +DESCRIPTION="A fast strptime/strftime engine which uses VM" +HOMEPAGE="https://github.com/nurse/strptime" +SRC_URI="https://github.com/nurse/strptime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + ${RUBY} -Cext/strptime extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/strptime V=1 + cp ext/strptime/strptime$(get_modname) lib/strptime/ || die +} diff --git a/dev-ruby/strptime/strptime-0.2.4.ebuild b/dev-ruby/strptime/strptime-0.2.4.ebuild new file mode 100644 index 000000000000..20a5d9d41adc --- /dev/null +++ b/dev-ruby/strptime/strptime-0.2.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="strptime.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit multilib ruby-fakegem + +DESCRIPTION="A fast strptime/strftime engine which uses VM" +HOMEPAGE="https://github.com/nurse/strptime" +SRC_URI="https://github.com/nurse/strptime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + ${RUBY} -Cext/strptime extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/strptime V=1 + cp ext/strptime/strptime$(get_modname) lib/strptime/ || die +} diff --git a/dev-ruby/subexec/Manifest b/dev-ruby/subexec/Manifest new file mode 100644 index 000000000000..fc0fe29b59ae --- /dev/null +++ b/dev-ruby/subexec/Manifest @@ -0,0 +1 @@ +DIST subexec-0.2.3.tgz 4384 BLAKE2B 27dc40377f7b2fee33553543723b9e15cd02a1171bd24b5d213b3546b7b20267cb8cbf987c1a1f6c0285f594b194f1dc20c41314266587be30d961e4b514f8b9 SHA512 b6fc5ee802906a690a1d1542ada44aba1df5e6861a66f4df58623e366d8d3ab2349d2963817bf07089e1dc15932ca03f0020d16777012ec4b92879280868bb75 diff --git a/dev-ruby/subexec/metadata.xml b/dev-ruby/subexec/metadata.xml new file mode 100644 index 000000000000..b0c523b8b644 --- /dev/null +++ b/dev-ruby/subexec/metadata.xml @@ -0,0 +1,12 @@ +<?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">nulayer/subexec</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/subexec/subexec-0.2.3-r1.ebuild b/dev-ruby/subexec/subexec-0.2.3-r1.ebuild new file mode 100644 index 000000000000..b9f776efff11 --- /dev/null +++ b/dev-ruby/subexec/subexec-0.2.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem eutils + +GITHUB_USER="nulayer" + +DESCRIPTION="Subexec spawns an external command with a timeout" +HOMEPAGE="https://github.com/nulayer/subexec" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/shoulda )" + +all_ruby_prepare() { + rm Gemfile* || die + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + sed -i -e '/begin/,/end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/sync/Manifest b/dev-ruby/sync/Manifest new file mode 100644 index 000000000000..05f6e166adc9 --- /dev/null +++ b/dev-ruby/sync/Manifest @@ -0,0 +1 @@ +DIST sync-0.5.0.tar.gz 4957 BLAKE2B 9b4b1710d2468068387d782109199dd45c783b6d7bb0357851f800df2ac4961a72143cfc2b42f522524cf7148694545ae8eab47ee6629062d8ea1505d9095ba0 SHA512 5f887d9169e0be834c7fa17ae42b71078f25ce3d83e695490cd136adc1799d6b92e4aed41ce3f3d57b3ad193a1ac4de940b37212c2864bbf6331ba3582128166 diff --git a/dev-ruby/sync/metadata.xml b/dev-ruby/sync/metadata.xml new file mode 100644 index 000000000000..d0a6820f3fb5 --- /dev/null +++ b/dev-ruby/sync/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby/sync</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sync/sync-0.5.0.ebuild b/dev-ruby/sync/sync-0.5.0.ebuild new file mode 100644 index 000000000000..99c471f508e7 --- /dev/null +++ b/dev-ruby/sync/sync-0.5.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A module that provides a two-phase lock with a counter" +HOMEPAGE="https://github.com/ruby/sync" +SRC_URI="https://github.com/ruby/sync/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/syntax/Manifest b/dev-ruby/syntax/Manifest new file mode 100644 index 000000000000..2f868bb6e124 --- /dev/null +++ b/dev-ruby/syntax/Manifest @@ -0,0 +1 @@ +DIST syntax-1.2.2.tar.gz 41485 BLAKE2B 09a1fc9a4172ec8e6a748981a966c891038fe43303360a3e5f2302aa0fb370b1098c7fd7b8a1fc2f022365ac8491b3e9f9146f940dffc772fb68fa8be5245986 SHA512 a3be7ac736d6c77833aa532f17485c076d34e66c40426c9c6be2dbbde87b2adb7154c9b3bed3439cc12577dffc01c8148e0870a0d02b3a02ffbf9fb1d651433b diff --git a/dev-ruby/syntax/metadata.xml b/dev-ruby/syntax/metadata.xml new file mode 100644 index 000000000000..3c519c3f8ccd --- /dev/null +++ b/dev-ruby/syntax/metadata.xml @@ -0,0 +1,12 @@ +<?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">dblock/syntax</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/syntax/syntax-1.2.2.ebuild b/dev-ruby/syntax/syntax-1.2.2.ebuild new file mode 100644 index 000000000000..8fea1e381e4d --- /dev/null +++ b/dev-ruby/syntax/syntax-1.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Syntax highlighting for sourcecode and HTML" +HOMEPAGE="https://github.com/dblock/syntax" +SRC_URI="https://github.com/dblock/syntax/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test doc" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + # Remove manual doc since it can not longer be build and it blocks default rdoc recipe. + rm -rf doc || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/ALL-TESTS.rb || die +} diff --git a/dev-ruby/sys-uname/Manifest b/dev-ruby/sys-uname/Manifest new file mode 100644 index 000000000000..96d0b9036d97 --- /dev/null +++ b/dev-ruby/sys-uname/Manifest @@ -0,0 +1 @@ +DIST sys-uname-1.2.1.gem 29184 BLAKE2B 4166a6b8d1e87a0a78c4c6d9b542c8ad6d5c32f6f36b03be503cd6ea26b81d0a00bd81ff8a266b4f13e115629519bd67034d2cb80fad8bbc2d3e2c70a821d99f SHA512 4e7c7d5a375a61082f558115d69e74ee8a6f916cb641a8abf9e7d9a92909ca8e595f5d6659dc9cad34e8f0de4c1f7d63bfb5fe6dcf82df628c1e511987436d68 diff --git a/dev-ruby/sys-uname/metadata.xml b/dev-ruby/sys-uname/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/sys-uname/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/sys-uname/sys-uname-1.2.1.ebuild b/dev-ruby/sys-uname/sys-uname-1.2.1.ebuild new file mode 100644 index 000000000000..fa52e3864b4c --- /dev/null +++ b/dev-ruby/sys-uname/sys-uname-1.2.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES.rdoc README.rdoc doc/uname.rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby interface for getting operating system information" +HOMEPAGE="https://github.com/djberg96/sys-uname" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ffi-1.0.0" diff --git a/dev-ruby/syslogger/Manifest b/dev-ruby/syslogger/Manifest new file mode 100644 index 000000000000..b9e2605fae49 --- /dev/null +++ b/dev-ruby/syslogger/Manifest @@ -0,0 +1 @@ +DIST syslogger-1.6.5.gem 11776 BLAKE2B dec37278ea109dba53c44a5c285962d78890ed972f1cd14789435b8bb3b922c7a3fc7b18238ee9aa239143453be3d6f73eea6c62d0bb83eb7a8901225ff2e49c SHA512 60dc7be93092196d68d154cfdf90a3393c9883ceaff35640bd0c0dda01f692953c7d1d8243d7b9327990a368d320c474af1711ba33a6b69381f56030800cc297 diff --git a/dev-ruby/syslogger/metadata.xml b/dev-ruby/syslogger/metadata.xml new file mode 100644 index 000000000000..e5b357decf6f --- /dev/null +++ b/dev-ruby/syslogger/metadata.xml @@ -0,0 +1,12 @@ +<?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">crohr/syslogger</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/syslogger/syslogger-1.6.5.ebuild b/dev-ruby/syslogger/syslogger-1.6.5.ebuild new file mode 100644 index 000000000000..367371e766ba --- /dev/null +++ b/dev-ruby/syslogger/syslogger-1.6.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +# if ever needed +#GITHUB_USER="crohr" +#GITHUB_PROJECT="${PN}" + +inherit ruby-fakegem + +DESCRIPTION="Drop-in replacement for the standard Logger, that logs to the syslog" +HOMEPAGE="https://github.com/crohr/syslogger" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/systemu/Manifest b/dev-ruby/systemu/Manifest new file mode 100644 index 000000000000..f4694abbec8f --- /dev/null +++ b/dev-ruby/systemu/Manifest @@ -0,0 +1 @@ +DIST systemu-2.6.5.gem 15872 BLAKE2B 795245f1741af87da43b51839d758123909e3d2a6bb95bd516bd5cc8b73fd38610c00445a49ceb784efedffc575eca96bc61e17585dd50c67bf0ecfc6b9256d1 SHA512 1755e1d24f6d93fd07578859873b94d3fbc855f86c94bf9eb0389959837e94e432883c638ed188e75254312c2ac66eee2041d8b13eff428b473ddf8a8105461f diff --git a/dev-ruby/systemu/metadata.xml b/dev-ruby/systemu/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/systemu/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/systemu/systemu-2.6.5.ebuild b/dev-ruby/systemu/systemu-2.6.5.ebuild new file mode 100644 index 000000000000..019f7f6307b3 --- /dev/null +++ b/dev-ruby/systemu/systemu-2.6.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="Universal capture of STDOUT and STDERR and handling of child process PID" +HOMEPAGE="http://codeforpeople.com/lib/ruby/systemu/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} diff --git a/dev-ruby/tdiff/Manifest b/dev-ruby/tdiff/Manifest new file mode 100644 index 000000000000..e2daa86172f4 --- /dev/null +++ b/dev-ruby/tdiff/Manifest @@ -0,0 +1 @@ +DIST tdiff-0.3.4.gem 10240 BLAKE2B fe764eaf70303670602758bba903202bb468c419e96909561c4d420a86b9237c9af4640947e9dbc27eaca7b7210e26236da20d41f03d3e8acd0556a23205a924 SHA512 2db5c9707a8654fb36b02c7fbdf2317da08c633c0d3768f0f76693ffffd1b2b44e5f4309ae97df944c3bf9f25b596fd3ae19cb88b20435c0f9e50989d22ece40 diff --git a/dev-ruby/tdiff/metadata.xml b/dev-ruby/tdiff/metadata.xml new file mode 100644 index 000000000000..6a9714969691 --- /dev/null +++ b/dev-ruby/tdiff/metadata.xml @@ -0,0 +1,12 @@ +<?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">postmodern/tdiff</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tdiff/tdiff-0.3.4.ebuild b/dev-ruby/tdiff/tdiff-0.3.4.ebuild new file mode 100644 index 000000000000..f75642c4a62b --- /dev/null +++ b/dev-ruby/tdiff/tdiff-0.3.4.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Calculates the differences between two tree-like structures" +HOMEPAGE="https://github.com/postmodern/tdiff" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" diff --git a/dev-ruby/temple/Manifest b/dev-ruby/temple/Manifest new file mode 100644 index 000000000000..a3b0cbbf5b34 --- /dev/null +++ b/dev-ruby/temple/Manifest @@ -0,0 +1 @@ +DIST temple-0.8.2.gem 39424 BLAKE2B a56db910d1d4d52495806e907c74052c04e6b4843d040adc33a7f6dc28a25a02231c4c9bd41723c8e1abe6624d4d55375c2a429514a87fa4f7a7a8dcb6377796 SHA512 51923b3bf9d4c05255131be62f567ca21305ba023ea5395a08d6970236b2a2833b058f7b3906046b8a57a224b368de12a6d5e426effca39324670fb632f33b67 diff --git a/dev-ruby/temple/metadata.xml b/dev-ruby/temple/metadata.xml new file mode 100644 index 000000000000..87a8bb671c0c --- /dev/null +++ b/dev-ruby/temple/metadata.xml @@ -0,0 +1,12 @@ +<?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">judofyr/temple</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/temple/temple-0.8.2.ebuild b/dev-ruby/temple/temple-0.8.2.ebuild new file mode 100644 index 000000000000..cc39470ef9b8 --- /dev/null +++ b/dev-ruby/temple/temple-0.8.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGES EXPRESSIONS.md README.md" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="An abstraction and a framework for compiling templates to pure Ruby" +HOMEPAGE="https://github.com/judofyr/temple" + +LICENSE="MIT" +SLOT="0.7" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bacon + dev-ruby/erubis + >=dev-ruby/tilt-2.0.1 )" + +each_ruby_test() { + ${RUBY} -S bacon -Ilib -Itest --automatic --quiet || die +} diff --git a/dev-ruby/term-ansicolor/Manifest b/dev-ruby/term-ansicolor/Manifest new file mode 100644 index 000000000000..b8c1f9c3f191 --- /dev/null +++ b/dev-ruby/term-ansicolor/Manifest @@ -0,0 +1 @@ +DIST term-ansicolor-1.7.1.gem 44544 BLAKE2B 2c2c2de0a18d1f9a975901f8a7005f740ac81a609c43705d8c184deb26dc9010876deeca411488c787132a3d8b78339c75b0776f3c9bba1ff71efa23ce3671a6 SHA512 d49f8825c31accfaa58a2f34ed5fbdaf503d4b47c23f07c52cc82bbf6cce457bd9371e197da1ec36dc83e32b95e9ea9a349922d9759a827923456ea46f81ff50 diff --git a/dev-ruby/term-ansicolor/metadata.xml b/dev-ruby/term-ansicolor/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/term-ansicolor/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/term-ansicolor/term-ansicolor-1.7.1.ebuild b/dev-ruby/term-ansicolor/term-ansicolor-1.7.1.ebuild new file mode 100644 index 000000000000..dfa78b90af36 --- /dev/null +++ b/dev-ruby/term-ansicolor/term-ansicolor-1.7.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_GEMSPEC="term-ansicolor.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Small Ruby library that colors strings using ANSI escape sequences" +HOMEPAGE="https://flori.github.io/term-ansicolor/" +LICENSE="GPL-2" + +KEYWORDS="~alpha amd64 arm hppa 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="" + +ruby_add_rdepend ">=dev-ruby/tins-1.0" + +each_ruby_test() { + ${RUBY} -Ilib:.:tests -e 'Dir["tests/*_test.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} diff --git a/dev-ruby/terminal-table/Manifest b/dev-ruby/terminal-table/Manifest new file mode 100644 index 000000000000..ec3eb43fcae2 --- /dev/null +++ b/dev-ruby/terminal-table/Manifest @@ -0,0 +1 @@ +DIST terminal-table-1.8.0.tar.gz 13407 BLAKE2B cf1653a18d2b6b72757b149295e01aee83d75241075912d145032e3bc73deb3e33fd00bef033f4bc90dcd51e4bd994b6966805ed7f81833392aba17bbdd7e179 SHA512 4ea4a66e8db384e448d57027e6314f9ce7a0e1511bbfa6e246e26c15a8ff3e44b46c8b6ca03dd521ffdd63b58976d400359131bc1869bf2dc04b3057f399e269 diff --git a/dev-ruby/terminal-table/metadata.xml b/dev-ruby/terminal-table/metadata.xml new file mode 100644 index 000000000000..25d9831f9436 --- /dev/null +++ b/dev-ruby/terminal-table/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild b/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild new file mode 100644 index 000000000000..c065740a9391 --- /dev/null +++ b/dev-ruby/terminal-table/terminal-table-1.8.0-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc Todo.rdoc" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simple, feature rich ascii table generation library" +HOMEPAGE="https://github.com/tj/terminal-table" +SRC_URI="https://github.com/tj/terminal-table/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/unicode-display_width-1.1.1:1" + +ruby_add_bdepend "test? ( dev-ruby/term-ansicolor )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/test-unit-rr/Manifest b/dev-ruby/test-unit-rr/Manifest new file mode 100644 index 000000000000..0d61fd73cdd1 --- /dev/null +++ b/dev-ruby/test-unit-rr/Manifest @@ -0,0 +1 @@ +DIST test-unit-rr-1.0.5.gem 16896 BLAKE2B e9424a29e5f23d11fc9daebe431e49945262633b5c4729a70b59b054e7a9d2373cc86d69dee86a82a39526ce506e21ff63dc0878313c72859cdd5ac28476aa2f SHA512 120c0c6d0b203a40062d61f3b9c915460660d1222b60878eb4bc30111d7aa51ec271d9dba138ba0b91eaa116ab07051323e1de365c6cd21f84c372748f89d36e diff --git a/dev-ruby/test-unit-rr/metadata.xml b/dev-ruby/test-unit-rr/metadata.xml new file mode 100644 index 000000000000..9a9d38420011 --- /dev/null +++ b/dev-ruby/test-unit-rr/metadata.xml @@ -0,0 +1,12 @@ +<?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">test-unit/test-unit-rr</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/test-unit-rr/test-unit-rr-1.0.5.ebuild b/dev-ruby/test-unit-rr/test-unit-rr-1.0.5.ebuild new file mode 100644 index 000000000000..5fddd05bd51e --- /dev/null +++ b/dev-ruby/test-unit-rr/test-unit-rr-1.0.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="RR adapter for Test::Unit" +HOMEPAGE="https://github.com/test-unit/test-unit-rr" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rr-1.1.1 >=dev-ruby/test-unit-2.5.2" + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest new file mode 100644 index 000000000000..c6ce105367f5 --- /dev/null +++ b/dev-ruby/test-unit/Manifest @@ -0,0 +1,4 @@ +DIST test-unit-3.3.3.gem 133120 BLAKE2B 37fc200b121e84046d1ee483277fc1274dc3bbcdce95ecb5c88a71a77ca9c164faa8364f68d777896bceb3dd1857fc7146ca464f039c0f30ce5baa466f38ede5 SHA512 ddb40e2ec1f15405cc396a9008912fd41ecdf67a0c02bc7ad4bf7725ee68cdaeec6f171f1786469ed55c1154ce094c5f0dd75103c1989a694bff412c9cc86934 +DIST test-unit-3.3.4.gem 133120 BLAKE2B 1f0122ddfd6337a6dcf16c09f294b3632aff6b20491a6d6dd6ebead18570f4db42fcbc656aada7b11a46c0d04c4a1134356db3d101138739973687695221d819 SHA512 f8fb546ab764cc01f374fd387b26c0d49b5a572b4a428be9b7a583c449fcb73d4aa755f6666d16c7a62e24f263f91329e9e9f997646923b38a1e30af1bb3d168 +DIST test-unit-3.3.5.gem 133120 BLAKE2B 8a799d05fc25a11421eb2385b435de5fc53ffdbffb3ee9c3d4761b11f3b40461ef12b4e2a5583d5ae20fc468846b923317a65cbfbded8dc6ddc066764f1cded4 SHA512 eab194e2361b7aa82dbe18d87dd309e81ddb1cb063e289b63a99c4803c0b88d0323a2028afd6585c14e11e458d4cd5ceb67e674bb7d5065d31b91649be2cbd68 +DIST test-unit-3.3.6.gem 133120 BLAKE2B bbe79ee41f1e25b49099eb00c8c72dcdafd1b7cbae723c1b78240da000f433877790549c6b0503f654f28d86c87bb125578a6d87b41e8b0a28caba87dad1477c SHA512 af8a632117410b486920e77a5bf91afb774a548166ca5cdb2bdeac6c995bf2da6206d2b00e6904024e5e9bf0f68edf9872192faa471297e64c5d4bd4c554fae3 diff --git a/dev-ruby/test-unit/files/testrb b/dev-ruby/test-unit/files/testrb new file mode 100644 index 000000000000..f87eabcb2bef --- /dev/null +++ b/dev-ruby/test-unit/files/testrb @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby +gem 'test-unit', '~> 2.5' +require 'test/unit' +(r = Test::Unit::AutoRunner.new(true)).process_args(ARGV) or + abort r.options.banner + " tests..." +exit r.run diff --git a/dev-ruby/test-unit/files/testrb-3 b/dev-ruby/test-unit/files/testrb-3 new file mode 100644 index 000000000000..4f5a8467f46d --- /dev/null +++ b/dev-ruby/test-unit/files/testrb-3 @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby +gem 'test-unit', '>= 2.5', '<4' +require 'test/unit' +(r = Test::Unit::AutoRunner.new(true)).process_args(ARGV) or + abort r.options.banner + " tests..." +exit r.run diff --git a/dev-ruby/test-unit/metadata.xml b/dev-ruby/test-unit/metadata.xml new file mode 100644 index 000000000000..6685f0ccc05d --- /dev/null +++ b/dev-ruby/test-unit/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <longdescription lang="en"> + Improved version of the Test::Unit framework as shipped by Ruby + 1.8, compatible with Ruby 1.9. + </longdescription> + <upstream> + <remote-id type="rubygems">test-unit</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/test-unit/test-unit-3.3.3.ebuild b/dev-ruby/test-unit/test-unit-3.3.3.ebuild new file mode 100644 index 000000000000..64335dda8dbc --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.3.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md" + +inherit ruby-fakegem + +DESCRIPTION="An xUnit family unit testing framework for Ruby" +HOMEPAGE="https://rubygems.org/gems/test-unit" + +LICENSE="|| ( Ruby GPL-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/power_assert" + +all_ruby_prepare() { + mv doc doc-install || die "moving doc directory out of the way failed" +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die "testsuite failed" +} + +all_ruby_install() { + all_fakegem_install + + newbin "${FILESDIR}"/testrb-3 testrb-2 +} diff --git a/dev-ruby/test-unit/test-unit-3.3.4.ebuild b/dev-ruby/test-unit/test-unit-3.3.4.ebuild new file mode 100644 index 000000000000..6d5415956121 --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.3.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md" + +inherit ruby-fakegem + +DESCRIPTION="An xUnit family unit testing framework for Ruby" +HOMEPAGE="https://rubygems.org/gems/test-unit" + +LICENSE="|| ( Ruby GPL-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/power_assert" + +all_ruby_prepare() { + mv doc doc-install || die "moving doc directory out of the way failed" +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die "testsuite failed" +} + +all_ruby_install() { + all_fakegem_install + + newbin "${FILESDIR}"/testrb-3 testrb-2 +} diff --git a/dev-ruby/test-unit/test-unit-3.3.5.ebuild b/dev-ruby/test-unit/test-unit-3.3.5.ebuild new file mode 100644 index 000000000000..6d5415956121 --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.3.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md" + +inherit ruby-fakegem + +DESCRIPTION="An xUnit family unit testing framework for Ruby" +HOMEPAGE="https://rubygems.org/gems/test-unit" + +LICENSE="|| ( Ruby GPL-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/power_assert" + +all_ruby_prepare() { + mv doc doc-install || die "moving doc directory out of the way failed" +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die "testsuite failed" +} + +all_ruby_install() { + all_fakegem_install + + newbin "${FILESDIR}"/testrb-3 testrb-2 +} diff --git a/dev-ruby/test-unit/test-unit-3.3.6.ebuild b/dev-ruby/test-unit/test-unit-3.3.6.ebuild new file mode 100644 index 000000000000..6d5415956121 --- /dev/null +++ b/dev-ruby/test-unit/test-unit-3.3.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md" + +inherit ruby-fakegem + +DESCRIPTION="An xUnit family unit testing framework for Ruby" +HOMEPAGE="https://rubygems.org/gems/test-unit" + +LICENSE="|| ( Ruby GPL-2 ) PSF-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/power_assert" + +all_ruby_prepare() { + mv doc doc-install || die "moving doc directory out of the way failed" +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die "testsuite failed" +} + +all_ruby_install() { + all_fakegem_install + + newbin "${FILESDIR}"/testrb-3 testrb-2 +} diff --git a/dev-ruby/test_construct/Manifest b/dev-ruby/test_construct/Manifest new file mode 100644 index 000000000000..4b58575f6130 --- /dev/null +++ b/dev-ruby/test_construct/Manifest @@ -0,0 +1,2 @@ +DIST test_construct-2.0.1.gem 13312 BLAKE2B cda8bec1e1fe343ae506c73bf480a982fdd1224da1e77ab19827a3b76dba57294397d811040448cef6956c8492c9c5cb618d204834d31b54e8619b3d224da20c SHA512 c9898beb04d23974dc5b66a9d7bb4a77cd040cc63b724108c4fc4b81f0680d23a9e09b96110c1b5458107d0c2c8714cbed8b2e81611eef8ca7fab92b31014e98 +DIST test_construct-2.0.2.gem 13312 BLAKE2B e1a5068e8133f739dfc407e943b0486c0c2bb2a8f18943a23b366205b206a56b792630daad7a92a021ea367d490b117aec1313faa0e5360bf6b984df3b82c16c SHA512 d73e2daf5c5974c79aedfcd7e1cd6681a3f1f6fe3f2c68bcde26690a18be920ea53b648407e4ee33444364b2a02f1517362c876e703abad02fc528a47de092ff diff --git a/dev-ruby/test_construct/metadata.xml b/dev-ruby/test_construct/metadata.xml new file mode 100644 index 000000000000..c558c1fe3c67 --- /dev/null +++ b/dev-ruby/test_construct/metadata.xml @@ -0,0 +1,12 @@ +<?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">bhb/test_construct</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/test_construct/test_construct-2.0.1-r1.ebuild b/dev-ruby/test_construct/test_construct-2.0.1-r1.ebuild new file mode 100644 index 000000000000..a4233d5a6d9a --- /dev/null +++ b/dev-ruby/test_construct/test_construct-2.0.1-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Creates temporary files and directories for testing" +HOMEPAGE="https://github.com/bhb/test_construct" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.0.8 + >=dev-ruby/mocha-0.14.0 + dev-ruby/rspec:3 +)" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/test_construct/test_construct-2.0.2.ebuild b/dev-ruby/test_construct/test_construct-2.0.2.ebuild new file mode 100644 index 000000000000..dd4b939f5a67 --- /dev/null +++ b/dev-ruby/test_construct/test_construct-2.0.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Creates temporary files and directories for testing" +HOMEPAGE="https://github.com/bhb/test_construct" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.0.8 + >=dev-ruby/mocha-0.14.0 + dev-ruby/rspec:3 +)" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/test_declarative/Manifest b/dev-ruby/test_declarative/Manifest new file mode 100644 index 000000000000..248e46e4fae9 --- /dev/null +++ b/dev-ruby/test_declarative/Manifest @@ -0,0 +1 @@ +DIST test_declarative-0.0.6.tgz 3586 BLAKE2B de8e4b011de9ce0773e2c76887d6cf7d888c2f799a07e6dda024b301594edc37ccf2c386c366c0a13d81a1f0697fe7be92932db7d66e5ed482d529fac4b9ce78 SHA512 f147fef7f3ac912c7b1cb2826cfc7cb5abf4cba92ea4f7accc2b1ba3a4f0775bff5ae06e80370144b7b1e7d03e2f3129e268c5d7056ee2aca9d77047a1b5a1c3 diff --git a/dev-ruby/test_declarative/metadata.xml b/dev-ruby/test_declarative/metadata.xml new file mode 100644 index 000000000000..352f172d42ad --- /dev/null +++ b/dev-ruby/test_declarative/metadata.xml @@ -0,0 +1,12 @@ +<?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">svenfuchs/test_declarative</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild b/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild new file mode 100644 index 000000000000..a534ca0a8ed0 --- /dev/null +++ b/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simply adds a declarative test method syntax to test/unit" +HOMEPAGE="https://github.com/svenfuchs/test_declarative" +SRC_URI="https://github.com/svenfuchs/test_declarative/tarball/v${PV} -> ${P}.tgz" +RUBY_S="svenfuchs-test_declarative-*" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/minitest-5.10:5 )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/~> 12.0.0/>= 10/ ; /minitest/ s/5.10.1/5.10/' Gemfile || die +} + +each_ruby_test() { + # There are other gemfiles but their setup seems broken atm. + for gemfile in Gemfile ; do + einfo "Running tests with ${gemfile}" + BUNDLE_GEMFILE=${gemfile} ${RUBY} -S bundle exec rake test || die + done +} diff --git a/dev-ruby/text-hyphen/Manifest b/dev-ruby/text-hyphen/Manifest new file mode 100644 index 000000000000..60c5601b1b0d --- /dev/null +++ b/dev-ruby/text-hyphen/Manifest @@ -0,0 +1 @@ +DIST text-hyphen-1.4.1.gem 751616 BLAKE2B 4a6d6a9b430c2dee2a486dde9f49405b98bc32fe8f96448c0cbe8d55f416c4e4e9bef5ae3adb57576dee6fa285680fc57b958cb279786872c8d95282cbf72e73 SHA512 4a6667aff01e56afce79302f46d0afdbf9c965ad80dbf9a7266a213143e6b6bc2cb00092d26900286bf72a700e47be6b0860cfdf87fa2856477db02261f9ef3d diff --git a/dev-ruby/text-hyphen/metadata.xml b/dev-ruby/text-hyphen/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/text-hyphen/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/text-hyphen/text-hyphen-1.4.1-r2.ebuild b/dev-ruby/text-hyphen/text-hyphen-1.4.1-r2.ebuild new file mode 100644 index 000000000000..b4a04d1b7e88 --- /dev/null +++ b/dev-ruby/text-hyphen/text-hyphen-1.4.1-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Hyphenates words according to the rules of the language the word is written in" +HOMEPAGE="http://rubyforge.org/projects/text-format" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/hoe-2.8.0 + dev-ruby/test-unit:2 + )" + +all_ruby_prepare() { + sed -i -e '2igem "test-unit", ">= 2.0"' test/test_*.rb || die +} diff --git a/dev-ruby/text/Manifest b/dev-ruby/text/Manifest new file mode 100644 index 000000000000..27c97c231a69 --- /dev/null +++ b/dev-ruby/text/Manifest @@ -0,0 +1 @@ +DIST text-1.3.1.gem 138752 BLAKE2B 19c837d83f72787ef1a70eca74d9b2d2e8336d60eb2dc07578f07fa446919984946b1c2431efcb4a3b29770f77f9eb0ea9a40c8d74dd07972786066b67aa3e2e SHA512 0380fc77e2f0d427afd9015ed904947311139e52adf3d49b748d0e6ee32c579073ec979f0cdbc117b53e3d841f25ce9f271637dd7edb5f6e124e369cca788eb8 diff --git a/dev-ruby/text/metadata.xml b/dev-ruby/text/metadata.xml new file mode 100644 index 000000000000..3808ef9a2552 --- /dev/null +++ b/dev-ruby/text/metadata.xml @@ -0,0 +1,12 @@ +<?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">threedaymonk/text</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/text/text-1.3.1.ebuild b/dev-ruby/text/text-1.3.1.ebuild new file mode 100644 index 000000000000..5e45be8de074 --- /dev/null +++ b/dev-ruby/text/text-1.3.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A collection of text algorithms" +HOMEPAGE="https://github.com/threedaymonk/text" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +IUSE="" diff --git a/dev-ruby/textpow/Manifest b/dev-ruby/textpow/Manifest new file mode 100644 index 000000000000..e18ab07a486c --- /dev/null +++ b/dev-ruby/textpow/Manifest @@ -0,0 +1 @@ +DIST textpow-1.4.0.tar.gz 386724 BLAKE2B d2fb051810cdbe26caafae62d402ba257a644ceeb5975b1bce8858e8359026bbeac7795b264c84462cc6bd02b5a110eba70338d955ba793cec8abdf194089217 SHA512 134b38e277118cf626e3e3643e447d7c7914dc89dba527682c4d6318a0d3b96edb81a68ac5e039158058de371ab9a326088cb119069c55032de7c2f1dadffdcc diff --git a/dev-ruby/textpow/metadata.xml b/dev-ruby/textpow/metadata.xml new file mode 100644 index 000000000000..350ce0756921 --- /dev/null +++ b/dev-ruby/textpow/metadata.xml @@ -0,0 +1,12 @@ +<?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">grosser/textpow</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/textpow/textpow-1.4.0.ebuild b/dev-ruby/textpow/textpow-1.4.0.ebuild new file mode 100644 index 000000000000..a7207ddb80a6 --- /dev/null +++ b/dev-ruby/textpow/textpow-1.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A library to parse and process Textmate bundles" +HOMEPAGE="http://textpow.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/plist-3.0.1" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' textpow.gemspec || die +} diff --git a/dev-ruby/thor/Manifest b/dev-ruby/thor/Manifest new file mode 100644 index 000000000000..2ca05151556e --- /dev/null +++ b/dev-ruby/thor/Manifest @@ -0,0 +1 @@ +DIST thor-git-0.20.3.tgz 94786 BLAKE2B a27ef27d9d375c1f5ab1b065f6ee5b635dab3b43cac7915ae24771e7a9e24189b8c3df8936bf6ad333f0660e4e36ff73372746afc227972f1745dc993b90c85f SHA512 368cedd9584fcdecf8f5feb9b727aa283b37747e8200f8629aaa762f8e3a59dafe6ee1e7c60ef2b43b2a16b319842b10d0f3face12ba8dded4b6211640db7f44 diff --git a/dev-ruby/thor/metadata.xml b/dev-ruby/thor/metadata.xml new file mode 100644 index 000000000000..986d11f0166a --- /dev/null +++ b/dev-ruby/thor/metadata.xml @@ -0,0 +1,19 @@ +<?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> + <longdescription> + Thor is a simple and efficient tool for building self-documenting + command line utilities. It removes the pain of parsing command line + options, writing "USAGE:" banners, and can also be used as an + alternative to the Rake build tool. The syntax is Rake-like, so it + should be familiar to most Rake users. + </longdescription> + <upstream> + <remote-id type="github">erikhuda/thor</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/thor/thor-0.20.3.ebuild b/dev-ruby/thor/thor-0.20.3.ebuild new file mode 100644 index 000000000000..0d051f71a3c1 --- /dev/null +++ b/dev-ruby/thor/thor-0.20.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_BINWRAP="thor" + +inherit ruby-fakegem + +DESCRIPTION="A scripting framework that replaces rake and sake" +HOMEPAGE="http://whatisthor.com/" + +SRC_URI="https://github.com/erikhuda/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="doc" + +USE_RUBY="ruby23 ruby24 ruby25" ruby_add_bdepend " + test? ( + dev-ruby/childlabor + dev-ruby/webmock + )" + +all_ruby_prepare() { + # Remove rspec default options (as we might not have the last + # rspec). + rm .rspec || die + + # Remove Bundler + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Thorfile || die + + # Remove mandatory coverage collection using simplecov which is not + # packaged. + sed -i -e '/require .simplecov/,/^ end/ s:^:#:' spec/helper.rb || die + + # Avoid a spec that requires UTF-8 support, so LANG=C still works, + # bug 430402 + sed -i -e '/uses maximum terminal width/,/end/ s:^:#:' spec/shell/basic_spec.rb || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby27) + einfo "Skipping tests due to circular dependencies" + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec spec || die + ;; + esac +} diff --git a/dev-ruby/thread_order/Manifest b/dev-ruby/thread_order/Manifest new file mode 100644 index 000000000000..b67dc936fb7c --- /dev/null +++ b/dev-ruby/thread_order/Manifest @@ -0,0 +1 @@ +DIST thread_order-1.1.1.gem 10752 BLAKE2B 2d4677fa1f58cad02697d7946ec57080622deea6853b24d176cd3d77d857275d0f7b97a8701620e4afc7c4658de51a889b72fd7755c8edae03e00bf9b9b560ab SHA512 6c6ab86f7d0472d503107a7c58f84f24948e9418b00ad0076be40ac667f97f1cac78b1cc23692e73e37e2b3ebe1e2ea96c1b95c08d97984944860522d278ef25 diff --git a/dev-ruby/thread_order/metadata.xml b/dev-ruby/thread_order/metadata.xml new file mode 100644 index 000000000000..6c0d4e2c7132 --- /dev/null +++ b/dev-ruby/thread_order/metadata.xml @@ -0,0 +1,12 @@ +<?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">JoshCheek/thread_order</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/thread_order/thread_order-1.1.1.ebuild b/dev-ruby/thread_order/thread_order-1.1.1.ebuild new file mode 100644 index 000000000000..041ca0bc1303 --- /dev/null +++ b/dev-ruby/thread_order/thread_order-1.1.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +inherit ruby-fakegem + +DESCRIPTION="Test helper for ordering threaded code" +HOMEPAGE="https://github.com/JoshCheek/thread_order" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + # Avoid failing spec that already has exceptions for some ruby + # implementations and is not essential. + sed -i -e '/depending on the stdlib/,/^ end/ s:^:#:' \ + spec/thread_order_spec.rb || die +} diff --git a/dev-ruby/thread_safe/Manifest b/dev-ruby/thread_safe/Manifest new file mode 100644 index 000000000000..1b9952e0346d --- /dev/null +++ b/dev-ruby/thread_safe/Manifest @@ -0,0 +1 @@ +DIST thread_safe-0.3.6.gem 120832 BLAKE2B 0e3a1aec1d34119dc1f673acdc3d2e18b8c5f970bf79726e4729a806a52ce6ab265fd713972065011e8a04cf2776dda871d3d747eec77b0e94235de776d0cb2d SHA512 a11808576392c068e1cb31faad706be2b1bbfa4837c655c2ab1d5a235b62b25ece62065de6b65bd25496fa827ed89eb0796b90467107df255825e01316ff1805 diff --git a/dev-ruby/thread_safe/metadata.xml b/dev-ruby/thread_safe/metadata.xml new file mode 100644 index 000000000000..fcb7857ca28f --- /dev/null +++ b/dev-ruby/thread_safe/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby-concurrency/thread_safe</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/thread_safe/thread_safe-0.3.6.ebuild b/dev-ruby/thread_safe/thread_safe-0.3.6.ebuild new file mode 100644 index 000000000000..884af1d7983b --- /dev/null +++ b/dev-ruby/thread_safe/thread_safe-0.3.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A collection of thread-safe versions of common core Ruby classes" +HOMEPAGE="https://github.com/ruby-concurrency/thread_safe" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Higher atomic dependency since earlier versions crash on ruby20 while +# running thread_safe tests. +ruby_add_bdepend "test? ( >=dev-ruby/atomic-1.1.16 )" + +each_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/coveralls/I s:^:#:' \ + -e '/simplecov/ s:^:#:' \ + -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_test() { + einfo "The test suite may take up to 10 minutes to run without apparent feedback" + each_fakegem_test +} diff --git a/dev-ruby/tidy-ext/Manifest b/dev-ruby/tidy-ext/Manifest new file mode 100644 index 000000000000..adca93b6a591 --- /dev/null +++ b/dev-ruby/tidy-ext/Manifest @@ -0,0 +1 @@ +DIST tidy-ext-0.1.14.gem 260608 BLAKE2B 5401ec2019f25307f4083f3a1717cd2b0419e0025875b0ad461c72e50445f9b1ffc488a723db04432d262cf2dd94fd267f5261b33eb53d829f4a03d5cd29ab30 SHA512 8a8eada3cb5e815338de49332a24c85b9b2cabba0e10f2d72fe85bd4faf76924e52d82066e7b73e62bc459631aaa9d1c42a6941988ae2a71ca0ddd4f3302ad86 diff --git a/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch b/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch new file mode 100644 index 000000000000..942209873be0 --- /dev/null +++ b/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch @@ -0,0 +1,34 @@ +From c18f27a58792f7fbd0b30a0ff50d6b40a82f940d Mon Sep 17 00:00:00 2001 +From: Geoff McLane <ubuntu@geoffair.info> +Date: Wed, 3 Jun 2015 20:26:03 +0200 +Subject: [PATCH] Issue #217 - avoid len going negative, ever... + +--- + src/lexer.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/src/lexer.c b/src/lexer.c +index 376a3d8..664f806 100644 +--- a/ext/tidy/lexer.c ++++ b/ext/tidy/lexer.c +@@ -3739,16 +3740,17 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr name, + /* and prompts attributes unless --literal-attributes is set to yes */ + /* #994841 - Whitespace is removed from value attributes */ + +- if (munge && ++ /* Issue #217 - Also only if/while (len > 0) - MUST NEVER GO NEGATIVE! */ ++ if ((len > 0) && munge && + TY_(tmbstrcasecmp)(name, "alt") && + TY_(tmbstrcasecmp)(name, "title") && + TY_(tmbstrcasecmp)(name, "value") && + TY_(tmbstrcasecmp)(name, "prompt")) + { +- while (TY_(IsWhite)(lexer->lexbuf[start+len-1])) ++ while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0)) + --len; + +- while (TY_(IsWhite)(lexer->lexbuf[start]) && start < len) ++ while (TY_(IsWhite)(lexer->lexbuf[start]) && (start < len) && (len > 0)) + { + ++start; + --len; diff --git a/dev-ruby/tidy-ext/metadata.xml b/dev-ruby/tidy-ext/metadata.xml new file mode 100644 index 000000000000..d38c8e949155 --- /dev/null +++ b/dev-ruby/tidy-ext/metadata.xml @@ -0,0 +1,12 @@ +<?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">carld/tidy</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild new file mode 100644 index 000000000000..f2ea49a8091e --- /dev/null +++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension" +HOMEPAGE="https://github.com/carld/tidy" + +LICENSE="HTML-Tidy" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86" +IUSE="" + +RUBY_PATCHES=( 11CVE-2015-5522.patch ) + +all_ruby_prepare() { + mkdir lib || die + + # Remove reference to rspec 1 + sed -i -e '/spec/d' spec/spec_helper.rb || die + + # Avoid spec that needs network connectivity. + rm spec/tidy/remote_uri_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension." +} + +each_ruby_compile() { + emake -Cext/tidy V=1 + cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension." +} diff --git a/dev-ruby/tidy_table/Manifest b/dev-ruby/tidy_table/Manifest new file mode 100644 index 000000000000..2e127f58fab6 --- /dev/null +++ b/dev-ruby/tidy_table/Manifest @@ -0,0 +1 @@ +DIST tidy_table-0.0.5.gem 7168 BLAKE2B 7c00064c266bad9db6acf5066845cc6543c2d51fb5ac85240c9ac77d15004402588b992a0e56529123a1805e6c887ba23d135e801e07fcb918411d6706e7f596 SHA512 fbe9839587c3381ebabeb874b2460767491447b54501137f464c16bd251601670a6a260881792c117ee753e5b4d428f04295df041ffee56f109a1ff772346bcf diff --git a/dev-ruby/tidy_table/metadata.xml b/dev-ruby/tidy_table/metadata.xml new file mode 100644 index 000000000000..d4f6a4402f9a --- /dev/null +++ b/dev-ruby/tidy_table/metadata.xml @@ -0,0 +1,12 @@ +<?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">topfunky/tidy_table</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tidy_table/tidy_table-0.0.5-r4.ebuild b/dev-ruby/tidy_table/tidy_table-0.0.5-r4.ebuild new file mode 100644 index 000000000000..fc378a13908c --- /dev/null +++ b/dev-ruby/tidy_table/tidy_table-0.0.5-r4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Tool to convert an array of struct into an HTML table" +HOMEPAGE="https://github.com/topfunky/tidy_table" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +all_ruby_prepare() { + # Remove reference to RSpec 1 + sed -i -e '/spec/d' -e '1irequire "date"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/tidy_table/tidy_table-0.0.5-r5.ebuild b/dev-ruby/tidy_table/tidy_table-0.0.5-r5.ebuild new file mode 100644 index 000000000000..d3ba8348cefa --- /dev/null +++ b/dev-ruby/tidy_table/tidy_table-0.0.5-r5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Tool to convert an array of struct into an HTML table" +HOMEPAGE="https://github.com/topfunky/tidy_table" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + # Remove reference to RSpec 1 + sed -i -e '/spec/d' -e '1irequire "date"' spec/spec_helper.rb || die + + # Remove metadata so a stub gemspec will be created to avoid the + # wrong runtime dependency on dev-ruby/hoe. + rm -f ../metadata || die +} diff --git a/dev-ruby/tilt/Manifest b/dev-ruby/tilt/Manifest new file mode 100644 index 000000000000..5db9d5310c76 --- /dev/null +++ b/dev-ruby/tilt/Manifest @@ -0,0 +1,2 @@ +DIST tilt-2.0.10.tar.gz 51446 BLAKE2B de5c12dcf22994f182ae163a82c3060f1d0d8b4bc2a4495f28c9befc954b4949b9d2ae6aed42e3a9c35fb68825844881d9f15b2b68d949236e5396083ff199a3 SHA512 4a36c55347e307ea0c842aad3da72cebe98bcf8a0421040cfce7a43540d1746e736ce92b7ce7492a5cfc184372842c3ac7a006f3650b4c9420d5825ec005b4ef +DIST tilt-2.0.9.gem 55296 BLAKE2B dd181295d2317ef591e9b89a0a4cf29680a05403c89c33680f563459ebbfc675bfaef14c864f8c8834103fc2ea069b33dc928f2b804d911eec21b09427f7c619 SHA512 522b2b40ca1eefc7df66cb421c66734699a2ffb1e7d1797181c2718f7ca018d3376c1a2b3617b5d3549115af69108db4c3c4632e2682329d5baf24bfdae92b42 diff --git a/dev-ruby/tilt/metadata.xml b/dev-ruby/tilt/metadata.xml new file mode 100644 index 000000000000..f2f7d5174995 --- /dev/null +++ b/dev-ruby/tilt/metadata.xml @@ -0,0 +1,12 @@ +<?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">rtomayko/tilt</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tilt/tilt-2.0.10.ebuild b/dev-ruby/tilt/tilt-2.0.10.ebuild new file mode 100644 index 000000000000..eebbc946617e --- /dev/null +++ b/dev-ruby/tilt/tilt-2.0.10.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/TEMPLATES.md" + +RUBY_FAKEGEM_GEMSPEC="tilt.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Thin interface over template engines to make their usage as generic as possible" +HOMEPAGE="https://github.com/rtomayko/tilt" +SRC_URI="https://github.com/rtomayko/tilt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Block on some of the potential test dependencies. These dependencies +# are optional for the test suite, and we don't want to depend on all of +# them to faciliate keywording and stabling. +ruby_add_bdepend "test? ( + dev-ruby/coffee-script + dev-ruby/erubis + dev-ruby/nokogiri +)" + +all_ruby_prepare() { + rm Gemfile || die + sed -e '/bundler/I s:^:#:' -i Rakefile test/test_helper.rb || die + + # Avoid tests with minor syntax differences since this happens all + # the time when details in the dependencies change. + sed -e '/test_smarty_pants_true/,/^ end/ s:^:#:' \ + -e '/test_smart_quotes_true/,/^ end/ s:^:#:' -i test/tilt_markdown_test.rb || die + sed -e '/smartypants when :smart is set/,/^ end/ s:^:#:' -i test/tilt_rdiscounttemplate_test.rb || die + + # Skip tests for unpackaged asciidoctor converter + sed -i -e '/docbook 4.5/askip' test/tilt_asciidoctor_test.rb || die +} diff --git a/dev-ruby/tilt/tilt-2.0.9.ebuild b/dev-ruby/tilt/tilt-2.0.9.ebuild new file mode 100644 index 000000000000..70d268e9a429 --- /dev/null +++ b/dev-ruby/tilt/tilt-2.0.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/TEMPLATES.md" + +inherit ruby-fakegem + +DESCRIPTION="Thin interface over template engines to make their usage as generic as possible" +HOMEPAGE="https://github.com/rtomayko/tilt" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Block on some of the potential test dependencies. These dependencies +# are optional for the test suite, and we don't want to depend on all of +# them to faciliate keywording and stabling. +ruby_add_bdepend "test? ( + dev-ruby/coffee-script + dev-ruby/erubis + dev-ruby/nokogiri + !!<dev-ruby/maruku-0.7.2 )" + +all_ruby_prepare() { + rm Gemfile || die + sed -e '/bundler/I s:^:#:' -i Rakefile test/test_helper.rb || die + + # Avoid tests with minor syntax differences since this happens all + # the time when details in the dependencies change. + sed -e '/test_smarty_pants_true/,/^ end/ s:^:#:' \ + -e '/test_smart_quotes_true/,/^ end/ s:^:#:' -i test/tilt_markdown_test.rb || die + sed -e '/smartypants when :smart is set/,/^ end/ s:^:#:' -i test/tilt_rdiscounttemplate_test.rb || die +} diff --git a/dev-ruby/timecop/Manifest b/dev-ruby/timecop/Manifest new file mode 100644 index 000000000000..fe6b3324fb30 --- /dev/null +++ b/dev-ruby/timecop/Manifest @@ -0,0 +1 @@ +DIST timecop-0.9.1.gem 16896 BLAKE2B f4dd9293743f0be4dc5616aae077965a32e348faa7019867d694689b0376c6be06817870842bdcbf5f398ec4814ae1e4f6546c75c95639bbd2cb8021a1dee3f7 SHA512 2c8429ad4d9c706865810caa80dfb12c16acaaa97ea289fc300e172a359817fea7d31789f4bea75cfae8ce1f84e7d8effd32b39a0482f3d68fb4e225b487e13e diff --git a/dev-ruby/timecop/metadata.xml b/dev-ruby/timecop/metadata.xml new file mode 100644 index 000000000000..47a9b6ccc59b --- /dev/null +++ b/dev-ruby/timecop/metadata.xml @@ -0,0 +1,12 @@ +<?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">jtrupiano/timecop</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/timecop/timecop-0.9.1.ebuild b/dev-ruby/timecop/timecop-0.9.1.ebuild new file mode 100644 index 000000000000..19d7745b7f4e --- /dev/null +++ b/dev-ruby/timecop/timecop-0.9.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities" +HOMEPAGE="https://github.com/travisjeffery/timecop" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +IUSE="" + +# Missing testdep activesupport +ruby_add_bdepend "test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' -e '/History.rdoc/d' Rakefile test/test_helper.rb || die + sed -i -e '/rubygems/ a\gem "test-unit"' \ + -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die + # FIXME after activesupport gained ruby22 support + rm test/time_stack_item_test.rb || die +} + +each_ruby_test() { + for f in test/*_test.rb ; do + ${RUBY} -Ilib $f || die + done +} diff --git a/dev-ruby/timers/Manifest b/dev-ruby/timers/Manifest new file mode 100644 index 000000000000..e62a4f1b287e --- /dev/null +++ b/dev-ruby/timers/Manifest @@ -0,0 +1,2 @@ +DIST timers-4.2.0.gem 14848 BLAKE2B 0d3c1b70e6b4dade1664eac6951dfa1ff876098747d2f6eab21a2dff2f334cd614ac2c73e0651b93e92b3850c7933445a14bc4f43b50adbf1895b49c05d9507d SHA512 c5516c45e47bcd35bb5f16be0ddb31a2b1370bf06ee833c50b3121a7c36437fb418c58986b0d71979cd01af47bceb1ccd2ff50b1472592868175c4271c85e15c +DIST timers-4.3.0.gem 14848 BLAKE2B b6dfa758b8b16fbc2a28da08df05ade4551d398cfcf1ce09cc080dac4ac6adda4e741a9c5dc89d71594fbc81e5b55303556b012b03bd836ab1f63f0565acafc4 SHA512 6783424cf79f7f36292198621f93e17540e93011146c3a33b1b14a118c31a508352e56e479e3df8d9692c6f95b366561f27b374611851e88ad3fb6bbd1606037 diff --git a/dev-ruby/timers/metadata.xml b/dev-ruby/timers/metadata.xml new file mode 100644 index 000000000000..6d12be5208d4 --- /dev/null +++ b/dev-ruby/timers/metadata.xml @@ -0,0 +1,12 @@ +<?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">tarcieri/timers</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/timers/timers-4.2.0.ebuild b/dev-ruby/timers/timers-4.2.0.ebuild new file mode 100644 index 000000000000..73d35384f4aa --- /dev/null +++ b/dev-ruby/timers/timers-4.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Pure Ruby one-shot and periodic timers" +HOMEPAGE="https://github.com/tarcieri/timers" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '/coveralls/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '/Coveralls/ s:^:#:' spec/spec_helper.rb || die + + # Avoid performance specs to avoid ruby-prof dependency and + # because we cannot provide a good environment for performance testing. + rm -f spec/timers/performance_spec.rb || die +} diff --git a/dev-ruby/timers/timers-4.3.0.ebuild b/dev-ruby/timers/timers-4.3.0.ebuild new file mode 100644 index 000000000000..20d6276706bd --- /dev/null +++ b/dev-ruby/timers/timers-4.3.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Pure Ruby one-shot and periodic timers" +HOMEPAGE="https://github.com/tarcieri/timers" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/bundler/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '/coveralls/ s:^:#:' spec/spec_helper.rb || die + sed -i -e '/Coveralls/ s:^:#:' spec/spec_helper.rb || die + + # Avoid performance specs to avoid ruby-prof dependency and + # because we cannot provide a good environment for performance testing. + rm -f spec/timers/performance_spec.rb || die +} diff --git a/dev-ruby/tins/Manifest b/dev-ruby/tins/Manifest new file mode 100644 index 000000000000..a8862b1b3e19 --- /dev/null +++ b/dev-ruby/tins/Manifest @@ -0,0 +1,6 @@ +DIST tins-1.20.2.gem 305664 BLAKE2B 37d206664077aa1ba8bac395e076b448797c9d73f46950ff339834b55cb1eaa36e1cdd47a9795d783671a8ef393f6059578ed684240de377ec8824c2468f5014 SHA512 c6c7694ddadf0cf46176a1fabda8ffc2d6b098ca6ed4d568f30c66100a2f55c25ce83c09e8ba379ee6c49dd68d6f1572f17f70f9666628c1fe5225fcc9d7b788 +DIST tins-1.20.3.gem 305664 BLAKE2B 26c78cf94acba6651c631b274a98cc7e19d3e215a450d255886d201c5bf94c343141edeb03456a178943cf70efbc9b75ea12cc2ccaec5c929fe5b2c08e918d2c SHA512 f5f723402096e869a8e44e64db9dcd0be4620812f0b5cc291df79010fcb87774ad56298de328242c96ce9dca64f7313271b9fec8cff758a6b3b689bec17c965d +DIST tins-1.21.1.gem 305664 BLAKE2B 1a86b55f0334d4e28fe4d4e67c12103ab4ed53056fb00d9d375ffc9b8213419bf277c37d23970e99c6bd7d3a2035cdde661dd63524b81082739d01271370be9c SHA512 25288e3c8e633bc9cef11b988bf778e75a304a52146a4501cd3ebbeee4c845a6be795d4ce7d01b24ff4a9a122fc16afbc20d9d88f7b1559c9b433d8f9282e29d +DIST tins-1.22.2.gem 306688 BLAKE2B c5b0aed29b763d37707de47a57419d9af934a0949417003707fd13a7e9e4a0d82fb905843ceac75a384c6ca9592471c15bc28ea63af4890ce54076f5c2f67d7c SHA512 6b93242d9c63a84de690c381086fd454714cdb0e82ce6eda4deb5d66a8b9ca4bbc5e2c502c258045b06aecb76487eddd019ca267b872717df36cdaf840ae97e7 +DIST tins-1.24.1.gem 306688 BLAKE2B 64020840eca05dc90402310d2f66a8af2a029954ae8f7b37275c257fc402cc7a6c4f75d8a8f506edf49531b6e1d16112db63094f76736e2e3ee213fb88c92b98 SHA512 3df7a43e63f42d48033410affc5b5990864c563c294678b9070bb4dc9c9d47d3783d4e8fc9c4280f6e00304781dae40585df73a8deaac1f228bfc5dadb961b38 +DIST tins-1.25.0.gem 306688 BLAKE2B 1dfbcfeea4fa88d1a227c5b15dce5f8fbf2bdd8b526d6ec6aae14a309bb8267c89e02b861e0f89c6b0f22638cfce5fde53b07f4bc61838530672b6c9dda2b95a SHA512 e8afd89f39647f0722db3128fdb4e826f8beac5f4c081a4fc95c6e8c9a59129f523af81f953dcffd513172c17173c6ffdc0ce2c215b6073c3b94659c998dc3d0 diff --git a/dev-ruby/tins/metadata.xml b/dev-ruby/tins/metadata.xml new file mode 100644 index 000000000000..d66ee2b3add7 --- /dev/null +++ b/dev-ruby/tins/metadata.xml @@ -0,0 +1,12 @@ +<?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">flori/tins</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tins/tins-1.20.2.ebuild b/dev-ruby/tins/tins-1.20.2.ebuild new file mode 100644 index 000000000000..d3740dbf9b33 --- /dev/null +++ b/dev-ruby/tins/tins-1.20.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library" +HOMEPAGE="https://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ppc ppc64 ~sparc x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} diff --git a/dev-ruby/tins/tins-1.20.3.ebuild b/dev-ruby/tins/tins-1.20.3.ebuild new file mode 100644 index 000000000000..999144d8f4d2 --- /dev/null +++ b/dev-ruby/tins/tins-1.20.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library" +HOMEPAGE="https://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} diff --git a/dev-ruby/tins/tins-1.21.1.ebuild b/dev-ruby/tins/tins-1.21.1.ebuild new file mode 100644 index 000000000000..999144d8f4d2 --- /dev/null +++ b/dev-ruby/tins/tins-1.21.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library" +HOMEPAGE="https://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} diff --git a/dev-ruby/tins/tins-1.22.2.ebuild b/dev-ruby/tins/tins-1.22.2.ebuild new file mode 100644 index 000000000000..c896f1ce894a --- /dev/null +++ b/dev-ruby/tins/tins-1.22.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library" +HOMEPAGE="https://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} diff --git a/dev-ruby/tins/tins-1.24.1.ebuild b/dev-ruby/tins/tins-1.24.1.ebuild new file mode 100644 index 000000000000..cde93a82c4cc --- /dev/null +++ b/dev-ruby/tins/tins-1.24.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library" +HOMEPAGE="https://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Earlier versions of ruby bundled this dependency +USE_RUBY="ruby26 ruby27" ruby_add_rdepend "dev-ruby/sync" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_prepare() { + case ${RUBY} in + *ruby24|*ruby25) + sed -i -e '/sync/d' ${RUBY_FAKEGEM_GEMSPEC} || die + ;; + esac +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} diff --git a/dev-ruby/tins/tins-1.25.0.ebuild b/dev-ruby/tins/tins-1.25.0.ebuild new file mode 100644 index 000000000000..cde93a82c4cc --- /dev/null +++ b/dev-ruby/tins/tins-1.25.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="All the stuff that isn't good enough for a real library" +HOMEPAGE="https://github.com/flori/tins" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Earlier versions of ruby bundled this dependency +USE_RUBY="ruby26 ruby27" ruby_add_rdepend "dev-ruby/sync" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_prepare() { + case ${RUBY} in + *ruby24|*ruby25) + sed -i -e '/sync/d' ${RUBY_FAKEGEM_GEMSPEC} || die + ;; + esac +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} diff --git a/dev-ruby/tokyocabinet/Manifest b/dev-ruby/tokyocabinet/Manifest new file mode 100644 index 000000000000..bf217be040fb --- /dev/null +++ b/dev-ruby/tokyocabinet/Manifest @@ -0,0 +1 @@ +DIST tokyocabinet-1.32.0.gem 18944 BLAKE2B d55ebba43bfb904dfe2b18bc0c22e92b30ced4cdbda8025f7e4d9088da03a2c8486f210473bd05be13fa8d8448830a8f11fc9dc9c34b9803514fd8fc5cce984c SHA512 274a72e166bfb776b66379f587a141c8d0407dec7aa17bcd2e1ce2a401784f52433e72bc356140f69dcca651351edb22d5c9da6fec09b1b1fcfd53cb5af666f3 diff --git a/dev-ruby/tokyocabinet/metadata.xml b/dev-ruby/tokyocabinet/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/tokyocabinet/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tokyocabinet/tokyocabinet-1.32.0.ebuild b/dev-ruby/tokyocabinet/tokyocabinet-1.32.0.ebuild new file mode 100644 index 000000000000..7861daae85fa --- /dev/null +++ b/dev-ruby/tokyocabinet/tokyocabinet-1.32.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="Ruby bindings for Tokyo Cabinet" +HOMEPAGE="http://fallabs.com/tokyocabinet/" +LICENSE="GPL-2" + +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="" + +RDEPEND+="dev-db/tokyocabinet" + +each_ruby_configure() { + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 +} + +each_ruby_install() { + emake install DESTDIR="${D}" + + each_fakegem_install +} diff --git a/dev-ruby/tomlrb/Manifest b/dev-ruby/tomlrb/Manifest new file mode 100644 index 000000000000..802f87af7055 --- /dev/null +++ b/dev-ruby/tomlrb/Manifest @@ -0,0 +1 @@ +DIST tomlrb-1.2.8.tar.gz 15897 BLAKE2B 536eaf3a2cb2b7e54e91aac28032b95900f53c0c9b10fb48129bd963e0efab1711848cefeb20c5df3bb5ea367dc375188db57b79990daf3e62f8b781477ea30e SHA512 a6f8a7ae5db02a8efca8ae75fc1a680d26016d221ec238e4f5ecd59bead4efff7cfe14f541a0be17ea6790699aeb7621d9a4d1b7e38a40828f8f66424fc9fb94 diff --git a/dev-ruby/tomlrb/metadata.xml b/dev-ruby/tomlrb/metadata.xml new file mode 100644 index 000000000000..69dec440f782 --- /dev/null +++ b/dev-ruby/tomlrb/metadata.xml @@ -0,0 +1,12 @@ +<?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">fbernier/tomlrb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tomlrb/tomlrb-1.2.8.ebuild b/dev-ruby/tomlrb/tomlrb-1.2.8.ebuild new file mode 100644 index 000000000000..674c48bcf01b --- /dev/null +++ b/dev-ruby/tomlrb/tomlrb-1.2.8.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A racc based toml parser" +HOMEPAGE="https://github.com/fbernier/tomlrb/" +SRC_URI="https://github.com/fbernier/tomlrb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + sed -i -e '/reporters/I s:^:#:' test/minitest_helper.rb || die +} diff --git a/dev-ruby/totoridipjp/Manifest b/dev-ruby/totoridipjp/Manifest new file mode 100644 index 000000000000..f035d7270422 --- /dev/null +++ b/dev-ruby/totoridipjp/Manifest @@ -0,0 +1 @@ +DIST totoridipjp-0.1.0.gem 7168 BLAKE2B 9a78da0b8309c9886506a80b7206530f3398d1591eaa75a32a4085bbdc56492da7465e6183fe5979e5e3e9ff486a089d1495ae2105f694c407fce40c29809dfe SHA512 5298fe39b0705a0b913f7f6cad452be48480a6832e9451d86a7fe9a1248fe893a76af2f56c0bd6d3a65c756d4ed3fd29b4483ef82beeccfc78dcf9dbf43ed748 diff --git a/dev-ruby/totoridipjp/metadata.xml b/dev-ruby/totoridipjp/metadata.xml new file mode 100644 index 000000000000..7809d9f4f0eb --- /dev/null +++ b/dev-ruby/totoridipjp/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">totoridipjp</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/totoridipjp/totoridipjp-0.1.0.ebuild b/dev-ruby/totoridipjp/totoridipjp-0.1.0.ebuild new file mode 100644 index 000000000000..53ae711839c9 --- /dev/null +++ b/dev-ruby/totoridipjp/totoridipjp-0.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A ruby binding to use totori.dip.jp Web API" +HOMEPAGE="https://rubygems.org/gems/totoridipjp" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-ruby/transaction-simple/Manifest b/dev-ruby/transaction-simple/Manifest new file mode 100644 index 000000000000..fe3ddd2b70b7 --- /dev/null +++ b/dev-ruby/transaction-simple/Manifest @@ -0,0 +1 @@ +DIST transaction-simple-1.4.0.2.gem 17408 BLAKE2B 731564406f9904e243838ae207958857065aa7e785c6c92ce769cdfe4fe8c32e8bbaedadd1a258b40babf3c4d59c77894ddaf3607978129590c7bf642f2877d8 SHA512 083c2c0d8c094d052a5262e21911985a3bf91875892844fb0559546901eea21ef14b139d7af6446c7a7bfbd1adf177e2d73cba2798c823bf295a6c87981165a4 diff --git a/dev-ruby/transaction-simple/metadata.xml b/dev-ruby/transaction-simple/metadata.xml new file mode 100644 index 000000000000..045dca959727 --- /dev/null +++ b/dev-ruby/transaction-simple/metadata.xml @@ -0,0 +1,12 @@ +<?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">halostatue/transaction-simple</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r2.ebuild b/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r2.ebuild new file mode 100644 index 000000000000..442e58009e75 --- /dev/null +++ b/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Provides transaction support at the object level" +HOMEPAGE="https://github.com/halostatue/transaction-simple" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="test" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + )" + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/test_*.rb +} diff --git a/dev-ruby/travis/Manifest b/dev-ruby/travis/Manifest new file mode 100644 index 000000000000..7288b28a2509 --- /dev/null +++ b/dev-ruby/travis/Manifest @@ -0,0 +1,2 @@ +DIST travis-1.8.10.gem 194048 BLAKE2B fa3daaa50e4c7024f6eac7978cecba526378022451deca9148a10b6f28528dc4ee5a42cc794628860b2861aafce0dc62c207023fc1f61676b48e00022112c834 SHA512 ca8adfb2d1541e157d1fa19837ce6d7a75ce491e0a3402447642f9f3b1f0c19ec16344016ed494947e3fde4e838669e4e5ba48087baea3f097605bef700dde55 +DIST travis-1.9.1.gem 198144 BLAKE2B f207b99bd2bc044ddfedf15a4ce5d35fffa77d8a07504f0122fc1463a441bfa33de40b9dad67490bc44a69aa2ce6e7307bda4df11491015b4c5c81d9fb2daa67 SHA512 1489a1378fcbfcd70ce48f1f7b00bbc457503eabf192bd76feaf9896c63ef6ea77c67c077c8c940b11f6c11cf9b28b752db309b060727e1dc36b1ef1b5b4b514 diff --git a/dev-ruby/travis/metadata.xml b/dev-ruby/travis/metadata.xml new file mode 100644 index 000000000000..8bd29f82d476 --- /dev/null +++ b/dev-ruby/travis/metadata.xml @@ -0,0 +1,12 @@ +<?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">travis-ci/travis.rb</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/travis/travis-1.8.10.ebuild b/dev-ruby/travis/travis-1.8.10.ebuild new file mode 100644 index 000000000000..96e98c44ed44 --- /dev/null +++ b/dev-ruby/travis/travis-1.8.10.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRAINSTALL="assets" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Travis CI Client (CLI and Ruby library)" +HOMEPAGE="https://github.com/travis-ci/travis.rb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +#RESTRICT="test" + +DEPEND+="test? ( dev-vcs/git )" +RDEPEND+="dev-vcs/git" + +ruby_add_bdepend " + test? ( >dev-ruby/rack-test-0.6 ) + >dev-ruby/sinatra-1.3 +" + +ruby_add_rdepend " + dev-ruby/backports + >dev-ruby/faraday-0.9:* + >=dev-ruby/faraday_middleware-0.9.1:* + >dev-ruby/gh-0.13 + >=dev-ruby/highline-1.6:0 + >dev-ruby/launchy-2.1 + >dev-ruby/pusher-client-0.4 + dev-ruby/typhoeus:0 +" + +all_ruby_prepare() { + if use test ; then + git init --quiet . || die + git remote add origin "${HOMEPAGE}" || die + touch .travis.yml || die + fi + + # Remove failing spec where cause is not fully clear. + # May be related to highline compatibility issues. + rm spec/cli/login_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + newbashcomp "assets/travis.sh" "travis" +} diff --git a/dev-ruby/travis/travis-1.9.1.ebuild b/dev-ruby/travis/travis-1.9.1.ebuild new file mode 100644 index 000000000000..d2f5e0df229d --- /dev/null +++ b/dev-ruby/travis/travis-1.9.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="assets" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Travis CI Client (CLI and Ruby library)" +HOMEPAGE="https://github.com/travis-ci/travis.rb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +#RESTRICT="test" + +DEPEND+="test? ( dev-vcs/git )" +RDEPEND+="dev-vcs/git" + +ruby_add_bdepend " + test? ( >dev-ruby/rack-test-0.6 dev-ruby/rspec-its ) + >dev-ruby/sinatra-1.3 +" + +ruby_add_rdepend " + dev-ruby/faraday:1 + dev-ruby/faraday_middleware:1 + >=dev-ruby/gh-0.17 + dev-ruby/highline:2 + >=dev-ruby/json-2.3:2 + >=dev-ruby/launchy-2.1 + >dev-ruby/pusher-client-0.4 + dev-ruby/typhoeus:0 +" + +all_ruby_prepare() { + if use test ; then + git init --quiet . || die + git remote add origin "${HOMEPAGE}" || die + touch .travis.yml || die + fi + + # Remove failing spec where cause is not fully clear. + # May be related to highline compatibility issues. + rm spec/cli/login_spec.rb || die + + # Remove failing specs where $params keys are reset somewhere. + rm -f spec/cli/{cancel,restart}_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + newbashcomp "assets/travis.sh" "travis" +} diff --git a/dev-ruby/treetop/Manifest b/dev-ruby/treetop/Manifest new file mode 100644 index 000000000000..681eff4c9b6a --- /dev/null +++ b/dev-ruby/treetop/Manifest @@ -0,0 +1 @@ +DIST treetop-1.6.10.gem 92160 BLAKE2B ff3b6f0a92bcd2ad279c186e3a3eea72aa8243a89d4a1382df6322d73a19b79bede6c9f5c443644a5011b755a673bc9592f964cf61ab68fdd9f2da2dfcc0be94 SHA512 adff1cf93d1ea071be948437e3fd2800c2e892d1dac49d4571a89336773e012007abb1b4e15f0a86031077c46a6667f8fca8e22920e5c29186e0c3227b4d82ee diff --git a/dev-ruby/treetop/metadata.xml b/dev-ruby/treetop/metadata.xml new file mode 100644 index 000000000000..60cd154537ea --- /dev/null +++ b/dev-ruby/treetop/metadata.xml @@ -0,0 +1,12 @@ +<?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">cjheath/treetop</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/treetop/treetop-1.6.10.ebuild b/dev-ruby/treetop/treetop-1.6.10.ebuild new file mode 100644 index 000000000000..076b0dc7f933 --- /dev/null +++ b/dev-ruby/treetop/treetop-1.6.10.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Treetop is a language for describing languages" +HOMEPAGE="https://github.com/cjheath/treetop" +LICENSE="Ruby" + +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/rr-1.0 dev-ruby/activesupport )" +ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1:0" + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/examples + doins -r examples/* +} diff --git a/dev-ruby/trollop/Manifest b/dev-ruby/trollop/Manifest new file mode 100644 index 000000000000..4bf1987e96a8 --- /dev/null +++ b/dev-ruby/trollop/Manifest @@ -0,0 +1,2 @@ +DIST trollop-2.1.3.gem 30208 BLAKE2B a5fd19679821c55459cf7792f3ec26b8580732e84107f7a3519dcbcf1729ce48567ca2d35346b3e27d3083a3b6cae160ded8c18a118cb04a7a6e60c82bd91e78 SHA512 4d172c6d75f40edb36c353d2e32afce10b012f02927772fa201256126f88c62adce39400225434a80fd678e1cad703e3d3f32cdeddd150287a44ff81a2fca819 +DIST trollop-2.9.10.gem 29696 BLAKE2B f69b1ab8ce166f9fe6198e177266ee86e38f3bed4c3a55529705aedc4518cc04a48b9bee4463887fc4ac1cd04cad98d35c298265ad1433ced11e0ff5bc1f50ce SHA512 21a0db09d480353ff846a1311b118e0b0db4ca13a559dd1749c1478eff7080dd04e5308dbf1807215eadb68e276c991970b23357e9a3497acb9f705f7f77253c diff --git a/dev-ruby/trollop/metadata.xml b/dev-ruby/trollop/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/trollop/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/trollop/trollop-2.1.3.ebuild b/dev-ruby/trollop/trollop-2.1.3.ebuild new file mode 100644 index 000000000000..0418fcc96901 --- /dev/null +++ b/dev-ruby/trollop/trollop-2.1.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="Trollop is a commandline option parser for Ruby" +HOMEPAGE="https://manageiq.github.io/trollop/" +LICENSE="MIT" + +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="2" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/chronic )" + +all_ruby_prepare() { + sed -i -e '/bundle/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + MUTANT=true ${RUBY} -S rake test || die "Tests failed." +} diff --git a/dev-ruby/trollop/trollop-2.9.10.ebuild b/dev-ruby/trollop/trollop-2.9.10.ebuild new file mode 100644 index 000000000000..5a12cb710493 --- /dev/null +++ b/dev-ruby/trollop/trollop-2.9.10.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="Trollop is a commandline option parser for Ruby" +HOMEPAGE="https://manageiq.github.io/trollop/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="2" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/chronic )" + +all_ruby_prepare() { + sed -i -e '/bundle/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + MUTANT=true ${RUBY} -S rake test || die "Tests failed." +} diff --git a/dev-ruby/ttfunk/Manifest b/dev-ruby/ttfunk/Manifest new file mode 100644 index 000000000000..eb2078d8e1bc --- /dev/null +++ b/dev-ruby/ttfunk/Manifest @@ -0,0 +1,2 @@ +DIST ttfunk-1.5.1.tar.gz 1454516 BLAKE2B 08bb349f4289977b7391013a6686a05f27b4faea9f4b005a5056e525ce02fba2de43712e4538ccf17d967d9cc2c29cbb95e6fc39fc11b6c17291ceac54f63849 SHA512 6f2ffb30200b5b5d36150fe8e81e376e8f4ceec3ac4b1bfe9363191f37616f7a22849a826c19a87458ea5ca70c381e6f976311964bac113bfe5aa767d9e459d4 +DIST ttfunk-1.6.2.1.tar.gz 13625405 BLAKE2B c80fd7f534f7c22cce9ce3e87afe8b23870f46ac6a3a3dc860c07ef95e4e1a73998baa284797e704482fbc57ccd53997eb85f410244f4b4c548590643c62de49 SHA512 31dbcde0e7ca8325b7d88b1c5265ef054a04793b9da93e3c8973d0d84e6865bc93d8431247974ed372330a0a9b73df595ef4bea3736583cef2a23fcd4e1ecd29 diff --git a/dev-ruby/ttfunk/metadata.xml b/dev-ruby/ttfunk/metadata.xml new file mode 100644 index 000000000000..53e2802df229 --- /dev/null +++ b/dev-ruby/ttfunk/metadata.xml @@ -0,0 +1,12 @@ +<?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">prawnpdf/ttfunk</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ttfunk/ttfunk-1.5.1.ebuild b/dev-ruby/ttfunk/ttfunk-1.5.1.ebuild new file mode 100644 index 000000000000..4d40795d0e73 --- /dev/null +++ b/dev-ruby/ttfunk/ttfunk-1.5.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem versionator + +DESCRIPTION="A TrueType font parser written in pure ruby" +HOMEPAGE="https://github.com/prawnpdf/ttfunk/" +SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 Ruby )" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/ttfunk/ttfunk-1.6.2.1.ebuild b/dev-ruby/ttfunk/ttfunk-1.6.2.1.ebuild new file mode 100644 index 000000000000..ab4b156d4a23 --- /dev/null +++ b/dev-ruby/ttfunk/ttfunk-1.6.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="ttfunk.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A TrueType font parser written in pure ruby" +HOMEPAGE="https://github.com/prawnpdf/ttfunk/" +SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 Ruby )" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/tty-color/Manifest b/dev-ruby/tty-color/Manifest new file mode 100644 index 000000000000..cc0d55374526 --- /dev/null +++ b/dev-ruby/tty-color/Manifest @@ -0,0 +1,3 @@ +DIST tty-color-0.4.3.gem 11776 BLAKE2B 4e51a41fb97b343c22a6ae832a449905fc215b7e218a31c993a47c66c66c049f70ce0da163d27f593309c6e49c014badc378ea89dec42c94ce6ba9e088798952 SHA512 4447c02f9b738f4fbecc14149d6c09da2da36c489d118f7d18b85f48b9c22b7939e5c62a32048f1a0c958533be15ead3952c72ea03fd1d06b23b1ed29beadcd8 +DIST tty-color-0.5.0.gem 11776 BLAKE2B fc22689783c86b5d18bd3134b198b2bdf50563bc14a25b8a02611ac6a46f494c86b17ff1307089a87ad92442d99da3d408b4907b83f3c67f495a66ceaaddc2ee SHA512 998da9196055b011edf8b20595e548447d7a3cda3555a61c2645dac618dcebf8fcd3b257ae8948f93fd7720956f6dc2b554fb5521a8847017c4a2ab2e2b74e73 +DIST tty-color-0.5.1.tar.gz 10877 BLAKE2B 9ae72b4885ea1662038b6c98c672a349c458efb9b07747f2a1d2dfe69070efa08e45ae2fbaa513bbb8e7a9bee5a8a68a2b980456d64894df8556a4a6820b3770 SHA512 48144ef358cf04a4e88b0ee1cf96586c6c9a5d2862a7ea2a4fdcb92853c7b520d2cc94919b6dee97d9bf0384fa5bb9d8e0665730a9965de8b93af1edf459ebff diff --git a/dev-ruby/tty-color/metadata.xml b/dev-ruby/tty-color/metadata.xml new file mode 100644 index 000000000000..8f0de2e5c3d9 --- /dev/null +++ b/dev-ruby/tty-color/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-color</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-color/tty-color-0.4.3.ebuild b/dev-ruby/tty-color/tty-color-0.4.3.ebuild new file mode 100644 index 000000000000..af90325690f8 --- /dev/null +++ b/dev-ruby/tty-color/tty-color-0.4.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Terminal color capabilities detection" +HOMEPAGE="https://github.com/piotrmurach/tty-color" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-color/tty-color-0.5.0.ebuild b/dev-ruby/tty-color/tty-color-0.5.0.ebuild new file mode 100644 index 000000000000..af90325690f8 --- /dev/null +++ b/dev-ruby/tty-color/tty-color-0.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Terminal color capabilities detection" +HOMEPAGE="https://github.com/piotrmurach/tty-color" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-color/tty-color-0.5.1.ebuild b/dev-ruby/tty-color/tty-color-0.5.1.ebuild new file mode 100644 index 000000000000..0d9e54158db7 --- /dev/null +++ b/dev-ruby/tty-color/tty-color-0.5.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="tty-color.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Terminal color capabilities detection" +HOMEPAGE="https://github.com/piotrmurach/tty-color" +SRC_URI="https://github.com/piotrmurach/tty-color/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/tty-command/Manifest b/dev-ruby/tty-command/Manifest new file mode 100644 index 000000000000..32f255fc64cd --- /dev/null +++ b/dev-ruby/tty-command/Manifest @@ -0,0 +1,2 @@ +DIST tty-command-0.8.2.tar.gz 30126 BLAKE2B 858b9c60380859bd984295e00638ba93416c62acbe4e5c1d0e33b411862d729c129f00dda236f4ca9943962859a35c9fe1fa2431327fb2e3170366412f8d83e3 SHA512 151af5fe0cf241b4e8004560d04fe967d8fe1d24cf311d64c4fab46d1c11b1fe27849f3925f13d3a73b7b86a55aabacd3e4bbffa9a96c34669c93b29756fe88e +DIST tty-command-0.9.0.tar.gz 30463 BLAKE2B fc0436a80b4b73040a89f085315f50e464efd91d6ee222f7b94eec5b94700089ae22963580febf8296377c859c67f1f21772ecd24d325af76308183df6070e2a SHA512 12c5c238ea34b7236b1c1b3115a7f490ae3986de686359ed390428f766aabdb35de7a1b29363b5be4e09e0fb6888b0c8a30eb466153f64b1d8a77620a657ffac diff --git a/dev-ruby/tty-command/metadata.xml b/dev-ruby/tty-command/metadata.xml new file mode 100644 index 000000000000..4e241f8aef81 --- /dev/null +++ b/dev-ruby/tty-command/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-command</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-command/tty-command-0.8.2.ebuild b/dev-ruby/tty-command/tty-command-0.8.2.ebuild new file mode 100644 index 000000000000..3bb1808e5d9c --- /dev/null +++ b/dev-ruby/tty-command/tty-command-0.8.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Terminal color capabilities detection" +HOMEPAGE="https://github.com/piotrmurach/tty-command" +SRC_URI="https://github.com/piotrmurach/tty-command/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "=dev-ruby/pastel-0.7*" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-command/tty-command-0.9.0.ebuild b/dev-ruby/tty-command/tty-command-0.9.0.ebuild new file mode 100644 index 000000000000..d5da980e9186 --- /dev/null +++ b/dev-ruby/tty-command/tty-command-0.9.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Terminal color capabilities detection" +HOMEPAGE="https://github.com/piotrmurach/tty-command" +SRC_URI="https://github.com/piotrmurach/tty-command/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "=dev-ruby/pastel-0.7*" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-cursor/Manifest b/dev-ruby/tty-cursor/Manifest new file mode 100644 index 000000000000..232708c13b71 --- /dev/null +++ b/dev-ruby/tty-cursor/Manifest @@ -0,0 +1,2 @@ +DIST tty-cursor-0.7.0.gem 11776 BLAKE2B 5dea8f2bde63f803639b4300bf3a8b22a89de7a20530ede38f75bdae7fbb522fe70adb0c78e20cc45e8001dba9fb378722f9fce6d26a68c0af00b7bc98a62a96 SHA512 00de195ba183174ebd10da7f1fdbb436a17fe9befc6eacb2d4cf4b1505be2c7d0719c0dc32d75a82900b2252ffbed00219ce31836c442b63c267e26dad40da63 +DIST tty-cursor-0.7.1.tar.gz 11015 BLAKE2B 222602d7dd3ef2372555913dc59bdd4b4965ac5c3601268d0f77060835d4ae9bc9fa23d54f811e7c0a453b80786d4ef07e0bd26cc8d76f6b963787a04b17569b SHA512 7c1f664bfb3c8c46aab08cb3806b8a00d92b45195fae47e851967f88040cc64d598bdd80e37f782be83fa60dff82c607d93026ffbf003125fea8230f4e18639e diff --git a/dev-ruby/tty-cursor/metadata.xml b/dev-ruby/tty-cursor/metadata.xml new file mode 100644 index 000000000000..3f22dab022d5 --- /dev/null +++ b/dev-ruby/tty-cursor/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-cursor</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-cursor/tty-cursor-0.7.0.ebuild b/dev-ruby/tty-cursor/tty-cursor-0.7.0.ebuild new file mode 100644 index 000000000000..560f169fc107 --- /dev/null +++ b/dev-ruby/tty-cursor/tty-cursor-0.7.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Move the terminal cursor around and manipulate text using intuitive method calls" +HOMEPAGE="https://github.com/piotrmurach/tty-cursor" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-cursor/tty-cursor-0.7.1.ebuild b/dev-ruby/tty-cursor/tty-cursor-0.7.1.ebuild new file mode 100644 index 000000000000..db36fec431af --- /dev/null +++ b/dev-ruby/tty-cursor/tty-cursor-0.7.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_GEMSPEC="tty-cursor.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Move the terminal cursor around and manipulate text using intuitive method calls" +HOMEPAGE="https://github.com/piotrmurach/tty-cursor" +SRC_URI="https://github.com/piotrmurach/tty-cursor/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/tty-file/Manifest b/dev-ruby/tty-file/Manifest new file mode 100644 index 000000000000..577be768f2dc --- /dev/null +++ b/dev-ruby/tty-file/Manifest @@ -0,0 +1 @@ +DIST tty-file-0.7.0.tar.gz 26418 BLAKE2B d1fa189a5dc25a64f14e6a14e4c8e92504db262d2acd4f47ee96c1becc59a8ef7cbe18457a492583f9a5a7568dbbfe299b5b90b0ba607df09da3601ec23f8e2a SHA512 178b5da7ef4f265bc2a8203d68219e97b09746571cd485e738d79b6bf1c58e8ed85c5745dda6e094958a20bb75be6de87c4c16e8aaf807220e9ea36cf7a8aca1 diff --git a/dev-ruby/tty-file/metadata.xml b/dev-ruby/tty-file/metadata.xml new file mode 100644 index 000000000000..6a2b2655862c --- /dev/null +++ b/dev-ruby/tty-file/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-file</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-file/tty-file-0.7.0.ebuild b/dev-ruby/tty-file/tty-file-0.7.0.ebuild new file mode 100644 index 000000000000..736397cd1e6b --- /dev/null +++ b/dev-ruby/tty-file/tty-file-0.7.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="File manipulation utility methods" +HOMEPAGE="https://github.com/piotrmurach/tty-file" +SRC_URI="https://github.com/piotrmurach/tty-file/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/diff-lcs-1.3:0 + =dev-ruby/pastel-0.7* + >=dev-ruby/tty-prompt-0.18:0 +" + +ruby_add_bdepend "test? ( dev-ruby/webmock )" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} + +each_ruby_prepare() { + mkdir tmp || die +} diff --git a/dev-ruby/tty-platform/Manifest b/dev-ruby/tty-platform/Manifest new file mode 100644 index 000000000000..c801e89fd2f0 --- /dev/null +++ b/dev-ruby/tty-platform/Manifest @@ -0,0 +1,3 @@ +DIST tty-platform-0.2.0.gem 10240 BLAKE2B 5a49c928cc6c7940bf5feb99a9433dd978a1d21e139f43f646f6a566111ef2e1b6bd4a971327275bd05aaa0394199c7489f00ac4883be9b1ff9bba3ad840dbfc SHA512 56f81c326e81f407246aa7363e4734f3d7e11b6b4abaa5d8f41e684124407df4866ecbc31aa4180703149659245e740d84aa2baee2192e21eccb9ed251db32ac +DIST tty-platform-0.2.1.gem 10240 BLAKE2B 71f89d0c4a606bb24d1ff2531f8c9a70a3aa9e2ec8b86e83e370742028dd4d3e767791d7553c483078f677ccddedb3bbe2c6c4b5f498256a2b4d6845de9920ee SHA512 f519ab30d242a258d130bedc8fe153c1e31430d85405273b7ff6a409aed294db392c66a96bb6a344fc97ca40fb88cb87db3af26495e755293089d2ce7134db71 +DIST tty-platform-0.3.0.tar.gz 8768 BLAKE2B e4328ff961658906a81d409ffb775b9dc6363dd1ff24a05d98aafd8e85b4c304025d3fd7598f5d2884de9abf0f85dc8389105994d5b6757d96fcfe91041a357e SHA512 78ca0ce5f75bb387d5f79b8ce59603608501afdc1130e04dfb1f233325be5af8d99eb4ec08ec9848eb1d708434a8479484f36aafa9b7112ef02c51369bf75a00 diff --git a/dev-ruby/tty-platform/metadata.xml b/dev-ruby/tty-platform/metadata.xml new file mode 100644 index 000000000000..be531cacc9d3 --- /dev/null +++ b/dev-ruby/tty-platform/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-platform</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-platform/tty-platform-0.2.0.ebuild b/dev-ruby/tty-platform/tty-platform-0.2.0.ebuild new file mode 100644 index 000000000000..e30b88aa6f9c --- /dev/null +++ b/dev-ruby/tty-platform/tty-platform-0.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Query methods for detecting different operating systems" +HOMEPAGE="https://github.com/piotrmurach/tty-platform" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-platform/tty-platform-0.2.1.ebuild b/dev-ruby/tty-platform/tty-platform-0.2.1.ebuild new file mode 100644 index 000000000000..e30b88aa6f9c --- /dev/null +++ b/dev-ruby/tty-platform/tty-platform-0.2.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Query methods for detecting different operating systems" +HOMEPAGE="https://github.com/piotrmurach/tty-platform" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-platform/tty-platform-0.3.0.ebuild b/dev-ruby/tty-platform/tty-platform-0.3.0.ebuild new file mode 100644 index 000000000000..e5ed34f25a8b --- /dev/null +++ b/dev-ruby/tty-platform/tty-platform-0.3.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="tty-platform.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Query methods for detecting different operating systems" +HOMEPAGE="https://github.com/piotrmurach/tty-platform" +SRC_URI="https://github.com/piotrmurach/tty-platform/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-prompt/Manifest b/dev-ruby/tty-prompt/Manifest new file mode 100644 index 000000000000..b859aaf0123e --- /dev/null +++ b/dev-ruby/tty-prompt/Manifest @@ -0,0 +1,3 @@ +DIST tty-prompt-0.19.0.gem 71680 BLAKE2B 67da3c428fa5ab602fa4735d06115ba5bab53f06d43109fa06810e538cafae5486767f41927fc77616e608278a0f955659734704c9536b40e87682e6f0e5718b SHA512 958263a7b3b7cfbac2877d81878b324fe53bc258be36749597f959085643e50247651bf48fceff4bf1098b68cf47dae68f30173e45585bfdbf7126959387427a +DIST tty-prompt-0.20.0.gem 72704 BLAKE2B c3a24544459bfd70aa1ada029211d8873665794ac0dfa19bd02c86e3104c937aefc50009763ccacc3b3eb7c91b220125279c4388a94cd4dab5bc2cb77bad701e SHA512 d3e018465779d673bb80d15f2706edd762236dbee37bc9bd090138fb5dd918c63c4cda3418054391b9d15032fde399911e50c6fbed9d8063afc5896b31fb3fb1 +DIST tty-prompt-0.21.0.tar.gz 72679 BLAKE2B 1693a2ad49d308975c0f03d9bbf01a192bc6e5c66eb04108a08a7d338c79d20ac80e8b45b0833f57b6a4f5191880160a8df0a9b9751c3af1f3d77b4952c99393 SHA512 e2963951523f9077a6aac20d12b88d261902c1f6ab1ab01bafd9eef94df76e37fd1448d5b5f81a3a8d2335eade4618896a64c77e80e369b3a660bc8d361cb53d diff --git a/dev-ruby/tty-prompt/metadata.xml b/dev-ruby/tty-prompt/metadata.xml new file mode 100644 index 000000000000..282b51c80948 --- /dev/null +++ b/dev-ruby/tty-prompt/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-prompt</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-prompt/tty-prompt-0.19.0.ebuild b/dev-ruby/tty-prompt/tty-prompt-0.19.0.ebuild new file mode 100644 index 000000000000..9e021c8b536c --- /dev/null +++ b/dev-ruby/tty-prompt/tty-prompt-0.19.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A beautiful and powerful interactive command line prompt" +HOMEPAGE="https://github.com/piotrmurach/tty-prompt" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + =dev-ruby/necromancer-0.5* + =dev-ruby/pastel-0.7* + =dev-ruby/tty-reader-0.6* +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-prompt/tty-prompt-0.20.0.ebuild b/dev-ruby/tty-prompt/tty-prompt-0.20.0.ebuild new file mode 100644 index 000000000000..60974d95f5d4 --- /dev/null +++ b/dev-ruby/tty-prompt/tty-prompt-0.20.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A beautiful and powerful interactive command line prompt" +HOMEPAGE="https://github.com/piotrmurach/tty-prompt" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + =dev-ruby/necromancer-0.5* + =dev-ruby/pastel-0.7* + =dev-ruby/tty-reader-0.7* +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-prompt/tty-prompt-0.21.0.ebuild b/dev-ruby/tty-prompt/tty-prompt-0.21.0.ebuild new file mode 100644 index 000000000000..5bbc1b0938c8 --- /dev/null +++ b/dev-ruby/tty-prompt/tty-prompt-0.21.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="tty-prompt.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A beautiful and powerful interactive command line prompt" +HOMEPAGE="https://github.com/piotrmurach/tty-prompt" +SRC_URI="https://github.com/piotrmurach/tty-prompt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + =dev-ruby/necromancer-0.5* + =dev-ruby/pastel-0.7* + =dev-ruby/tty-reader-0.7* +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/tty-reader/Manifest b/dev-ruby/tty-reader/Manifest new file mode 100644 index 000000000000..ee48fe5cfad5 --- /dev/null +++ b/dev-ruby/tty-reader/Manifest @@ -0,0 +1,2 @@ +DIST tty-reader-0.6.0.gem 24576 BLAKE2B a89c74bc97a57961c3779b96aa328b536d110517ab2663fbf566f84f434eb552f9a38dd00c644d64430a4e8806611b454ee6d46a76e9c89fb4c93c276f050eb1 SHA512 562c204f0dd43539b64bab0f55731ad8650b17d8052c245467aa60cc113e6b31998086fcb7f37f8503ec51ae4511241d5994e8ae1586ed528a07c5ebdc3fce83 +DIST tty-reader-0.7.0.gem 25600 BLAKE2B 41af0db92c337cdebb428a93b924f466d72f67042267abd4b3cc97a319e01757c2f1f302ec0002de5b90fa1ebecca0d6bffcdc621be2e435d549263779ed3712 SHA512 29f41a15ff9d86300d9cb6067028a2bf540d258d8a8ca11892e26d40e423854ce32706a33a5cb75037d99d8d30d42998ecc6876a99f3c30bbddacffe61fbf70e diff --git a/dev-ruby/tty-reader/metadata.xml b/dev-ruby/tty-reader/metadata.xml new file mode 100644 index 000000000000..40bba99b2764 --- /dev/null +++ b/dev-ruby/tty-reader/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-reader</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-reader/tty-reader-0.6.0-r1.ebuild b/dev-ruby/tty-reader/tty-reader-0.6.0-r1.ebuild new file mode 100644 index 000000000000..3bcd1faf6603 --- /dev/null +++ b/dev-ruby/tty-reader/tty-reader-0.6.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Methods for processing keyboard input in character, line and multiline modes" +HOMEPAGE="https://github.com/piotrmurach/tty-reader" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/tty-cursor-0.7:0 + >=dev-ruby/tty-screen-0.7:0 + =dev-ruby/wisper-2.0* +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-reader/tty-reader-0.7.0.ebuild b/dev-ruby/tty-reader/tty-reader-0.7.0.ebuild new file mode 100644 index 000000000000..157fbe3ad848 --- /dev/null +++ b/dev-ruby/tty-reader/tty-reader-0.7.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Methods for processing keyboard input in character, line and multiline modes" +HOMEPAGE="https://github.com/piotrmurach/tty-reader" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/tty-cursor-0.7:0 + >=dev-ruby/tty-screen-0.7:0 + =dev-ruby/wisper-2.0* +" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-screen/Manifest b/dev-ruby/tty-screen/Manifest new file mode 100644 index 000000000000..c956894e0b91 --- /dev/null +++ b/dev-ruby/tty-screen/Manifest @@ -0,0 +1,2 @@ +DIST tty-screen-0.7.0.gem 12288 BLAKE2B e61b5462d6c2a8dae96d6e89d8025f2d2ea8bba8328318e067d612832b479ccd34a457a74432ccbe4cf27f26e439f44d67890a492dfa6f8836d2b86512ce9198 SHA512 1851c0ea90af65cd1fa9a4a2b4c93d3fa2badf81507d4bb149183aa49578208ddef0065f3047cef4ffa23d3f34840af919ac4f6a2805f7ce0f01096f27101694 +DIST tty-screen-0.7.1.tar.gz 11377 BLAKE2B 485b5610bc81524cfe525f8a837e99d13788da499dd8fa0f7c3be3f580ada63861f04652031e84817ef6ee49ce099c5fa97104b6634fc306d9ee0bbed0828ac3 SHA512 1ef5ce12cdd6337c47f09e5b6ae116985a80efe9f493d52c404496319f1377d4308cd829343d84f5c653b70327c033955232ca62fc8a134503a87a33a264130a diff --git a/dev-ruby/tty-screen/metadata.xml b/dev-ruby/tty-screen/metadata.xml new file mode 100644 index 000000000000..0e4d65ccf65d --- /dev/null +++ b/dev-ruby/tty-screen/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-screen</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-screen/tty-screen-0.7.0.ebuild b/dev-ruby/tty-screen/tty-screen-0.7.0.ebuild new file mode 100644 index 000000000000..d676a6aa0842 --- /dev/null +++ b/dev-ruby/tty-screen/tty-screen-0.7.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Terminal screen size detection which works on Linux, OS X and Windows/Cygwin" +HOMEPAGE="https://github.com/piotrmurach/tty-screen" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/tty-screen/tty-screen-0.7.1.ebuild b/dev-ruby/tty-screen/tty-screen-0.7.1.ebuild new file mode 100644 index 000000000000..d2da38e96cae --- /dev/null +++ b/dev-ruby/tty-screen/tty-screen-0.7.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="tty-screen.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Terminal screen size detection which works on Linux, OS X and Windows/Cygwin" +HOMEPAGE="https://github.com/piotrmurach/tty-screen" +SRC_URI="https://github.com/piotrmurach/tty-screen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/tty-which/Manifest b/dev-ruby/tty-which/Manifest new file mode 100644 index 000000000000..ccb058bc7a06 --- /dev/null +++ b/dev-ruby/tty-which/Manifest @@ -0,0 +1 @@ +DIST tty-which-0.4.1.gem 11264 BLAKE2B 540249aaeaa5458fef3572413cf673e04765c1ad41971ac3f9bd930a42855459db6c6f8f47c90ee1021993161db6a399ba6edd0384da7db91da999550d3e733b SHA512 e48b284abb3e4177b9f04acec5202a70d3fcaa2d477444c5a9d9920ac00eb192656bc48ca33d72c26845b415a0a90e907dab1dd35608b62bc8e4b1b1b25af51c diff --git a/dev-ruby/tty-which/metadata.xml b/dev-ruby/tty-which/metadata.xml new file mode 100644 index 000000000000..9da40686bf23 --- /dev/null +++ b/dev-ruby/tty-which/metadata.xml @@ -0,0 +1,12 @@ +<?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">piotrmurach/tty-which</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tty-which/tty-which-0.4.1.ebuild b/dev-ruby/tty-which/tty-which-0.4.1.ebuild new file mode 100644 index 000000000000..74bbc5701956 --- /dev/null +++ b/dev-ruby/tty-which/tty-which-0.4.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Platform independent implementation of Unix which command" +HOMEPAGE="https://github.com/piotrmurach/tty-which" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die +} diff --git a/dev-ruby/turbolinks-source/Manifest b/dev-ruby/turbolinks-source/Manifest new file mode 100644 index 000000000000..3949c98031dd --- /dev/null +++ b/dev-ruby/turbolinks-source/Manifest @@ -0,0 +1 @@ +DIST turbolinks-source-5.2.0.gem 13824 BLAKE2B cdb7adb85e275d5e6edc4f0a03d75edac2f974ff0c1e2f7c003865edef018f0b0d24775d3db2cdabf1f7bf49869441d6af2362f236904fb9d6773b1a47173795 SHA512 19d1fc17f3af81bfc79a1e513aec88dfafa808a2f7954acb14f32909b308ce399f36bc18de313ea58812b13cdc9e65cbae5392cd4c88ea010f1efcef99356557 diff --git a/dev-ruby/turbolinks-source/metadata.xml b/dev-ruby/turbolinks-source/metadata.xml new file mode 100644 index 000000000000..cbc1cc1435ba --- /dev/null +++ b/dev-ruby/turbolinks-source/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/turbolinks-source-gem</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/turbolinks-source/turbolinks-source-5.2.0.ebuild b/dev-ruby/turbolinks-source/turbolinks-source-5.2.0.ebuild new file mode 100644 index 000000000000..ad15f53224b6 --- /dev/null +++ b/dev-ruby/turbolinks-source/turbolinks-source-5.2.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# The gem does not contain runnable tests. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Turbolinks JavaScript assets" +HOMEPAGE="https://github.com/rails/turbolinks-source-gem" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64" +IUSE="test" diff --git a/dev-ruby/turbolinks/Manifest b/dev-ruby/turbolinks/Manifest new file mode 100644 index 000000000000..1f7217be72c2 --- /dev/null +++ b/dev-ruby/turbolinks/Manifest @@ -0,0 +1 @@ +DIST turbolinks-5.2.1.gem 6656 BLAKE2B 55f624ee8dbb8d27ffe21fc4b57644ad3118dbf7d89dfe59dde1909ee553d37a47e127af92e710f5081787e682b76950aac4287b604ebd9b32df4d60ededadee SHA512 e306a38dcb727a9ca9f491074154d0e82a6a0efba89aa8aa6f5db97c0c78fb468589a54b28779b83b5548c92aa03976e27a98b4beef0ef376606a97ac9dcce59 diff --git a/dev-ruby/turbolinks/metadata.xml b/dev-ruby/turbolinks/metadata.xml new file mode 100644 index 000000000000..36179d5b5813 --- /dev/null +++ b/dev-ruby/turbolinks/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/turbolinks</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/turbolinks/turbolinks-5.2.1.ebuild b/dev-ruby/turbolinks/turbolinks-5.2.1.ebuild new file mode 100644 index 000000000000..737899d51c54 --- /dev/null +++ b/dev-ruby/turbolinks/turbolinks-5.2.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +# The gem does not contain runnable tests. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Makes following links in your web application faster" +HOMEPAGE="https://github.com/rails/turbolinks" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-ruby/twitter-text/Manifest b/dev-ruby/twitter-text/Manifest new file mode 100644 index 000000000000..37734ee94634 --- /dev/null +++ b/dev-ruby/twitter-text/Manifest @@ -0,0 +1,4 @@ +DIST twitter-text-1.14.7.gem 48128 BLAKE2B c80b9cb894438ca427ab3ba864362bd3b1b58a852c4720178fdbffef7d42b276a62d6c39d2163fa875101210a72cebbe2e4aad5c080631f07efb3657da2668b5 SHA512 98addbf8efe7b9f2685f00827194dbb255b31512e8aa5c9dab22ec08b95ccebbcf53790dfc983e71b0644c687b4db98c5d30f74f15b925377403b4d5cf6e5194 +DIST twitter-text-2.1.0.gem 54784 BLAKE2B e0ee791f63d43f8ff8d87f5b4cca337761efac24417702ba5cc0fb50db3b622ef86a2d4ca1ce753272668df825fd92ac561a2cc528ae6435976d830d1ac9a329 SHA512 ac23e05f13a008d733a9417d47e633838584b548a41741a28ca399e1548344b39081b0c6677b7be9df1feb6ffcc491718ddfb5cd55cffb63d7bb680f1431907c +DIST twitter-text-3.0.0.gem 58880 BLAKE2B daf80ac931ee68a9f0f84ae13433169c70147dd738039b95268e01da59c61717f1df067685df5923bb799b728d788316c3bc7cf1da5b5dc209c485220e8bc8aa SHA512 2afd07636e1cfe140ff26e52ec8a4c23b6116f7166a73e1af1fec283aff7549c06ff46ed51fd178acddd607c1f9c82eff1eee7cb3ce81eeb78a73305e14120ad +DIST twitter-text-3.1.0.gem 59392 BLAKE2B 91f906db8d4cc17086b7bc421f1730646756aec9e041166e18d816da4b680282f312743c52e412e6595d7565c2c7faf0dd18fea815f3bbc53afa675a33ac3c66 SHA512 b0d5a876bd9c1d4788378ebd5029bed51db6a0c3a7cd2c97433eab3ec3655d7bc427c3873364a368c0a10216871c7373e762cfd57c4bdd69800adc95869aa03a diff --git a/dev-ruby/twitter-text/metadata.xml b/dev-ruby/twitter-text/metadata.xml new file mode 100644 index 000000000000..dde4e38ea974 --- /dev/null +++ b/dev-ruby/twitter-text/metadata.xml @@ -0,0 +1,12 @@ +<?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">twitter/twitter-text</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/twitter-text/twitter-text-1.14.7.ebuild b/dev-ruby/twitter-text/twitter-text-1.14.7.ebuild new file mode 100644 index 000000000000..e619358f7b9b --- /dev/null +++ b/dev-ruby/twitter-text/twitter-text-1.14.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Text handling for Twitter" +HOMEPAGE="https://github.com/twitter/twitter-text" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "=dev-ruby/unf-0.1*" + +ruby_add_bdepend "test? ( >=dev-ruby/multi_json-1.3 + >=dev-ruby/nokogiri-1.5.10 )" + +all_ruby_prepare() { + sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die + sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/twitter-text/twitter-text-2.1.0.ebuild b/dev-ruby/twitter-text/twitter-text-2.1.0.ebuild new file mode 100644 index 000000000000..c99fa83a6806 --- /dev/null +++ b/dev-ruby/twitter-text/twitter-text-2.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Text handling for Twitter" +HOMEPAGE="https://github.com/twitter/twitter-text" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/idn-ruby + =dev-ruby/unf-0.1* +" + +ruby_add_bdepend "test? ( >=dev-ruby/multi_json-1.3 + >=dev-ruby/nokogiri-1.8.0 )" + +all_ruby_prepare() { + sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die + sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/twitter-text/twitter-text-3.0.0.ebuild b/dev-ruby/twitter-text/twitter-text-3.0.0.ebuild new file mode 100644 index 000000000000..0c091cf061e1 --- /dev/null +++ b/dev-ruby/twitter-text/twitter-text-3.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="config" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Text handling for Twitter" +HOMEPAGE="https://github.com/twitter/twitter-text" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/idn-ruby + =dev-ruby/unf-0.1* +" + +ruby_add_bdepend "test? ( >=dev-ruby/multi_json-1.3 + >=dev-ruby/nokogiri-1.8.0 )" + +all_ruby_prepare() { + sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die + sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/twitter-text/twitter-text-3.1.0.ebuild b/dev-ruby/twitter-text/twitter-text-3.1.0.ebuild new file mode 100644 index 000000000000..02a1ce721c61 --- /dev/null +++ b/dev-ruby/twitter-text/twitter-text-3.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="config" + +inherit ruby-fakegem + +DESCRIPTION="Text handling for Twitter" +HOMEPAGE="https://github.com/twitter/twitter-text" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/idn-ruby + =dev-ruby/unf-0.1* +" + +ruby_add_bdepend "test? ( >=dev-ruby/multi_json-1.3 + >=dev-ruby/nokogiri-1.8.0 )" + +all_ruby_prepare() { + #sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die + sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/twitter/Manifest b/dev-ruby/twitter/Manifest new file mode 100644 index 000000000000..3d051d498db6 --- /dev/null +++ b/dev-ruby/twitter/Manifest @@ -0,0 +1,2 @@ +DIST twitter-6.2.0.tar.gz 519470 BLAKE2B 4c3d929d8706845610b31c8ae702563d0330a95a165e417b77ecfd894b1f216100678c9862856c3c450952e3025940a701d96f0aeb1b29de55e612c6c69ab231 SHA512 5d2bd653233f285e0c08503031317a966ec098e9b302f9e0c65bdbf4632465988b1139719dae1cabb856b08200fc7793cd341fd926981484cf416a01f309d242 +DIST twitter-7.0.0.tar.gz 831181 BLAKE2B aeb888bf1551116916cc10a4c0278dcee541e953c6e1be09bd95f348b8a2a08075d44c4b8beb736b13564d550b5797184c725141c5c3866f5423afddfdfbea19 SHA512 4b0f831ddb1f54fc5894a15010d17b54c62f6caa3eadd6a1f0e0ef37235f29f53f6315c49213244d79ab3708d5a7b1e1b9735d1f35fa291a66d439db916d3ec7 diff --git a/dev-ruby/twitter/metadata.xml b/dev-ruby/twitter/metadata.xml new file mode 100644 index 000000000000..9110092d067c --- /dev/null +++ b/dev-ruby/twitter/metadata.xml @@ -0,0 +1,12 @@ +<?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">sferik/twitter</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/twitter/twitter-6.2.0.ebuild b/dev-ruby/twitter/twitter-6.2.0.ebuild new file mode 100644 index 000000000000..d0bacd4583fa --- /dev/null +++ b/dev-ruby/twitter/twitter-6.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="twitter.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby wrapper around the Twitter API" +HOMEPAGE="https://sferik.github.com/twitter/" +SRC_URI="https://github.com/sferik/twitter/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.3 + >=dev-ruby/buftok-0.2.0 + >=dev-ruby/equalizer-0.0.11 + =dev-ruby/equalizer-0.0* + dev-ruby/http:3 + dev-ruby/http-form_data:2 + >=dev-ruby/http_parser_rb-0.6.0 + >=dev-ruby/memoizable-0.4.2 + =dev-ruby/multipart-post-2* + >=dev-ruby/naught-1.1 + =dev-ruby/simple_oauth-0.3* +" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + dev-ruby/webmock:3 + >=dev-ruby/timecop-0.6.1 + ) + doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + #sed -i -e '/equalizer/ s/0.0.10/~>0.0.10/' ${RUBY_FAKEGEM_GEMSPEC} || die + +# rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code." + + sed -i -e '/simplecov/,/^end/ s:^:#:' \ + -e '1igem "webmock", "~>3.0"' spec/helper.rb || die + + # Avoid a spec that fails due to changes in dependencies. + sed -i -e '/#reverse_token/,/^ end/ s:^:#:' \ + spec/twitter/rest/oauth_spec.rb +} + +each_ruby_test() { + CI=true RSPEC_VERSION=3 ruby-ng_rspec || die +} diff --git a/dev-ruby/twitter/twitter-7.0.0.ebuild b/dev-ruby/twitter/twitter-7.0.0.ebuild new file mode 100644 index 000000000000..8cf53c9edc4b --- /dev/null +++ b/dev-ruby/twitter/twitter-7.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="twitter.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby wrapper around the Twitter API" +HOMEPAGE="https://sferik.github.com/twitter/" +SRC_URI="https://github.com/sferik/twitter/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.3 + >=dev-ruby/buftok-0.2.0 + >=dev-ruby/equalizer-0.0.11 + =dev-ruby/equalizer-0.0* + dev-ruby/http:4 + dev-ruby/http-form_data:2 + >=dev-ruby/http_parser_rb-0.6.0 + >=dev-ruby/memoizable-0.4.2 + =dev-ruby/multipart-post-2* + >=dev-ruby/naught-1.1 + =dev-ruby/simple_oauth-0.3* +" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + dev-ruby/webmock:3 + >=dev-ruby/timecop-0.6.1 + ) + doc? ( dev-ruby/yard )" + +all_ruby_prepare() { +# rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code." + + sed -i -e '/simplecov/,/^end/ s:^:#:' \ + -e '1igem "webmock", "~>3.0"' spec/helper.rb || die + + # Avoid a spec that fails due to changes in dependencies. + sed -i -e '/#reverse_token/,/^ end/ s:^:#:' \ + spec/twitter/rest/oauth_spec.rb +} + +each_ruby_test() { + CI=true RSPEC_VERSION=3 ruby-ng_rspec || die +} diff --git a/dev-ruby/typed-array/Manifest b/dev-ruby/typed-array/Manifest new file mode 100644 index 000000000000..4cc10006c7fc --- /dev/null +++ b/dev-ruby/typed-array/Manifest @@ -0,0 +1 @@ +DIST typed-array-0.1.2.gem 10752 BLAKE2B b329b08d58d964e43d8ac78d0aa5b8a86c375d7d2124314fb20582bd04dc0843f22f7932fe8302a13c7071e55b2da913d95c4bf06fb3e61de093a22dfae70015 SHA512 e61631e6c9c4835a1ab11a0c3698df3c5831a0b1b03737a51496e9af971541a07259e55ba2430471c868770d950bb8cb77b5eec810807d05d3eded506c588937 diff --git a/dev-ruby/typed-array/metadata.xml b/dev-ruby/typed-array/metadata.xml new file mode 100644 index 000000000000..bf748e729276 --- /dev/null +++ b/dev-ruby/typed-array/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">yaauie/typed-array</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/typed-array/typed-array-0.1.2-r1.ebuild b/dev-ruby/typed-array/typed-array-0.1.2-r1.ebuild new file mode 100644 index 000000000000..069f08c3c4bc --- /dev/null +++ b/dev-ruby/typed-array/typed-array-0.1.2-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-fakegem +DESCRIPTION="Gem provides enforced-type functionality to Arrays" +HOMEPAGE="https://github.com/yaauie/typed-array" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + # There is a trash... + rm "${S}"/lib/typed-array/.DS_Store || die +} diff --git a/dev-ruby/typhoeus/Manifest b/dev-ruby/typhoeus/Manifest new file mode 100644 index 000000000000..3de929119ae9 --- /dev/null +++ b/dev-ruby/typhoeus/Manifest @@ -0,0 +1,3 @@ +DIST typhoeus-0.6.9.gem 49152 BLAKE2B 0c80c76c6ed8e9e564d6fc48b259b6c1d9c5c4422d29ef356fb092dc722e96afba319e682f5548603f1bebce96aa3e616161a5e036a7c23264b98835c41955e0 SHA512 5063d3217f35db29d216327b6eed10d6613d018c496935e78aa8e2b10ec21f3372df11fe48155b45387767d5572efa93e74afb0bb9b10782d28e87dead0294a4 +DIST typhoeus-1.3.1.gem 55808 BLAKE2B e3153870bfe2d5187aa433d81a287c2f9e9e6cf3caaf52b0f542fd35e4ac812786abc389c47ab56dd4267adb5206a5ce25c5ab6cc8559fa8dfbbd6b78e53fc16 SHA512 f826cdb7e48577226b12fc2715123e13519148f67d036470e385f80f8f3112d1ad24bf580c2ed0d213242c9afc1bdf868084266d430858b2cf6de73e50a11422 +DIST typhoeus-1.4.0.gem 56832 BLAKE2B 1f188a2c174a9d0e2cc0afc10f96d98a8c78278c1fa53eeb88da6f4f3986c8e204171a9bb817c95a217360346bda319711e7c89095ad48e878cbc3efc21e9887 SHA512 f48a99fd554f4d06d37a0a804ee79dd8423d9bff765394537ab0edba615e132d25660a6eb455e8628f59bd56c7ea26f4a195827d5287a53e58e3aeb394477284 diff --git a/dev-ruby/typhoeus/metadata.xml b/dev-ruby/typhoeus/metadata.xml new file mode 100644 index 000000000000..e5167bfd6869 --- /dev/null +++ b/dev-ruby/typhoeus/metadata.xml @@ -0,0 +1,13 @@ +<?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="rubygems">typhoeus</remote-id> + <remote-id type="github">typhoeus/typhoeus</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/typhoeus/typhoeus-0.6.9-r1.ebuild b/dev-ruby/typhoeus/typhoeus-0.6.9-r1.ebuild new file mode 100644 index 000000000000..00fd07d567fa --- /dev/null +++ b/dev-ruby/typhoeus/typhoeus-0.6.9-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADE.md" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="Runs HTTP requests in parallel while cleanly encapsulating handling logic" +HOMEPAGE="https://rubygems.org/gems/typhoeus/ + https://github.com/typhoeus/typhoeus" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ethon-0.7.1" + +ruby_add_bdepend "test? ( dev-ruby/json >=dev-ruby/faraday-0.9 >=dev-ruby/sinatra-1.3 )" + +all_ruby_prepare() { + sed -e '/bundler/I s:^:#:' -i Rakefile spec/spec_helper.rb || die +} diff --git a/dev-ruby/typhoeus/typhoeus-1.3.1.ebuild b/dev-ruby/typhoeus/typhoeus-1.3.1.ebuild new file mode 100644 index 000000000000..f351f3b1aade --- /dev/null +++ b/dev-ruby/typhoeus/typhoeus-1.3.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADE.md" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Runs HTTP requests in parallel while cleanly encapsulating handling logic" +HOMEPAGE="https://rubygems.org/gems/typhoeus/ + https://github.com/typhoeus/typhoeus" + +LICENSE="Ruby" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ethon-0.9.0" + +ruby_add_bdepend "test? ( dev-ruby/json >=dev-ruby/faraday-0.9 >=dev-ruby/sinatra-1.3 >=dev-ruby/redis-3.0 >=dev-ruby/dalli-2.7.9 )" + +all_ruby_prepare() { + sed -e '/bundler/I s:^:#:' -i Rakefile spec/spec_helper.rb || die +} diff --git a/dev-ruby/typhoeus/typhoeus-1.4.0.ebuild b/dev-ruby/typhoeus/typhoeus-1.4.0.ebuild new file mode 100644 index 000000000000..ab55524ac1c2 --- /dev/null +++ b/dev-ruby/typhoeus/typhoeus-1.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADE.md" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Runs HTTP requests in parallel while cleanly encapsulating handling logic" +HOMEPAGE="https://rubygems.org/gems/typhoeus/ + https://github.com/typhoeus/typhoeus" + +LICENSE="Ruby" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ethon-0.9.0" + +ruby_add_bdepend "test? ( dev-ruby/json >=dev-ruby/faraday-0.9 >=dev-ruby/sinatra-1.3 >=dev-ruby/redis-3.0 >=dev-ruby/dalli-2.7.9 )" + +all_ruby_prepare() { + sed -e '/bundler/I s:^:#:' -i Rakefile spec/spec_helper.rb || die +} diff --git a/dev-ruby/tzinfo/Manifest b/dev-ruby/tzinfo/Manifest new file mode 100644 index 000000000000..f485b737da5e --- /dev/null +++ b/dev-ruby/tzinfo/Manifest @@ -0,0 +1,5 @@ +DIST tzinfo-1.2.5.gem 153600 BLAKE2B 3df5625c61eabf94bb457381ac7d0cdebd5b55da3bb043fe58063cccccb623b502e026a71faef4f7d7efe75eae2fdfd0bf3e0b97a3763fec9a1018f0c6c2ae0f SHA512 87f7cd66d6e80d51d216cb993cc76fe7758db03ffd39dde96eb24a9d208699766a8dbff048485fb732ce125ee9f971e38ed9ee1197f3ee3fc3ee8a8da840dd45 +DIST tzinfo-1.2.7.gem 156672 BLAKE2B c1b52d2ac03fa9d11b68579931991887f566e3cb269bb5eb8b66c3a636decedc99b1729504c6941b260af9415815f5098fb3bba29ac7585da1497eb0fa7efba7 SHA512 dc8d45b09e4f77e5b6f17c9f707932554fc8be8029a9641d82cb8229d764c35522b2d20cc34d50a52835d148135e39a0dc91a7c2bac3eb5077057ac06d67f3bd +DIST tzinfo-2.0.0.tar.gz 210379 BLAKE2B e3b8b7763dbe26ce58b1a1672d11c412f362910d695c321e51a9c28f1e742db34aa7c066827d7a4634e4a1f7824205007b66191cbeba7776dbc6cac1c9f144ca SHA512 cdc3393af8402dbde491f4547a1b169d90bcf7228c89b64f104538223fcb8f5cf8f7861ae1e11a723b213de7ab09fe31fc04ed9f275f80fe2929f0279d830679 +DIST tzinfo-2.0.1.tar.gz 212477 BLAKE2B 95a7ed460054d258485e24e63140853218ba00a7e3afc0c0ee2be5c91ee66588aec663a17d50dab7237b0091d0f423a845c474b18873a2a8153db2745f8fc1a7 SHA512 9cfd0a076aba5e7ae2f519374a6154a62e3ec71eaeb2d5a31bb07e3e26b44c4e01fce8cb385e0da9c565e0e408a0a7f204ac666baa7a9d6f3a592f2218ef99b6 +DIST tzinfo-2.0.2.tar.gz 213501 BLAKE2B 7886ba84257b85104073445d0948fd5f58985fa0f5f85c1ec15978c6f497fffb9bd997a0bae1313d697115c487c069dda1b7e5dd4ec2c7580951d0a8ddf8d623 SHA512 a0c71dd9299e84bd71a91858ba8c12a0ba00c625219da1172d5cd1dfd35318ce8a83e59f45489c2ed5161761e1c39834ba63dbfa189acb100ba37ceae842668d diff --git a/dev-ruby/tzinfo/metadata.xml b/dev-ruby/tzinfo/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/tzinfo/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/tzinfo/tzinfo-1.2.5.ebuild b/dev-ruby/tzinfo/tzinfo-1.2.5.ebuild new file mode 100644 index 000000000000..5e6d87ccbff5 --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-1.2.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 hppa ppc ~ppc64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/timezone-data" +DEPEND="test? ( sys-libs/timezone-data )" + +ruby_add_rdepend ">=dev-ruby/thread_safe-0.1:0" +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Avoid taint tests that throw SecurityErrors on newer ruby versions. + sed -i -e '/_info_tainted/askip"SecurityError"' test/tc_ruby_data_source.rb || die +} diff --git a/dev-ruby/tzinfo/tzinfo-1.2.7.ebuild b/dev-ruby/tzinfo/tzinfo-1.2.7.ebuild new file mode 100644 index 000000000000..61bd4fe80efe --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-1.2.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/timezone-data" +DEPEND="test? ( sys-libs/timezone-data )" + +ruby_add_rdepend ">=dev-ruby/thread_safe-0.1:0" +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Avoid taint tests that throw SecurityErrors on newer ruby versions. + sed -i -e '/_info_tainted/askip"SecurityError"' test/tc_ruby_data_source.rb || die +} diff --git a/dev-ruby/tzinfo/tzinfo-2.0.0.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.0.ebuild new file mode 100644 index 000000000000..31185f497872 --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-2.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" +SRC_URI="https://github.com/tzinfo/tzinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/timezone-data" +DEPEND="test? ( sys-libs/timezone-data )" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Skip safe tests since we cannot guarantee the correct permissions + # on directories for it to pass. + sed -e '/safe_test/askip "does not pass in gentoo test environment"' -i test/test_utils.rb || die + + # Loosen test dependencies + sed -e '/rake/ s/12.2.1/12.2/' \ + -e '/simplecov/d' \ + -i Gemfile || die + sed -e '/TEST_COVERAGE/d' -i Rakefile || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/tzinfo/tzinfo-2.0.1.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.1.ebuild new file mode 100644 index 000000000000..a0ab789f483c --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-2.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_GEMSPEC="tzinfo.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" +SRC_URI="https://github.com/tzinfo/tzinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/timezone-data" +DEPEND="test? ( sys-libs/timezone-data )" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Skip safe tests since we cannot guarantee the correct permissions + # on directories for it to pass. + sed -e '/safe_test/askip "does not pass in gentoo test environment"' -i test/test_utils.rb || die + + # Loosen test dependencies + sed -e '/rake/ s/12.2.1/12.2/' \ + -e '/simplecov/d' \ + -i Gemfile || die + sed -e '/TEST_COVERAGE/d' -i Rakefile || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/tzinfo/tzinfo-2.0.2.ebuild b/dev-ruby/tzinfo/tzinfo-2.0.2.ebuild new file mode 100644 index 000000000000..a0ab789f483c --- /dev/null +++ b/dev-ruby/tzinfo/tzinfo-2.0.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test_zoneinfo" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_GEMSPEC="tzinfo.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Daylight-savings aware timezone library" +HOMEPAGE="https://tzinfo.github.io/" +SRC_URI="https://github.com/tzinfo/tzinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="sys-libs/timezone-data" +DEPEND="test? ( sys-libs/timezone-data )" + +ruby_add_rdepend "dev-ruby/concurrent-ruby:1" +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Skip safe tests since we cannot guarantee the correct permissions + # on directories for it to pass. + sed -e '/safe_test/askip "does not pass in gentoo test environment"' -i test/test_utils.rb || die + + # Loosen test dependencies + sed -e '/rake/ s/12.2.1/12.2/' \ + -e '/simplecov/d' \ + -i Gemfile || die + sed -e '/TEST_COVERAGE/d' -i Rakefile || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/uconv/Manifest b/dev-ruby/uconv/Manifest new file mode 100644 index 000000000000..9afb5b196768 --- /dev/null +++ b/dev-ruby/uconv/Manifest @@ -0,0 +1 @@ +DIST uconv-0.6.1.tar.gz 740417 BLAKE2B 41bd221121e301d5df365f6d9eca56fd37e3185cbe75f653d60fe3df5d62c385c831607086330e56c45e280627cb03247be230e655f293c09d671fd1ee574723 SHA512 6f964e42886f498bd6c4111e522143d8d958b8c6e401d26f784fdf1441684f1fde7cfdc35a08d3707a42e305d5508d9ff3fbc1b735298f8af2aae3923cbda68d diff --git a/dev-ruby/uconv/metadata.xml b/dev-ruby/uconv/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/uconv/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/uconv/uconv-0.6.1-r2.ebuild b/dev-ruby/uconv/uconv-0.6.1-r2.ebuild new file mode 100644 index 000000000000..2a8410e1ec06 --- /dev/null +++ b/dev-ruby/uconv/uconv-0.6.1-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit ruby-ng + +DESCRIPTION="A module to convert ISO/IEC 10646 (Unicode) string and Japanese strings" +HOMEPAGE="http://www.yoshidam.net/Ruby.html#uconv" +SRC_URI="http://www.yoshidam.net/${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ppc ppc64 x86" +IUSE="" + +RUBY_S=${PN} + +all_ruby_prepare() { + sed -i -e '/^\$CFLAGS = ""/d' extconf.rb || die "Unable to remove CFLAGS line" +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 +} + +each_ruby_install() { + emake V=1 DESTDIR="${D}" install +} + +all_ruby_install() { + dodoc README* +} diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest new file mode 100644 index 000000000000..eec7e677b30a --- /dev/null +++ b/dev-ruby/uglifier/Manifest @@ -0,0 +1,2 @@ +DIST uglifier-4.1.20.tar.gz 200470 BLAKE2B 64cd5a7dffc0becd66003658db3a0870de6c379755bc3025334c5374061240de1493d877c9c638f7be0438fdef4f58813fe89c77413c4e0a8d489e35b431259e SHA512 9846612e00568b359672f6bce78302839b8b1f9d2bf607338bd299ed7c3c3e948a223903077eea419aed3f0bf47df8024531ddd7ca645df90203ba2d50d99992 +DIST uglifier-4.2.0.tar.gz 201913 BLAKE2B 90390308f116dc82fbf889b603b1ecd118adf9a6f541def408fe3229db02d78f3f7ba790822cc5524870317131260ad7f8c7191a69a9e158a43d9c3822fcc95f SHA512 869194db8fffdb7d243fc5639e0286d73dfa3ca9485efda760a9eb00424e6797f0bf7aa9f6c8f410daac556e01b6a1a1701300bc373eb492ea21d864494f8246 diff --git a/dev-ruby/uglifier/metadata.xml b/dev-ruby/uglifier/metadata.xml new file mode 100644 index 000000000000..3cca96361958 --- /dev/null +++ b/dev-ruby/uglifier/metadata.xml @@ -0,0 +1,12 @@ +<?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">lautis/uglifier</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/uglifier/uglifier-4.1.20.ebuild b/dev-ruby/uglifier/uglifier-4.1.20.ebuild new file mode 100644 index 000000000000..c5192c241285 --- /dev/null +++ b/dev-ruby/uglifier/uglifier-4.1.20.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor" +HOMEPAGE="https://github.com/lautis/uglifier" +SRC_URI="https://github.com/lautis/uglifier/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/execjs-0.3.0:*" + +ruby_add_bdepend "test? ( dev-ruby/sourcemap )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/uglifier/uglifier-4.2.0.ebuild b/dev-ruby/uglifier/uglifier-4.2.0.ebuild new file mode 100644 index 000000000000..9535966db86d --- /dev/null +++ b/dev-ruby/uglifier/uglifier-4.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor" +HOMEPAGE="https://github.com/lautis/uglifier" +SRC_URI="https://github.com/lautis/uglifier/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/execjs-0.3.0:*" + +ruby_add_bdepend "test? ( dev-ruby/sourcemap )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/ultraviolet/Manifest b/dev-ruby/ultraviolet/Manifest new file mode 100644 index 000000000000..9087354a2f56 --- /dev/null +++ b/dev-ruby/ultraviolet/Manifest @@ -0,0 +1 @@ +DIST ultraviolet-1.0.1.gem 46592 BLAKE2B 2dd9b69bafdb83c321eee2c4fed9a39782959893993bdd27d3c1ab8337ac1f9a68d8cf7cddbef12404041d541d183f0bd205a4c36ee4978a2c0a631d0df3fbce SHA512 f974f95743b56d7424c8ac96867c56f4d849247ba552bd09ba8893ca6520758ff2132ac46a42f22b8547732bd148531d177a7d38522fad1dfb86d54ffbb29861 diff --git a/dev-ruby/ultraviolet/metadata.xml b/dev-ruby/ultraviolet/metadata.xml new file mode 100644 index 000000000000..b0a9fd2c1ff2 --- /dev/null +++ b/dev-ruby/ultraviolet/metadata.xml @@ -0,0 +1,12 @@ +<?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">grosser/ultraviolet</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/ultraviolet/ultraviolet-1.0.1.ebuild b/dev-ruby/ultraviolet/ultraviolet-1.0.1.ebuild new file mode 100644 index 000000000000..388c85ac1ee2 --- /dev/null +++ b/dev-ruby/ultraviolet/ultraviolet-1.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" +RUBY_FAKEGEM_EXTRAINSTALL="render" + +inherit ruby-fakegem + +DESCRIPTION="A syntax highlighting engine based on Textpow" +HOMEPAGE="https://github.com/grosser/ultraviolet" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/textpow-1.3.0" + +all_ruby_prepare() { + sed -i -e '/rdoc_patter/d' Rakefile || die + sed -i -e '/git ls-files/d' ultraviolet.gemspec || die +} diff --git a/dev-ruby/unf/Manifest b/dev-ruby/unf/Manifest new file mode 100644 index 000000000000..5b3fbcf4464a --- /dev/null +++ b/dev-ruby/unf/Manifest @@ -0,0 +1 @@ +DIST unf-0.1.4.gem 120320 BLAKE2B ab339ce957a1d3251d14944ccb4f68a9c7271f0f918f20b57c70824ded730fa18abb5078312d9820e7ef056163b5f1340c1cf72974b6c255279dcf572fb3e87a SHA512 a4784afa8b852497f758d1b6cdcf095eb9e5397a36c97b1f22b53cf8077cfedbf83fdcda36f359acf59ba61f1ab8b706ddd31d097afbc98a40d2dbd0f934292b diff --git a/dev-ruby/unf/metadata.xml b/dev-ruby/unf/metadata.xml new file mode 100644 index 000000000000..9c6b90a96a76 --- /dev/null +++ b/dev-ruby/unf/metadata.xml @@ -0,0 +1,12 @@ +<?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">knu/ruby-unf</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/unf/unf-0.1.4.ebuild b/dev-ruby/unf/unf-0.1.4.ebuild new file mode 100644 index 000000000000..04649ab71624 --- /dev/null +++ b/dev-ruby/unf/unf-0.1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby" +HOMEPAGE="https://github.com/knu/ruby-unf" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_rdepend "dev-ruby/unf_ext" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + dev-ruby/shoulda + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ d' test/helper.rb || die + + # Remove development dependencies; also remove platform as we don't + # care about it as it is, they only use it to avoid the unf_ext dep + # that we tackle on our own; finally remove git ls-files usage. + sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rcov\)/d' \ + -e '/platform/d' \ + -e '/git ls/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} diff --git a/dev-ruby/unf_ext/Manifest b/dev-ruby/unf_ext/Manifest new file mode 100644 index 000000000000..d0997b647796 --- /dev/null +++ b/dev-ruby/unf_ext/Manifest @@ -0,0 +1,3 @@ +DIST unf_ext-0.0.7.5.gem 398848 BLAKE2B 3c7b2a6765360f59b7b921155bb6532981c8b31fd1fcebf1adc1e113da2404fa752ef95bb385155de1a6025d51f4564e52b497c5396624a0a5e99357fff88662 SHA512 5d60740172034253fec9659bec49e60f639e93d8f147582e26a012712ec2e5fca30674efc52695def0c3cd145c5ddd93a56a6d0f854ab04e7fc81544e6aede16 +DIST unf_ext-0.0.7.6.gem 399360 BLAKE2B a805d991580ced26400194bb45d4e4ab395e4936e8416a9469443c12015ca231c6277fd5d2112c346085a5fe9756786cc18626578f0d5ed0d68544043699fa41 SHA512 c6b6bc797015875b0a3422dc1e9656eae6c42d2263fd6e73ba41a1789ac1ffe927f81d5d9874973fd8d9bd9486494efa725b081e553954121588818d454db7f2 +DIST unf_ext-0.0.7.7.gem 399360 BLAKE2B 040800c9598fb544d434e8d3336a7aa8aac2440a3386a520220252aa970c715462fcf242985527b23618dabb291db346d23afd02282f735df1fdb657e021be9d SHA512 7dc75f071be4d4f3cd44f64a26c5f63f01494f79f3585eea3b307c3e8133b17b1007c4b36915f7254e516ae7a62268be8f3e4b250dcec7a9a083b5a66582887d diff --git a/dev-ruby/unf_ext/metadata.xml b/dev-ruby/unf_ext/metadata.xml new file mode 100644 index 000000000000..4090af89e56e --- /dev/null +++ b/dev-ruby/unf_ext/metadata.xml @@ -0,0 +1,13 @@ +<?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="sourceforge-jp">unf</remote-id> + <remote-id type="github">knu/ruby-unf_ext</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/unf_ext/unf_ext-0.0.7.5.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.7.5.ebuild new file mode 100644 index 000000000000..5543990925e9 --- /dev/null +++ b/dev-ruby/unf_ext/unf_ext-0.0.7.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem multilib + +DESCRIPTION="Unicode Normalization Form support library for CRuby" +HOMEPAGE="https://github.com/knu/ruby-unf_ext" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ s:^:#:' Rakefile test/helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/unf_ext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/unf_ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/unf_ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} diff --git a/dev-ruby/unf_ext/unf_ext-0.0.7.6.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.7.6.ebuild new file mode 100644 index 000000000000..bbfda56775a5 --- /dev/null +++ b/dev-ruby/unf_ext/unf_ext-0.0.7.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem multilib + +DESCRIPTION="Unicode Normalization Form support library for CRuby" +HOMEPAGE="https://github.com/knu/ruby-unf_ext" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ s:^:#:' Rakefile test/helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/unf_ext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/unf_ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/unf_ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} diff --git a/dev-ruby/unf_ext/unf_ext-0.0.7.7.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.7.7.ebuild new file mode 100644 index 000000000000..e0449ed49d25 --- /dev/null +++ b/dev-ruby/unf_ext/unf_ext-0.0.7.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem multilib + +DESCRIPTION="Unicode Normalization Form support library for CRuby" +HOMEPAGE="https://github.com/knu/ruby-unf_ext" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ s:^:#:' Rakefile test/helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/unf_ext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/unf_ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/unf_ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} diff --git a/dev-ruby/unicode-display_width/Manifest b/dev-ruby/unicode-display_width/Manifest new file mode 100644 index 000000000000..d92eee58c49c --- /dev/null +++ b/dev-ruby/unicode-display_width/Manifest @@ -0,0 +1 @@ +DIST unicode-display_width-1.7.0.tar.gz 10822 BLAKE2B c3db387b9d61ba4ea9d5559824b22e40f173f9e9bcf7fdad3dba1edc36b39ae90276818bd54e74a6731bd2cb8c48b28e440d07f7e3cedbd8dc13441f79a2b56c SHA512 2b6d2b0118f4a2ad69e98fe2fac611ca94adc0dc59ad076083d0243c630a81a01d650965149a25feaf8986c262a5d55294e064361420e2140b53c5ced5fb1c77 diff --git a/dev-ruby/unicode-display_width/metadata.xml b/dev-ruby/unicode-display_width/metadata.xml new file mode 100644 index 000000000000..25d9831f9436 --- /dev/null +++ b/dev-ruby/unicode-display_width/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild new file mode 100644 index 000000000000..9f37f42673d2 --- /dev/null +++ b/dev-ruby/unicode-display_width/unicode-display_width-1.7.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt" +HOMEPAGE="https://github.com/janlelis/unicode-display_width" +SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +all_ruby_prepare() { + # Avoid experimental emoji support for now + sed -i -e '/\[emoji\]/,/^ end/ s:^:#:' spec/display_width_spec.rb || die +} diff --git a/dev-ruby/unindent/Manifest b/dev-ruby/unindent/Manifest new file mode 100644 index 000000000000..3cbe171b251a --- /dev/null +++ b/dev-ruby/unindent/Manifest @@ -0,0 +1 @@ +DIST unindent-1.0.gem 6144 BLAKE2B 8720a1f6aca7da8cc8659f5a3943e9e56d15f9349efdd622857bbeffc39b04b61beb2b72a9cd337d516db2fbefd7aae02827b6705a81622ca5904dcdcc7575ad SHA512 1bab3352fc8da8b8a3ade8dff2f7c565e36529a79ca68c0a1ca73cdeca93fa507baa9399c6eed4fa020aa74dea6c4260a0242fa8057931a90bc172f138a5e655 diff --git a/dev-ruby/unindent/metadata.xml b/dev-ruby/unindent/metadata.xml new file mode 100644 index 000000000000..f86f54b1fb7f --- /dev/null +++ b/dev-ruby/unindent/metadata.xml @@ -0,0 +1,12 @@ +<?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">mynyml/unindent</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/unindent/unindent-1.0.ebuild b/dev-ruby/unindent/unindent-1.0.ebuild new file mode 100644 index 000000000000..7718c3be5ef4 --- /dev/null +++ b/dev-ruby/unindent/unindent-1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby method to unindent strings" +HOMEPAGE="https://github.com/mynyml/unindent" +LICENSE="MIT" + +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/nanotest )" + +each_ruby_test() { + ${RUBY} -I.:lib test/test_unindent.rb || die +} diff --git a/dev-ruby/uuidtools/Manifest b/dev-ruby/uuidtools/Manifest new file mode 100644 index 000000000000..64285f0efa5f --- /dev/null +++ b/dev-ruby/uuidtools/Manifest @@ -0,0 +1 @@ +DIST uuidtools-2.1.5.gem 25600 BLAKE2B 8219d559d92d86e7a87b97d4eda9454b6c203f89beb4a74ff619f51470d339c4063b1982ffb6f8acd5b9c206ac7d0dc537e968b1744a030a4f6cd629a358fc7a SHA512 c56e6329e48638bd5049d348beedec7fadb9ee7a133a5013ddd41ae98baa8213d8944903059729c9ca4f38b24d9b565b5653332685982337a4233f11d4865ac0 diff --git a/dev-ruby/uuidtools/metadata.xml b/dev-ruby/uuidtools/metadata.xml new file mode 100644 index 000000000000..d3b9711170b0 --- /dev/null +++ b/dev-ruby/uuidtools/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <longdescription lang="en">Simple Ruby library for the generation of UUID, based on constant, + time-based or random data. It conforms to RFC 4122 whenever + possible.</longdescription> + <upstream> + <remote-id type="github">sporkmonger/uuidtools</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/uuidtools/uuidtools-2.1.5-r1.ebuild b/dev-ruby/uuidtools/uuidtools-2.1.5-r1.ebuild new file mode 100644 index 000000000000..7295bc532a73 --- /dev/null +++ b/dev-ruby/uuidtools/uuidtools-2.1.5-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake doc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simple library to generate UUIDs" +HOMEPAGE="https://github.com/sporkmonger/uuidtools" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-macos" +IUSE="doc" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + # Avoid specs that require an actual network interface to get a MAC + # address. We can't assume that a network interface is available. + sed -e '/when obtaining a MAC address/,/^end/ s:^:#:' \ + -i spec/uuidtools/mac_address_spec.rb || die + sed -e '/should correctly generate timestamp variant UUIDs/,/^ end/ s:^:#:' \ + -i spec/uuidtools/uuid_creation_spec.rb || die + sed -e '/should not treat a timestamp version UUID as a random node UUID/,/^ end/ s:^:#:' \ + -i spec/uuidtools/uuid_parsing_spec.rb || die +} diff --git a/dev-ruby/vagrant_cloud/Manifest b/dev-ruby/vagrant_cloud/Manifest new file mode 100644 index 000000000000..a005e0ddd138 --- /dev/null +++ b/dev-ruby/vagrant_cloud/Manifest @@ -0,0 +1 @@ +DIST vagrant_cloud-2.0.3.tar.gz 14854 BLAKE2B 823b9ffbdb6896422e32e697075c7e9ab16ae7a299d6672eb497f17034737d2d017bdd416b56191149044afe97ee06533213311bb5e9da603e9eefcf824c8df7 SHA512 4431aa446d9bce2e67b121159a8345562b41c86937b2b1677f0397494521137fa66c997009632011caceeee9565a5a2b54d4ef6ef1ea9d4ac74ee35f8c149f5d diff --git a/dev-ruby/vagrant_cloud/metadata.xml b/dev-ruby/vagrant_cloud/metadata.xml new file mode 100644 index 000000000000..d93880a23857 --- /dev/null +++ b/dev-ruby/vagrant_cloud/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <upstream> + <remote-id type="github">hashicorp/vagrant_cloud</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/vagrant_cloud/vagrant_cloud-2.0.3-r1.ebuild b/dev-ruby/vagrant_cloud/vagrant_cloud-2.0.3-r1.ebuild new file mode 100644 index 000000000000..c3ef5f12f0f1 --- /dev/null +++ b/dev-ruby/vagrant_cloud/vagrant_cloud-2.0.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2018-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="none" + +inherit ruby-fakegem + +DESCRIPTION="Vagrant Cloud API Library" +HOMEPAGE="https://github.com/hashicorp/vagrant_cloud" +SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/rest-client:2" +ruby_add_bdepend ">=dev-ruby/rake-10.4 + test? ( >=dev-ruby/webmock-3.0 )" + +all_ruby_prepare() { + sed -i -e '/rubocop/I s:^:#:' Rakefile || die + # loosen dependencies + sed -e '/rest-client/s/~>/>=/' -i ${PN}.gemspec || die +} diff --git a/dev-ruby/vcard/Manifest b/dev-ruby/vcard/Manifest new file mode 100644 index 000000000000..bb311958aaca --- /dev/null +++ b/dev-ruby/vcard/Manifest @@ -0,0 +1 @@ +DIST vcard-0.2.16.gem 52224 BLAKE2B b8ee48d597e00fad376d632813fba61a22ae5b6b16ce3fc9c7b79839fd2f0d0f87b8bede3d3f6ebd41bb205a222fde540f4d3c46fcef8eb9b5a014ce8abf14da SHA512 33c8183d05b160e65a89747587f174dfa91b299c178c265645d271b54506734e818e3d3ac51a5b20fcddbc489b9ff910e321e5a1160f7b6254bc16faa185634b diff --git a/dev-ruby/vcard/metadata.xml b/dev-ruby/vcard/metadata.xml new file mode 100644 index 000000000000..5df07eebc7f9 --- /dev/null +++ b/dev-ruby/vcard/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + <name>Michael Orlitzky</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">qoobaa/vcard</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/vcard/vcard-0.2.16.ebuild b/dev-ruby/vcard/vcard-0.2.16.ebuild new file mode 100644 index 000000000000..eecabdc8883f --- /dev/null +++ b/dev-ruby/vcard/vcard-0.2.16.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Avoid the complexity of the "rake" recipe and run testrb-2 manually. +RUBY_FAKEGEM_RECIPE_TEST=none +RUBY_FAKEGEM_RECIPE_DOC=none + +inherit ruby-fakegem + +DESCRIPTION="Ruby vcard support extracted from Vpim" +HOMEPAGE="https://github.com/qoobaa/vcard" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +each_ruby_test() { + ruby-ng_testrb-2 --load-path=lib --pattern='.*_test\.rb' test/ +} diff --git a/dev-ruby/vcr/Manifest b/dev-ruby/vcr/Manifest new file mode 100644 index 000000000000..e2dcb0c762b7 --- /dev/null +++ b/dev-ruby/vcr/Manifest @@ -0,0 +1,4 @@ +DIST vcr-4.0.0.tar.gz 146920 BLAKE2B 19ae33d2f40821d2cfe5c0fc55d5e91e02b8e6ba2bba000c326d993987fd641dd5b4cedd6a8a441f86664ecb67dfe2501d335936af9271fa83aef6dc001b12f2 SHA512 2f98eedd021f7c125fc3f29189190ddc817bb95fc8e8e0ab53e65eaf94c5c0c41f3ca4abf9d829591acdefe97b931943c47129f95c21f2ef590ed500cc6f56f9 +DIST vcr-5.0.0.tar.gz 147602 BLAKE2B 031c9a70c9483b496ed3cda1c65138d214c257392aa5f9157135b0fd4c33d35dd6143afc0e775c5061bb823d936d1bdaa084eaf0024e87747e6101b582d8bd1e SHA512 88e4d82f1c5b3d48c89a75324a256c66858740d2889a4d86851ebb3a303745829e42f20b20d4cbc18d7b0510eb0b229a770bb6209be93dbb8c8b0be84bf5f645 +DIST vcr-5.1.0.tar.gz 150438 BLAKE2B 615a0ce570da29be402f97dcba1ba987c611c73cc9ebc561683333c752d57c1c2f0acae78b42164d8c56f71cded150a93566d45c0c84153bdc3dc8bb37199e4e SHA512 5297e46b1ffe31c3559df57f0af158cb8064ba48b83702ea3bf12eca4c7260bcb71d3df7ae645a3cc14817366992458beb4fd9771c1f98a56835dcd69ff107f9 +DIST vcr-6.0.0.tar.gz 153423 BLAKE2B 95f0794af34d4ce21c0ed3b3a77de64300fd3c844919624cd6021c2e74687d3a66b7d4f73b2b040f90774d9cea0305563cdfaab162b4a1df842f2367e72f6209 SHA512 9a19896ca4f5624c6e74772006aea4dfda0527d9ba733ec0d90418c6234fa5684121be1258badcfd647739cb47dbaae556b8c2e2636f309a79ea94e8835de40f diff --git a/dev-ruby/vcr/metadata.xml b/dev-ruby/vcr/metadata.xml new file mode 100644 index 000000000000..0c11f5888a76 --- /dev/null +++ b/dev-ruby/vcr/metadata.xml @@ -0,0 +1,12 @@ +<?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">myronmarston/vcr</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/vcr/vcr-4.0.0.ebuild b/dev-ruby/vcr/vcr-4.0.0.ebuild new file mode 100644 index 000000000000..cae5212ae316 --- /dev/null +++ b/dev-ruby/vcr/vcr-4.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md README.md Upgrade.md" + +inherit ruby-fakegem + +DESCRIPTION="Records your test suite's HTTP interactions and replay them during test runs" +HOMEPAGE="https://github.com/vcr/vcr/" +SRC_URI="https://github.com/vcr/vcr/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86" +SLOT="3" +IUSE="test" + +# Tests require all supported HTTP libraries to be present, and it is +# not possible to avoid some of them without very extensive patches. +RESTRICT="test" diff --git a/dev-ruby/vcr/vcr-5.0.0.ebuild b/dev-ruby/vcr/vcr-5.0.0.ebuild new file mode 100644 index 000000000000..ecf35311d517 --- /dev/null +++ b/dev-ruby/vcr/vcr-5.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md README.md Upgrade.md" + +inherit ruby-fakegem + +DESCRIPTION="Records your test suite's HTTP interactions and replay them during test runs" +HOMEPAGE="https://github.com/vcr/vcr/" +SRC_URI="https://github.com/vcr/vcr/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +SLOT="5" +IUSE="test" + +# Tests require all supported HTTP libraries to be present, and it is +# not possible to avoid some of them without very extensive patches. +RESTRICT="test" diff --git a/dev-ruby/vcr/vcr-5.1.0.ebuild b/dev-ruby/vcr/vcr-5.1.0.ebuild new file mode 100644 index 000000000000..ca4669a2923a --- /dev/null +++ b/dev-ruby/vcr/vcr-5.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md README.md Upgrade.md" + +RUBY_FAKEGEM_GEMSPEC="vcr.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Records your test suite's HTTP interactions and replay them during test runs" +HOMEPAGE="https://github.com/vcr/vcr/" +SRC_URI="https://github.com/vcr/vcr/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +SLOT="$(ver_cut 1)" +IUSE="test" + +# Tests require all supported HTTP libraries to be present, and it is +# not possible to avoid some of them without very extensive patches. +RESTRICT="test" diff --git a/dev-ruby/vcr/vcr-6.0.0.ebuild b/dev-ruby/vcr/vcr-6.0.0.ebuild new file mode 100644 index 000000000000..ca4669a2923a --- /dev/null +++ b/dev-ruby/vcr/vcr-6.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md README.md Upgrade.md" + +RUBY_FAKEGEM_GEMSPEC="vcr.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Records your test suite's HTTP interactions and replay them during test runs" +HOMEPAGE="https://github.com/vcr/vcr/" +SRC_URI="https://github.com/vcr/vcr/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +SLOT="$(ver_cut 1)" +IUSE="test" + +# Tests require all supported HTTP libraries to be present, and it is +# not possible to avoid some of them without very extensive patches. +RESTRICT="test" diff --git a/dev-ruby/virtus/Manifest b/dev-ruby/virtus/Manifest new file mode 100644 index 000000000000..3735a9360e63 --- /dev/null +++ b/dev-ruby/virtus/Manifest @@ -0,0 +1 @@ +DIST virtus-1.0.5.gem 49152 BLAKE2B 24f422d96b10c38f9599c48a2018dac5b5bb8979acce1ee206b11d64d74a852ffbd276b78bd55b3b184cc109eb00d27ff1347d143695a4e06edfb94a3e87fd5b SHA512 468b74d6a49410bb4e59c535b9f7736cd5e4743817f19f97483247b0d259e17b069044bd5ccc787d72df972d37903eb7c9a9d6ca0c6642c550f1c84a3bc71825 diff --git a/dev-ruby/virtus/files/virtus-1.0.5-equalizer.patch b/dev-ruby/virtus/files/virtus-1.0.5-equalizer.patch new file mode 100644 index 000000000000..22fc19298505 --- /dev/null +++ b/dev-ruby/virtus/files/virtus-1.0.5-equalizer.patch @@ -0,0 +1,208 @@ +From 5f33f8147fc9d84e69a33758b000486ebe42c8ae Mon Sep 17 00:00:00 2001 +From: Sergey Novik <konnigun@gmail.com> +Date: Sun, 19 Jul 2015 18:11:07 +0300 +Subject: [PATCH 1/3] Add specs for attributes comparison (based on latest + Equalizer gem working version) + +--- + spec/unit/virtus/attribute/comparison_spec.rb | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + create mode 100644 spec/unit/virtus/attribute/comparison_spec.rb + +diff --git a/spec/unit/virtus/attribute/comparison_spec.rb b/spec/unit/virtus/attribute/comparison_spec.rb +new file mode 100644 +index 0000000..0b51a9c +--- /dev/null ++++ b/spec/unit/virtus/attribute/comparison_spec.rb +@@ -0,0 +1,23 @@ ++require 'spec_helper' ++ ++describe Virtus::Attribute, '#== (defined by including Virtus::Equalizer)' do ++ let(:attribute) { described_class.build(String, :name => :name) } ++ ++ # Currently that's the way it works and it happens because default_value objects ++ # don't have equalizer, resulting in attributes object mismatch. ++ # This behavior (and a spec) will need a change in future. ++ it 'returns false when attributes have same type and options' do ++ equal_attribute = described_class.build(String, :name => :name) ++ expect(attribute == equal_attribute).to be_falsey ++ end ++ ++ it 'returns false when attributes have different type' do ++ different_attribute = described_class.build(Integer, :name => :name) ++ expect(attribute == different_attribute).to be_falsey ++ end ++ ++ it 'returns false when attributes have different options' do ++ different_attribute = described_class.build(Integer, :name => :name_two) ++ expect(attribute == different_attribute).to be_falsey ++ end ++end + +From 3748f6eb2cf368d6a78fb1ef50c2724648d96a9b Mon Sep 17 00:00:00 2001 +From: Sergey Novik <konnigun@gmail.com> +Date: Sun, 19 Jul 2015 18:11:24 +0300 +Subject: [PATCH 2/3] Use Virtus::Equalizer instead of Equalizer gem in + Virtus#Attribute (behavior preserved) + +--- + lib/virtus/attribute.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/virtus/attribute.rb b/lib/virtus/attribute.rb +index 999a2ef..0654d4d 100644 +--- a/lib/virtus/attribute.rb ++++ b/lib/virtus/attribute.rb +@@ -18,7 +18,7 @@ module Virtus + class Attribute + extend DescendantsTracker, Options, TypeLookup + +- include ::Equalizer.new(:type, :options) ++ include Equalizer.new(inspect) << :type << :options + + accept_options :primitive, :accessor, :default, :lazy, :strict, :required, :finalize, :nullify_blank + + +From ef57af319334a1d4f3e0860acbde7c6d6f0eb8ef Mon Sep 17 00:00:00 2001 +From: Sergey Novik <konnigun@gmail.com> +Date: Sun, 19 Jul 2015 18:26:50 +0300 +Subject: [PATCH 3/3] Change behavior of Attribute#== method + +By changing Coercer#== and DefaultValue#== methods, we allow +Attribute#== to actually compare objects now (before, every comparison +would return `false` because of different instances of DefaultValue +model in options[:default_value] key. +--- + lib/virtus/attribute/default_value.rb | 2 ++ + lib/virtus/coercer.rb | 1 + + spec/unit/virtus/attribute/comparison_spec.rb | 7 ++----- + spec/unit/virtus/attribute_set/append_spec.rb | 8 ++++---- + spec/unit/virtus/attribute_set/element_set_spec.rb | 22 +++++++++++++++------- + spec/unit/virtus/attribute_set/merge_spec.rb | 8 +++++--- + 6 files changed, 29 insertions(+), 19 deletions(-) + +diff --git a/lib/virtus/attribute/default_value.rb b/lib/virtus/attribute/default_value.rb +index a2fcd31..eca7350 100644 +--- a/lib/virtus/attribute/default_value.rb ++++ b/lib/virtus/attribute/default_value.rb +@@ -7,6 +7,8 @@ class Attribute + class DefaultValue + extend DescendantsTracker + ++ include Equalizer.new(inspect) << :value ++ + # Builds a default value instance + # + # @return [Virtus::Attribute::DefaultValue] +diff --git a/lib/virtus/coercer.rb b/lib/virtus/coercer.rb +index a06e273..676d553 100644 +--- a/lib/virtus/coercer.rb ++++ b/lib/virtus/coercer.rb +@@ -3,6 +3,7 @@ module Virtus + # Abstract coercer class + # + class Coercer ++ include Equalizer.new(inspect) << :primitive << :type + + # @api private + attr_reader :primitive, :type +diff --git a/spec/unit/virtus/attribute/comparison_spec.rb b/spec/unit/virtus/attribute/comparison_spec.rb +index 0b51a9c..796cd20 100644 +--- a/spec/unit/virtus/attribute/comparison_spec.rb ++++ b/spec/unit/virtus/attribute/comparison_spec.rb +@@ -3,12 +3,9 @@ + describe Virtus::Attribute, '#== (defined by including Virtus::Equalizer)' do + let(:attribute) { described_class.build(String, :name => :name) } + +- # Currently that's the way it works and it happens because default_value objects +- # don't have equalizer, resulting in attributes object mismatch. +- # This behavior (and a spec) will need a change in future. +- it 'returns false when attributes have same type and options' do ++ it 'returns true when attributes have same type and options' do + equal_attribute = described_class.build(String, :name => :name) +- expect(attribute == equal_attribute).to be_falsey ++ expect(attribute == equal_attribute).to be_truthy + end + + it 'returns false when attributes have different type' do +diff --git a/spec/unit/virtus/attribute_set/append_spec.rb b/spec/unit/virtus/attribute_set/append_spec.rb +index 7fbb20a..577b07e 100644 +--- a/spec/unit/virtus/attribute_set/append_spec.rb ++++ b/spec/unit/virtus/attribute_set/append_spec.rb +@@ -38,10 +38,10 @@ + + it { is_expected.to equal(object) } + +- it 'replaces the original attribute' do +- expect { subject }.to change { object.to_a }. +- from(attributes). +- to([ attribute ]) ++ it "replaces the original attribute object" do ++ expect { subject }.to change { object.to_a.map(&:__id__) }. ++ from(attributes.map(&:__id__)). ++ to([attribute.__id__]) + end + end + end +diff --git a/spec/unit/virtus/attribute_set/element_set_spec.rb b/spec/unit/virtus/attribute_set/element_set_spec.rb +index 5db7e41..8d9c638 100644 +--- a/spec/unit/virtus/attribute_set/element_set_spec.rb ++++ b/spec/unit/virtus/attribute_set/element_set_spec.rb +@@ -37,20 +37,28 @@ + + it { is_expected.to equal(attribute) } + +- it 'replaces the original attribute' do +- expect { subject }.to change { object.to_a }.from(attributes).to([ attribute ]) ++ it "replaces the original attribute object" do ++ expect { subject }.to change { object.to_a.map(&:__id__) }. ++ from(attributes.map(&:__id__)). ++ to([attribute.__id__]) + end + +- it 'allows #[] to access the attribute with a symbol' do +- expect { subject }.to change { object['name'] }.from(original).to(attribute) ++ it 'allows #[] to access the attribute with a string' do ++ expect { subject }.to change { object['name'].__id__ }. ++ from(original.__id__). ++ to(attribute.__id__) + end + +- it 'allows #[] to access the attribute with a string' do +- expect { subject }.to change { object[:name] }.from(original).to(attribute) ++ it 'allows #[] to access the attribute with a symbol' do ++ expect { subject }.to change { object[:name].__id__ }. ++ from(original.__id__). ++ to(attribute.__id__) + end + + it 'allows #reset to track overridden attributes' do +- expect { subject }.to change { object.reset.to_a }.from(attributes).to([ attribute ]) ++ expect { subject }.to change { object.reset.to_a.map(&:__id__) }. ++ from(attributes.map(&:__id__)). ++ to([attribute.__id__]) + end + end + end +diff --git a/spec/unit/virtus/attribute_set/merge_spec.rb b/spec/unit/virtus/attribute_set/merge_spec.rb +index 72dc39c..9981ece 100644 +--- a/spec/unit/virtus/attribute_set/merge_spec.rb ++++ b/spec/unit/virtus/attribute_set/merge_spec.rb +@@ -21,12 +21,14 @@ + + context 'with a duplicate attribute' do + let(:attributes) { [Virtus::Attribute.build(String, :name => name)] } +- let(:attribute) { Virtus::Attribute.build(String, :name => name) } ++ let(:attribute) { Virtus::Attribute.build(String, :name => name) } + + it { is_expected.to equal(object) } + +- it 'replaces the original attribute' do +- expect { subject }.to change { object.to_a }.from(attributes).to([attribute]) ++ it "replaces the original attribute object" do ++ expect { subject }.to change { object.to_a.map(&:__id__) }. ++ from(attributes.map(&:__id__)). ++ to([attribute.__id__]) + end + end + end diff --git a/dev-ruby/virtus/metadata.xml b/dev-ruby/virtus/metadata.xml new file mode 100644 index 000000000000..c5625d871962 --- /dev/null +++ b/dev-ruby/virtus/metadata.xml @@ -0,0 +1,13 @@ +<?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">solnic/virtus</remote-id> + <remote-id type="rubygems">virtus</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/virtus/virtus-1.0.5.ebuild b/dev-ruby/virtus/virtus-1.0.5.ebuild new file mode 100644 index 000000000000..54d033f79d7f --- /dev/null +++ b/dev-ruby/virtus/virtus-1.0.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md CONTRIBUTING.md README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Attributes on Steroids for Plain Old Ruby Objects" +HOMEPAGE="https://github.com/solnic/virtus https://rubygems.org/gems/virtus" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +PATCHES=( "${FILESDIR}/${P}-equalizer.patch" ) + +ruby_add_rdepend ">=dev-ruby/axiom-types-0.1 + <dev-ruby/axiom-types-1 + >=dev-ruby/coercible-1.0 + <dev-ruby/coercible-2 + >=dev-ruby/descendants_tracker-0.0.3 + <dev-ruby/descendants_tracker-1 + >=dev-ruby/equalizer-0.0.9 + <dev-ruby/equalizer-1" + +ruby_add_bdepend "test? ( + dev-ruby/inflecto + dev-ruby/bogus +)" diff --git a/dev-ruby/vlad/Manifest b/dev-ruby/vlad/Manifest new file mode 100644 index 000000000000..dc62b3b46bc7 --- /dev/null +++ b/dev-ruby/vlad/Manifest @@ -0,0 +1 @@ +DIST vlad-2.7.0.gem 29184 BLAKE2B 5eda039d0d618950089ce743cde95c011edd476573058064d3c20b55bca9ce598ddafb352902fc48d9f4d7dbd0cf3a26b6c39acdf5d592a35654aeb8d62fcfb4 SHA512 088739f975e7b9b218b76518a690a7a1fbc534dbc169a704b769a8e99bc5efe0c915012d65a35590fb8f1a27caff4d7c7eaae325431a28ffa973afb25d5890fb diff --git a/dev-ruby/vlad/metadata.xml b/dev-ruby/vlad/metadata.xml new file mode 100644 index 000000000000..e423bb1a665c --- /dev/null +++ b/dev-ruby/vlad/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/vlad</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/vlad/vlad-2.7.0.ebuild b/dev-ruby/vlad/vlad-2.7.0.ebuild new file mode 100644 index 000000000000..a4e74ebefc07 --- /dev/null +++ b/dev-ruby/vlad/vlad-2.7.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="considerations.txt History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Pragmatic application deployment automation, without mercy" +HOMEPAGE="https://github.com/seattlerb/vlad" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend ">=dev-ruby/hoe-3.13 + test? ( >=dev-ruby/minitest-5.7 )" +ruby_add_rdepend ">=dev-ruby/rake-remote_task-2.3" + +all_ruby_prepare() { + # Keep Isolate from managing the dependencies. + sed -i -e '/isolate/ s:^:#:' -e '/rubyforge/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/warden/Manifest b/dev-ruby/warden/Manifest new file mode 100644 index 000000000000..639e20741db3 --- /dev/null +++ b/dev-ruby/warden/Manifest @@ -0,0 +1 @@ +DIST warden-1.2.8.tar.gz 29841 BLAKE2B 657f9d1b5a7fbf3b07ac8cfa514c410561cce853cbc2e6c7bf6d98deab8f625771b20d339613738a979395638b654b066080fad5a7378b15345cb46e273966c9 SHA512 efd7a416f2da3095d6d33c2dca3a7e09d127fb0abec86e959aba56739ae865ea9a11e234ea1f6d557466d9076e3f271481e20982bc159a3f09a4d55148d45734 diff --git a/dev-ruby/warden/metadata.xml b/dev-ruby/warden/metadata.xml new file mode 100644 index 000000000000..5e201960b086 --- /dev/null +++ b/dev-ruby/warden/metadata.xml @@ -0,0 +1,12 @@ +<?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">hassox/warden</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/warden/warden-1.2.8.ebuild b/dev-ruby/warden/warden-1.2.8.ebuild new file mode 100644 index 000000000000..3a84077a9c0b --- /dev/null +++ b/dev-ruby/warden/warden-1.2.8.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="General Rack Authentication Framework" +HOMEPAGE="https://github.com/wardencommunity/warden" +SRC_URI="https://github.com/wardencommunity/warden/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-2.0.6:2.0" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '5igem "rack", "~>2.0.6"' spec/spec_helper.rb || die +} diff --git a/dev-ruby/web-console/Manifest b/dev-ruby/web-console/Manifest new file mode 100644 index 000000000000..9a9d571ee3c4 --- /dev/null +++ b/dev-ruby/web-console/Manifest @@ -0,0 +1,3 @@ +DIST web-console-3.7.0.tar.gz 53714 BLAKE2B d69a7b467e419e87d43c988026f278aea5ca142e336d120e0a50ef85b36186d2f388d551f19820e01d85fdca5a49c471aed69cb2ae0d6f1828a99350dfe86d55 SHA512 d44e4dc3ef12216829b3f522e3645b0fa9b8ae34fa70b5e52a96e345b8b5fc8dad9af6f9918ea23d276cae03445133b15f780041a8cb61584b182ca6934fd71b +DIST web-console-4.0.1.tar.gz 54076 BLAKE2B d1c93d828f7c0c33edaac664e2f763aff55bd8437c3f8e3b20cc5c065129a0b213234ea372147d5d6df0917d17cc458e63dad1aa64f9cbd67fbf0a02ab631c5e SHA512 7f2d931b94fc2e51edd28ca0f83473c382bd7ade6e425dd9c79770885efcdfbcf6a3a3223d36572d749da15b05126fd287412d2365d9faa33039de4bcb1c9b27 +DIST web-console-4.0.2.tar.gz 54115 BLAKE2B fe1250ee27cb4df4367e6578d8f644be28fc0cc93b4c9df0f130490d57af1cf14e0d98459ea8404bd7633eb9ec88e6723626d69ec9ea8e39c8566d14c0d3eb04 SHA512 471728a66148bca36c2d7130bbb63d3fa427318bcf01a424b0e26781657990fcc836fb8707a53c396ab934003e53bb9282130a7cd36168007c774beb49e15d4d diff --git a/dev-ruby/web-console/metadata.xml b/dev-ruby/web-console/metadata.xml new file mode 100644 index 000000000000..f428fa81f7e2 --- /dev/null +++ b/dev-ruby/web-console/metadata.xml @@ -0,0 +1,12 @@ +<?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">rails/web-console</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/web-console/web-console-3.7.0.ebuild b/dev-ruby/web-console/web-console-3.7.0.ebuild new file mode 100644 index 000000000000..01beea3d2e88 --- /dev/null +++ b/dev-ruby/web-console/web-console-3.7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown" + +RUBY_FAKEGEM_GEMSPEC="web-console.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A debugging tool for your Ruby on Rails applications" +HOMEPAGE="https://github.com/rails/web-console" +SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/actionview-5.0:* + >=dev-ruby/activemodel-5.0:* + >=dev-ruby/bindex-0.4.0 + >=dev-ruby/railties-5.0:* +" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + >=dev-ruby/rails-5.0 + dev-ruby/sqlite3 + dev-ruby/mocha + www-servers/puma +)" + +all_ruby_prepare() { + # Use an installed rails version rather than live source from github. + sed -i -e '/\(rack\|rails\|simplecov\)/ s/,/#/' \ + -e '/\(byebug\|simplecov\)/ s:^:#:' Gemfile || die + + sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/web-console/web-console-4.0.1.ebuild b/dev-ruby/web-console/web-console-4.0.1.ebuild new file mode 100644 index 000000000000..fc404eb434cc --- /dev/null +++ b/dev-ruby/web-console/web-console-4.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown" + +RUBY_FAKEGEM_GEMSPEC="web-console.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A debugging tool for your Ruby on Rails applications" +HOMEPAGE="https://github.com/rails/web-console" +SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/actionview-6.0:* + >=dev-ruby/activemodel-6.0:* + >=dev-ruby/bindex-0.4.0 + >=dev-ruby/railties-6.0:* +" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + >=dev-ruby/rails-6.0 + dev-ruby/sqlite3 + dev-ruby/mocha + www-servers/puma +)" + +all_ruby_prepare() { + # Use an installed rails version rather than live source from github. + sed -i -e '/\(rack\|rails\|simplecov\)/ s/,/#/' \ + -e '/\(byebug\|simplecov\)/ s:^:#:' Gemfile || die + + sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/web-console/web-console-4.0.2.ebuild b/dev-ruby/web-console/web-console-4.0.2.ebuild new file mode 100644 index 000000000000..4b777aa1bc85 --- /dev/null +++ b/dev-ruby/web-console/web-console-4.0.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown" + +RUBY_FAKEGEM_GEMSPEC="web-console.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A debugging tool for your Ruby on Rails applications" +HOMEPAGE="https://github.com/rails/web-console" +SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/actionview-6.0:* + >=dev-ruby/activemodel-6.0:* + >=dev-ruby/bindex-0.4.0 + >=dev-ruby/railties-6.0:* +" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + >=dev-ruby/rails-6.0 + dev-ruby/arel + <dev-ruby/rack-2.1 + dev-ruby/sqlite3 + dev-ruby/mocha + www-servers/puma +)" + +all_ruby_prepare() { + # Use an installed rails version rather than live source from github. + sed -i -e '/\(rack\|arel\|rails\|simplecov\)/ s/,/#/' \ + -e '/rack/ s/rack"/rack", "<2.1"/' \ + -e '/\(byebug\|simplecov\)/ s:^:#:' Gemfile || die + + sed -i -e '/simplecov/I s:^:#:' test/test_helper.rb || die +} diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest new file mode 100644 index 000000000000..71c55a952e10 --- /dev/null +++ b/dev-ruby/webmock/Manifest @@ -0,0 +1,4 @@ +DIST webmock-3.7.6.gem 122368 BLAKE2B 9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9 SHA512 85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd +DIST webmock-3.8.1.gem 122368 BLAKE2B ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2 SHA512 b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c +DIST webmock-3.8.2.gem 122880 BLAKE2B 0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701 SHA512 ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4 +DIST webmock-3.8.3.gem 122880 BLAKE2B 66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304 SHA512 6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507 diff --git a/dev-ruby/webmock/metadata.xml b/dev-ruby/webmock/metadata.xml new file mode 100644 index 000000000000..8c9565661b0f --- /dev/null +++ b/dev-ruby/webmock/metadata.xml @@ -0,0 +1,12 @@ +<?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">bblimke/webmock</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/webmock/webmock-3.7.6.ebuild b/dev-ruby/webmock/webmock-3.7.6.ebuild new file mode 100644 index 000000000000..21a23c1b14e7 --- /dev/null +++ b/dev-ruby/webmock/webmock-3.7.6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" +HOMEPAGE="https://github.com/bblimke/webmock" + +LICENSE="GPL-2" +SLOT="3" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/rspec:3 + >=dev-ruby/test-unit-3.0.0 + dev-ruby/rack + >=dev-ruby/httpclient-2.8.0 + || ( dev-ruby/http:4 dev-ruby/http:3 ) )" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '1igem "test-unit"' test/test_helper.rb || die + + # There is now optional support for curb and typhoeus which we don't + # have in Gentoo yet. em_http_request is available in Gentoo but its + # version is too old. patron's latest version is not compatible. + sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die + rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die + + # Avoid httpclient specs that require network access, most likely + # because mocking does not fully work. + sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ + -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ + spec/acceptance/httpclient/httpclient_spec.rb + + # Avoid specs that require network access + sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb +} + +each_ruby_test() { + ${RUBY} -S rake test NO_CONNECTION=true || die + ${RUBY} -S rspec-3 spec || die + + einfo "Delay to allow the test server to stop" + sleep 10 +} diff --git a/dev-ruby/webmock/webmock-3.8.1.ebuild b/dev-ruby/webmock/webmock-3.8.1.ebuild new file mode 100644 index 000000000000..0273386c2d46 --- /dev/null +++ b/dev-ruby/webmock/webmock-3.8.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" +HOMEPAGE="https://github.com/bblimke/webmock" + +LICENSE="GPL-2" +SLOT="3" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/rspec:3 + >=dev-ruby/test-unit-3.0.0 + dev-ruby/rack + >=dev-ruby/httpclient-2.8.0 + || ( dev-ruby/http:4 dev-ruby/http:3 ) )" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '1igem "test-unit"' test/test_helper.rb || die + + # There is now optional support for curb and typhoeus which we don't + # have in Gentoo yet. em_http_request is available in Gentoo but its + # version is too old. patron's latest version is not compatible. + sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die + rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die + + # Avoid httpclient specs that require network access, most likely + # because mocking does not fully work. + sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ + -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ + spec/acceptance/httpclient/httpclient_spec.rb + + # Avoid specs that require network access + sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb +} + +each_ruby_test() { + ${RUBY} -S rake test NO_CONNECTION=true || die + ${RUBY} -S rspec-3 spec || die + + einfo "Delay to allow the test server to stop" + sleep 10 +} diff --git a/dev-ruby/webmock/webmock-3.8.2.ebuild b/dev-ruby/webmock/webmock-3.8.2.ebuild new file mode 100644 index 000000000000..0273386c2d46 --- /dev/null +++ b/dev-ruby/webmock/webmock-3.8.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" +HOMEPAGE="https://github.com/bblimke/webmock" + +LICENSE="GPL-2" +SLOT="3" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/rspec:3 + >=dev-ruby/test-unit-3.0.0 + dev-ruby/rack + >=dev-ruby/httpclient-2.8.0 + || ( dev-ruby/http:4 dev-ruby/http:3 ) )" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '1igem "test-unit"' test/test_helper.rb || die + + # There is now optional support for curb and typhoeus which we don't + # have in Gentoo yet. em_http_request is available in Gentoo but its + # version is too old. patron's latest version is not compatible. + sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die + rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die + + # Avoid httpclient specs that require network access, most likely + # because mocking does not fully work. + sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ + -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ + spec/acceptance/httpclient/httpclient_spec.rb + + # Avoid specs that require network access + sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb +} + +each_ruby_test() { + ${RUBY} -S rake test NO_CONNECTION=true || die + ${RUBY} -S rspec-3 spec || die + + einfo "Delay to allow the test server to stop" + sleep 10 +} diff --git a/dev-ruby/webmock/webmock-3.8.3.ebuild b/dev-ruby/webmock/webmock-3.8.3.ebuild new file mode 100644 index 000000000000..0273386c2d46 --- /dev/null +++ b/dev-ruby/webmock/webmock-3.8.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" +HOMEPAGE="https://github.com/bblimke/webmock" + +LICENSE="GPL-2" +SLOT="3" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + dev-ruby/rspec:3 + >=dev-ruby/test-unit-3.0.0 + dev-ruby/rack + >=dev-ruby/httpclient-2.8.0 + || ( dev-ruby/http:4 dev-ruby/http:3 ) )" + +all_ruby_prepare() { + # Remove bundler support + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + sed -i -e '1igem "test-unit"' test/test_helper.rb || die + + # There is now optional support for curb and typhoeus which we don't + # have in Gentoo yet. em_http_request is available in Gentoo but its + # version is too old. patron's latest version is not compatible. + sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die + rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die + + # Avoid httpclient specs that require network access, most likely + # because mocking does not fully work. + sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ + -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ + spec/acceptance/httpclient/httpclient_spec.rb + + # Avoid specs that require network access + sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb +} + +each_ruby_test() { + ${RUBY} -S rake test NO_CONNECTION=true || die + ${RUBY} -S rspec-3 spec || die + + einfo "Delay to allow the test server to stop" + sleep 10 +} diff --git a/dev-ruby/webrobots/Manifest b/dev-ruby/webrobots/Manifest new file mode 100644 index 000000000000..e5b696a34362 --- /dev/null +++ b/dev-ruby/webrobots/Manifest @@ -0,0 +1 @@ +DIST webrobots-0.1.2.gem 24064 BLAKE2B e77c7b83b16faa7c6d65f6133a5e2231a4e270d8463251c2e6a91a5bd1f11af431d4bca4f11bf40e2e84829c1b8256a39d048a371ce4a062af6bba9dafe25c49 SHA512 8b2a27a1758e613bced16b59a2b1708f468921388882d7ea483c7b6cbb5173fa24032f4db271734820225c5e90d3f30d07c5fb682d0d807c637f535ef7256097 diff --git a/dev-ruby/webrobots/metadata.xml b/dev-ruby/webrobots/metadata.xml new file mode 100644 index 000000000000..a578d9342d12 --- /dev/null +++ b/dev-ruby/webrobots/metadata.xml @@ -0,0 +1,13 @@ +<?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="rubygems">webrobots</remote-id> + <remote-id type="github">knu/webrobots</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild b/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild new file mode 100644 index 000000000000..c24d5f4d202a --- /dev/null +++ b/dev-ruby/webrobots/webrobots-0.1.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A library to help write robots.txt compliant web robots" +HOMEPAGE="https://github.com/knu/webrobots" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4" + +ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/test-unit:2 dev-ruby/webmock dev-ruby/vcr )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die + + # Avoid tests for live websites requirering a network connection. + sed -i -e '/robots.txt in the real world/,/^ end/ s:^:#:' test/test_webrobots.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/test_*.rb +} diff --git a/dev-ruby/websocket-driver/Manifest b/dev-ruby/websocket-driver/Manifest new file mode 100644 index 000000000000..db49c1563ab2 --- /dev/null +++ b/dev-ruby/websocket-driver/Manifest @@ -0,0 +1,4 @@ +DIST websocket-driver-0.6.5.tar.gz 24737 BLAKE2B 137c16a69309a1aad07fff663ff95a888a151f0fa20e78e754ae62ddfc8c2bdbfda926d7f4c53549e92646d018df7f374721e95246eb2985012e6b219970c4c6 SHA512 6915fdefac26a24e1f7d3d9a7e6bc6afc84b491150290a75a14243c233f5029d7d6e90a803b34bd6a8e8717322c6ae6fd4d3f3dad7a50c8eb18f17c3f2e9bbd0 +DIST websocket-driver-0.7.0.tar.gz 25557 BLAKE2B 5d8af63c50b9c61b05e822a3bef7bd9c15a25875afa2cb0eb909f174801ff10445452c11d83790d9053438ea5556d91739bba27b2c1d6b5dc93397fbfa64bfd6 SHA512 cc022a53c546e66eb2b7ab04ff2a809ad22087343807f0e31c51e36e028123d808cbfc1956bc8e14d1fd913661664302a41ae5abc9a34562562da2e5cba58368 +DIST websocket-driver-0.7.1.tar.gz 25722 BLAKE2B 6046fe93a52ef958fa22402f67d544cb4375248997cc5104bd6ff46fde40493f3b342a29aec5a803e5d884528ee593f605e30150eb1e770508ef26b2af126cda SHA512 77e285eb038c0bff612f24f2edb79747ab37d167d861a7e580827da2ff5bc371cbb76041dbe47224384e58c1beaea7ef78cd875d08f218fb1ca9c4657783efaa +DIST websocket-driver-0.7.2.tar.gz 25998 BLAKE2B a14af62a6189a4ec476352fd587e210e6ecf7f48845e06aae87a3bf78d7f55a1dd50177b29d5759416c6debf24b8d249fa2cf41f1a282044ecef8cd6fa963adf SHA512 05a0ae12e8fcf1c6734bedd8837857d71387844cbfbb768d8b81d8b890e3735c272b7a397ee9f3d20db82939a06694e4bbc6a42d06436911997588917b7fe7af diff --git a/dev-ruby/websocket-driver/metadata.xml b/dev-ruby/websocket-driver/metadata.xml new file mode 100644 index 000000000000..9c84093a0c54 --- /dev/null +++ b/dev-ruby/websocket-driver/metadata.xml @@ -0,0 +1,12 @@ +<?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">faye/websocket-driver-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/websocket-driver/websocket-driver-0.6.5.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.6.5.ebuild new file mode 100644 index 000000000000..71ee4dc6b7a8 --- /dev/null +++ b/dev-ruby/websocket-driver/websocket-driver-0.6.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A complete implementation of the WebSocket protocols" +HOMEPAGE="https://github.com/faye/websocket-driver-ruby" +SRC_URI="https://github.com/faye/websocket-driver-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/websocket-extensions-0.1.0" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/websocket-driver extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/websocket-driver + cp ext/websocket-driver/websocket_mask.so lib/ || die +} diff --git a/dev-ruby/websocket-driver/websocket-driver-0.7.0.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.7.0.ebuild new file mode 100644 index 000000000000..391319022a1e --- /dev/null +++ b/dev-ruby/websocket-driver/websocket-driver-0.7.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A complete implementation of the WebSocket protocols" +HOMEPAGE="https://github.com/faye/websocket-driver-ruby" +SRC_URI="https://github.com/faye/websocket-driver-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0.7" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/websocket-extensions-0.1.0" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/websocket-driver extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/websocket-driver + cp ext/websocket-driver/websocket_mask.so lib/ || die +} diff --git a/dev-ruby/websocket-driver/websocket-driver-0.7.1.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.7.1.ebuild new file mode 100644 index 000000000000..733c851e13ca --- /dev/null +++ b/dev-ruby/websocket-driver/websocket-driver-0.7.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A complete implementation of the WebSocket protocols" +HOMEPAGE="https://github.com/faye/websocket-driver-ruby" +SRC_URI="https://github.com/faye/websocket-driver-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0.7" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/websocket-extensions-0.1.0" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/websocket-driver extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/websocket-driver + cp ext/websocket-driver/websocket_mask.so lib/ || die +} diff --git a/dev-ruby/websocket-driver/websocket-driver-0.7.2.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.7.2.ebuild new file mode 100644 index 000000000000..8513f92d88d6 --- /dev/null +++ b/dev-ruby/websocket-driver/websocket-driver-0.7.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A complete implementation of the WebSocket protocols" +HOMEPAGE="https://github.com/faye/websocket-driver-ruby" +SRC_URI="https://github.com/faye/websocket-driver-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0.7" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/websocket-extensions-0.1.0" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/websocket-driver extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/websocket-driver + cp ext/websocket-driver/websocket_mask.so lib/ || die +} diff --git a/dev-ruby/websocket-extensions/Manifest b/dev-ruby/websocket-extensions/Manifest new file mode 100644 index 000000000000..25382f22ef52 --- /dev/null +++ b/dev-ruby/websocket-extensions/Manifest @@ -0,0 +1,2 @@ +DIST websocket-extensions-0.1.4.tar.gz 9666 BLAKE2B 21446168b3f7c4a52fe25ddffcaeb31bd1e8f2d8c459b19871cf15f03934b6e25793aa15baad639ec07a4eba399b16343b23889d05d417b83e097846e15e9d8c SHA512 928b3cdf66a6cb16a0a735ea8335b861af9dd8c4b6962a2a9132dd538d452c81dd683a7648e194bc81db4cd8b52f52203145c5c90475e00157315e46a09a53fa +DIST websocket-extensions-0.1.5.tar.gz 9784 BLAKE2B 0e7284363876568d62988f71faeec4105600f7f09748ab8256747e14c3ce361d4cbc6834b93142e363ed38b02012aabf79d1d9e0f29ca31532d2e6d069dfdff8 SHA512 660a7f03215ab3cfee1622bca5348780f8d665314f7ad2526e114a1ace169799457e1ff30303711819581202edda0539a622e20e91afe51d7b3fd571c1a7aab5 diff --git a/dev-ruby/websocket-extensions/metadata.xml b/dev-ruby/websocket-extensions/metadata.xml new file mode 100644 index 000000000000..54359ddce362 --- /dev/null +++ b/dev-ruby/websocket-extensions/metadata.xml @@ -0,0 +1,12 @@ +<?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">faye/websocket-extensions-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/websocket-extensions/websocket-extensions-0.1.4.ebuild b/dev-ruby/websocket-extensions/websocket-extensions-0.1.4.ebuild new file mode 100644 index 000000000000..9a098965ed3c --- /dev/null +++ b/dev-ruby/websocket-extensions/websocket-extensions-0.1.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Generic extension manager for WebSocket connections" +HOMEPAGE="https://github.com/faye/websocket-extensions-ruby" +SRC_URI="https://github.com/faye/websocket-extensions-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" diff --git a/dev-ruby/websocket-extensions/websocket-extensions-0.1.5.ebuild b/dev-ruby/websocket-extensions/websocket-extensions-0.1.5.ebuild new file mode 100644 index 000000000000..dab7a5a816b0 --- /dev/null +++ b/dev-ruby/websocket-extensions/websocket-extensions-0.1.5.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="websocket-extensions.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Generic extension manager for WebSocket connections" +HOMEPAGE="https://github.com/faye/websocket-extensions-ruby" +SRC_URI="https://github.com/faye/websocket-extensions-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" diff --git a/dev-ruby/websocket/Manifest b/dev-ruby/websocket/Manifest new file mode 100644 index 000000000000..39db5e852acd --- /dev/null +++ b/dev-ruby/websocket/Manifest @@ -0,0 +1 @@ +DIST websocket-1.2.8.gem 28160 BLAKE2B 25c7c055710f8d42d44417b3127de9a5ff8ef87dbf766cd468a88bfe116fcaa4f7d36b3caccb5780f2a1b4be05e5c4bcc74efffe6c2f4b65d0f1c8d12055b2a2 SHA512 42630e9d577a0fcbfa9f28ba487d12e4d96c59c615dddf91f810abc151a716aa9eaac3788999cb8eb2e729eff92fe8d262639b4b460029690994c710e78c138c diff --git a/dev-ruby/websocket/metadata.xml b/dev-ruby/websocket/metadata.xml new file mode 100644 index 000000000000..cec2f533b178 --- /dev/null +++ b/dev-ruby/websocket/metadata.xml @@ -0,0 +1,12 @@ +<?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">imanel/websocket-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/websocket/websocket-1.2.8.ebuild b/dev-ruby/websocket/websocket-1.2.8.ebuild new file mode 100644 index 000000000000..81421d738bf7 --- /dev/null +++ b/dev-ruby/websocket/websocket-1.2.8.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Universal Ruby library to handle WebSocket protocol" +HOMEPAGE="https://github.com/imanel/websocket-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rspec-its )" diff --git a/dev-ruby/whole_history_rating/Manifest b/dev-ruby/whole_history_rating/Manifest new file mode 100644 index 000000000000..4da63267e27e --- /dev/null +++ b/dev-ruby/whole_history_rating/Manifest @@ -0,0 +1 @@ +DIST whole_history_rating-0.1.2.gem 9728 BLAKE2B 506354634ab0390b7805e31ee1982309a903000b69a20992cfa53196da8e685b4ea1c89df7ed96ddd4fc5c8a8974d23dc48625d3e93ebbc09121b32e0ab7216e SHA512 4ee9a3340a5bbe1a0250b469c1210663ff226a1884d13729e169d2c04ef57c615bef117a641d6ac3b29b5d72147009149c291e1f7ad8c4c8028ad3e6fb44c56c diff --git a/dev-ruby/whole_history_rating/metadata.xml b/dev-ruby/whole_history_rating/metadata.xml new file mode 100644 index 000000000000..b3e614fcf82c --- /dev/null +++ b/dev-ruby/whole_history_rating/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lssndrbarbieri@gmail.com</email> + <name>Alessandro Barbieri</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Ruby project</name> + </maintainer> + <upstream> + <remote-id type="github">goshrine/whole_history_rating</remote-id> + </upstream> + <longdescription lang="en">This gem provides a library and executables that take as input as set of games and output a set of skill rankings for the players of those games. The algorithm is a version of Remi Coulom's Whole-History Rating modified to support handicaps, and implemented in Ruby. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/whole_history_rating/whole_history_rating-0.1.2-r1.ebuild b/dev-ruby/whole_history_rating/whole_history_rating-0.1.2-r1.ebuild new file mode 100644 index 000000000000..599a57c21a2a --- /dev/null +++ b/dev-ruby/whole_history_rating/whole_history_rating-0.1.2-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test_units" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A pure ruby implementation of Remi Coulom's Whole-History Rating algorithm" +HOMEPAGE="https://github.com/goshrine/whole_history_rating" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend " + test? ( + dev-ruby/test-unit:2 + ) +" diff --git a/dev-ruby/whole_history_rating/whole_history_rating-0.1.2.ebuild b/dev-ruby/whole_history_rating/whole_history_rating-0.1.2.ebuild new file mode 100644 index 000000000000..f3d764e9d562 --- /dev/null +++ b/dev-ruby/whole_history_rating/whole_history_rating-0.1.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A pure ruby implementation of Remi Coulom's Whole-History Rating algorithm" +HOMEPAGE="https://github.com/goshrine/whole_history_rating" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +ruby_add_bdepend " + test? ( + dev-ruby/test-unit:2 + ) +" + +all_ruby_prepare (){ + sed -i 's/git ls-files/ls -1/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + default +} diff --git a/dev-ruby/will_paginate/Manifest b/dev-ruby/will_paginate/Manifest new file mode 100644 index 000000000000..899a54fdc0e6 --- /dev/null +++ b/dev-ruby/will_paginate/Manifest @@ -0,0 +1,2 @@ +DIST will_paginate-3.2.1.gem 37888 BLAKE2B 94737d52b755d51ba52310a131409ebb4eb4d68cfafd45e931460bf0584158ac4774e7a9d1a93f41bc512b306687b45572ef90bf80302ad21ea2012486f94f5b SHA512 8b98a52d95f1f4eb253900103ef6664070e04c1f5144bd97ac66762b11a2098637a0233e1390ed80620dd16565154f6a43995c5e32028f88f2de6cb7af01c714 +DIST will_paginate-3.3.0.gem 37888 BLAKE2B f1d2178086c7b7efc0ef46d8cccd64f3c0ed54427c3d499e88f7ba4fc3d1eef086060b3dd7e365cddf16558721c500652d0cc252e18618a9f5dbc01ff9ba2f04 SHA512 2114683e16642e4d06523ba69d26438a7111687f73d3ab89bfcf7a413ce5ea68cb076c4f887f34efcd9c6d5525260e9367a5b502ccde5658f3e21f7f0dba12ab diff --git a/dev-ruby/will_paginate/metadata.xml b/dev-ruby/will_paginate/metadata.xml new file mode 100644 index 000000000000..db920594236e --- /dev/null +++ b/dev-ruby/will_paginate/metadata.xml @@ -0,0 +1,12 @@ +<?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">mislav/will_paginate</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/will_paginate/will_paginate-3.2.1.ebuild b/dev-ruby/will_paginate/will_paginate-3.2.1.ebuild new file mode 100644 index 000000000000..3c47cb11bdea --- /dev/null +++ b/dev-ruby/will_paginate/will_paginate-3.2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Most awesome pagination solution for Ruby" +HOMEPAGE="https://github.com/mislav/will_paginate/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86-macos" +IUSE="" + +all_ruby_prepare() { + # Remove tests for unpackaged ORMs + rm -f spec/finders/{sequel,mongoid,data_mapper}* || die +} + +ruby_add_bdepend " + test? ( + dev-ruby/rails + dev-ruby/mocha + )" diff --git a/dev-ruby/will_paginate/will_paginate-3.3.0.ebuild b/dev-ruby/will_paginate/will_paginate-3.3.0.ebuild new file mode 100644 index 000000000000..3a5f5a7925e8 --- /dev/null +++ b/dev-ruby/will_paginate/will_paginate-3.3.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Most awesome pagination solution for Ruby" +HOMEPAGE="https://github.com/mislav/will_paginate/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86-macos" +IUSE="" + +all_ruby_prepare() { + # Remove tests for unpackaged ORMs + rm -f spec/finders/{sequel,mongoid,data_mapper}* || die +} + +ruby_add_bdepend " + test? ( + dev-ruby/rails + dev-ruby/sqlite3 + dev-ruby/mocha + )" diff --git a/dev-ruby/windows_error/Manifest b/dev-ruby/windows_error/Manifest new file mode 100644 index 000000000000..fee231d43444 --- /dev/null +++ b/dev-ruby/windows_error/Manifest @@ -0,0 +1 @@ +DIST windows_error-0.1.2.gem 227328 BLAKE2B 99cd75d66f3e3322d62daea39a8e217dfeda89141ec3d78c61a29306b78206a40c4bd7867d59a783752da20007b43c45577ec3afe53b7037b850d4983f482e4b SHA512 32e94e561f53f77c5efff5457068e31e66b1d3c73531870b52af00297f69341e390b6d8419a0c0b78ec05f6b65be6456128b9055c143e7b65663520baeac90ad diff --git a/dev-ruby/windows_error/metadata.xml b/dev-ruby/windows_error/metadata.xml new file mode 100644 index 000000000000..2ec1b1f9d24d --- /dev/null +++ b/dev-ruby/windows_error/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">rapid7/windows_error</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/windows_error/windows_error-0.1.2.ebuild b/dev-ruby/windows_error/windows_error-0.1.2.ebuild new file mode 100644 index 000000000000..c910f5d16f0f --- /dev/null +++ b/dev-ruby/windows_error/windows_error-0.1.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem versionator + +DESCRIPTION="reference for standard Windows API Error Codes" +HOMEPAGE="https://github.com/rapid7/windows_error" + +LICENSE="BSD" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +all_ruby_prepare() { + rm -f .rspec || die +} diff --git a/dev-ruby/wirble/Manifest b/dev-ruby/wirble/Manifest new file mode 100644 index 000000000000..c057b752b4ac --- /dev/null +++ b/dev-ruby/wirble/Manifest @@ -0,0 +1 @@ +DIST wirble-0.1.3.gem 23552 BLAKE2B efecdea2e23e6ae9c659586d8b58fae279bacfb1470f8985a4df23407a937415d8db0eef6d7edda19452479a11549cd642e318ebb65cf23ac7067d6b2d95274a SHA512 efb3b233ed13fa28f0a9b746311af24c48266b4f80ce42670550687a24b31bd90c5d0799d68aa0e797ffbffd1d3dbebe86ba39cb02e697eb426dfc9f8d606678 diff --git a/dev-ruby/wirble/metadata.xml b/dev-ruby/wirble/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/wirble/metadata.xml @@ -0,0 +1,9 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/wirble/wirble-0.1.3-r4.ebuild b/dev-ruby/wirble/wirble-0.1.3-r4.ebuild new file mode 100644 index 000000000000..bd908b0b2b55 --- /dev/null +++ b/dev-ruby/wirble/wirble-0.1.3-r4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README ChangeLog" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="Wirble is a set of enhancements for Irb" +HOMEPAGE="http://pablotron.org/software/wirble/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +pkg_postinst() { + elog "The quick way to use wirble is to make your ~/.irbrc look like this:" + elog " # load libraries" + elog " require 'rubygems'" + elog " require 'wirble'" + elog " " + elog " # start wirble (with color)" + elog " Wirble.init" + elog " Wirble.colorize" +} diff --git a/dev-ruby/wisper/Manifest b/dev-ruby/wisper/Manifest new file mode 100644 index 000000000000..828c62530421 --- /dev/null +++ b/dev-ruby/wisper/Manifest @@ -0,0 +1,2 @@ +DIST wisper-2.0.0.gem 21504 BLAKE2B 6a15adcc4424810ebaeab3bc77a1508df52fb96817edb4e04a620196eeef0e4ff773dcb384e11be93effc13773a642db96f83d93651bac97f137d70985514123 SHA512 0c932f799ea1bb4c9d11ebee72a36d5b2c6c3547ab50d44dcab3e666b00b6e2068bec76d3417d2e7f62cb33c7450aafabcfd2b823b4080946a2fc1731240b521 +DIST wisper-2.0.1.gem 26112 BLAKE2B 3dc78cecb80e052ec8bc308d02e5093ca55fc7d26a1dd98614907707d62d15e0cea1a20c7843ca7e6ee175800d320c3ef5854396505aaf0648161153b0e61368 SHA512 3518c218c0cb4ceb5d96260f7ac8845fb2f35d4a77c478cb56f1251fc29910a655ce070ebf3c17eaffd7d144ac54b436420bd2b2c4f72a8743f68dfdd72a514c diff --git a/dev-ruby/wisper/metadata.xml b/dev-ruby/wisper/metadata.xml new file mode 100644 index 000000000000..b2afe71f656f --- /dev/null +++ b/dev-ruby/wisper/metadata.xml @@ -0,0 +1,12 @@ +<?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">krisleech/wisper</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/wisper/wisper-2.0.0.ebuild b/dev-ruby/wisper/wisper-2.0.0.ebuild new file mode 100644 index 000000000000..d61903efec6e --- /dev/null +++ b/dev-ruby/wisper/wisper-2.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A micro library providing objects with Publish-Subscribe capabilities" +HOMEPAGE="https://github.com/krisleech/wisper" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/wisper/wisper-2.0.1.ebuild b/dev-ruby/wisper/wisper-2.0.1.ebuild new file mode 100644 index 000000000000..fbe9a40b4ed6 --- /dev/null +++ b/dev-ruby/wisper/wisper-2.0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A micro library providing objects with Publish-Subscribe capabilities" +HOMEPAGE="https://github.com/krisleech/wisper" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/x25519/Manifest b/dev-ruby/x25519/Manifest new file mode 100644 index 000000000000..4e3929e2a389 --- /dev/null +++ b/dev-ruby/x25519/Manifest @@ -0,0 +1 @@ +DIST x25519-1.0.8.tar.gz 44313 BLAKE2B 844408f6bb77b55a2ca0222c46d4d09688838d7fc86517636a465da7fb225d9de2f14fda3d38d593f0feddb5e4aeab28ec900766a190759139bf05f6e0e6bd56 SHA512 42a9a2f1c470ea82c070435e4d85317c69fbd6e994f765c46b3aa4b544a5557559ff36194e37100bd8f581711156d185117535aeb3da9f5b6b5523e5a4b347b6 diff --git a/dev-ruby/x25519/metadata.xml b/dev-ruby/x25519/metadata.xml new file mode 100644 index 000000000000..cba08bf5b5f6 --- /dev/null +++ b/dev-ruby/x25519/metadata.xml @@ -0,0 +1,12 @@ +<?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">crypto-rb/x25519</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild b/dev-ruby/x25519/x25519-1.0.8.ebuild new file mode 100644 index 000000000000..cd2b4a702e7f --- /dev/null +++ b/dev-ruby/x25519/x25519-1.0.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="x25519.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Key exchange via the X25519 (Curve25519) Elliptic Curve Diffie-Hellman function" +HOMEPAGE="https://github.com/crypto-rb/x25519" +SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # The precomputed implementation only works on amd64 + if ! use amd64 ; then + sed -i -e '/\(x25519_precomputed\|X25519::Provider::Precomputed\)/ s:^:#:' lib/x25519.rb || die + fi +} + +each_ruby_configure() { + if use amd64 ; then + ${RUBY} -Cext/x25519_precomputed extconf.rb || die + fi + + ${RUBY} -Cext/x25519_ref10 extconf.rb || die +} + +each_ruby_compile() { + if use amd64 ; then + emake V=1 -Cext/x25519_precomputed + cp ext/x25519_precomputed/x25519_precomputed.so lib/ || die + fi + + emake V=1 -Cext/x25519_ref10 + cp ext/x25519_ref10/x25519_ref10.so lib/ || die +} diff --git a/dev-ruby/xdr/Manifest b/dev-ruby/xdr/Manifest new file mode 100644 index 000000000000..7650f28b5161 --- /dev/null +++ b/dev-ruby/xdr/Manifest @@ -0,0 +1,3 @@ +DIST xdr-2.0.0.gem 24064 BLAKE2B 183414b9ef719784729a415adbf85889abe30dfbbc1a7b988a01a841caba6c02c04563b01b5e101a0284729671d1957bfdd78d13781d619a1281f14476cdfa81 SHA512 9ba84364c7a4c52ce415361803491d514f9d83f59b7197301d0c4fa94dc715365a89f3a784a90ec077b54de6b6dd64467386c575b42de375a3a9af6a84a5d650 +DIST xdr-3.0.0.gem 24576 BLAKE2B a9366e5a8261dadfc71658e4a8e18b98f418d4993b6a25c3ba5fabc22557e1ba19954f4451d7d95598e9d1d5c597d484f763e6b1a4689740e782ec06ed0041f5 SHA512 8176378330d9060cf8abe0f9ee18f69682674c407934dcc01b76d561acc10a94b573db3b04a17b9940d6a5d1682181ad15147c3e3acce692a3ccb9e275ec0062 +DIST xdr-3.0.1.gem 24576 BLAKE2B e8518e0d25981462aa1b716e16418c8a0e850a10c3be36b3c542893cd0a75968a13209c82002bf43ee25106b161708159c9c16ac492f32b1dc72c1c52aa7169f SHA512 22911bd41b6a6999f9c231c09d4b4ae731a0b38c5e588be9624ae461fc3099615a20c4f0ac4a2cd614e71104b35974727770ffcbe066ae5f1c12f246fa05e5a5 diff --git a/dev-ruby/xdr/metadata.xml b/dev-ruby/xdr/metadata.xml new file mode 100644 index 000000000000..138be67249d4 --- /dev/null +++ b/dev-ruby/xdr/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">stellar/ruby-xdr</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/xdr/xdr-2.0.0.ebuild b/dev-ruby/xdr/xdr-2.0.0.ebuild new file mode 100644 index 000000000000..3a851ac8ed35 --- /dev/null +++ b/dev-ruby/xdr/xdr-2.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit ruby-fakegem + +DESCRIPTION="Read/write XDR encoded data structures" +HOMEPAGE="https://github.com/stellar/ruby-xdr" + +LICENSE="Apache-2.0" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/activemodel-4.2.7:* + >=dev-ruby/activesupport-4.2.7:*" + +all_ruby_prepare() { + sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/xdr/xdr-3.0.0.ebuild b/dev-ruby/xdr/xdr-3.0.0.ebuild new file mode 100644 index 000000000000..b961a2b074de --- /dev/null +++ b/dev-ruby/xdr/xdr-3.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit ruby-fakegem + +DESCRIPTION="Read/write XDR encoded data structures" +HOMEPAGE="https://github.com/stellar/ruby-xdr" + +LICENSE="Apache-2.0" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/activemodel-5.2.0:* + >=dev-ruby/activesupport-5.2.0:*" + +all_ruby_prepare() { + sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/xdr/xdr-3.0.1.ebuild b/dev-ruby/xdr/xdr-3.0.1.ebuild new file mode 100644 index 000000000000..fbd62bcb17cb --- /dev/null +++ b/dev-ruby/xdr/xdr-3.0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit ruby-fakegem + +DESCRIPTION="Read/write XDR encoded data structures" +HOMEPAGE="https://github.com/stellar/ruby-xdr" + +LICENSE="Apache-2.0" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/activemodel-5.2.0:* + >=dev-ruby/activesupport-5.2.0:*" + +all_ruby_prepare() { + sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/xml-simple/Manifest b/dev-ruby/xml-simple/Manifest new file mode 100644 index 000000000000..ee8078d5dcf6 --- /dev/null +++ b/dev-ruby/xml-simple/Manifest @@ -0,0 +1 @@ +DIST xml-simple-1.1.5.tar.gz 126288 BLAKE2B 0fb7f8cebee23e422d2941de790426e494bce51af90cda8a3b7f3b27129f6272aa277a80fce004aca2658d5ae5f62b7aa9f251b53839d14e6d5b7f5a33b819af SHA512 df81a05a0c32141cb5a0328fb782292438ec3ad6037c150e2ff4fee07b65ba9a739987f25f28c196ff8565af53c62120c3a729820a94dd3da0551fe43948f9a3 diff --git a/dev-ruby/xml-simple/metadata.xml b/dev-ruby/xml-simple/metadata.xml new file mode 100644 index 000000000000..dfb6b5b759fb --- /dev/null +++ b/dev-ruby/xml-simple/metadata.xml @@ -0,0 +1,12 @@ +<?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">maik/xml-simple</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/xml-simple/xml-simple-1.1.5.ebuild b/dev-ruby/xml-simple/xml-simple-1.1.5.ebuild new file mode 100644 index 000000000000..ca2221d80898 --- /dev/null +++ b/dev-ruby/xml-simple/xml-simple-1.1.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +# Gem only contains lib code, and github repository has no tags. +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +SRC_URI="https://github.com/maik/xml-simple/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Easy API to maintain XML. A Ruby port of Grant McLean's Perl module XML::Simple" +HOMEPAGE="https://github.com/maik/xml-simple" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~ppc ~x86" +IUSE="" + +each_ruby_test() { + cd test || die + for i in *.rb; do + ${RUBY} -I../lib ${i} || die + done +} diff --git a/dev-ruby/xmlrpc/Manifest b/dev-ruby/xmlrpc/Manifest new file mode 100644 index 000000000000..ef959955e0d4 --- /dev/null +++ b/dev-ruby/xmlrpc/Manifest @@ -0,0 +1 @@ +DIST xmlrpc-0.3.0.tar.gz 34157 BLAKE2B 862bff09fdd7febfd85ef4fde77a913b77f20024692b1475994b93b394d587f1b2139c82ed7159cc756bd1757ee2fee55f103866c52d4297d8a38be70c066c22 SHA512 370b2fe2ed9ca37fbbc2e85d08328450671019a2dc0c2a31ecf8fc8af95105ccf1b8f728307a5d9cf5f4dbcd93ccfb2f66244b441c0aea1cd1aaca2e820dfe31 diff --git a/dev-ruby/xmlrpc/metadata.xml b/dev-ruby/xmlrpc/metadata.xml new file mode 100644 index 000000000000..a4063fbeae40 --- /dev/null +++ b/dev-ruby/xmlrpc/metadata.xml @@ -0,0 +1,12 @@ +<?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">ruby/xmlrpc</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/xmlrpc/xmlrpc-0.3.0.ebuild b/dev-ruby/xmlrpc/xmlrpc-0.3.0.ebuild new file mode 100644 index 000000000000..c447a8b6d47f --- /dev/null +++ b/dev-ruby/xmlrpc/xmlrpc-0.3.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP" +HOMEPAGE="https://github.com/ruby/xmlrpc" +SRC_URI="https://github.com/ruby/xmlrpc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Avoid dependency on git + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/xpath/Manifest b/dev-ruby/xpath/Manifest new file mode 100644 index 000000000000..c2021678d2c9 --- /dev/null +++ b/dev-ruby/xpath/Manifest @@ -0,0 +1,2 @@ +DIST xpath-2.1.0.gem 16896 BLAKE2B b8dc2b0e207c666446ba5948f6e37c71f410d8a5a027dddd17d5ccb2fa8b0c32f274a34cc144a2380b22266248acad288828114a755d4f04c2a1caeec6ee55e3 SHA512 50d80cac3fd65cbd211d3a87b8844a6607b14c841a1a5609e2370c3624daf719b937a61e526bf31aedee13346802d6bbb721d58bda2bef9c564c187b28bb90e2 +DIST xpath-3.2.0.gem 14336 BLAKE2B a7e1927fe8831669171e4ffa4677d33fb2276820742596d20f7cadc47f0a523b1b438d7568c195119259c8e2f9f49e3bdf1bc224001f7e215a4a02af1e84e142 SHA512 2059938387f4d1656867457a480182bd73e02f265071a394472122aea0b5b4fb0af985ec5be513d2425cf1c341bf18c3cfb67616ba02e30ce6331879964dedc3 diff --git a/dev-ruby/xpath/metadata.xml b/dev-ruby/xpath/metadata.xml new file mode 100644 index 000000000000..1eb01e9869f1 --- /dev/null +++ b/dev-ruby/xpath/metadata.xml @@ -0,0 +1,12 @@ +<?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">jnicklas/xpath</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/xpath/xpath-2.1.0.ebuild b/dev-ruby/xpath/xpath-2.1.0.ebuild new file mode 100644 index 000000000000..9b9e37ac162e --- /dev/null +++ b/dev-ruby/xpath/xpath-2.1.0.ebuild @@ -0,0 +1,26 @@ +# 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_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="XPath is a Ruby DSL around a subset of XPath 1.0" +HOMEPAGE="https://github.com/jnicklas/xpath" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~x86" +SLOT="2" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/nokogiri )" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|pry\)/d' spec/spec_helper.rb || die +} diff --git a/dev-ruby/xpath/xpath-3.2.0.ebuild b/dev-ruby/xpath/xpath-3.2.0.ebuild new file mode 100644 index 000000000000..91a655c92300 --- /dev/null +++ b/dev-ruby/xpath/xpath-3.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="XPath is a Ruby DSL around a subset of XPath 1.0" +HOMEPAGE="https://github.com/jnicklas/xpath" +LICENSE="MIT" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +SLOT="3" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8:0" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|pry\)/d' spec/spec_helper.rb || die +} diff --git a/dev-ruby/yajl-ruby/Manifest b/dev-ruby/yajl-ruby/Manifest new file mode 100644 index 000000000000..6d82f2112163 --- /dev/null +++ b/dev-ruby/yajl-ruby/Manifest @@ -0,0 +1,2 @@ +DIST yajl-ruby-1.3.1.gem 550912 BLAKE2B 809608b5c767c560cf40a0a8d4160f17092762788af9c66e729762ade50fbb0cccd266f1bbd411076ef4b2dc7a4cdfcdeeb552b6d86a58a0d9a38ebf1bad638c SHA512 f18b47f1fd0b039bfec01db0ee298296199fbf91b22a00042e1220a1d8471f72424c082b696829e48ce7dee7514510dd731c2bc36fe29bd08ba7246c820621f4 +DIST yajl-ruby-1.4.1.gem 557056 BLAKE2B ade1c18bff1d95a733a1981f7898f1ebaecaed6e9a0354af2a6b4d0190a37e613830f77d5e57178b622c32e2d8688aaa11a7edd543c17a30a16f9045d21ea4aa SHA512 24cd82380658d784bbf0a7a16d4048125cc5a856b0e0b4d3bdec29a550a9131d3959f9a75eba0d18d5db8d0a23158fb7ef6ea6f60d221a7bc3d8efc437d52df5 diff --git a/dev-ruby/yajl-ruby/metadata.xml b/dev-ruby/yajl-ruby/metadata.xml new file mode 100644 index 000000000000..dec739251382 --- /dev/null +++ b/dev-ruby/yajl-ruby/metadata.xml @@ -0,0 +1,12 @@ +<?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">brianmario/yajl-ruby</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.3.1.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.3.1.ebuild new file mode 100644 index 000000000000..e0e40f5bf17a --- /dev/null +++ b/dev-ruby/yajl-ruby/yajl-ruby-1.3.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library" +HOMEPAGE="https://github.com/brianmario/yajl-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="${RDEPEND} dev-libs/yajl" +DEPEND="${DEPEND} dev-libs/yajl" + +each_ruby_prepare() { + # Make sure the right ruby interpreter is used + sed -e '/capture/ s:ruby:'${RUBY}':' -i spec/parsing/large_number_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/yajl extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/yajl CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/yajl/yajl$(get_modname) lib/yajl/ || die +} + +each_ruby_test() { + # Set RUBYLIB to pass search path on to additional interpreters that + # are started. + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec || die +} diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.4.1.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.4.1.ebuild new file mode 100644 index 000000000000..d795e0f61cbe --- /dev/null +++ b/dev-ruby/yajl-ruby/yajl-ruby-1.4.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library" +HOMEPAGE="https://github.com/brianmario/yajl-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="${RDEPEND} dev-libs/yajl" +DEPEND="${DEPEND} dev-libs/yajl" + +each_ruby_prepare() { + # Make sure the right ruby interpreter is used + sed -e '/capture/ s:ruby:'${RUBY}':' -i spec/parsing/large_number_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/yajl extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/yajl CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/yajl/yajl$(get_modname) lib/yajl/ || die +} + +each_ruby_test() { + # Set RUBYLIB to pass search path on to additional interpreters that + # are started. + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec || die +} diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest new file mode 100644 index 000000000000..1b0e053adede --- /dev/null +++ b/dev-ruby/yard/Manifest @@ -0,0 +1,3 @@ +DIST yard-0.9.20-git.tgz 921130 BLAKE2B 37b1b2524147a1a8cb36c3835cce4e7666e2c8d3d5c187eb402000fb251df64111c4f104957ac9d28bd0e8d9328eb1d97571337ae54479626dcaab3cf07625a6 SHA512 b7e035a3598c8ef32fcbaae57254c0fb0cba875606b434571da2ef754f3171b5c42a4b3a45bd4bf41bce368f6fb7e448567f601a9cab5fbdae695bbec1b73608 +DIST yard-0.9.24-git.tgz 928072 BLAKE2B 33d0c3c0931b1234814651eaee674cbb18722b15674575860b57c2c7992d160ffe8606290a2c887e61dcf095230a8d98abaa2ac41c92a761272d64ddeacced9e SHA512 cf7f5973e03562c7081b7c213c6dffc01afdc1207f79f52fd51f7e6fd917cdc13e6b5b6e89c93dbe3c05338e3a1418e7c6e8d617e96613b8156b95868b60ce11 +DIST yard-0.9.25-git.tgz 930253 BLAKE2B 35531a7e90ab99bad8d236ea4774a8aebc50eff5d78f60e2dfea8edb2af965dc60e8c02f8a1f95166e80d6f1ce21aca051b92b2511b88a7d87d2cc90e58bcd17 SHA512 855bf05ce45a965d534191b036831ec1cedc848e21196ed93cc7984d744328d9d5ba39664b4539a707a1556984990360cd27e085b830501ac8d72c6cebb3e689 diff --git a/dev-ruby/yard/metadata.xml b/dev-ruby/yard/metadata.xml new file mode 100644 index 000000000000..4885162b3695 --- /dev/null +++ b/dev-ruby/yard/metadata.xml @@ -0,0 +1,12 @@ +<?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">lsegal/yard</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/yard/yard-0.9.20.ebuild b/dev-ruby/yard/yard-0.9.20.ebuild new file mode 100644 index 000000000000..1857c467757a --- /dev/null +++ b/dev-ruby/yard/yard-0.9.20.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_DOCDIR="doc docs" + +RUBY_FAKEGEM_EXTRAINSTALL="templates" + +inherit ruby-fakegem + +DESCRIPTION="Documentation generation tool for the Ruby programming language" +HOMEPAGE="https://yardoc.org/" + +# The gem lakes the gemspec file needed to pass tests. +SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )" + +ruby_add_bdepend "test? ( >=dev-ruby/ruby-gettext-2.3.8 dev-ruby/rack )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e '/samus/I s:^:#:' Rakefile || die + + # Avoid specs that make assumptions on load ordering that are not + # true for us. This may be related to how we install in Gentoo. This + # also drops a test requirement on dev-ruby/rack. + rm -f spec/cli/server_spec.rb || die + + # Avoid specs that only work with bundler + sed -i -e '/#initialize/,/^ end/ s:^:#:' spec/cli/yri_spec.rb || die + + # Avoid redcarpet-specific spec that is not optional + sed -i -e '/autolinks URLs/askip "make redcarpet optional"' spec/templates/helpers/html_helper_spec.rb || die + + # Avoid asciidoc-specific spec that is not optional + sed -i -e '/\(AsciiDoc specific\|AsciiDoc header\)/askip "skipping asciidoc test"' spec/templates/helpers/html_helper_spec.rb || die +} diff --git a/dev-ruby/yard/yard-0.9.24.ebuild b/dev-ruby/yard/yard-0.9.24.ebuild new file mode 100644 index 000000000000..426e58e45e1d --- /dev/null +++ b/dev-ruby/yard/yard-0.9.24.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_DOCDIR="doc docs" + +RUBY_FAKEGEM_EXTRAINSTALL="templates" + +inherit ruby-fakegem + +DESCRIPTION="Documentation generation tool for the Ruby programming language" +HOMEPAGE="https://yardoc.org/" + +# The gem lakes the gemspec file needed to pass tests. +SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )" + +ruby_add_bdepend "test? ( dev-ruby/rack )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e '/samus/I s:^:#:' Rakefile || die + + # Avoid specs that make assumptions on load ordering that are not + # true for us. This may be related to how we install in Gentoo. This + # also drops a test requirement on dev-ruby/rack. + rm -f spec/cli/server_spec.rb || die + + # Avoid specs that only work with bundler + sed -i -e '/#initialize/,/^ end/ s:^:#:' spec/cli/yri_spec.rb || die + sed -e '/overwrites options with data in/askip "wrong assumptions on file access"' \ + -e '/loads any gem plugins starting with/askip "wrong assumptions on file access"' \ + -i spec/config_spec.rb || die + + # Avoid redcarpet-specific spec that is not optional + sed -i -e '/autolinks URLs/askip "make redcarpet optional"' spec/templates/helpers/html_helper_spec.rb || die + + # Avoid asciidoc-specific spec that is not optional + sed -i -e '/\(AsciiDoc specific\|AsciiDoc header\)/askip "skipping asciidoc test"' spec/templates/helpers/html_helper_spec.rb || die +} diff --git a/dev-ruby/yard/yard-0.9.25.ebuild b/dev-ruby/yard/yard-0.9.25.ebuild new file mode 100644 index 000000000000..929796ad647f --- /dev/null +++ b/dev-ruby/yard/yard-0.9.25.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_DOCDIR="doc docs" + +RUBY_FAKEGEM_EXTRAINSTALL="templates" + +RUBY_FAKEGEM_GEMSPEC="yard.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Documentation generation tool for the Ruby programming language" +HOMEPAGE="https://yardoc.org/" + +# The gem lakes the gemspec file needed to pass tests. +SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )" + +ruby_add_bdepend "test? ( dev-ruby/rack )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e '/samus/I s:^:#:' Rakefile || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid specs that make assumptions on load ordering that are not + # true for us. This may be related to how we install in Gentoo. This + # also drops a test requirement on dev-ruby/rack. + rm -f spec/cli/server_spec.rb || die + + # Avoid specs that only work with bundler + sed -i -e '/#initialize/,/^ end/ s:^:#:' spec/cli/yri_spec.rb || die + sed -e '/overwrites options with data in/askip "wrong assumptions on file access"' \ + -e '/loads any gem plugins starting with/askip "wrong assumptions on file access"' \ + -i spec/config_spec.rb || die + + # Avoid redcarpet-specific spec that is not optional + sed -i -e '/autolinks URLs/askip "make redcarpet optional"' spec/templates/helpers/html_helper_spec.rb || die + + # Avoid asciidoc-specific spec that is not optional + sed -i -e '/\(AsciiDoc specific\|AsciiDoc header\)/askip "skipping asciidoc test"' spec/templates/helpers/html_helper_spec.rb || die +} diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest new file mode 100644 index 000000000000..083939bf363f --- /dev/null +++ b/dev-ruby/zeitwerk/Manifest @@ -0,0 +1,5 @@ +DIST zeitwerk-1.4.3.tar.gz 84202 BLAKE2B 8e14790f4a5b5122efacbe89a0d1ede5c9933564db40f3b498423b73852e91990e09321b3d2854ada8c57aa914bb596d1381ea697e751bc22d7b9ecf4e5653b8 SHA512 e3ba6dcaf5b85c117278e65f15559e7750062ba204b3cdeba4248eb4f153ad4aa09164db61671f6ea00846a9d89ec218b66338dbcbd2c376f4e7b28364533f55 +DIST zeitwerk-2.1.10.tar.gz 92514 BLAKE2B 509cdaeecb8d7d369282a5fc9e8632a19eb2036881290b33a36deeb1953329ce6541ead79a1cd70c7467ea4ae4a0d9197b02009265ff0932e60030a2446f04c2 SHA512 6a6997c45fe322dd4a65832af450efd7e19d942868b9c948e795b7f5614f2f95a53fc29461fa831e0e525917e34c1e7a592970e1582a921227e9977cb669b74a +DIST zeitwerk-2.2.1.tar.gz 94726 BLAKE2B 6fb5fe08cc6a3845598ee70bcce5a6546b7fea8de547dc821c337ef3bd02983061edffb0d2ce1e1ab446b38ff282dc042a26532cff7604a9cdb9922d333deee4 SHA512 984740b981448edc539db06b268e16256ef4302f0d8d56b31c69a8f0324ded8eb1d77c3720b9e2e49723e4e0b4b5e4db538ecf5f24690930d336d7b0f0d246bc +DIST zeitwerk-2.2.2.tar.gz 94978 BLAKE2B 0920f7c1848eff586d0dfd2a15821fa38ccfe7d1d2945196a3cad534cb7ca740a30721b434ccf602e431bfdd16e87d6714fa0ac0edf60e6dcfa6398aae22dbaa SHA512 19b58ed4d9a04c9d3cb0f587ae8b824cca1a8bf44b2a484d7ea1c3a0a8b378b66174172a3e4adec75853602bfef0c6fd3be5205eacdcad96ef87dce26d7ba5a7 +DIST zeitwerk-2.3.0.tar.gz 95973 BLAKE2B c484d40587d7ce52e257eb90bf543a573b6512bdd833809316c9407cd275dfc9aad703982477e1c601510d5e0703449bf2794505156fc51283ad1989c8724758 SHA512 e891b2fda9375f1e459dce2adc2f1b2128bd20a2f7e617ae27967b3bd0927689f5134aa42b098fdd077c089bf2debcf0a88b7b3fd89a97ac44dc9c9fbc72f14e diff --git a/dev-ruby/zeitwerk/metadata.xml b/dev-ruby/zeitwerk/metadata.xml new file mode 100644 index 000000000000..22339cbd32d4 --- /dev/null +++ b/dev-ruby/zeitwerk/metadata.xml @@ -0,0 +1,18 @@ +<?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">fxn/zeitwerk</remote-id> + </upstream> + <longdescription> + Zeitwerk implements constant autoloading with Ruby semantics. Each + gem and application may have their own independent autoloader, + with its own configuration, inflector, and logger. Supports + autoloading, preloading, reloading, and eager loading. + </longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/zeitwerk/zeitwerk-1.4.3.ebuild b/dev-ruby/zeitwerk/zeitwerk-1.4.3.ebuild new file mode 100644 index 000000000000..13a52f0e3d6a --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-1.4.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/\(focus\|reporters\|Reporters\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/zeitwerk/zeitwerk-2.1.10.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.1.10.ebuild new file mode 100644 index 000000000000..e5fbc8e42b06 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.1.10.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/\(focus\|reporters\|Reporters\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/zeitwerk/zeitwerk-2.2.1.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.2.1.ebuild new file mode 100644 index 000000000000..e5fbc8e42b06 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/\(focus\|reporters\|Reporters\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/zeitwerk/zeitwerk-2.2.2.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.2.2.ebuild new file mode 100644 index 000000000000..ff8ee4f80ca4 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/\(focus\|reporters\|Reporters\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/zeitwerk/zeitwerk-2.3.0.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.3.0.ebuild new file mode 100644 index 000000000000..ff8ee4f80ca4 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/\(focus\|reporters\|Reporters\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} diff --git a/dev-ruby/zentest/Manifest b/dev-ruby/zentest/Manifest new file mode 100644 index 000000000000..45c4fe763a39 --- /dev/null +++ b/dev-ruby/zentest/Manifest @@ -0,0 +1 @@ +DIST ZenTest-4.12.0.gem 48128 BLAKE2B 32d2d5cdd95b8355b31ce81957cad823c1d5209f0c24cbdf920fe1276d952df4995484af7e576e498273c01fbfb70eb5ed99271405977820f68cd8feac08d388 SHA512 cbce7059ed48fba1a265c9a4360d032492cbc3a67131480e11bc06c1cc7fadcd82139231f16c5ff4fd2a9b771a574f834a71eae21392ee5fdbf335366748150c diff --git a/dev-ruby/zentest/metadata.xml b/dev-ruby/zentest/metadata.xml new file mode 100644 index 000000000000..f0b46f4a0eb5 --- /dev/null +++ b/dev-ruby/zentest/metadata.xml @@ -0,0 +1,12 @@ +<?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">seattlerb/zentest</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-ruby/zentest/zentest-4.12.0.ebuild b/dev-ruby/zentest/zentest-4.12.0.ebuild new file mode 100644 index 000000000000..22022629ad42 --- /dev/null +++ b/dev-ruby/zentest/zentest-4.12.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_NAME=ZenTest + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.txt History.txt example.txt example1.rb example2.rb" + +inherit ruby-fakegem + +DESCRIPTION="Testing tools: zentest, unit_diff, autotest, multiruby, and Test::Rails" +HOMEPAGE="https://github.com/seattlerb/zentest" +LICENSE="Ruby" + +KEYWORDS="~alpha amd64 arm ~arm64 hppa 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="" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + )" + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |
