mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 18:43:18 -04:00
Merge updates from master
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
DIST cloudflare-2.19.4.gh.tar.gz 151397 BLAKE2B c91c95f52314c5177d823ef8f827ea2f76f6cc703260449aea12d54c1b77d061feca15d4bb845f84cfb4fd80789e5064e54d7530daf546d54d17054b9e0b4fda SHA512 8ae11e73760c57b610abfe5e2c8fdc83c2e0b9e07340884925ec9ac3bf5b40b4edf39b2b8ce7330538369d7573146a2ddac195efb0efb4ff657f75fdacb31aed
|
||||
DIST cloudflare-3.1.0.gh.tar.gz 1436993 BLAKE2B 136ed341bd16bd04165d94c10d82b2ad617a434728b290aff1dfc9bf11193786011224feeef567455df451efc7921c41c9835e80413738f80db60b3213396df8 SHA512 72f42012e8b4a4497523d159139ebbcef99b75f58a55a429ecb3dcdcfdad3ce3b3694cccb06bc6ec72c6148b1e1516083bda0fb43babdeb8933561e5821fbb1d
|
||||
DIST cloudflare-python-3.1.0-prism.tar.gz 10537403 BLAKE2B 67caa6b98f452890ea9613e875d534ddb14c8d3720af5c57bceb04e2e3518702ecafe1bf37f02e53818f8cbc5c6bd8c799c18342879b07d39ba64831168f5495 SHA512 718f968755c62aa4b66bbf3659437751734c3183d6c5d48b025b72355d59414578bb0748f01fa38d46c33736af10d52742723a4eda47d9868d86ec2b499ece27
|
||||
DIST cloudflare-4.0.0.gh.tar.gz 1715334 BLAKE2B 3ec5ace00c173caec36e75001a7f0fb08e3747902cfbd45a29958c7d4a124b93b24c431ed0967d2100056de7b3063625379723512aee4be7a03dfeb2c4bdbc5a SHA512 ac156af42cadfd1c63568df485c816de0b3720af18ec12b25cb88e06476e817707a29de91bfce8da3b7f7b4e690b6c33aa6c38bc2b485901e81e032dae0d0109
|
||||
DIST cloudflare-python-4.0.0-prism.tar.gz 10687934 BLAKE2B d8696ec3f20d56e8ed5578d96ff41e4b90faf8d440b734b76d7217b8127f1c428e523f75f266cd9a677a3501b961844107afb03b2ec06f9940aadbf369a3567e SHA512 0d622922f26f9a6749858f226ff8ac5baee613a771e9cbe16787932304b5c1654c1a6d928ce7fe4734bc0710f3357160dcbe441f9238ae8c33cde02435e169e8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -24,15 +24,14 @@ else
|
||||
fi
|
||||
LICENSE="MIT test? ( ISC Apache-2.0 MIT BSD CC0-1.0 0BSD )"
|
||||
# nodejs module and deps used to test
|
||||
SLOT="3"
|
||||
SLOT="0"
|
||||
RDEPEND=" ${DEPEND}
|
||||
>=dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
|
||||
=dev-python/pydantic-2.9*[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydantic-2.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/anyio-4.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sniffio-1.3.1[${PYTHON_USEDEP}]
|
||||
<dev-python/httpx-0.28.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="test? (
|
||||
@@ -83,7 +82,7 @@ src_test() {
|
||||
}
|
||||
start_mock() {
|
||||
# Run prism mock api server, this is what needs nodejs
|
||||
node --no-warnings node_modules/@stoplight/prism-cli/dist/index.js mock \
|
||||
node --no-warnings node_modules/@stainless-api/prism-cli/dist/index.js mock \
|
||||
"cloudflare-spec.yml" >prism.log || die "Failed starting prism" &
|
||||
echo $! >"${T}/mock.pid" || die
|
||||
# Wait for server to come online
|
||||
@@ -1 +0,0 @@
|
||||
DIST v0.10.3.gh.tar.gz 66011 BLAKE2B 843cb7199daae203e93567ad90a8f4456d9e940830d8a88bbe3b316900ccd38df996016b40435b55e857364312c5bca55d078f416a24f9badbe9867039fbe662 SHA512 f3f045604e28f4a944ea0528363c233a75413a6039bd11b90eeeafadcaaf0ef44bc1303581f2e78adcfb9a365f719be64a24adf1cec8c5ef1abf5642dea58df4
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gasc@eurecom.fr</email>
|
||||
<name>Gasc Henri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pyrr</remote-id>
|
||||
<remote-id type="github">adamlwgriffiths/pyrr</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A cross platform utility library for ModernGL"
|
||||
HOMEPAGE="https://github.com/adamlwgriffiths/pyrr https://pypi.org/project/pyrr/"
|
||||
SRC_URI="https://github.com/adamlwgriffiths/pyrr/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz"
|
||||
S="${WORKDIR}/Pyrr-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/multipledispatch[${PYTHON_USEDEP}]
|
||||
<dev-python/numpy-2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT="tests/test_matrix44.py::test_matrix44::test_create_perspective_projection_matrix_dtype"
|
||||
find "${S}/tests" -iname "*.py" -exec sed -i \
|
||||
-e 's/np\.float/float/g' \
|
||||
-e 's/float32/np\.float32/g' \
|
||||
-e 's/np\.int/int/g' \
|
||||
-e 's/int16/np\.int16/g' \
|
||||
{} \;
|
||||
epytest "${S}/tests" || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
1
games-util/modrinth-app-bin/Manifest
Normal file
1
games-util/modrinth-app-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST Modrinth%20App_0.9.2_amd64.deb 8162736 BLAKE2B 0e5bc56252e2598d5f57e601e7e90cb36d11232d6e78d1271184e0440029241b3ab4945ec83091e64bc31531bd2aedeb096d912cd3c4303e7d58374ec9917c80 SHA512 40445540e071675af23384e55892b659f66da3d9400d8f7d624de2cf9424227dea4ce821a2b843a23d37238908d864ba005668d5a00175a11f30409b384995c2
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/usr/share/applications/modrinth-app-bin.desktop b/usr/share/applications/modrinth-app-bi.desktop
|
||||
index 802f685..898b247 100644
|
||||
--- a/usr/share/applications/modrinth-app-bin.desktop
|
||||
+++ b/usr/share/applications/modrinth-app-bin.desktop
|
||||
@@ -1,8 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Categories=Game;
|
||||
-Exec=ModrinthApp
|
||||
+Exec="/opt/modrinth-app-bin/modrinth-app-bin" %U
|
||||
Icon=ModrinthApp
|
||||
Name=Modrinth App
|
||||
Terminal=false
|
||||
Type=Application
|
||||
MimeType=application/zip+mrpack;x-scheme-handler/modrinth
|
||||
|
||||
11
games-util/modrinth-app-bin/metadata.xml
Normal file
11
games-util/modrinth-app-bin/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>norbiros@protonmail.com</email>
|
||||
<name>Norbiros</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Modrinth/code</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
76
games-util/modrinth-app-bin/modrinth-app-bin-0.9.2.ebuild
Normal file
76
games-util/modrinth-app-bin/modrinth-app-bin-0.9.2.ebuild
Normal file
@@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker desktop xdg-utils
|
||||
|
||||
DESCRIPTION="A unique, open source launcher that allows you to play your favorite Minecraft mods, and keep them up to date, all in one neat little package."
|
||||
HOMEPAGE="https://modrinth.com/app"
|
||||
SRC_URI="https://launcher-files.modrinth.com/versions/${PV}/linux/Modrinth%20App_${PV}_amd64.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# Tauri deps
|
||||
RDEPEND="
|
||||
sys-apps/dbus
|
||||
net-libs/webkit-gtk:4.1
|
||||
x11-libs/gtk+:3
|
||||
net-libs/libsoup
|
||||
gnome-base/librsvg
|
||||
"
|
||||
# Minecraft deps
|
||||
RDEPEND+="
|
||||
x11-libs/libX11
|
||||
media-libs/libpulse
|
||||
x11-libs/libXxf86vm
|
||||
"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
QA_PREBUILT=".*"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-desktop.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mv "${S}/usr/share/applications/Modrinth App.desktop"\
|
||||
"${S}/usr/share/applications/${PN}.desktop"
|
||||
|
||||
default
|
||||
|
||||
mv "${S}/usr/bin/ModrinthApp" "${S}/usr/bin/${PN}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ICONDIR="usr/share/icons/hicolor"
|
||||
DESTDIR="/opt/${PN}"
|
||||
|
||||
doicon -s 128 "${ICONDIR}/128x128/apps/ModrinthApp.png"
|
||||
doicon -s 256 "${ICONDIR}/256x256@2/apps/ModrinthApp.png"
|
||||
|
||||
domenu "${S}/usr/share/applications/${PN}.desktop"
|
||||
|
||||
dodir /opt/${PN}
|
||||
|
||||
exeinto "${DESTDIR}"
|
||||
doexe "${S}/usr/bin/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
@@ -18,14 +18,6 @@
|
||||
|
||||
# New entries go on top.
|
||||
|
||||
# Julien Roy <julien@jroy.ca>
|
||||
# Depends on <dev-python/httpx-0.28.0 which is no longer in tree
|
||||
# Masked for removal on 2024-02-05
|
||||
# Or not if a newer version supports a httpx version that's in tree
|
||||
dev-python/cloudflare
|
||||
# Revdeps
|
||||
app-crypt/certbot-dns-cloudflare
|
||||
|
||||
# Julien Roy <julien@jroy.ca>
|
||||
# Depends on dev-python/zenlib-3.1.2 which isn't yet in tree
|
||||
# https://github.com/gentoo/gentoo/pull/39922
|
||||
@@ -60,11 +52,6 @@ dev-python/pygaljs
|
||||
# Removal on 2025-01-17
|
||||
sci-physics/openmodelica
|
||||
|
||||
# Gasc Henri <gasc@eurecom.fr> (2024-12-05)
|
||||
# Last release was in 2017, 2 commits in the last 3 years
|
||||
# Removal on 2025-01-05
|
||||
dev-python/pyrr
|
||||
|
||||
# Julien Roy <julien@jroy.ca> (2024-11-25)
|
||||
# Depends on <sci-libs/opencascade-7.8.0 which was removed from ::gentoo
|
||||
# Removal on 2025-12-17
|
||||
|
||||
Reference in New Issue
Block a user