mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Find the system CA bundle or fall back to the Mozilla one"
|
||||
HOMEPAGE="https://github.com/composer/ca-bundle"
|
||||
SRC_URI="https://github.com/composer/ca-bundle/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
@@ -17,6 +19,7 @@ RDEPEND="
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/Composer/CaBundle
|
||||
doins src/CaBundle.php "${FILESDIR}/autoload.php"
|
||||
doins src/CaBundle.php \
|
||||
"$(prefixify_ro "${FILESDIR}"/autoload.php)"
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ cat >> src/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'/usr/share/php/React/Promise/functions.php'
|
||||
'${EPREFIX}/usr/share/php/React/Promise/functions.php'
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST oauth-0.6.2.tar.gz 81702 BLAKE2B 2775c0711beb9f3612844ae07ff59953d4db72c0f9a797c6eac49132a021a48481a13f4b1428b2037b0a04b83b5d79e621cccd4a794fe3a339a1ceb468f0b165 SHA512 22f4f734daa42339bbaed1d1d449a4591ef4404aaf8cf1753ba705735a176f6142853b2c4f5e8ff3afa3e9899163af1c5598685664326d58a5b529d94b65441f
|
||||
DIST oauth-1.1.0.tar.gz 77282 BLAKE2B f0916b0137922780981987b2977ce19c1acbb2bfb72a64948be5e530ef8c4a375a32785e5d5f5d64349ff3adf2e05ffbfb1417123ffe0674700062952d8fc0e5 SHA512 bb9025ef279d97077b1c7e03ed402f43dd3fe1921cbd55aa03b1732ce3199578fbb4221991d0d3ab8dd8720354bec2ab8b7c25ed039f10fffd296d1c4e851ff5
|
||||
DIST oauth-1.1.3.tar.gz 281541 BLAKE2B 8d284348a9eb3411c0bd246a8ed648645080c6ecd9e8101393a21d5e5f5fd41fce7c5450040d243dcdc1fcc82509ddefd46d70f5df63a73777045899619c9a6f SHA512 e89f12187a966781f1f1bb584c84dd4861bbdf03d3ef6065b3ad1532a2fb41fa3d48b632f9a47c2c59cf4665f62eb7a961ce93003ca1f176756932b738953455
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.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>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ruby-oauth/oauth</remote-id>
|
||||
<remote-id type="rubygems">oauth</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
50
dev-ruby/oauth/oauth-1.1.3.ebuild
Normal file
50
dev-ruby/oauth/oauth-1.1.3.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md TODO"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="oauth.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A RubyGem for implementing both OAuth clients and servers"
|
||||
HOMEPAGE="https://github.com/ruby-oauth/oauth"
|
||||
SRC_URI="https://github.com/ruby-oauth/oauth/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
|| ( dev-ruby/base64:0.3 dev-ruby/base64:0.2 )
|
||||
>=dev-ruby/oauth-tty-1.0.6:1
|
||||
dev-ruby/snaky_hash:1
|
||||
>=dev-ruby/version_gem-1.1.9:1
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/webmock
|
||||
dev-ruby/rack
|
||||
dev-ruby/rest-client
|
||||
|| ( dev-ruby/actionpack:7.2 dev-ruby/actionpack:7.1 )
|
||||
|| ( dev-ruby/railties:7.2 dev-ruby/railties:7.1 )
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e 's:_relative ": "./:' \
|
||||
-e 's/__dir__/"."/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
sed -e '/kettle/I s:^:#:' \
|
||||
-i spec/spec_helper.rb || die
|
||||
|
||||
rm -f spec/oauth/request_proxy/curb_spec.rb || die
|
||||
}
|
||||
Reference in New Issue
Block a user