[gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/
commit: 1cb751e862be780084c4d9a1ae09bc19c783b55d Author: Mike Gilbert gentoo org> AuthorDate: Sat Feb 4 01:36:14 2023 + Commit: Mike Gilbert gentoo org> CommitDate: Sat Feb 4 01:36:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb751e8 dev-libs/openssl: replace c_rehash with openssl rehash Bug: https://bugs.gentoo.org/855494 Signed-off-by: Mike Gilbert gentoo.org> .../openssl/{openssl-1.1.1s-r1.ebuild => openssl-1.1.1s-r2.ebuild} | 6 +++--- .../openssl/{openssl-3.0.7-r2.ebuild => openssl-3.0.7-r3.ebuild}| 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/dev-libs/openssl/openssl-1.1.1s-r1.ebuild b/dev-libs/openssl/openssl-1.1.1s-r2.ebuild similarity index 98% rename from dev-libs/openssl/openssl-1.1.1s-r1.ebuild rename to dev-libs/openssl/openssl-1.1.1s-r2.ebuild index 910d8fcfbda4..e9c80f3f1ea3 100644 --- a/dev-libs/openssl/openssl-1.1.1s-r1.ebuild +++ b/dev-libs/openssl/openssl-1.1.1s-r2.ebuild @@ -22,7 +22,7 @@ fi IUSE="+asm rfc3779 sctp cpu_flags_x86_sse2 sslv3 static-libs test tls-compression tls-heartbeat vanilla verify-sig weak-ssl-ciphers" RESTRICT="!test? ( test )" -RDEPEND=">=app-misc/c_rehash-1.7-r1 +RDEPEND=" tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND}" BDEPEND=" @@ -334,7 +334,7 @@ multilib_src_install_all() { } pkg_postinst() { - ebegin "Running 'c_rehash ${EROOT}${SSL_CNF_DIR}/certs/' to rebuild hashes (bug #333069)" - c_rehash "${EROOT}${SSL_CNF_DIR}/certs" >/dev/null + ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" + openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" eend $? } diff --git a/dev-libs/openssl/openssl-3.0.7-r2.ebuild b/dev-libs/openssl/openssl-3.0.7-r3.ebuild similarity index 98% rename from dev-libs/openssl/openssl-3.0.7-r2.ebuild rename to dev-libs/openssl/openssl-3.0.7-r3.ebuild index e83dd0df830b..4c45fff5299e 100644 --- a/dev-libs/openssl/openssl-3.0.7-r2.ebuild +++ b/dev-libs/openssl/openssl-3.0.7-r3.ebuild @@ -30,7 +30,6 @@ IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compre RESTRICT="!test? ( test )" COMMON_DEPEND=" - >=app-misc/c_rehash-1.7-r1 tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) " BDEPEND=" @@ -320,7 +319,7 @@ multilib_src_install_all() { } pkg_postinst() { - ebegin "Running 'c_rehash ${EROOT}${SSL_CNF_DIR}/certs/' to rebuild hashes (bug #333069)" - c_rehash "${EROOT}${SSL_CNF_DIR}/certs" >/dev/null + ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" + openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" eend $? }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/
commit: bf435595a9b979a91898c1d86958cb776a31b192 Author: Mike Gilbert gentoo org> AuthorDate: Sat Feb 4 02:53:24 2023 + Commit: Mike Gilbert gentoo org> CommitDate: Sat Feb 4 03:13:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf435595 dev-libs/openssl: drop Makefile CFLAGS hackery >From what I can tell, the current build system respects CFLAGS without any intervention. Signed-off-by: Mike Gilbert gentoo.org> dev-libs/openssl/openssl-3.0.7-r4.ebuild | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/dev-libs/openssl/openssl-3.0.7-r4.ebuild b/dev-libs/openssl/openssl-3.0.7-r4.ebuild index 6921c7f98501..0fd8cec1764e 100644 --- a/dev-libs/openssl/openssl-3.0.7-r4.ebuild +++ b/dev-libs/openssl/openssl-3.0.7-r4.ebuild @@ -201,28 +201,7 @@ multilib_src_configure() { threads ) - CFLAGS= LDFLAGS= edo perl Configure "${myeconfargs[@]}" - - # Clean out hardcoded flags that openssl uses - local DEFAULT_CFLAGS=$(grep ^CFLAGS= Makefile | LC_ALL=C sed \ - -e 's:^CFLAGS=::' \ - -e 's:\(^\| \)-fomit-frame-pointer::g' \ - -e 's:\(^\| \)-O[^ ]*::g' \ - -e 's:\(^\| \)-march=[^ ]*::g' \ - -e 's:\(^\| \)-mcpu=[^ ]*::g' \ - -e 's:\(^\| \)-m[^ ]*::g' \ - -e 's:^ *::' \ - -e 's: *$::' \ - -e 's: \+: :g' \ - -e 's:\\::g' - ) - - # Now insert clean default flags with user flags - sed -i \ - -e "/^CFLAGS=/s|=.*|=${DEFAULT_CFLAGS} ${CFLAGS}|" \ - -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" \ - Makefile \ - || die + edo perl Configure "${myeconfargs[@]}" } multilib_src_compile() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/
commit: edbe2b02fe0e5cbf2372205fc5ffe0bc51971a69 Author: Mike Gilbert gentoo org> AuthorDate: Sat Feb 4 02:43:19 2023 + Commit: Mike Gilbert gentoo org> CommitDate: Sat Feb 4 03:13:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edbe2b02 dev-libs/openssl: optimize docs build Remove hacky sed to disable manpage buliding based on FEATURES. Skip building docs for non-native abis. Use upstream default manpage suffix "ossl". Signed-off-by: Mike Gilbert gentoo.org> dev-libs/openssl/openssl-3.0.7-r4.ebuild | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/dev-libs/openssl/openssl-3.0.7-r4.ebuild b/dev-libs/openssl/openssl-3.0.7-r4.ebuild index 26cc0f5113f2..6921c7f98501 100644 --- a/dev-libs/openssl/openssl-3.0.7-r4.ebuild +++ b/dev-libs/openssl/openssl-3.0.7-r4.ebuild @@ -116,19 +116,6 @@ src_prepare() { rm test/recipes/80-test_ssl_new.t || die fi - # - Make sure the man pages are suffixed (bug #302165) - # - Don't bother building man pages if they're disabled - # - Make DOCDIR Gentoo compliant - sed -i \ - -e '/^MANSUFFIX/s:=.*:=ssl:' \ - -e '/^MAKEDEPPROG/s:=.*:=$(CC):' \ - -e $(has noman FEATURES \ - && echo '/^install:/s:install_docs::' \ - || echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \ - -e "/^DOCDIR/s@\$(BASENAME)@&-${PVR}@" \ - Configurations/unix-Makefile.tmpl \ - || die - # Quiet out unknown driver argument warnings since openssl # doesn't have well-split CFLAGS and we're making it even worse # and 'make depend' uses -Werror for added fun (bug #417795 again) @@ -243,7 +230,11 @@ multilib_src_compile() { # that it's -j1 as the code itself serializes subdirs emake -j1 depend - emake all + emake build_sw + + if multilib_is_native_abi; then + emake build_docs + fi } multilib_src_test() { @@ -253,10 +244,15 @@ multilib_src_test() { } multilib_src_install() { - # We need to create ${ED}/usr on our own to avoid a race condition (bug #665130) - dodir /usr + emake DESTDIR="${D}" install_sw + if use fips; then + emake DESTDIR="${D}" install_fips + fi - emake DESTDIR="${D}" install + if multilib_is_native_abi; then + emake DESTDIR="${D}" install_ssldirs + emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} install_docs + fi # This is crappy in that the static archives are still built even # when USE=static-libs. But this is due to a failing in the openssl
[gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/
commit: 9244da7eb56662070fd787a5934fd985701894ab Author: Mike Gilbert gentoo org> AuthorDate: Sat Feb 4 03:18:20 2023 + Commit: Mike Gilbert gentoo org> CommitDate: Sat Feb 4 03:22:46 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9244da7e dev-libs/openssl: drop obsolete 'emake depend' INSTALL.md claims this target is obsolete since OpenSSL 1.1.0. Signed-off-by: Mike Gilbert gentoo.org> dev-libs/openssl/openssl-3.0.7-r4.ebuild | 4 1 file changed, 4 deletions(-) diff --git a/dev-libs/openssl/openssl-3.0.7-r4.ebuild b/dev-libs/openssl/openssl-3.0.7-r4.ebuild index 0fd8cec1764e..38e487d6d1f6 100644 --- a/dev-libs/openssl/openssl-3.0.7-r4.ebuild +++ b/dev-libs/openssl/openssl-3.0.7-r4.ebuild @@ -205,10 +205,6 @@ multilib_src_configure() { } multilib_src_compile() { - # depend is needed to use $confopts; it also doesn't matter - # that it's -j1 as the code itself serializes subdirs - emake -j1 depend - emake build_sw if multilib_is_native_abi; then
[gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/
commit: 908717bbd9e9d664b1dc61cb4b8cc478a2479359 Author: Mike Gilbert gentoo org> AuthorDate: Sat Feb 4 02:21:52 2023 + Commit: Mike Gilbert gentoo org> CommitDate: Sat Feb 4 03:13:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908717bb dev-libs/openssl: remove broken code to prefix manpages The man pages already have suffix applied to the section number which will prevent any collisions. Adding a prefix just makes the proper man pages harder to locate. Signed-off-by: Mike Gilbert gentoo.org> dev-libs/openssl/openssl-3.0.7-r4.ebuild | 293 +++ 1 file changed, 293 insertions(+) diff --git a/dev-libs/openssl/openssl-3.0.7-r4.ebuild b/dev-libs/openssl/openssl-3.0.7-r4.ebuild new file mode 100644 index ..26cc0f5113f2 --- /dev/null +++ b/dev-libs/openssl/openssl-3.0.7-r4.ebuild @@ -0,0 +1,293 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc +inherit edo flag-o-matic linux-info toolchain-funcs multilib-minimal multiprocessing verify-sig + +DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" +HOMEPAGE="https://www.openssl.org/"; + +MY_P=${P/_/-} + +if [[ ${PV} == ]] ; then + EGIT_REPO_URI="https://github.com/openssl/openssl.git"; + + inherit git-r3 +else + SRC_URI="mirror://openssl/source/${MY_P}.tar.gz + verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )" + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" + KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~riscv ~s390 ~sparc ~x86" +fi + +S="${WORKDIR}"/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/3" # .so version of libssl/libcrypto +IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) +" +BDEPEND=" + >=dev-lang/perl-5 + sctp? ( >=net-misc/lksctp-tools-1.0.12 ) + test? ( + sys-apps/diffutils + sys-devel/bc + sys-process/procps + ) + verify-sig? ( >=sec-keys/openpgp-keys-openssl-20221101 )" + +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +PDEPEND="app-misc/ca-certificates" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/openssl/configuration.h +) + +PATCHES=( + "${FILESDIR}"/${P}-x509-CVE-2022-3996.patch +) + +pkg_setup() { + if use ktls ; then + if kernel_is -lt 4 18 ; then + ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" + else + CONFIG_CHECK="~TLS ~TLS_DEVICE" + ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" + ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" + use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" + + linux-info_pkg_setup + fi + fi + + [[ ${MERGE_TYPE} == binary ]] && return + + # must check in pkg_setup; sysctl doesn't work with userpriv! + if use test && use sctp ; then + # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" + # if sctp.auth_enable is not enabled. + local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) + if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then + die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" + fi + fi +} + +src_unpack() { + # Can delete this once test fix patch is dropped + if use verify-sig ; then + # Needed for downloaded patch (which is unsigned, which is fine) + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + fi + + default +} + +src_prepare() { + # Allow openssl to be cross-compiled + cp "${FILESDIR}"/gentoo.config-1.0.4 gentoo.config || die + chmod a+rx gentoo.config || die + + # Keep this in sync with app-misc/c_rehash + SSL_CNF_DIR="/etc/ssl" + + # Make sure we only ever touch Makefile.org and avoid patching a file + # that gets blown away anyways by the Configure script in src_configure + rm -f Makefile + + if ! use vanilla ; then + PATCHES+=( + # Add patches which are Gentoo-specific customisations here + ) + fi + + default + + if use test && use sctp && has network-sandbox ${FEATURES} ; then +
[gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
commit: 709f740d84c90a8e610beaf0ab27b9aa92550edc Author: William Hubbs gentoo org> AuthorDate: Sat Feb 4 03:33:01 2023 + Commit: William Hubbs gentoo org> CommitDate: Sat Feb 4 03:35:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=709f740d app-metrics/snmp_exporter: add 0.21.0 Closes: https://bugs.gentoo.org/893152 Signed-off-by: William Hubbs gentoo.org> app-metrics/snmp_exporter/Manifest | 2 + .../snmp_exporter/snmp_exporter-0.21.0.ebuild | 52 ++ 2 files changed, 54 insertions(+) diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest index bd2b5ac96442..42fa1901eeb4 100644 --- a/app-metrics/snmp_exporter/Manifest +++ b/app-metrics/snmp_exporter/Manifest @@ -1,2 +1,4 @@ DIST snmp_exporter-0.20.0-deps.tar.xz 167938880 BLAKE2B 26db1effd4c74c1d8ad063e390e3ebc2f652bc901b679a70dfa2fda479ead9622eb3bf729f24a3a0088d9b154be108e472218a84109ef23d8413e0db2f8afc9e SHA512 f2b2e72967bd7255abf5f808d1dbb5691755d232b32e0c833ebc9b74a469b5c2b704afb7f32c1c591653a4ad6162efc5ec13345e9f5e2d08c7f01d24bdddf3a1 DIST snmp_exporter-0.20.0.tar.gz 290899 BLAKE2B 81c2c6e8b1f61fe322cf040910744857f0628b61172774069675f5702d7e8dcc443a5567d5fe9d3e26139fee87c3cae8ed5fb7ce21c13b8a0f0cab1cd76384aa SHA512 fe09033e713f12b5a6ad79445def55c8d94c75cbee5e4e7c4683e853c1a8335005462d607e0c7306d2ee6e70178edeb9b6cff0c35aa6d36a4d0fa5ce45cedb51 +DIST snmp_exporter-0.21.0-deps.tar.xz 173870408 BLAKE2B 8bd9699a1ecefcfb90784892e1329919baa06349cde89106a4fa4f7543672aa4de907781183baf714aceb6b1dba5c748130e1b98577830011fed40833bedda20 SHA512 d267e596b2a5c11844aaae66d75bc40c7bcc0263bc04ad2359d29450f44c7a4be263bc453a35a75250424144b4afb4ae15afe9988f95c922d20ec975827fc88e +DIST snmp_exporter-0.21.0.tar.gz 322098 BLAKE2B 5e28186dc5da1c38be0bc2a8801c56a2a32c835886b7a4d3a8a7add91960679d250bc91e5b75fdb92fb6237d53ca2b5114aa2d6b869c1db9cc371aad6841b153 SHA512 5ebb629ebc48f38035c031f2ebd7109ee681499556771792a3cddc671561b119d144a5fd9f4e51ceaccb58dc50e3852d185ee0c7f1ac57d6307d4936dc1a45b4 diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild new file mode 100644 index ..57b3032a1a5d --- /dev/null +++ b/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +SNMP_EXPORTER_COMMIT=0d8c3527 +inherit go-module + +DESCRIPTION="Prometheus exporter for snmp metrics" +HOMEPAGE="https://github.com/prometheus/snmp_exporter"; +SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"; + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64" + +COMMON_DEPEND="acct-group/snmp_exporter + acct-user/snmp_exporter + net-analyzer/net-snmp" + DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-util/promu" + +src_prepare() { + default + sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die +} + +src_compile() { + promu build --prefix bin || die + pushd generator || die + ego build -o ../bin/generator + popd || die +} + +src_test() { + emake test-flags= test +} + +src_install() { + dobin bin/generator + newbin bin/${PN}-${PV} ${PN} + dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml + insinto /etc/snmp_exporter + newins snmp.yml snmp.yml.example + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + keepdir /var/lib/snmp_exporter /var/log/snmp_exporter + fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter +}
[gentoo-commits] repo/gentoo:master commit in: app-metrics/github-exporter/
commit: 0d7740e017ae52fbad1eab69c80c9e3a20538d24 Author: William Hubbs gentoo org> AuthorDate: Sat Feb 4 03:37:05 2023 + Commit: William Hubbs gentoo org> CommitDate: Sat Feb 4 03:37:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d7740e0 app-metrics/github-exporter: drop 1.0.2 Signed-off-by: William Hubbs gentoo.org> app-metrics/github-exporter/Manifest | 2 -- .../github-exporter/github-exporter-1.0.2.ebuild | 34 -- 2 files changed, 36 deletions(-) diff --git a/app-metrics/github-exporter/Manifest b/app-metrics/github-exporter/Manifest index f27ca3ae0690..d77c1c82edbb 100644 --- a/app-metrics/github-exporter/Manifest +++ b/app-metrics/github-exporter/Manifest @@ -1,4 +1,2 @@ -DIST github-exporter-1.0.2-deps.tar.xz 6692672 BLAKE2B 7b0d32b116d7661c89271c674c01680e7cf5b4af83e7eebf4d069a34696fffdf21c57f376acce02922d8c02a8238d967115d561cca4dec1437efb561b5bb3661 SHA512 4c3c24ab3cdc8723f47226f90bdaeff2b5d92d38184bfdc230351db74a172c3dcb9fb4bd3c240a70a15e71eb0ad782c579f3fa3bb0aff105999aa3f4a6110c1e -DIST github-exporter-1.0.2.tar.gz 20534 BLAKE2B 344e01adfca6afade30598305ba388878ddfb3a7e277dc95b87bb5a409bc269b4bfce7ba178ac155f3cd06f72fcf69cf8c38c898eaf391e85ce122618c707fcd SHA512 98326a8c33a7b1e3e7d4106bdd58d07ec34a9f56bce5e4caefe07ba31ac50e2c98bf849aa60cf9d5445afd02d3d9c899a3cb59eddf45635130853d740b3d6347 DIST github-exporter-1.0.3-deps.tar.xz 7786648 BLAKE2B 1dd1876f144e95602131f6f0ec11f4189a88a56821f4ee812b906a1d6d8494651465e416c409a998b19b48081ec8c53d5f11a51f8292002cb9fc50fc13fc4e81 SHA512 247b80369efe54e838868b0c94075031a4430d03f1c8ffefb686d94a6de70f5f288f79459a14f9c1331d2f1a3f9e865e5f7cbd658dc6f01bc7c6e893b5305af2 DIST github-exporter-1.0.3.tar.gz 22089 BLAKE2B 69ac6a71fa8872c08cb24b6fa3e0aa79a8d49fdc626606f5ae1265cb654f73a320d53c1f934f3b2a116c713412f0cb278e27ed892da19b54ff09405abba5bfc4 SHA512 9b3ab36dc8c76e844afdb7f36099dca86f358072fb0ccc134e4ba6754b2a84122b700bb92607014eb2e21e1e3f3889f842e82cd612e66d223e31aef60d123220 diff --git a/app-metrics/github-exporter/github-exporter-1.0.2.ebuild b/app-metrics/github-exporter/github-exporter-1.0.2.ebuild deleted file mode 100644 index 25fe0600215c.. --- a/app-metrics/github-exporter/github-exporter-1.0.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit go-module systemd -DESCRIPTION="Github statistics exporter for prometheus" -HOMEPAGE="https://github.com/infinityworks/github-exporter"; -SRC_URI="https://github.com/infinityworks/github-exporter/archive/${PV}.tar.gz -> ${P}.tar.gz -https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"; - -LICENSE="MIT Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="acct-group/github-exporter - acct-user/github-exporter" - -src_compile() { - ego build -} - -src_install() { - dobin ${PN} - dodoc *.md - newconfd "${FILESDIR}"/${PN}.confd ${PN} - newinitd "${FILESDIR}"/${PN}.initd ${PN} -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "Before you can use ${PN}, you must configure it in" - elog "${EROOT}/etc/conf.d/${PN}" - fi -}
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/clevis/files/, app-crypt/clevis/
commit: 08ea01112a7aede8662aa4795fcbd4159c7a23ea Author: Julien Roy jroy ca> AuthorDate: Sat Feb 4 03:40:03 2023 + Commit: Julien Roy jroy ca> CommitDate: Sat Feb 4 03:40:27 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=08ea0111 app-crypt/clevis: fix for dracut on openRC Signed-off-by: Julien Roy jroy.ca> app-crypt/clevis/Manifest | 1 - .../{clevis-19.ebuild => clevis-19-r1.ebuild} | 4 ++ app-crypt/clevis/files/clevis-dracut.patch | 52 -- 3 files changed, 13 insertions(+), 44 deletions(-) diff --git a/app-crypt/clevis/Manifest b/app-crypt/clevis/Manifest index 301bc626a..ead9af1f7 100644 --- a/app-crypt/clevis/Manifest +++ b/app-crypt/clevis/Manifest @@ -1,2 +1 @@ -DIST clevis-18.tar.gz 78191 BLAKE2B 317f30df3c05a9a651363daf17b9320e47a903929af991ecfd9d4d3d630a0ab8e92815db2e5736e9b9ca7f3fb4a41f4cf198ec447f04a9849f4d2a03bb196b22 SHA512 19b6743ff61ff7e29699bbc3fb69dfa31567a37ab824629330b57c92aa89b70759d63c1770be68d4525681ec9ba56d980cae2bb1cdeee6192992ede449a0e4ff DIST clevis-19.tar.gz 81324 BLAKE2B 75323940d0b53e307f5dbc197e3117e7ddc900d76ae1043bac3d17cc3af0264ba00a5f840c5c9dd3c2dd9c8fbde2cf05934b8ab3e89cd403ad8a8eb28609bb78 SHA512 dee19354c908c3843fc295a84b431780d5d6062c77766ee7ce9550636d3623d92b0cd1f6d4c40d57bef14debddc161da2b72289a5d6185cdd17b09a1ef67409a diff --git a/app-crypt/clevis/clevis-19.ebuild b/app-crypt/clevis/clevis-19-r1.ebuild similarity index 78% rename from app-crypt/clevis/clevis-19.ebuild rename to app-crypt/clevis/clevis-19-r1.ebuild index 50fb4b236..37a4b60eb 100644 --- a/app-crypt/clevis/clevis-19.ebuild +++ b/app-crypt/clevis/clevis-19-r1.ebuild @@ -27,5 +27,9 @@ DEPEND=" RDEPEND="${DEPEND}" PATCHES=( + # From https://github.com/latchset/clevis/pull/347 + # Allows using dracut without systemd + "${FILESDIR}/clevis-dracut.patch" + # Fix for systemd on Gentoo "${FILESDIR}/clevis-meson.patch" ) diff --git a/app-crypt/clevis/files/clevis-dracut.patch b/app-crypt/clevis/files/clevis-dracut.patch index 7aec43e9e..60873b84e 100644 --- a/app-crypt/clevis/files/clevis-dracut.patch +++ b/app-crypt/clevis/files/clevis-dracut.patch @@ -1,45 +1,3 @@ -From a5aa695821e34fb218c7d705065aaf7077737c8c Mon Sep 17 00:00:00 2001 -From: Jonathan Davies -Date: Fri, 5 Nov 2021 15:24:12 + -Subject: [PATCH] Moved dracut directory up to top-level to decouple it with - systemd. - -Adds a clevis-luks-generic-unlocker for alternative use without systemd. - -Based on patch by Sergio Correia - -Closes: #346 - -Signed-off-by: Jonathan Davies - .../dracut/clevis-pin-sss/meson.build | 0 - .../dracut/clevis-pin-sss/module-setup.sh.in | 0 - .../dracut/clevis-pin-tang/meson.build| 0 - .../dracut/clevis-pin-tang/module-setup.sh.in | 0 - .../dracut/clevis-pin-tpm2/meson.build| 0 - .../dracut/clevis-pin-tpm2/module-setup.sh.in | 0 - src/dracut/clevis/clevis-hook.sh.in | 3 + - .../clevis/clevis-luks-generic-unlocker | 70 +++ - .../systemd => }/dracut/clevis/meson.build| 1 + - .../dracut/clevis/module-setup.sh.in | 19 +++-- - src/{luks/systemd => }/dracut/meson.build | 0 - .../systemd/dracut/clevis/clevis-hook.sh.in | 2 - - src/luks/systemd/meson.build | 1 - - src/meson.build | 1 + - 14 files changed, 90 insertions(+), 7 deletions(-) - rename src/{luks/systemd => }/dracut/clevis-pin-sss/meson.build (100%) - rename src/{luks/systemd => }/dracut/clevis-pin-sss/module-setup.sh.in (100%) - rename src/{luks/systemd => }/dracut/clevis-pin-tang/meson.build (100%) - rename src/{luks/systemd => }/dracut/clevis-pin-tang/module-setup.sh.in (100%) - rename src/{luks/systemd => }/dracut/clevis-pin-tpm2/meson.build (100%) - rename src/{luks/systemd => }/dracut/clevis-pin-tpm2/module-setup.sh.in (100%) - create mode 100755 src/dracut/clevis/clevis-hook.sh.in - create mode 100755 src/dracut/clevis/clevis-luks-generic-unlocker - rename src/{luks/systemd => }/dracut/clevis/meson.build (87%) - rename src/{luks/systemd => }/dracut/clevis/module-setup.sh.in (76%) - rename src/{luks/systemd => }/dracut/meson.build (100%) - delete mode 100755 src/luks/systemd/dracut/clevis/clevis-hook.sh.in - diff --git a/src/luks/systemd/dracut/clevis-pin-sss/meson.build b/src/dracut/clevis-pin-sss/meson.build similarity index 100% rename from src/luks/systemd/dracut/clevis-pin-sss/meson.build @@ -213,9 +171,17 @@ index bfe657c..dbce790 100755 grep sed cut \ clevis-decrypt \ diff --git a/src/luks/systemd/dracut/meson.build b/src/dracut/meson.build -similarity index 100% +similarity index 78% rename from src/luks/systemd/dracut/meson.build rename to src/dracut/meson.build +index 7ad5b14..fdb264b 100644 +--- a/src/luks/systemd/dracut/meson.build b/src/dracut/meson.build +@@ -2,4 +2,3 @@ subdir('clevis') + subdir('clevis-pin-
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/clevis/files/, app-crypt/clevis/
commit: 115bf7872f7c0d8946339629d0d1550e386c1dfa Author: Julien Roy jroy ca> AuthorDate: Sat Feb 4 03:40:15 2023 + Commit: Julien Roy jroy ca> CommitDate: Sat Feb 4 03:40:28 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=115bf787 app-crypt/clevis: drop 18 Signed-off-by: Julien Roy jroy.ca> app-crypt/clevis/clevis-18.ebuild | 30 app-crypt/clevis/files/clevis-openssl.patch | 44 - 2 files changed, 74 deletions(-) diff --git a/app-crypt/clevis/clevis-18.ebuild b/app-crypt/clevis/clevis-18.ebuild deleted file mode 100644 index a08573ab8..0 --- a/app-crypt/clevis/clevis-18.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -DESCRIPTION="Automated Encryption Framework" -HOMEPAGE="https://github.com/latchset/clevis"; -SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+luks +tpm" - -DEPEND="luks? ( app-misc/jq ) - >=dev-libs/jose-8 - luks? ( dev-libs/libpwquality ) - luks? ( dev-libs/luksmeta ) - tpm? ( app-crypt/tpm2-tools ) - sys-fs/cryptsetup" -RDEPEND="${DEPEND}" -BDEPEND="" - -PATCHES=( - "${FILESDIR}/${PN}-dracut.patch" - "${FILESDIR}/${PN}-meson.patch" - "${FILESDIR}/${PN}-openssl.patch" -) diff --git a/app-crypt/clevis/files/clevis-openssl.patch b/app-crypt/clevis/files/clevis-openssl.patch deleted file mode 100644 index 5b9090980..0 --- a/app-crypt/clevis/files/clevis-openssl.patch +++ /dev/null @@ -1,44 +0,0 @@ -From ee1dfedb9baca107e66a0fec76693c9d479dcfd9 Mon Sep 17 00:00:00 2001 -From: Sergio Correia -Date: Mon, 3 May 2021 22:36:36 -0300 -Subject: [PATCH] sss: use BN_set_word(x, 0) instead of BN_zero() - -Different OpenSSL versions define BN_zero() differently -- sometimes -returning an integer, sometimes as void --, so let's use instead -BN_set_word() instead, not to have issues when building with these -different versions. - src/pins/sss/sss.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/pins/sss/sss.c b/src/pins/sss/sss.c -index a37215d7..7486d6c5 100644 a/src/pins/sss/sss.c -+++ b/src/pins/sss/sss.c -@@ -214,7 +214,7 @@ sss_point(const json_t *sss, size_t *len) - if (BN_rand_range(xx, pp) <= 0) - return NULL; - --if (BN_zero(yy) <= 0) -+if (BN_set_word(yy, 0) <= 0) - return NULL; - - for (size_t i = 0; i < json_array_size(e); i++) { -@@ -272,7 +272,7 @@ sss_recover(const json_t *p, size_t npnts, const uint8_t *pnts[]) - if (!ctx || !pp || !acc || !tmp || !k) - return NULL; - --if (BN_zero(k) <= 0) -+if (BN_set_word(k, 0) <= 0) - return NULL; - - len = jose_b64_dec(p, NULL, 0); -@@ -303,7 +303,7 @@ sss_recover(const json_t *p, size_t npnts, const uint8_t *pnts[]) - - /* acc *= (0 - xi) / (xo - xi) */ - --if (BN_zero(tmp) <= 0) -+if (BN_set_word(tmp, 0) <= 0) - return NULL; - - if (BN_mod_sub(tmp, tmp, xi, pp, ctx) <= 0)
[gentoo-commits] repo/gentoo:master commit in: games-arcade/xrick/
commit: 2d66e9a07e972cfd20dc12146c31293faa682f2b Author: Sebastian Pipping gentoo org> AuthorDate: Sat Feb 4 03:35:39 2023 + Commit: Sebastian Pipping gentoo org> CommitDate: Sat Feb 4 03:38:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d66e9a0 games-arcade/xrick: Prevent use with unfixed sdl12-compat Fixes merged upstream, expected in >=media-libs/libsdl-1.2.61 https://github.com/libsdl-org/sdl12-compat/issues/283 Signed-off-by: Sebastian Pipping gentoo.org> games-arcade/xrick/xrick-021212-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/games-arcade/xrick/xrick-021212-r2.ebuild b/games-arcade/xrick/xrick-021212-r2.ebuild index 3ef05387653d..eaa56d752fbc 100644 --- a/games-arcade/xrick/xrick-021212-r2.ebuild +++ b/games-arcade/xrick/xrick-021212-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,8 @@ KEYWORDS="~amd64 ~ppc64 ~x86" RESTRICT="mirror bindist" # bug #149097 DEPEND="media-libs/libsdl[video]" -RDEPEND="${DEPEND}" +RDEPEND="${DEPEND} + !~media-libs/libsdl-1.2.60" PATCHES=( "${FILESDIR}"/${P}-exit.patch
[gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/
commit: 3345a6ae0813afc8395adb0f89d7ee07d02b0885 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 4 04:11:15 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 4 04:11:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3345a6ae app-admin/awscli: Bump to 1.27.64 Signed-off-by: Michał Górny gentoo.org> app-admin/awscli/Manifest | 1 + app-admin/awscli/awscli-1.27.64.ebuild | 80 ++ 2 files changed, 81 insertions(+) diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 13c8a603a5de..34d238036612 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,3 +1,4 @@ DIST aws-cli-1.27.54.gh.tar.gz 2349811 BLAKE2B 08cb317ea4621273644c39c1152e1a3f8bd9f52ed8c30d7c37dfea9e986ca1597fda1dfbdea8c4043fa783f061609d6f24895997e9f9a3f27d5677c0f9e6c3de SHA512 af4783eef3c1c666b8b3c6d20f1c0177db6d4ce01645b092770cba535dad95609b4bece366355ce6d6a505ac7ab5a2e390d64fb84d6c00e402f9f8ab88db91d9 DIST aws-cli-1.27.59.gh.tar.gz 2360458 BLAKE2B e60117e41cf95d442db333cf49c146e4ed02247007b8f46228799c5dee8c486aec34b236c9a0a6d152d690ff86c34fd797a6f35227a6e443805cdfe1b1b30f00 SHA512 87b9aebe812415223285c09ab5a36de2b9c0da49775d1162a5b5d7489ad61c16ca5361b721bc9e4ec4ccc09306be24513f42d7263b315d6856be20fdf0779686 DIST aws-cli-1.27.63.gh.tar.gz 2363224 BLAKE2B 4fe7971271d4359f9d29cdf4c028bd8d06a1a8188e6aef108c33d6b137bb2aee84f3655f3666381fdbf8166dd5ea071c564faac32fb0c06a461249385dbc503d SHA512 01c578f13c0f316c41bdf3bbc5e8532f01d0bfa108207899b8c56b990acdbf5b80d0ffbf1be944088f34e623494b1a1f6d52823d654c192b07133291e4bd7deb +DIST aws-cli-1.27.64.gh.tar.gz 2363382 BLAKE2B fd0879e793aa5ee449ee535425976d11edb6f844f0385a630df82b62aa6db593c76ccab2b59b960b951859b88e2fd1d2db98f5f9f423b1de4dfed65c22eb131b SHA512 8966543936133e98a7ed27897b3978dbc71fde0728dff18e778cb17cf18b834c6abdc4cae13375f72280b1c3f4b43b33c3a08d4f3b99a2cefb74f27d1dd480a3 diff --git a/app-admin/awscli/awscli-1.27.64.ebuild b/app-admin/awscli/awscli-1.27.64.ebuild new file mode 100644 index ..62c19f3a63fb --- /dev/null +++ b/app-admin/awscli/awscli-1.27.64.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# botocore is x.(y+2).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)" +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only + tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing + tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid + ) + + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + + insinto /usr/share/zsh/site-functions + newins bin/aws_zsh_completer.sh _aws + + distutils-r1_python_install_all + + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/fakeredis/
commit: 20f56568d05917e1d2fd080806444959217cf0cc Author: Michał Górny gentoo org> AuthorDate: Sat Feb 4 04:14:57 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 4 04:39:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f56568 dev-python/fakeredis: Bump to 2.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/fakeredis/Manifest | 1 + dev-python/fakeredis/fakeredis-2.7.0.ebuild | 88 + 2 files changed, 89 insertions(+) diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index c77fa416f141..c706d38bea03 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,3 +1,4 @@ DIST fakeredis-py-2.4.0.gh.tar.gz 132163 BLAKE2B fc3858eb364c63d776c81d715cbfb218dc0e763d568c97b0d1dafb0716aaf87e928f9b81bd49d28fcc235f4285277446945595d42ff1d440e5c8491b78abb6c3 SHA512 5fba3e84d0506b52e1561f750e045b6227ea21387ddb3a89b8a61e9698fc0e9ec80c4a7048d9426fb0d8e9f2acd808e7e07fcb11d14d6852d9b057fec86d6e6a DIST fakeredis-py-2.5.0.gh.tar.gz 139911 BLAKE2B 4e9c616b0066012e1ed681d06e73390fb670969c15fa57689244147a0175dbb14ff1c312066ffdc6eb2c647f884c351a98eebfb2c1ba0e6c1bbe1e6c3553808a SHA512 aff5a8679763d4cf1717f790c7c384aa8e5056e5f175c306626f3a1671fe27aa3caf24368831033c9cf5bffa2e3e6be1104b183f3912eadf34fd6f37ea0c63e8 DIST fakeredis-py-2.6.0.gh.tar.gz 151925 BLAKE2B 60538efa5de93436177aa019908f02affb9df9b2aaf1349e933da6f066f98aaa255bbdb3297645ad1dc3b67a57a61bb8081e476f451799b512719f5779c1218d SHA512 19a23be7a182f962e66686f3c4ec3a5b9fbc847d97e48f19fde11ae268f4a70de567ff2ca302a9fe0e7080de2215698cf5b2ff2febda5eef6748f3ec8d601720 +DIST fakeredis-py-2.7.0.gh.tar.gz 162784 BLAKE2B acb218c375785ad4b8419f08f9c328f33f97eedb0f13ae09b760b6c87849b3f8a4b9210fe6aea59d763b27909bff8297a009757a1f5fd9b58c1936e6705e0833 SHA512 fc11f3b59971ae50f59e9d1684827a8f4d1127813f7d55641b43b1edbb1e4c75c76aa0734ad55c98cca404c7e343a02f72644f05aceb72849ef6f18dc2418890 diff --git a/dev-python/fakeredis/fakeredis-2.7.0.ebuild b/dev-python/fakeredis/fakeredis-2.7.0.ebuild new file mode 100644 index ..4186af5980d2 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.7.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +MY_P=fakeredis-py-${PV} +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" +SRC_URI=" + https://github.com/cunla/fakeredis-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/redis-py-4.2[${PYTHON_USEDEP}] + =dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin redis + sed -i -e '/redis/s:<[0-9.]*:*:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/
commit: 3979375345e609aad60bcaf95c09e1e5ea099cd3 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 4 04:11:01 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 4 04:11:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39793753 dev-python/boto3: Bump to 1.26.64 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.26.64.ebuild | 68 +++ 2 files changed, 69 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b7147b748748..5d45bcd6eb8c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,3 +1,4 @@ DIST boto3-1.26.54.gh.tar.gz 592401 BLAKE2B 7fd5bb10cda2b27fc43a7efa65c4651d95c8ddb7c94b424847f21010f9d748398a9efc47118ed7d2d903696644903fb8c4e7bc3ba3f70643a565b426023f SHA512 86d315eba84d783d327d19b41a593f193d9b356a205f29a1589e43e43519aa6eedefc26e7b23234dade6ab0bbb309d8039b011d0ba766757be8eb7a57c22f49b DIST boto3-1.26.59.gh.tar.gz 594565 BLAKE2B 90c5fe950da7fabc46a4c34e0a77997cfc643273f6b3c1afed6caad3415486b25a6610c8fb9d3f3450b4f3b73e45cfec5d6b1f02666dbd2608944e2db81a955b SHA512 e4dff5978e41a9f4c29ef131d7b8c1f0ec625d9fc77a8cff9ce3c6d5a00d68e75b62da34b418252ddfeedf6302332edd8a30d88401ea393d0de3add64ab5cc40 DIST boto3-1.26.63.gh.tar.gz 597618 BLAKE2B f48de0f51694efa0a4fa6afa25ad7475fb7e304cf9291d6dcd275d4dd64ee3f29665afd1fb64f5883513c4224e03240a8e225e41765409822d33e95078e1a9ac SHA512 5f781ce615202fa84e321982699877376b2cb3692cf52f2b157eea6800d160ccf6da38b3c545d62cbce029b59f492d5ef67a31d06dc33b6f6bffd1e1b40c5d85 +DIST boto3-1.26.64.gh.tar.gz 597913 BLAKE2B f3dc63388cf4055c58610eaf980c10ff4d297c6f00f89fe0b46e6b764fba502b7fd85b71421a9d21f1930b668f95aaf2fa174389e5067901d749babf582a8033 SHA512 17ed0e655706f29ed34e1d60a9913d74ab0098ba8085ea76bafb5fcd1bfde91c2efd95d2f3f3e6bcd1b6ef7bed85f9001ba484c01a0251219ea879543a8f2b47 diff --git a/dev-python/boto3/boto3-1.26.64.ebuild b/dev-python/boto3/boto3-1.26.64.ebuild new file mode 100644 index ..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.64.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3"; + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/
commit: 903cddc32ec5534800e54235ad56272ac13b9929 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 4 04:10:47 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 4 04:10:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903cddc3 dev-python/botocore: Bump to 1.29.64 Signed-off-by: Michał Górny gentoo.org> dev-python/botocore/Manifest| 1 + dev-python/botocore/botocore-1.29.64.ebuild | 74 + 2 files changed, 75 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 494b842abd53..9d4d228e7aa5 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,3 +1,4 @@ DIST botocore-1.29.54.gh.tar.gz 11127081 BLAKE2B 7c2d11d968ca6a4d3b23b12c44cb8f050ac1848f75280c44bbb2f3567860204ed8615bd1596e02b8d0222f4d54c22a8559114365ec6a69e4a01a166a821d8c8a SHA512 4ba58c9b881ff95149ba1a5805453885208cdb68f197cc9a6c13cc9ca075e988ae33e4809f2970d9c48fa426e26c06d83686b8bbf4ff69d4a7cfe26ef3f903bf DIST botocore-1.29.59.gh.tar.gz 11131182 BLAKE2B fa85e1f8dc3c366f7a7fb3e9b06dd298b1ad62be882891df3414289aa9e88bff72753690a1438e6040aefb7cafa1718a70c940e8cd2b4e743df44013b5748ef6 SHA512 9a4811b44c67652cacc899d1d84d4db1305cb60e73dd47d7f543b85ec37f921cab00a51d67b48ab6a215be8f7543e30c54585e0fb337085e1b75774b053c4bf3 DIST botocore-1.29.63.gh.tar.gz 11139461 BLAKE2B b05f6d52f55df9e456e80e9b701e2498c5fcdd2c65720719095e2c44b87acf854712a6cbc19e20a53b58b8075c8f20952605f60ed58cb1f99a6a771c61dac4d1 SHA512 7005db01c04d0eb2d94760ff1b7b89d28d956b310736dc5601b9e0bfd4b7ffeac6042a596f4f731b600e669a3fc74a7eededbe2bc0ef70d7d3a68f1d14149f9c +DIST botocore-1.29.64.gh.tar.gz 11141125 BLAKE2B 955c7ac0630bd8df8004a0a3d0ec64a7491aee7d68e63a65c62c9fe7a4362aed7bd74ca967cd8550ead458e42a858a428f0db8922a337c83cd680fcd1d1b62c3 SHA512 bb8e177f335e600389123f26788711f4a94c4943a4d80c6195db03bb3cf9489b2a8b0e42d429635c6c8c501df6c27b4177e9ef71e748b0c63874e6682bf2e8e9 diff --git a/dev-python/botocore/botocore-1.29.64.ebuild b/dev-python/botocore/botocore-1.29.64.ebuild new file mode 100644 index ..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.64.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore"; + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/blessed/
commit: 8123b799e5e724dc84c29d48de9e9f57792babab Author: Michał Górny gentoo org> AuthorDate: Sat Feb 4 04:14:11 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 4 04:39:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8123b799 dev-python/blessed: Bump to 1.20.0 Signed-off-by: Michał Górny gentoo.org> dev-python/blessed/Manifest | 1 + dev-python/blessed/blessed-1.20.0.ebuild | 52 2 files changed, 53 insertions(+) diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest index 1d16e20a98bf..517416a92de1 100644 --- a/dev-python/blessed/Manifest +++ b/dev-python/blessed/Manifest @@ -1 +1,2 @@ DIST blessed-1.19.1.tar.gz 6653802 BLAKE2B 5755efde3c203ab21a8994e29c55cdaace1cca772c9cdee4343562bb8ee4f9ffdee97d9131646d8385ef7e46664d23723ba46a3807d85623d9512ca40c7c4002 SHA512 0d899c42d7c6246362081bdc5d7dd2fcb13209fe0cee7e5a4fa342bdaf16a5cc21ab7e402bc5287ab1239f7e3afb02381e0e57e2d6111b80fe3c52b92cfa0f84 +DIST blessed-1.20.0.tar.gz 6655612 BLAKE2B 10523940ac2fe528487f2d1d68d9f38782ec260f1f42735940219d37d4b4dbaef2fd4ca63d753780123d54ae39ab04652d2c6ba8f3323c621a2206b0a706f6e0 SHA512 8567ff1c55f68ad99c6c524edbf8ee57813d23d885dcb372767debc76bc2d75642c2b0491e1ed05460f023c28403b5dabb13769dea101a1c6e3156c82e0d0355 diff --git a/dev-python/blessed/blessed-1.20.0.ebuild b/dev-python/blessed/blessed-1.20.0.ebuild new file mode 100644 index ..243e96498758 --- /dev/null +++ b/dev-python/blessed/blessed-1.20.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Library for making terminal apps using colors, keyboard input and positioning" +HOMEPAGE=" + https://github.com/jquast/blessed/ + https://pypi.org/project/blessed/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_prepare_all() { + # Skip those extensions as they don't have a Gentoo package + # Remove calls to scripts that generate rst files because they + # are not present in the tarball + sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \ + -e '/^for script in/,/runpy.run_path/d' \ + -i docs/conf.py || die + # Requires pytest-xdist and has no value for us + sed -i '/^looponfailroots =/d' tox.ini || die + distutils-r1_python_prepare_all +} + +python_test() { + # COLORTERM must not be truecolor + # See https://github.com/jquast/blessed/issues/162 + # Ignore coverage options + COLORTERM= epytest --override-ini="addopts=" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hypothesis/
commit: e812d36543ab25526617d60ec2607debf28c6d65 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 4 04:20:45 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 4 04:39:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e812d365 dev-python/hypothesis: Bump to 6.66.1 Signed-off-by: Michał Górny gentoo.org> dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.66.1.ebuild | 77 ++ 2 files changed, 78 insertions(+) diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 9a1a034b57e2..5ddde784332b 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,3 +5,4 @@ DIST hypothesis-6.65.0.gh.tar.gz 9347619 BLAKE2B 5e67e4659d883209aefe3a459620a2d DIST hypothesis-6.65.1.gh.tar.gz 9347804 BLAKE2B 555b8eb742b35cffbc0985394b7b830fbff0c601c031b270ffb50c8e1e8437b99c4f827b92cfc74f5239aac43b34e70520b3674129c70338ad010b289552b14b SHA512 faa1330477a5932b47af5c0b70742a81455aba85f5ba19e355a1678a23e62612a8972e510f3bd0f133491fdd5c2f293a4ea2f75e181dedaa3304d789e3bc90cc DIST hypothesis-6.65.2.gh.tar.gz 9349189 BLAKE2B 4a36cde376a56c9eee7645c76606777e8c40144f0495a1a6f2d2d840262be26f52e077f932e90790214decfbc3fbb9b3f64add1830e451bb8e56b8c9c5ba5f34 SHA512 0955e95d9d97f44170dfc937c3ea6b43f6c4ac74dbb48e16a4998e735310f72448083382f6628b4bb9620ac0d21d6c749a5464c6a7caee24cdb7af8cd0c01dcb DIST hypothesis-6.66.0.gh.tar.gz 9349578 BLAKE2B 3dcdd9bcca00849d68a4bf1368784099bf69e25634b7d1dae13b40be2ac67959151c1b9cdf233349197de1a0f100d57baebbeb9a691ce56ec2d81d21c9f48989 SHA512 a73648ba0b4e3a0621e843ad3ea32f3f692374b82881b096c86a9609f4f7d1a277dd5265a4104863c648c6d5ee4dbccdb1d80ffe62bcc303f837cea26f7d40f2 +DIST hypothesis-6.66.1.gh.tar.gz 9349822 BLAKE2B 728b6e1cb2a28a07cae066bb2e2f8099f21f9a27dbbcc27db1c4f97f6541f60464d90344630df75eb5cea9a65e865a296dbd8b5e20bcbbc17840c92d8f269ac7 SHA512 58ddb6c2bb77064d25ace1740bc5a9ba4d4b6c311da065aa065854c19d4920ec9d70b83935e1b9d057eb10c96c4fdfb445d17c6f321578cbde449df3c5edf704 diff --git a/dev-python/hypothesis/hypothesis-6.66.1.ebuild b/dev-python/hypothesis/hypothesis-6.66.1.ebuild new file mode 100644 index ..c793a8a143d2 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.66.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!
[gentoo-commits] repo/gentoo:master commit in: dev-util/flatpak-builder/
commit: e4416b31b945073bb4eabc9b686f1eb55ce2dc01 Author: Zac Medico gentoo org> AuthorDate: Sat Feb 4 05:04:26 2023 + Commit: Zac Medico gentoo org> CommitDate: Sat Feb 4 05:05:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4416b31 dev-util/flatpak-builder: add 1.3.1 Closes: https://bugs.gentoo.org/892848 Signed-off-by: Zac Medico gentoo.org> dev-util/flatpak-builder/Manifest | 1 + .../flatpak-builder/flatpak-builder-1.3.1.ebuild | 42 ++ 2 files changed, 43 insertions(+) diff --git a/dev-util/flatpak-builder/Manifest b/dev-util/flatpak-builder/Manifest index 8e2036416cc5..c56c9ec33b62 100644 --- a/dev-util/flatpak-builder/Manifest +++ b/dev-util/flatpak-builder/Manifest @@ -1 +1,2 @@ DIST flatpak-builder-1.2.2.tar.xz 503444 BLAKE2B f499d5a5bb313530b2a5c69c2aef897aead40e959495ee368f375e03b9bca3c224b377607d1ca213f8640b0f926d7b862b0a7502e1773661a8e5ee983340f53c SHA512 28ab004f5c4fdb7f43b7d3f0823d54dad0aa4f660d5bbe9969e0ce011a1e338e2442e676d1d4c197af60d61a0911b8715ba34244b547116887bbcdef589e1b47 +DIST flatpak-builder-1.3.1.tar.xz 517864 BLAKE2B 1698ef94028962c7da7a04c44e5cef5a5e97a05a5cbdf3712bdbaf20aa8f09980c4a2f90150f166618a82fdb8355e265530907b11520d15306b70ed6a8a80004 SHA512 a6db2b23bd11784b41eabe8f57698bf252385f2c35ea482fdf13a60fc0a3b40e77edc7c6759dae7a4e4e0c1ec93e207e01c632e323076714a3ad6452892bc270 diff --git a/dev-util/flatpak-builder/flatpak-builder-1.3.1.ebuild b/dev-util/flatpak-builder/flatpak-builder-1.3.1.ebuild new file mode 100644 index ..21434455c033 --- /dev/null +++ b/dev-util/flatpak-builder/flatpak-builder-1.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz"; +DESCRIPTION="Tool to build flatpaks from source" +HOMEPAGE="http://flatpak.org/"; + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="doc +yaml" + +RDEPEND=" + >=sys-apps/flatpak-0.99.1 + >=dev-util/ostree-2019.5:= + >=dev-libs/elfutils-0.8.12:= + >=dev-libs/glib-2.44:2= + >=dev-libs/libxml2-2.4:= + dev-libs/json-glib:= + net-misc/curl:= + yaml? ( dev-libs/libyaml:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=sys-devel/gettext-0.18.2 + virtual/pkgconfig + doc? ( + app-text/xmlto + dev-libs/libxslt + ) +" + +PATCHES=("${FILESDIR}/flatpak-builder-1.2.2-musl.patch") + +src_configure() { + econf \ + $(use_enable doc documentation) \ + $(use_enable doc docbook-docs) \ + $(use_with yaml) +}
[gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
commit: c481d2974328528470245ac65fe59fb99ed4eb3c Author: William Hubbs gentoo org> AuthorDate: Sat Feb 4 06:24:15 2023 + Commit: William Hubbs gentoo org> CommitDate: Sat Feb 4 06:24:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c481d297 app-metrics/prom2json: fix tests Closes: https://bugs.gentoo.org/893148 Signed-off-by: William Hubbs gentoo.org> app-metrics/prom2json/prom2json-1.3.0.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-metrics/prom2json/prom2json-1.3.0.ebuild b/app-metrics/prom2json/prom2json-1.3.0.ebuild index 464297b7bc1a..ece0dcf32a9b 100644 --- a/app-metrics/prom2json/prom2json-1.3.0.ebuild +++ b/app-metrics/prom2json/prom2json-1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,10 @@ src_compile() { promu build --prefix bin || die } +src_test() { + emake test-flags= test || die +} + src_install() { dobin bin/* dodoc {README,CONTRIBUTING}.md
[gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
commit: 3cbb30e77954f14e5057e9c25efce77d20a02397 Author: William Hubbs gentoo org> AuthorDate: Sat Feb 4 06:24:14 2023 + Commit: William Hubbs gentoo org> CommitDate: Sat Feb 4 06:24:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbb30e7 app-metrics/prom2json: drop 0.1.0_p20170523 Signed-off-by: William Hubbs gentoo.org> app-metrics/prom2json/Manifest | 1 - .../prom2json/prom2json-0.1.0_p20170523.ebuild | 38 -- 2 files changed, 39 deletions(-) diff --git a/app-metrics/prom2json/Manifest b/app-metrics/prom2json/Manifest index a99918699d37..698cd6719906 100644 --- a/app-metrics/prom2json/Manifest +++ b/app-metrics/prom2json/Manifest @@ -1,2 +1 @@ -DIST prom2json-0.1.0_p20170523.tar.gz 129179 BLAKE2B ef0e42e340d53894c31bff7018b668d8575fc3568584a43dc308955665ac6f59dbabf2d4605bc2a66957df57a29ebb7b3a4eef1f99537eefc2805a5ffd86904f SHA512 824f4c43f4a167dc7dde2f11e84cf482e5cdfa26ab11caf08a5461d525543c3491180f54694c4ae61fdd5dc9763ff16f6e29b332a64dc3ac52fdb7b9c0902571 DIST prom2json-1.3.0.tar.gz 1646893 BLAKE2B 9b8fcfa4a3e45ee08a57016fa6a7611604cbb578f162f0bf7ff8338f345f98788b75c3ac047ffca95b62020e972c302bc1c44f2f7f00240cfd978f73b8d9c829 SHA512 8f02c7b2616d915e2b4ff5f195a8c2eff89d18417f7396dc02d2aa4cf34711358b0beef6effae9b42a3d6f4b0616c5d3ab995a73ab9e37a4a0ec230adff6f249 diff --git a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild b/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild deleted file mode 100644 index bc3abad7c8c2.. --- a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/${PN}" -EGIT_COMMIT="4a7436442837da72f9e211d99f0145dff3246b66" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="A tool to scrape a Prometheus client and dump the result as JSON" -HOMEPAGE="https://github.com/prometheus/prom2json"; -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" - -DEPEND="dev-util/promu" - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GOPATH="${S}" promu build -v --prefix ${PN} || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin ${PN}/${PN} - dodoc {README,CONTRIBUTING}.md - popd || die -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 9050e81071ded140bf982b83660ca4e5464ffe04 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:24 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9050e810 app-crypt/rhash: Stabilize 1.4.3 hppa, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 1cfc029f4978..b33bf8d40ffd 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: e39d08ea8ca5314ca689506aff14030d0651d9eb Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:25 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39d08ea app-crypt/rhash: Stabilize 1.4.3 ppc64, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index b33bf8d40ffd..399f9ab7ad56 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 1c4cc55ad0ef151b4713a0916c8bd95d1138f695 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:27 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4cc55a app-crypt/rhash: Stabilize 1.4.3 arm, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index f08e16c2f104..664e221c87dd 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 28adec3645f661a78e2d61cde698b63727e399b6 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:26 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28adec36 app-crypt/rhash: Stabilize 1.4.3 ppc, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 399f9ab7ad56..f08e16c2f104 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/dev/tamiko:master commit in: x11-misc/sddm/, x11-misc/sddm/files/
commit: 66972956956bc3944b4546b201eb13f009b4a1a0 Author: Matthias Maier gentoo org> AuthorDate: Sat Feb 4 07:03:44 2023 + Commit: Matthias Maier gentoo org> CommitDate: Sat Feb 4 07:03:44 2023 + URL:https://gitweb.gentoo.org/repo/dev/tamiko.git/commit/?id=66972956 x11-misc/sddm: new package, add Signed-off-by: Matthias Maier gentoo.org> x11-misc/sddm/files/pam-1.4-substack.patch | 31 + .../files/sddm-0.18.1-respect-user-flags.patch | 25 + x11-misc/sddm/files/sddm-0.19.0-Xsession.patch | 24 x11-misc/sddm/files/sddm.tmpfiles | 1 + x11-misc/sddm/metadata.xml | 24 x11-misc/sddm/sddm-.ebuild | 125 + 6 files changed, 230 insertions(+) diff --git a/x11-misc/sddm/files/pam-1.4-substack.patch b/x11-misc/sddm/files/pam-1.4-substack.patch new file mode 100644 index 000..b0467b2 --- /dev/null +++ b/x11-misc/sddm/files/pam-1.4-substack.patch @@ -0,0 +1,31 @@ +--- sddm-0.18.1/services/sddm-autologin.pam.bak2020-06-19 22:27:57.305580696 +0200 sddm-0.18.1/services/sddm-autologin.pam2020-06-19 22:30:50.513583973 +0200 +@@ -1,6 +1,5 @@ + #%PAM-1.0 + authrequiredpam_env.so +-authrequiredpam_tally.so file=/var/log/faillog onerr=succeed + authrequiredpam_shells.so + authrequiredpam_nologin.so + authrequiredpam_permit.so +--- sddm-0.18.1/services/sddm.pam.bak 2020-06-19 22:27:26.721580117 +0200 sddm-0.18.1/services/sddm.pam 2020-06-19 22:27:48.729580533 +0200 +@@ -1,15 +1,15 @@ + #%PAM-1.0 + +-auth include system-login ++auth substacksystem-login + -auth optionalpam_gnome_keyring.so + -auth optional pam_kwallet5.so + +-account include system-login ++account substacksystem-login + +-password include system-login ++password substacksystem-login + -password optionalpam_gnome_keyring.so use_authtok + + session optionalpam_keyinit.so force revoke +-session include system-login ++session substacksystem-login + -session optionalpam_gnome_keyring.so auto_start + -session optional pam_kwallet5.so auto_start \ No newline at end of file diff --git a/x11-misc/sddm/files/sddm-0.18.1-respect-user-flags.patch b/x11-misc/sddm/files/sddm-0.18.1-respect-user-flags.patch new file mode 100644 index 000..6801fa7 --- /dev/null +++ b/x11-misc/sddm/files/sddm-0.18.1-respect-user-flags.patch @@ -0,0 +1,25 @@ +--- a/CMakeLists.txt 2020-10-12 13:03:39.0 +0200 b/CMakeLists.txt 2020-10-12 23:40:04.480687143 +0200 +@@ -41,22 +41,6 @@ + # Definitions + add_definitions(-Wall -std=c++11 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_FOREACH) + +-# Default build type +-if(NOT CMAKE_BUILD_TYPE) +-set(CMAKE_BUILD_TYPE Release) +-endif() +- +-# Handle build type +-if(CMAKE_BUILD_TYPE MATCHES [Dd]ebug) +-message(STATUS "Debug build") +-add_definitions(-DDEBUG) +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") +-else() +-message(STATUS "Release build") +-add_definitions(-DNDEBUG) +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2") +-endif() +- + # Default absolute paths + if(NOT DEFINED CMAKE_INSTALL_SYSCONFDIR) + set(CMAKE_INSTALL_SYSCONFDIR "/etc") diff --git a/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch b/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch new file mode 100644 index 000..e1e3c15 --- /dev/null +++ b/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch @@ -0,0 +1,24 @@ +--- a/data/scripts/Xsession b/data/scripts/Xsession +@@ -50,6 +50,10 @@ + ;; + esac + ++# Make D-Bus start properly, see: ++# /etc/X11/xinit/xinitrc.d/80-dbus ++command="$@" ++ + [ -f /etc/xprofile ] && . /etc/xprofile + [ -f $HOME/.xprofile ] && . $HOME/.xprofile + +@@ -94,8 +98,8 @@ + . "$USERXSESSION" + fi + +-if [ -z "$*" ]; then ++if [ -z "$command" ]; then + exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session." + else +-exec $@ ++exec $command + fi diff --git a/x11-misc/sddm/files/sddm.tmpfiles b/x11-misc/sddm/files/sddm.tmpfiles new file mode 100644 index 000..300d646 --- /dev/null +++ b/x11-misc/sddm/files/sddm.tmpfiles @@ -0,0 +1 @@ +d /var/lib/sddm 0755 sddm sddm diff --git a/x11-misc/sddm/metadata.xml b/x11-misc/sddm/metadata.xml new file mode 100644 index 000..7c58231 --- /dev/null +++ b/x11-misc/sddm/metadata.xml @@ -0,0 +1,24 @@ + +https://www.gentoo.org/dtd/metadata.dtd";> + + + l...@gentoo.org + LXQt + + + k...@gentoo.org + Gentoo KDE Project + + + Use sys-auth/elogind for session tracking. + +
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/stringio/
commit: 638d221fb19bdffd25c52e9bcaf4e210999d5ffa Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 08:27:54 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638d221f dev-ruby/stringio: add 3.0.5 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/stringio/Manifest | 1 + dev-ruby/stringio/stringio-3.0.5.ebuild | 30 ++ 2 files changed, 31 insertions(+) diff --git a/dev-ruby/stringio/Manifest b/dev-ruby/stringio/Manifest index 79027d92dd46..552898b3c96a 100644 --- a/dev-ruby/stringio/Manifest +++ b/dev-ruby/stringio/Manifest @@ -1,2 +1,3 @@ DIST stringio-3.0.2.tar.gz 43051 BLAKE2B 06d3f5c64a1550969f8c8abdc0cfeec8fe89adba8cb60db68cd4b29bf622a31d51809b85b3b9fa2373b74a33ed1c48df829a44256e431288b6ba2f7654858a13 SHA512 a9ac2820ce1c2bd55aac032be42a493a910787ed04bc41f35ec33b19ffd878c925dbbca49d6c27b07cea5ffb8fa98ecdb576738c9654587dea6842e3bd1f486c DIST stringio-3.0.4.tar.gz 43654 BLAKE2B 08f0d41577cae1acba36acc3823218649342c45fde58fd4a2455a40e3f80859e405db541f1f3a55b222083b2e30efb8d6a2396edb208b1cfd802b5b85c196a4c SHA512 835fa9861e2446512715315ecd44ea192f6209ab5a12f10d91f11ad156ba896737531a5074e7f10f6cd5d3500fd07036de7a9d0bcbce4c2ffe75822fbb28a2f8 +DIST stringio-3.0.5.tar.gz 43822 BLAKE2B 5b79def3cb154f4bb1f4a50b8eeb95e0841279d8500b0ad0cdae1f3029c2b53e8e3f46583ed0b5e289afe6636bb4610bc27a25e24acba5c7c1e679c5e4283f3b SHA512 d881dea34738e46fffaceb9a5e88fa3148979eff3571a6693d1d80bd01fbe236c0eb65bd8b2003abc0241bceff93d87fd3acd27b038b3a7bf6da65d492047153 diff --git a/dev-ruby/stringio/stringio-3.0.5.ebuild b/dev-ruby/stringio/stringio-3.0.5.ebuild new file mode 100644 index ..b4432a6573c3 --- /dev/null +++ b/dev-ruby/stringio/stringio-3.0.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTENSIONS=(ext/stringio/extconf.rb) +RUBY_FAKEGEM_GEMSPEC="stringio.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Pseudo IO class from/to String." +HOMEPAGE="https://github.com/ruby/stringio"; +SRC_URI="https://github.com/ruby/stringio/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="test" + +all_ruby_prepare() { + sed -e "/s.version =/ s/source_version/'${PV}'/" \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/sinatra/
commit: a6eb8b55c84d269a264f1e7cb60d17eca1653bef Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 10:13:33 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6eb8b55 dev-ruby/sinatra: avoid spec broken by newer rack versions Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sinatra/sinatra-3.0.5.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-ruby/sinatra/sinatra-3.0.5.ebuild b/dev-ruby/sinatra/sinatra-3.0.5.ebuild index affc012e8456..0447cf058fc0 100644 --- a/dev-ruby/sinatra/sinatra-3.0.5.ebuild +++ b/dev-ruby/sinatra/sinatra-3.0.5.ebuild @@ -31,4 +31,7 @@ ruby_add_bdepend "doc? ( dev-ruby/yard )" all_ruby_prepare() { sed -i -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' test/helper.rb || die + + # Avoid spec broken by newer rack versions, already removed upstream. + sed -i -e 's/"bytes=IV-LXVI", //' test/static_test.rb || die }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/faker/
commit: e72c31adfa5fe9f5c1d9851264118a42080ff4cc Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 11:58:31 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e72c31ad dev-ruby/faker: drop 2.22.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/faker/Manifest| 1 - dev-ruby/faker/faker-2.22.0.ebuild | 30 -- 2 files changed, 31 deletions(-) diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest index 4c22a86478a9..8223432b0d43 100644 --- a/dev-ruby/faker/Manifest +++ b/dev-ruby/faker/Manifest @@ -1,3 +1,2 @@ -DIST faker-2.22.0.tar.gz 1703265 BLAKE2B 931fa442d647186e7124c38afe4e6953f8dfea595140e2765ad86e9c98fc1ca02e6780cd01a49391614798a5862b4b69725bc5f5bbd1c6559f0831782dfe312b SHA512 9447b74d2403714de2bcbf4f3cfae8fc85c42a8a7dda413a06d6cdc8afa0acee620609af8a6ff8962db3b3bdaef27af7c08ab7ba71a23e939ce49638326e9807 DIST faker-2.23.0.tar.gz 1709736 BLAKE2B e3524dbecbd1a4825ef8b38801ae1fa30a4392a7d2eb6fe1c94c3da0b0a4f18db621a42423510bf2f9c4bba175d66e10808252a923c9703aaa8de5d5ed54dd44 SHA512 b037833b3a6d07adaa70c665af66343d90389f282a2faf8ca55a5a81988163263e3b3069744e67ede206512bb67cf53a104eed34c39d92feb10a282f411bde41 DIST faker-3.1.0.tar.gz 1726248 BLAKE2B 55e5ece86c262c91cc7b806f31fc852297158cbfa213e375173d6ed4956daf515f7b3e09273ed40c70b92c2de8e94fc8ff45f62d87b59a37ee097a2cb6bc6a9b SHA512 4fa1d1dc72ae0cb21cdf6fede999a6cbf43e20062306896cca5e2333da9423612ac11b5ecdfb033da46c1eb3141a0bcac47d25485666f126a35971acb4edfcb5 diff --git a/dev-ruby/faker/faker-2.22.0.ebuild b/dev-ruby/faker/faker-2.22.0.ebuild deleted file mode 100644 index 5332cb86e976.. --- a/dev-ruby/faker/faker-2.22.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31" - -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.8.11:1" - -ruby_add_bdepend "test? ( dev-ruby/timecop )" - -all_ruby_prepare() { - sed -i -e '/\(bundler\|rubocop\|yard\)/I s:^:#:' Rakefile || die - sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/faker/
commit: cb5f042b87250429f5d49f12796f31eb87d6cca0 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 12:24:07 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5f042b dev-ruby/faker: fix file collision between slots Closes: https://bugs.gentoo.org/892611 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/faker/{faker-3.1.0.ebuild => faker-2.23.0-r1.ebuild} | 3 ++- dev-ruby/faker/faker-3.1.0.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-ruby/faker/faker-3.1.0.ebuild b/dev-ruby/faker/faker-2.23.0-r1.ebuild similarity index 92% copy from dev-ruby/faker/faker-3.1.0.ebuild copy to dev-ruby/faker/faker-2.23.0-r1.ebuild index 5332cb86e976..d8d60e7f757c 100644 --- a/dev-ruby/faker/faker-3.1.0.ebuild +++ b/dev-ruby/faker/faker-2.23.0-r1.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 USE_RUBY="ruby27 ruby30 ruby31" +RUBY_FAKEGEM_BINWRAP="" RUBY_FAKEGEM_RECIPE_DOC="none" RUBY_FAKEGEM_GEMSPEC="faker.gemspec" diff --git a/dev-ruby/faker/faker-3.1.0.ebuild b/dev-ruby/faker/faker-3.1.0.ebuild index 5332cb86e976..87391f4b74e7 100644 --- a/dev-ruby/faker/faker-3.1.0.ebuild +++ b/dev-ruby/faker/faker-3.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SLOT="$(ver_cut 1)" KEYWORDS="~amd64 ~arm ~x86" IUSE="test" -ruby_add_rdepend ">=dev-ruby/i18n-1.8.11:1" +ruby_add_rdepend ">=dev-ruby/i18n-1.8.11:1 !
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/omniauth/
commit: 210c3d107c01332949c164f2070a6fbfcf054195 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 13:39:42 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=210c3d10 dev-ruby/omniauth: add 2.1.1 Closes: https://bugs.gentoo.org/892623 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/omniauth/Manifest | 1 + dev-ruby/omniauth/omniauth-2.1.1.ebuild | 48 + 2 files changed, 49 insertions(+) diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest index 7fa73d917aba..35435c5ec107 100644 --- a/dev-ruby/omniauth/Manifest +++ b/dev-ruby/omniauth/Manifest @@ -1 +1,2 @@ DIST omniauth-2.1.0.tar.gz 31135 BLAKE2B b221c084b926e3ac9e31858268940d0bd8583c667c7bcb8ce14e7fbda91c06c286191ffeff36c17d1d668ee29ca850b377312f2f2a417c47cb1dd4e8a447a641 SHA512 f1dde6f527b6aafdbed83ce6e14dae39617b738c6e80e9ece3d768ef9f63a87924ef2ef92b99ecc52bd69c0103854f16ff9c80f3d2eeb7c134fc70ab0157df63 +DIST omniauth-2.1.1.tar.gz 31414 BLAKE2B 180ee40499a61e8b6360dc4c462ca10933dc7bac976f76dd8c9579e73da6618ffae71ed532fab024f0eb65c3830db1e52f866c40b6e160e65c8fa403c7c1ab37 SHA512 e86fbd3c1f239b4950f17fdfe4ebd97a9a135831b63892dd009bae97f4372b3a6fa2452233e414c6097c3b835ee4e75821e795599da9613affdaf163d31964a3 diff --git a/dev-ruby/omniauth/omniauth-2.1.1.ebuild b/dev-ruby/omniauth/omniauth-2.1.1.ebuild new file mode 100644 index ..955e12d41818 --- /dev/null +++ b/dev-ruby/omniauth/omniauth-2.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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/omniauth/omniauth"; +SRC_URI="https://github.com/omniauth/omniauth/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/rack-2.2.3 + dev-ruby/rack-protection + >=dev-ruby/hashie-3.4.6:*" +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/rack-test dev-ruby/rack:2.2 )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' \ + Rakefile ${PN}.gemspec || die "sed failed" + sed -e '/RUBY_VERSION/,/^end/ s:^:#: ; /freeze/ s:^:#:' \ + -e '2igem "rack", "<3"' \ + -i 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/sinatra/
commit: 2ab003050d466afe42884f2a2a7ca881b470be48 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 14:54:27 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab00305 dev-ruby/sinatra: fix tests with rack 3 present Closes: https://bugs.gentoo.org/892700 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sinatra/sinatra-2.2.3.ebuild | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-ruby/sinatra/sinatra-2.2.3.ebuild b/dev-ruby/sinatra/sinatra-2.2.3.ebuild index 8267c1ef9643..5b8e56bf3948 100644 --- a/dev-ruby/sinatra/sinatra-2.2.3.ebuild +++ b/dev-ruby/sinatra/sinatra-2.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,5 +30,8 @@ ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/bu ruby_add_bdepend "doc? ( dev-ruby/yard )" all_ruby_prepare() { - sed -i -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' test/helper.rb || die + sed -i -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' -e '1igem "rack", "~> 2.2.0"' test/helper.rb || die + + # Avoid spec broken by newer rack versions, already removed upstream. + sed -i -e 's/"bytes=IV-LXVI", //' test/static_test.rb || die }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/net-imap/
commit: cee49a06e6efb6c1d9152f8842303e4ee3ed5429 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 11:09:50 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee49a06 dev-ruby/net-imap: fix test to work without network access Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/net-imap/Manifest | 1 + dev-ruby/net-imap/net-imap-0.3.4.ebuild | 8 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest index 1cfbe6b07819..06ce6b70fac1 100644 --- a/dev-ruby/net-imap/Manifest +++ b/dev-ruby/net-imap/Manifest @@ -1,3 +1,4 @@ DIST net-imap-0.2.3.tar.gz 61440 BLAKE2B f38bed72777ad93b5a94361ca134644ae218f4a0cb3f26330a99dd5633d30f0f846f3fc4eeb01bc94c13bd5e553cb29f1ad03264987badf83b8f5404755c73ac SHA512 69b6596a8ecc66788be10d11dad911351db6ff651f56e8dc5223f4c948efe0d2e53bd465ebf56edd96f1c414e3819413835c14b35a8e90b9f9ac59bfaa5611c6 DIST net-imap-0.3.1.tar.gz 63981 BLAKE2B df3eca949e9736bebf6af27859c4198d05734762d8f1755fade685986f4248e05a09a6e4c48fd92d5f537a2f206bac6da75165f0c42171fa7bd533b908071d16 SHA512 b2f88b3fc2cd6ed6c0ed1e8c60100e84ac9a8c0406a780ff5b7b0f11440fb997e79dea0f67a15a139f9bb41e76bff5fcb60668fd1ed4be65142199a4d3c9e167 DIST net-imap-0.3.4.tar.gz 103226 BLAKE2B b08ee0ad9ad788c1a58e583b3e71cef6e13f6c4f35cc1a67909715a30b0797987f71b1a790e0ca3a2a4b0da3b23ac2451c5e0fb8217506eb0e050c2c2c624362 SHA512 ced2433212738e1c54b783602dc8ed79b0d6fabef0d830d12e4d1a8b7f1df896596499a4b986dab1ac8e1e389bf88f87c854ceafbe57b7ad1cf5c0db29223ba1 +DIST rfc3454.txt 138684 BLAKE2B 56c850a7f5782c1447ae633ad9a380253b97925b9edeadbeb9001f4905157c353db967125dfb3bfef1e1bc2297142e5db424cb3b1325837ab4bb05db1f0f92a9 SHA512 79a85fede7df9202cbaf3fbb0bd59d951352c56208da2adf0baa5571ad92fd2153a6348000994b733c8a1bfdc93c38c86ed33708ecdef8571f20f906564384b6 diff --git a/dev-ruby/net-imap/net-imap-0.3.4.ebuild b/dev-ruby/net-imap/net-imap-0.3.4.ebuild index 67d85bbd0843..6a6a2431601e 100644 --- a/dev-ruby/net-imap/net-imap-0.3.4.ebuild +++ b/dev-ruby/net-imap/net-imap-0.3.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,8 @@ inherit ruby-fakegem DESCRIPTION="Ruby client api for Internet Message Access Protocol" HOMEPAGE="https://github.com/ruby/net-imap"; -SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://www.rfc-editor.org/rfc/rfc3454.txt )" LICENSE="BSD-2" SLOT="0" @@ -31,4 +32,7 @@ all_ruby_prepare() { -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ -e 's/git ls-files -z/find * -print0/' \ -i ${RUBY_FAKEGEM_GEMSPEC} || die + + mkdir rfcs || die + cp "${DISTDIR}/rfc3454.txt" rfcs/ || die }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/sinatra/
commit: 5a2fe5254f2b0b999090e6266ba6cd626902ee95 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 10:15:22 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2fe525 dev-ruby/sinatra: update HOMEPAGE Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sinatra/sinatra-3.0.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/sinatra/sinatra-3.0.5.ebuild b/dev-ruby/sinatra/sinatra-3.0.5.ebuild index 0447cf058fc0..0329ccd4ac42 100644 --- a/dev-ruby/sinatra/sinatra-3.0.5.ebuild +++ b/dev-ruby/sinatra/sinatra-3.0.5.ebuild @@ -13,7 +13,7 @@ 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/"; +HOMEPAGE="https://sinatrarb.com/"; SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/sinatra-partial/
commit: a82f726506a1b26850f13bf1520f7de5661671e6 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 14:21:11 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82f7265 dev-ruby/sinatra-partial: fix tests with rack 3 present Closes: https://bugs.gentoo.org/892701 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sinatra-partial/sinatra-partial-1.0.1-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-ruby/sinatra-partial/sinatra-partial-1.0.1-r1.ebuild b/dev-ruby/sinatra-partial/sinatra-partial-1.0.1-r1.ebuild index eb5b6e8d7859..307399cf20f0 100644 --- a/dev-ruby/sinatra-partial/sinatra-partial-1.0.1-r1.ebuild +++ b/dev-ruby/sinatra-partial/sinatra-partial-1.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,8 +20,8 @@ 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 )" +ruby_add_bdepend "test? ( dev-ruby/haml dev-ruby/rack:2.2 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 + sed -i -e '/simplecov/,/^end/ s:^:#: ; 2igem "rack", "<3"' spec/spec_helper.rb || die }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/patron/
commit: ab85a992a7ed72741152d5c8c73d03aac68d935e Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 14:00:17 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab85a992 dev-ruby/patron: update HOMEPAGE Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/patron/patron-0.13.3-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/patron/patron-0.13.3-r1.ebuild b/dev-ruby/patron/patron-0.13.3-r1.ebuild index 6bebd371fe1c..4e7f7d751118 100644 --- a/dev-ruby/patron/patron-0.13.3-r1.ebuild +++ b/dev-ruby/patron/patron-0.13.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ RUBY_FAKEGEM_EXTENSION_DIR="lib/patron" inherit ruby-fakegem DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" -HOMEPAGE="https://toland.github.com/patron/"; +HOMEPAGE="https://github.com/toland/patron"; LICENSE="MIT" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/warden/
commit: b2c7400c359bea8680026ed5ed28f84c8d537099 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 3 15:12:27 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:07:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2c7400c dev-ruby/warden: fix tests with rack 3 present Closes: https://bugs.gentoo.org/892702 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/warden/warden-1.2.9-r1.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-ruby/warden/warden-1.2.9-r1.ebuild b/dev-ruby/warden/warden-1.2.9-r1.ebuild index 10ac2aa604ad..af1e2f7a33ac 100644 --- a/dev-ruby/warden/warden-1.2.9-r1.ebuild +++ b/dev-ruby/warden/warden-1.2.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,6 +23,10 @@ IUSE="" ruby_add_rdepend ">=dev-ruby/rack-2.0.9:*" +ruby_add_bdepend "test? ( dev-ruby/rack:2.2 )" + all_ruby_prepare() { sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '1igem "rack", "<3"' spec/spec_helper.rb || die }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/commonmarker/
commit: 1feeb7029b1b57065b4ac6edf8c4d82d1ef23397 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:18:32 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:18:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1feeb702 dev-ruby/commonmarker: add 0.23.8 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/commonmarker/Manifest | 1 + dev-ruby/commonmarker/commonmarker-0.23.8.ebuild | 41 2 files changed, 42 insertions(+) diff --git a/dev-ruby/commonmarker/Manifest b/dev-ruby/commonmarker/Manifest index 5184d0dfe0ef..10637c9ce22a 100644 --- a/dev-ruby/commonmarker/Manifest +++ b/dev-ruby/commonmarker/Manifest @@ -1,3 +1,4 @@ DIST commonmarker-0.23.5.tar.gz 165248 BLAKE2B 2d29a0ece01b5000bbb7192133e6abd0bf50281e90ae1d7036ffc49d8576bf378845c782d65b462274b4586b99ee3f46b7312cd0d0ac71456de9a4dacdccb8c3 SHA512 ccc76f0a2eb40d547e604cb4d10b922eceab40a0d0e07f00c60a5b307f3dcb74984274b231c38fe3ba97c892dea54fd325486ba20aa2b0087e99d6bca3e3845c DIST commonmarker-0.23.6.tar.gz 165548 BLAKE2B b580390211986e60cd682efb8fe39cea82fb50f76299675a068e37749635383a6d1d6391a093a9f399664ebeeff2e2b456f85752157c632e338ab52e64e18659 SHA512 540bb1831c19ea0924372c9f4be506828e057d4df1a2eb351e44437b45cd9cedd7df9014b09e34108663a31677ef14a4128b5ac9f8a34137bd1842e07654dedc DIST commonmarker-0.23.7.tar.gz 171255 BLAKE2B d6d5e90aeed955d4305bc2aef9a3db9e540a35690cf90e2ef1cd7ba1f829043e139cd3c8819858e56accda6de3088e9a38394676a6248bb1d9642d41282b61c9 SHA512 c15db5904c449a01d7e4a417d431a2f12722ca5524fad019d6bddb75dd59323174973d8d30920f4783163739570ddf81abb06246f3fed0635dea4ce4625a0679 +DIST commonmarker-0.23.8.tar.gz 171412 BLAKE2B 95f5fa8314af31dfe97bb8bad9eb6c57dc2e02f1b710c7f50e4500e3cad978b0b44e7a1104386d0cf0742e2d896208ced2a8f205c30ffbf4e444b991586b5ab8 SHA512 3e73ef5505804cbeb8190472f3ca8dc7f199de0ca410df35ab5e9948e94ade59670130f829218f6f2d39c3a6f41a9cb149f9aefc6c8f72443441ec66e642cd1e diff --git a/dev-ruby/commonmarker/commonmarker-0.23.8.ebuild b/dev-ruby/commonmarker/commonmarker-0.23.8.ebuild new file mode 100644 index ..32c52aa7af3b --- /dev/null +++ b/dev-ruby/commonmarker/commonmarker-0.23.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTENSIONS=(ext/commonmarker/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/commonmarker" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="commonmarker.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A fast, safe, extensible parser for CommonMark, wrapping the libcmark library" +HOMEPAGE="https://github.com/gjtorikian/commonmarker"; +SRC_URI="https://github.com/gjtorikian/commonmarker/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +# app-text/cmark is bundled in a modified way and integrated with the gem code + +all_ruby_prepare() { + sed -i -e '/focus/ s:^:#:' test/test_helper.rb || die + + # Avoid tests depending on unbundled cmark specification files + rm -f test/test_{spec,smartpunct}.rb || die + +} + +each_ruby_prepare() { + # Use current ruby version + sed -i -e '/make_bin/,/end/ s:ruby:'${RUBY}':' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each {|f| require f}' || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/acts_as_list/
commit: 888d31b5ccffb905dfadf98ccf299158d9cb073d Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:13:27 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:13:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=888d31b5 dev-ruby/acts_as_list: update upstream metadata Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/acts_as_list/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/acts_as_list/metadata.xml b/dev-ruby/acts_as_list/metadata.xml index 1694873daa23..9fbe56db5480 100644 --- a/dev-ruby/acts_as_list/metadata.xml +++ b/dev-ruby/acts_as_list/metadata.xml @@ -6,6 +6,6 @@ Gentoo Ruby Project -swanandp/acts_as_list +brendon/acts_as_list
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/acts_as_list/
commit: 905027c0bcb53723016e91f452d1774ea3cd84bd Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:13:17 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:13:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=905027c0 dev-ruby/acts_as_list: add 1.1.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/acts_as_list/Manifest | 1 + dev-ruby/acts_as_list/acts_as_list-1.1.0.ebuild | 38 + 2 files changed, 39 insertions(+) diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest index 547a2ea3dbae..0fd33119099a 100644 --- a/dev-ruby/acts_as_list/Manifest +++ b/dev-ruby/acts_as_list/Manifest @@ -1 +1,2 @@ DIST acts_as_list-1.0.4.gem 40448 BLAKE2B ac0d9e29006c052b1f421fc734d19390942fcb1eb68d33ed67944bf9bcf1dc8b73c813a2ee8ae6b358f74e019bf36d200e6fe44e01391dff68041d5263b907b1 SHA512 45cc3a2ddc3bdf245819bfe62c39cea5e9b96bf63b3e817adae2acadcf7b51f47379ae9bf1c2c1cfd6a1dc70d7279f44e0a932c838fa93fa4a0c3b9dcbcd46ea +DIST acts_as_list-1.1.0.gem 41984 BLAKE2B abeb0325795276294451b4cb86e20dab6871003c72679ce28f9326cd844234ad56457a03d9b9ecd81b8c143deeefc25dd15df88a38ebdd1324a953b2399465e7 SHA512 bdcaf07bc4ad3854d68c8d95e666e86c2500474ffa212c315b6b4abd321341ac782c0e301f2c859c12b80ecfdd1cc743ccf8a7bdbdb36e30fafcd98d4928a00a diff --git a/dev-ruby/acts_as_list/acts_as_list-1.1.0.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.1.0.ebuild new file mode 100644 index ..aecf7c5a7880 --- /dev/null +++ b/dev-ruby/acts_as_list/acts_as_list-1.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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/brendon/acts_as_list"; + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activerecord-4.2:*" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + dev-ruby/test-unit:2 + dev-ruby/timecop + 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/git/
commit: 02c77e4808df2f5b8b70d0329f2bb97f959c6b6f Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:35:29 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:35:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c77e48 dev-ruby/git: update upstream metadata Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/git/metadata.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-ruby/git/metadata.xml b/dev-ruby/git/metadata.xml index acb202879d0a..386acdbeb589 100644 --- a/dev-ruby/git/metadata.xml +++ b/dev-ruby/git/metadata.xml @@ -6,6 +6,7 @@ Gentoo Ruby Project -schacon/ruby-git +ruby-git/ruby-git +git
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/git/
commit: 4a0ecc9d63492c398018d475dae496d5c0443670 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:34:43 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:34:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0ecc9d dev-ruby/git: add 1.13.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/git/Manifest | 1 + dev-ruby/git/git-1.13.2.ebuild | 44 ++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index bbfc54f98145..4c8ab4fae138 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -1,3 +1,4 @@ DIST git-1.12.0.tar.gz 218472 BLAKE2B f5e0465fd2f0f2f1eb1584da6757c012cf80457a15e61b9a974707c8f026f34940d86b25fdd708b9fa6071fc35e8e65c6c87bc83b94bb0daec61ef015a03184c SHA512 9967bf6c9f00e29442495fb24abfd1ea3b6ad0068829e9d86727d41ecf07be0b8fbdc6d05b3c245a23223b4e35e87e984e7a60a5883839e6de45f8bdac406b0d DIST git-1.13.0.tar.gz 219424 BLAKE2B 38d1821c59cbb743c50655e9426d77f76e77dda614a711b7d2185ed7f4caa853383ba85ecf05237da403061d002527c38a5c6e06cf5e6d482ac76bac49a0db56 SHA512 7920de37a3df67b743e91fb317bd0cba746d2343dfb77036398fc124d00eede7b9ade5dd2af5f26d65f1f24006608a29fca55d5be8a00557caaa31acd0b274d4 DIST git-1.13.1.tar.gz 219640 BLAKE2B c87fce3f83130f7a75a10a21c4c980ec1d3594b20afa7b482f21077083076df7b4c462908a05c7b2fb3091e1fda00857ae40c4809e89f059f63ce12b119f307b SHA512 58cd7f38a5c1d5ab3d68cf2d4b026a80073f5dba3cb4895e220ecad5dbdf6a2df4e1e44570bde9256371c5089b81523aca4a5c686348bd04638f4dd09927e876 +DIST git-1.13.2.tar.gz 222112 BLAKE2B 13b2f8c67a27a147662fa019f6fac8f557e704fe1d0320188a097385f7692a190670ba375312e793d4d39fcf9ea7be8325394830c2c499b5132201f4a8f3f6ee SHA512 36425806c86e3c5d1a393ec657b60b8dafc88d92822270c299d3d1768c37d00e70b723d98a60127ab70de15809b27a49bcef5c8a972b88d7a516de093a643347 diff --git a/dev-ruby/git/git-1.13.2.ebuild b/dev-ruby/git/git-1.13.2.ebuild new file mode 100644 index ..0495304e5439 --- /dev/null +++ b/dev-ruby/git/git-1.13.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +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/ruby-git/ruby-git"; +SRC_URI="https://github.com/ruby-git/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_rdepend ">=dev-ruby/addressable-2.8:0 >=dev-ruby/rchardet-1.8:1" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar 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 + + sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's/1.12.0/'${PV}'/' lib/git/version.rb || die +} + +each_ruby_test() { + git config --global user.email "g...@example.com" || die + git config --global user.name "GitExample" || die + ${RUBY} -Ilib:.:test -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/git/
commit: eb2af6d226b1f688cc9c58fcead2b655dfab9fb0 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:35:52 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:35:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2af6d2 dev-ruby/git: drop 1.12.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/git/Manifest | 1 - dev-ruby/git/git-1.12.0.ebuild | 42 -- 2 files changed, 43 deletions(-) diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index 4c8ab4fae138..d5b91e09a5ae 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -1,4 +1,3 @@ -DIST git-1.12.0.tar.gz 218472 BLAKE2B f5e0465fd2f0f2f1eb1584da6757c012cf80457a15e61b9a974707c8f026f34940d86b25fdd708b9fa6071fc35e8e65c6c87bc83b94bb0daec61ef015a03184c SHA512 9967bf6c9f00e29442495fb24abfd1ea3b6ad0068829e9d86727d41ecf07be0b8fbdc6d05b3c245a23223b4e35e87e984e7a60a5883839e6de45f8bdac406b0d DIST git-1.13.0.tar.gz 219424 BLAKE2B 38d1821c59cbb743c50655e9426d77f76e77dda614a711b7d2185ed7f4caa853383ba85ecf05237da403061d002527c38a5c6e06cf5e6d482ac76bac49a0db56 SHA512 7920de37a3df67b743e91fb317bd0cba746d2343dfb77036398fc124d00eede7b9ade5dd2af5f26d65f1f24006608a29fca55d5be8a00557caaa31acd0b274d4 DIST git-1.13.1.tar.gz 219640 BLAKE2B c87fce3f83130f7a75a10a21c4c980ec1d3594b20afa7b482f21077083076df7b4c462908a05c7b2fb3091e1fda00857ae40c4809e89f059f63ce12b119f307b SHA512 58cd7f38a5c1d5ab3d68cf2d4b026a80073f5dba3cb4895e220ecad5dbdf6a2df4e1e44570bde9256371c5089b81523aca4a5c686348bd04638f4dd09927e876 DIST git-1.13.2.tar.gz 222112 BLAKE2B 13b2f8c67a27a147662fa019f6fac8f557e704fe1d0320188a097385f7692a190670ba375312e793d4d39fcf9ea7be8325394830c2c499b5132201f4a8f3f6ee SHA512 36425806c86e3c5d1a393ec657b60b8dafc88d92822270c299d3d1768c37d00e70b723d98a60127ab70de15809b27a49bcef5c8a972b88d7a516de093a643347 diff --git a/dev-ruby/git/git-1.12.0.ebuild b/dev-ruby/git/git-1.12.0.ebuild deleted file mode 100644 index a5129073d701.. --- a/dev-ruby/git/git-1.12.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_BINWRAP="" -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_rdepend ">=dev-ruby/addressable-2.8:0 >=dev-ruby/rchardet-1.8:1" - -ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar 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 - - sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - git config --global user.email "g...@example.com" || die - git config --global user.name "GitExample" || die - ${RUBY} -Ilib:.:test -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-core/
commit: db8b92c8118fa7b255cad908aa426f12efec47e5 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:41:24 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:41:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8b92c8 dev-ruby/rspec-core: add 3.12.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rspec-core/Manifest | 1 + dev-ruby/rspec-core/rspec-core-3.12.1.ebuild | 93 2 files changed, 94 insertions(+) diff --git a/dev-ruby/rspec-core/Manifest b/dev-ruby/rspec-core/Manifest index 3e546546cbea..d6eff46ce1e9 100644 --- a/dev-ruby/rspec-core/Manifest +++ b/dev-ruby/rspec-core/Manifest @@ -3,3 +3,4 @@ DIST rspec-core-3.10.1-git.tgz 398302 BLAKE2B 3ecd2a93b77435ef44dd7e52e2987155f7 DIST rspec-core-3.10.2-git.tgz 400299 BLAKE2B 82fe8689022f69f444549d654cd4799f8f1dff7c984016eba0835cffb518dce892a0af61a3ef6b251c598aa3caac66b0498620dc8d2b06a02795fc6ff3f46c41 SHA512 0ebeea8aed275f08bcac4846977b0718f85d95dedaed82b99280e5b52519713be6234d97b34b61a56e3276e767f47a13e6888401bd5a4b8a0003c9bbb518364d DIST rspec-core-3.11.0-git.tgz 403154 BLAKE2B 1a5043bd2120236e8e3ca931c1fd9562bc78d692674d3133ac3742ef7b7f81161a7fc550f4d11bf34575a85a8657aeb39fcc0fdccaab67cc189cc1d39a303ade SHA512 6121b805f6feade244fe13e273526e64c5a3c74a1f9d4316c895279f4ed8576dbe3189b06040f3f29fe7d3e90f862f2c78aacb0b4bef989660eae30d046ed69c DIST rspec-core-3.12.0-git.tgz 408651 BLAKE2B 97467e57059cbd5fc32763c2b4d8be2b6ffcb688f3bfc7d4e37c415816a28827022180c315e33145cf0702d390f02f6adbd534579cc7d9ab02b7b530c607f001 SHA512 a339c7b9005713a7eaccb778260e1a433caaf3024d9015ae6f3b810834c7d47a75bc5cfa13dd2574b7d88a286d0cd52a8a464a2eda41db425a535fdd09f37a7a +DIST rspec-core-3.12.1-git.tgz 409036 BLAKE2B 0a6311f9908fd2e85621ebdb9cce5723de83e392bc5a6f0bb5be98c26b8f26b759a1cb3923a5d583f2ea7f6e72f07093bb23d54aa2b44d3a3ae0874ef6a99a73 SHA512 aaf7e4aebf1240c5f602a1e34f1f9e9355438ca544484f500d21e6021fd95d5ab5d26dc2249122d1dfc76b23725800f88937b5d1e53cd00d0b84faa46b056bea diff --git a/dev-ruby/rspec-core/rspec-core-3.12.1.ebuild b/dev-ruby/rspec-core/rspec-core-3.12.1.ebuild new file mode 100644 index ..6e5f589ab606 --- /dev/null +++ b/dev-ruby/rspec-core/rspec-core-3.12.1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="highlight" + +SUBVERSION="$(ver_cut 1-2)" + +DEPEND+="test? ( dev-vcs/git )" + +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/c
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/jwt/
commit: 702fe1ffa4d2fb9f02a476b43e00dbaebc7ed8b1 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:37:09 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:37:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702fe1ff dev-ruby/jwt: add 2.7.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/jwt/Manifest | 1 + dev-ruby/jwt/jwt-2.7.0.ebuild | 33 + 2 files changed, 34 insertions(+) diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index 3d8771a6bc23..d6050257337e 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -4,3 +4,4 @@ DIST jwt-2.4.0.tar.gz 59280 BLAKE2B e7ff827c0f8d0514feaea43f5915d83b4be4ee538890 DIST jwt-2.4.1.tar.gz 59783 BLAKE2B c18d44f0adda0c2111d312450c01c39d3926afc3e13c807283ffc1fe47b7c49284ab48572b47845c30805c2caefebbdf257e18e807af84819a7fff6c86f881c8 SHA512 871ffe9dc659877a77de0c2a51b1f78b45614cf8265bd07820a9b4b08e38160861b4c9f98391138bfaaf64261ce2eb58eba26c40f29c41b02b8fa16cd260997a DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 DIST jwt-2.6.0.tar.gz 72387 BLAKE2B b20d902625815763b203ee201482792e4db5976a5b7cff24a6c08d391f254d62a80b7d5aa5a6833a50eb3252dd1359c28707da8e6f8d0b43308b8aef6b108687 SHA512 62d62728f97d5ac779919365b144cc5ddb9d2a74b16e1692a6bb37e0a64a89b3990429244694eb1a5e36793c64a179cf2f38738600b721f8d419d6ea13e96caa +DIST jwt-2.7.0.tar.gz 75020 BLAKE2B 2bfa009912f4037dc13672ef6d43557e70bc9a06d399d949a6c5ddee641dc550a218242482ec0a66eb470ab117d1e192dd1ca6fdb5a03926d85f4902d72500e7 SHA512 8e0bb9909d123b7b73fe01fafc4088e45140e417b1bff84b240a317f3dca8085b2b987bd1e93cb1506efc66a1f7371168f8202a590308ee0e4c52820983a9789 diff --git a/dev-ruby/jwt/jwt-2.7.0.ebuild b/dev-ruby/jwt/jwt-2.7.0.ebuild new file mode 100644 index ..4d714d48 --- /dev/null +++ b/dev-ruby/jwt/jwt-2.7.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" + +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 ~arm ~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.start/,/^end/ s:^:#:' \ + spec/spec_helper.rb || die + + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/mail/
commit: efd87f357d6573bf5604d46aeb519ed4a12d70c3 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:39:29 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:39:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd87f35 dev-ruby/mail: add 2.8.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/mail/Manifest | 1 + dev-ruby/mail/mail-2.8.1.ebuild | 39 +++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/mail/Manifest b/dev-ruby/mail/Manifest index 1caa5bd5c175..ec9d7fecfb18 100644 --- a/dev-ruby/mail/Manifest +++ b/dev-ruby/mail/Manifest @@ -1,3 +1,4 @@ DIST mail-2.7.1-git.tar.gz 625251 BLAKE2B c1efbb259042155e983c1971fe9821eb0dd850089bd04cb0c74513f6f17dabf8ecc3155d9e5846ae657383f522872323f8fba37d51fba4318ac682d18a6d4c50 SHA512 17c601c86715135331f750048339a11a67a17f34486dbafa3ba7e9af9970d60927a2fa95c72a398418548df1fdf5addb2ed3afe9da7dff1f0bd949438726be1b DIST mail-2.8.0-git.tar.gz 620136 BLAKE2B 4c115ddf92ef18c7889d391d264bf4c0be37be4849accf6e4778cc50317a4c0cd5f042c465f4f7862ca33e1de166b35bcb6d6e08e3fe44cce6aecbf1c1f9380e SHA512 ac60d72d16dd75fb5e8474900e069d5f711ce66340582a96d1f79ba582841cb82b212637053f45d1014997776ff411cbc8f9c19e06f024f6aa59b09c50c02583 DIST mail-2.8.0.1-git.tar.gz 620162 BLAKE2B 92a183df4cec63c194debb5fd1c5194f2fe8d909094f9b79c157c3c004574c78e8b2567c44a7f62f3a91af4689e7e2ca023768f005ff62998d0999a0d46e4bf3 SHA512 d2c84ffec336bb1967107641b741eef06238e37d68704024d3f037893e95fcf9501ffdb34f3f820e1f8df63b4057e0d329d09cd6a96281801ece6fb3d26f1a4d +DIST mail-2.8.1-git.tar.gz 621412 BLAKE2B f39c3087bf5d064fd9a96b93ccac2fd0060c53a53c900658e3907dce311aabba8136ce96bcd4937f5a9852ed3d046e1354c3c2757330d80f9b3d0542fc27cd12 SHA512 2c176361285b17b10ab3e518502b05ac582f033f81fc45df0b61bfcb5b645ea22139ef3abf67240adb27a39834dfee59bb0777c6de5448c2fe2e52d5dde3465a diff --git a/dev-ruby/mail/mail-2.8.1.ebuild b/dev-ruby/mail/mail-2.8.1.ebuild new file mode 100644 index ..0dce16387ebe --- /dev/null +++ b/dev-ruby/mail/mail-2.8.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +RUBY_FAKEGEM_GEMSPEC="mail.gemspec" + +inherit ruby-fakegem + +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 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/mini_mime-0.1.1 + dev-ruby/net-imap + dev-ruby/net-pop + dev-ruby/net-smtp +" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code." + + sed -i -e '/benchmark/I s:^:#:' spec/spec_helper.rb || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/concurrent-ruby/
commit: ef1358200b12368e1b42facf77653da949d2a367 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:31:40 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:31:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef135820 dev-ruby/concurrent-ruby: add 1.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/concurrent-ruby/Manifest | 1 + .../concurrent-ruby/concurrent-ruby-1.2.0.ebuild | 38 ++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest index 85cb41082024..e4ce11afe701 100644 --- a/dev-ruby/concurrent-ruby/Manifest +++ b/dev-ruby/concurrent-ruby/Manifest @@ -1,2 +1,3 @@ DIST concurrent-ruby-1.1.10.tar.gz 6013684 BLAKE2B d271579a49ab52c9c41a7a0a31451775e1cba8ce19486b52a9eb3df7abbc66f7610d31284fc02747a8ee5f429983d8283b6fe92f22b911dcda5bc515da58b48f SHA512 cfb67ce806d1f2a5bae509806247bfefb05c56794741cedcaa7ab6ff708085e374d150e8f46ff8e04dcb0918fde8ab5a593c60550da9ff6dc00af116e123f064 DIST concurrent-ruby-1.1.9.tar.gz 4923746 BLAKE2B 2bfea989db31f17c69ee479091135516e2aeef7ac74234ccea91b2e4b3626395683a7b2ebba1d13cb527903d3d83c51e873bdb859f0ff1983062fea4fa90a1e4 SHA512 243fc20795bcd7399bdf77a9b0db9b0bccb1b05edacf4fbc8f5515f59502300b4033a2a59bfb6adea9befdb20759c9f58bbf0e7744e934c85738085bef714ea6 +DIST concurrent-ruby-1.2.0.tar.gz 1160662 BLAKE2B e05df20596930d46781d718ebcd90c8326d78993ad15a7b7c804e0852bdfb66a955314769c8abdef9bc59c6fb249d81c6f48058751537a399da5846ded97dcbc SHA512 c6dc1a84ac4b176644481c2431d67b2b7e0a47fcb9e3fc3fa0b4ddd102ef65d1d02d5aff2784bb55a194f01a4a5294fc26944da16dea550934a6950caee54a31 diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.0.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.0.ebuild new file mode 100644 index ..98089791617f --- /dev/null +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 spec/concurrent/{actor,cancellation,channel,edge,lazy_register,processing,promises,throttle}* || die + rm -r spec/concurrent/executor/wrapping_executor_spec.rb || die + sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die + sed -i -e 's:lib-edge:lib/concurrent-ruby:' .rspec || die + sed -i -e 's:../../../::' spec/concurrent/executor/executor_quits.rb || die + + # Remove specs for the ext gem + rm -rf spec/concurrent/atomic || die + + sed -i 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/jwt/
commit: 0bf0fa5edf82d511b769ae6e0bc62d6eba77df0b Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:37:40 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:37:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf0fa5e dev-ruby/jwt: drop 2.2.3, 2.3.0, 2.4.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/jwt/Manifest | 3 --- dev-ruby/jwt/jwt-2.2.3.ebuild | 35 --- dev-ruby/jwt/jwt-2.3.0.ebuild | 33 - dev-ruby/jwt/jwt-2.4.0.ebuild | 33 - 4 files changed, 104 deletions(-) diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index d6050257337e..c8d913b4a39d 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -1,6 +1,3 @@ -DIST jwt-2.2.3.tar.gz 50675 BLAKE2B 904a2b9be80ece10cc046d35df784ecc4991c3b09a79c2e2e461003596e9212409ed5840282ce632d3ff499754c505cd899ca95945f562883869ff3c50c4399a SHA512 ebefbf8f825afc1a78329088012118ed681a61bdf9e1c6a3fa125d46105092f1f26a4bc88791788c0290009dbc0427128d655a301c034ac07caf14216744962c -DIST jwt-2.3.0.tar.gz 53312 BLAKE2B 4653a786d0f5da0d7c7e160f5b0c189f0eab78d045d5af441561c953d6d42fc74d6baff95e54dd9bfd47b3245f3b628e25f99e37016631ef282d95564a08cb1d SHA512 a4dfbb119575d9b5f883c2789734180f092adc75e05310de2e523e352f47469243868480e06f9bfabfa2a48e174ea669e69bd73e0fd002c4f66134462ffe2653 -DIST jwt-2.4.0.tar.gz 59280 BLAKE2B e7ff827c0f8d0514feaea43f5915d83b4be4ee538890250a390cf9a5df3f372d5bff3d90b741d0024c9e89ad28e581626a330b1fb400d2616454a1f964d358e4 SHA512 2bb409a8b2ae2e2330744e3efe306bfc1755c70244f2d7d4dd8ed824c7960f42baf6ec3ee80ed74c0590a3a61b92f61edb157db001d4c4f28005bb50c60bf74f DIST jwt-2.4.1.tar.gz 59783 BLAKE2B c18d44f0adda0c2111d312450c01c39d3926afc3e13c807283ffc1fe47b7c49284ab48572b47845c30805c2caefebbdf257e18e807af84819a7fff6c86f881c8 SHA512 871ffe9dc659877a77de0c2a51b1f78b45614cf8265bd07820a9b4b08e38160861b4c9f98391138bfaaf64261ce2eb58eba26c40f29c41b02b8fa16cd260997a DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 DIST jwt-2.6.0.tar.gz 72387 BLAKE2B b20d902625815763b203ee201482792e4db5976a5b7cff24a6c08d391f254d62a80b7d5aa5a6833a50eb3252dd1359c28707da8e6f8d0b43308b8aef6b108687 SHA512 62d62728f97d5ac779919365b144cc5ddb9d2a74b16e1692a6bb37e0a64a89b3990429244694eb1a5e36793c64a179cf2f38738600b721f8d419d6ea13e96caa diff --git a/dev-ruby/jwt/jwt-2.2.3.ebuild b/dev-ruby/jwt/jwt-2.2.3.ebuild deleted file mode 100644 index bed4ee7f5a63.. --- a/dev-ruby/jwt/jwt-2.2.3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -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 ~arm ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="ruby-jwt-${PV}" - -PATCHES=( "${FILESDIR}/${P}-ec-test.patch" ) - -ruby_add_bdepend "test? ( dev-ruby/rbnacl )" - -all_ruby_prepare() { - sed -i -e "/simplecov/ s:^:#:" \ - -e '/^SimpleCov.start/,/^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/jwt/jwt-2.3.0.ebuild b/dev-ruby/jwt/jwt-2.3.0.ebuild deleted file mode 100644 index 62bb08bb5f03.. --- a/dev-ruby/jwt/jwt-2.3.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -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 ~arm ~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.start/,/^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/jwt/jwt-2.4.0.ebuild b/dev-ruby/jwt/jwt-2.4.0.ebuild deleted file mode 100644 index 2151906e7d9c..000
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/jwt/
commit: 5d7ef8d953fb09d25cce4177535b745488d8744d Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:50:54 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:50:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7ef8d9 Revert "dev-ruby/jwt: drop 2.2.3, 2.3.0, 2.4.0" This reverts commit 0bf0fa5edf82d511b769ae6e0bc62d6eba77df0b. jwt 2.2.x is still used by app-admin/r10k Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/jwt/Manifest | 3 +++ dev-ruby/jwt/jwt-2.2.3.ebuild | 35 +++ dev-ruby/jwt/jwt-2.3.0.ebuild | 33 + dev-ruby/jwt/jwt-2.4.0.ebuild | 33 + 4 files changed, 104 insertions(+) diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index c8d913b4a39d..d6050257337e 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -1,3 +1,6 @@ +DIST jwt-2.2.3.tar.gz 50675 BLAKE2B 904a2b9be80ece10cc046d35df784ecc4991c3b09a79c2e2e461003596e9212409ed5840282ce632d3ff499754c505cd899ca95945f562883869ff3c50c4399a SHA512 ebefbf8f825afc1a78329088012118ed681a61bdf9e1c6a3fa125d46105092f1f26a4bc88791788c0290009dbc0427128d655a301c034ac07caf14216744962c +DIST jwt-2.3.0.tar.gz 53312 BLAKE2B 4653a786d0f5da0d7c7e160f5b0c189f0eab78d045d5af441561c953d6d42fc74d6baff95e54dd9bfd47b3245f3b628e25f99e37016631ef282d95564a08cb1d SHA512 a4dfbb119575d9b5f883c2789734180f092adc75e05310de2e523e352f47469243868480e06f9bfabfa2a48e174ea669e69bd73e0fd002c4f66134462ffe2653 +DIST jwt-2.4.0.tar.gz 59280 BLAKE2B e7ff827c0f8d0514feaea43f5915d83b4be4ee538890250a390cf9a5df3f372d5bff3d90b741d0024c9e89ad28e581626a330b1fb400d2616454a1f964d358e4 SHA512 2bb409a8b2ae2e2330744e3efe306bfc1755c70244f2d7d4dd8ed824c7960f42baf6ec3ee80ed74c0590a3a61b92f61edb157db001d4c4f28005bb50c60bf74f DIST jwt-2.4.1.tar.gz 59783 BLAKE2B c18d44f0adda0c2111d312450c01c39d3926afc3e13c807283ffc1fe47b7c49284ab48572b47845c30805c2caefebbdf257e18e807af84819a7fff6c86f881c8 SHA512 871ffe9dc659877a77de0c2a51b1f78b45614cf8265bd07820a9b4b08e38160861b4c9f98391138bfaaf64261ce2eb58eba26c40f29c41b02b8fa16cd260997a DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 DIST jwt-2.6.0.tar.gz 72387 BLAKE2B b20d902625815763b203ee201482792e4db5976a5b7cff24a6c08d391f254d62a80b7d5aa5a6833a50eb3252dd1359c28707da8e6f8d0b43308b8aef6b108687 SHA512 62d62728f97d5ac779919365b144cc5ddb9d2a74b16e1692a6bb37e0a64a89b3990429244694eb1a5e36793c64a179cf2f38738600b721f8d419d6ea13e96caa diff --git a/dev-ruby/jwt/jwt-2.2.3.ebuild b/dev-ruby/jwt/jwt-2.2.3.ebuild new file mode 100644 index ..bed4ee7f5a63 --- /dev/null +++ b/dev-ruby/jwt/jwt-2.2.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" + +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 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S="ruby-jwt-${PV}" + +PATCHES=( "${FILESDIR}/${P}-ec-test.patch" ) + +ruby_add_bdepend "test? ( dev-ruby/rbnacl )" + +all_ruby_prepare() { + sed -i -e "/simplecov/ s:^:#:" \ + -e '/^SimpleCov.start/,/^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/jwt/jwt-2.3.0.ebuild b/dev-ruby/jwt/jwt-2.3.0.ebuild new file mode 100644 index ..62bb08bb5f03 --- /dev/null +++ b/dev-ruby/jwt/jwt-2.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" + +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 ~arm ~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.start/,/^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-ru
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/jwt/
commit: 6982a0946570c497956bf8b070ffe766aeae7543 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:51:33 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:51:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6982a094 dev-ruby/jwt: drop 2.3.0, 2.4.0, 2.4.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/jwt/Manifest | 3 --- dev-ruby/jwt/jwt-2.3.0.ebuild | 33 - dev-ruby/jwt/jwt-2.4.0.ebuild | 33 - dev-ruby/jwt/jwt-2.4.1.ebuild | 33 - 4 files changed, 102 deletions(-) diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index d6050257337e..4aeff839fe5f 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -1,7 +1,4 @@ DIST jwt-2.2.3.tar.gz 50675 BLAKE2B 904a2b9be80ece10cc046d35df784ecc4991c3b09a79c2e2e461003596e9212409ed5840282ce632d3ff499754c505cd899ca95945f562883869ff3c50c4399a SHA512 ebefbf8f825afc1a78329088012118ed681a61bdf9e1c6a3fa125d46105092f1f26a4bc88791788c0290009dbc0427128d655a301c034ac07caf14216744962c -DIST jwt-2.3.0.tar.gz 53312 BLAKE2B 4653a786d0f5da0d7c7e160f5b0c189f0eab78d045d5af441561c953d6d42fc74d6baff95e54dd9bfd47b3245f3b628e25f99e37016631ef282d95564a08cb1d SHA512 a4dfbb119575d9b5f883c2789734180f092adc75e05310de2e523e352f47469243868480e06f9bfabfa2a48e174ea669e69bd73e0fd002c4f66134462ffe2653 -DIST jwt-2.4.0.tar.gz 59280 BLAKE2B e7ff827c0f8d0514feaea43f5915d83b4be4ee538890250a390cf9a5df3f372d5bff3d90b741d0024c9e89ad28e581626a330b1fb400d2616454a1f964d358e4 SHA512 2bb409a8b2ae2e2330744e3efe306bfc1755c70244f2d7d4dd8ed824c7960f42baf6ec3ee80ed74c0590a3a61b92f61edb157db001d4c4f28005bb50c60bf74f -DIST jwt-2.4.1.tar.gz 59783 BLAKE2B c18d44f0adda0c2111d312450c01c39d3926afc3e13c807283ffc1fe47b7c49284ab48572b47845c30805c2caefebbdf257e18e807af84819a7fff6c86f881c8 SHA512 871ffe9dc659877a77de0c2a51b1f78b45614cf8265bd07820a9b4b08e38160861b4c9f98391138bfaaf64261ce2eb58eba26c40f29c41b02b8fa16cd260997a DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 DIST jwt-2.6.0.tar.gz 72387 BLAKE2B b20d902625815763b203ee201482792e4db5976a5b7cff24a6c08d391f254d62a80b7d5aa5a6833a50eb3252dd1359c28707da8e6f8d0b43308b8aef6b108687 SHA512 62d62728f97d5ac779919365b144cc5ddb9d2a74b16e1692a6bb37e0a64a89b3990429244694eb1a5e36793c64a179cf2f38738600b721f8d419d6ea13e96caa DIST jwt-2.7.0.tar.gz 75020 BLAKE2B 2bfa009912f4037dc13672ef6d43557e70bc9a06d399d949a6c5ddee641dc550a218242482ec0a66eb470ab117d1e192dd1ca6fdb5a03926d85f4902d72500e7 SHA512 8e0bb9909d123b7b73fe01fafc4088e45140e417b1bff84b240a317f3dca8085b2b987bd1e93cb1506efc66a1f7371168f8202a590308ee0e4c52820983a9789 diff --git a/dev-ruby/jwt/jwt-2.3.0.ebuild b/dev-ruby/jwt/jwt-2.3.0.ebuild deleted file mode 100644 index 62bb08bb5f03.. --- a/dev-ruby/jwt/jwt-2.3.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -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 ~arm ~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.start/,/^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/jwt/jwt-2.4.0.ebuild b/dev-ruby/jwt/jwt-2.4.0.ebuild deleted file mode 100644 index 2151906e7d9c.. --- a/dev-ruby/jwt/jwt-2.4.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -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 ~arm ~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.start/,/^end/ s:^:#:' \