mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Merge updates from master
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
DIST pulumi-v3.160.0-linux-x64.tar.gz 90124996 BLAKE2B c955e5a98156ab2b09260c6dc7b9d488df7dea14e78e759208fb1ecd75638446946c7ad55078f5d315a0c46018c0f220bb955af8fcffde4d65e0661e48c1333e SHA512 162a8b23c7fd59841e6f552b724779bab65d16fcd974a84335aaa6720fe278c3fae0971e4a2e7a31be1d066ebdb9be39b3f884f4d91f8dd2f03a8f46d754a4df
|
||||
DIST pulumi-v3.162.0-linux-x64.tar.gz 90010663 BLAKE2B b219ea3f03f7bd4f6ffc426a7737630b337eac47269bab82d17215cddcd62a92785c558ca4ba317081fd310c3b905772297b28146a186eed9c038aa2f4e3aff1 SHA512 22d4fd8e2debb5b49ce0890f4485f98ba590a39074861da79f6f790609475f9a44d8edca46a06b09f645223c97122a3037ef714aeaad44481e0392e09024c31a
|
||||
DIST pulumi-v3.167.0-linux-x64.tar.gz 90366853 BLAKE2B 38752e6d481f9732367aeb9b90aaf8249947b32b8d3c9ce4bf6303a39dd8e54a785be2d2e306ebf1a975fa5ff3fd6d65a09943ce1bf4265a2e31b2c6d7ef3475 SHA512 9273a80b6e7b61034eea9773f98f8a86d28587abc15561ce69628a1fe84126f12362cab4e740f139d46f40c92c6d96a53d0b3240f2fd06987f836e06530eb160
|
||||
DIST pulumi-v3.171.0-linux-x64.tar.gz 91167697 BLAKE2B bde3cff4acf125dae68628935d83ddc90742f6254012e240a89fbb8fecabd520bbbb457b43fbd9d07c7b14d7a5a1abacb1d9a2139641446364e2202926439502 SHA512 c8f8c230fef40c2b60c064ff42a6a760efdc4a71783d99617b46038ca7cf6bd42b4942fbbc7910d6e9ee65a0ce51f680f03ed26eea4af29640490bffa15a7243
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
DIST cloudflare-2.19.4.gh.tar.gz 151397 BLAKE2B c91c95f52314c5177d823ef8f827ea2f76f6cc703260449aea12d54c1b77d061feca15d4bb845f84cfb4fd80789e5064e54d7530daf546d54d17054b9e0b4fda SHA512 8ae11e73760c57b610abfe5e2c8fdc83c2e0b9e07340884925ec9ac3bf5b40b4edf39b2b8ce7330538369d7573146a2ddac195efb0efb4ff657f75fdacb31aed
|
||||
DIST cloudflare-4.1.0.gh.tar.gz 1919098 BLAKE2B 00282a75357e1b6368b9c36f9abdf52547d42850f74c52d0cd2b1b02b26a717942167db59ba025eb1a6e874697299c79257c8e796874abcc742a9350374e2511 SHA512 bc61518791adc30b472b64407f336f5dd94ad5961c7c1fa474750b8d2579411db78592dd30ac731b05023c29105928bda0005185b07d54cf8b88f100eb1bf5ca
|
||||
DIST cloudflare-4.2.0.gh.tar.gz 1995070 BLAKE2B 0c5fc330a0aa5557c7ca39f49e2d94b93b7a6eac16752dcf7d4ff96f9464176831f989e13f54a988d8a2afdddf21fcec43944ab125291eb38b9ed0b0db62331a SHA512 0aa994d4109ab819a3e5d190863bde7ef657b0582350f530cea3dc9de4cb34a99f00e23413f35b4a484c75c8e88c184bde59c8e91354dffbdc558645270a21a1
|
||||
DIST cloudflare-python-4.1.0-prism.tar.gz 10768260 BLAKE2B baf23e1010417b770a7c26f7e806305a6431c917df527feb7277f72e35220e210b570cc67791fca911b450b0056c9d10824f6f90893abd6bd4b9bef933b4088d SHA512 05742179f53ce22bb9d3318069415bba9e94110ba14ea6a0eda991107c448fe35fb653d2863c4e3421e1062be2c8a963d2cc6bbe1187d9057378d144ce1fb3ac
|
||||
DIST cloudflare-python-4.2.0-prism.tar.gz 10827264 BLAKE2B e2231d8652fd0e33f1098687532520b7b24a7eec6e213470c8063f2fe306437f216c82cd62af23fec650224124fc161d85f4c098161dd4a9bc425c2a52da0e45 SHA512 68a5e15b7922752f600d5a02773dd6c683dcdcf12895dc80c3d16aeab52e302f9a90ab4fc4cc123374db74acaef5cd6618ac052dab8f8932206837f7f862556a
|
||||
|
||||
103
dev-python/cloudflare/cloudflare-4.2.0.ebuild
Normal file
103
dev-python/cloudflare/cloudflare-4.2.0.ebuild
Normal file
@@ -0,0 +1,103 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
# upstream doesn't yet officially claim 3.13 support but passes tests and works
|
||||
DISTUTILS_USE_PEP517="hatchling"
|
||||
inherit distutils-r1
|
||||
DESCRIPTION="Python wrapper for the Cloudflare v4 API"
|
||||
HOMEPAGE="https://pypi.org/project/cloudflare/"
|
||||
if [ "${PV}" == 9999 ]; then
|
||||
EGIT_REPO_URI="https://github.com/cloudflare/cloudflare-python"
|
||||
inherit git-r3
|
||||
else
|
||||
MYPV=$(ver_rs 3 -)
|
||||
MYPV=${MYPV/beta/beta.}
|
||||
MYPN="cloudflare-python"
|
||||
SRC_URI="https://github.com/cloudflare/cloudflare-python/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.gh.tar.gz
|
||||
test? ( https://github.com/Phoenix591/${MYPN}/releases/download/${PV}/${MYPN}-${PV}-prism.tar.gz )"
|
||||
#Prism archive generated by workflow
|
||||
# https://github.com/Phoenix591/cloudflare-python/blob/master/.github/workflows/test-tar.yml
|
||||
S="${WORKDIR}/${MYPN}-${MYPV}"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
LICENSE="MIT test? ( ISC Apache-2.0 MIT BSD CC0-1.0 0BSD )"
|
||||
# nodejs module and deps used to test
|
||||
SLOT="0"
|
||||
RDEPEND=" ${DEPEND}
|
||||
>=dev-python/httpx-0.23.0[${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}]
|
||||
"
|
||||
|
||||
BDEPEND="test? (
|
||||
>=net-libs/nodejs-18.20.1
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/time-machine[${PYTHON_USEDEP}]
|
||||
dev-python/dirty-equals[${PYTHON_USEDEP}]
|
||||
dev-python/respx[${PYTHON_USEDEP}]
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
RESTRICT+=" !test? ( test )"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.gh.tar.gz"
|
||||
use test && cd "${S}" && unpack "cloudflare-python-${PV}-prism.tar.gz"
|
||||
}
|
||||
|
||||
#python_prepare_all() {
|
||||
# # don't install tests or examples
|
||||
# sed -i -e "s/'cli4', 'examples'/'cli4'/" \
|
||||
# -e "s#'CloudFlare/tests',##" \
|
||||
# setup.py || die
|
||||
# sed -i -e "/def test_ips7_should_fail():/i@pytest.mark.xfail(reason='Now fails upstream')" \
|
||||
# -e "2s/^/import pytest/" \
|
||||
# CloudFlare/tests/test_cloudflare_calls.py || die
|
||||
# distutils-r1_python_prepare_all
|
||||
#}
|
||||
|
||||
python_test() {
|
||||
# these 2 tests fail in an ebuild environment for some reason
|
||||
# help appreciated
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/test_client.py::TestCloudflare::test_validate_headers
|
||||
tests/test_client.py::TestAsyncCloudflare::test_validate_headers )
|
||||
#intermittently fail for unknown reasons, passed along to upstream
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/test_client.py::TestAsyncCloudflare::test_copy_build_request
|
||||
tests/test_client.py::TestCloudflare::test_copy_build_request
|
||||
tests/test_client.py::TestAsyncCloudflare::test_get_platform
|
||||
)
|
||||
epytest
|
||||
}
|
||||
|
||||
src_test() {
|
||||
start_mock
|
||||
distutils-r1_src_test
|
||||
stop_mock
|
||||
}
|
||||
start_mock() {
|
||||
# Run prism mock api server, this is what needs nodejs
|
||||
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
|
||||
echo -n "Waiting for mockserver"
|
||||
while ! grep -q "✖ fatal\|Prism is listening" "prism.log" ; do
|
||||
echo -n "." || die
|
||||
sleep 0.5
|
||||
done
|
||||
if grep -q "✖ fatal" prism.log; then
|
||||
die "Prism mock server failed"
|
||||
fi
|
||||
}
|
||||
stop_mock() {
|
||||
kill $(cat "${T}/mock.pid") || die
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
DIST QBitMPlayer-2.7.0.tar.gz 28591 BLAKE2B e7e3b8244502b81f70250dea75f004c7ae2bae5e2b272b99ed3081a8945e72d405a66f968f8e7f16305556b115c8f534b59dddc6a2e71f0f4e549b586994fff9 SHA512 5264f5ac9f1f289c80a49479786dae96f740f802bc50b0b821dee6bf3ddcc10e4ba9780e8d09a36269c13d341867832c19166d5ce53292f5c87190bd69855605
|
||||
DIST QBitMPlayer-2.8.0.tar.gz 30101 BLAKE2B a6ac09bb87ca6e3671eb740f286206aa5c0c2770e281b0ed660ae1baea6d05aba83e6c8012d3e6485f8bb9b7f1c53cc0f62d311f80ca0c31228e560e3c4c084e SHA512 61d426a59835aa39f79fd6c81709c37e14a02a77761d6285d1609fbdef549775cd01420d2efec2084101e38cf89a86ac9a4c73b4dfa92f75373edec73edad8ea
|
||||
DIST QBitMPlayer-2.9.0.tar.gz 32527 BLAKE2B 0d57d08bb9ec5540aadda6a8458dbbbea17b0a1895b4ef0bacad433e0bf92e175f01b4983f55ed2a18aff7c49c2d2a2b652baa047b1e1c9e9ffd030d2c81e576 SHA512 70e36c3392b8d2fca73f8f9806a56004c41d12cd62a1d67b09e4d6e995a9c43d03ae9e9ef8da70dbab87fa582364c24e1504d3e61ded3a297c2fe2b386a782e4
|
||||
DIST QBitMPlayer-2.9.2.tar.gz 34376 BLAKE2B 51b191b79e5a3c5d041ad103a9b4ed152a493668dac236bfd93b6bb56bd87958460986854bded3a65f1d2948c084b2c9f4a633a2eacde3ee0f9a494cfab6e2f3 SHA512 a690d73ff199b7def4579d9655a51bba1d778f59c28b91d35fde508f3745d002602ce8da960aa19101fe6e7a671b3f2dbc2c39edec23d8787c7264289bb6bf11
|
||||
|
||||
@@ -13,10 +13,13 @@ S="${WORKDIR}/QBitMPlayer-${PV}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="dbus +libnotify"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtmultimedia:6
|
||||
dev-qt/qtbase:6[widgets]
|
||||
dbus? ( dev-qt/qtbase:6[dbus] )
|
||||
libnotify? ( x11-libs/libnotify )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
@@ -33,5 +36,18 @@ src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DQT_VERSION_MAJOR=6
|
||||
)
|
||||
|
||||
if use dbus; then
|
||||
mycmakeargs+=(
|
||||
-DUSE_IPC=1
|
||||
)
|
||||
fi
|
||||
|
||||
if use libnotify; then
|
||||
mycmakeargs+=(
|
||||
-DUSE_NOTIFICATIONS=1
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST zen-bin-1.12.6b.tar.xz 78237316 BLAKE2B 3715a3cee78885ac9f32518dcf66f3e4daea3bce11bf62a9c0a62cd5653b350abbcc5acafd1a775392b646ff4ee663527c7cc124dfd9b67ce90cea4802619f88 SHA512 28bff03727521232f7dc6a80d5f185fbc5fad49d91bf7b8dd1f1ead24c8f038d053660b7bc1bae7a77c41e248753cbbdcae4077564b51ad15068d72d622d07c1
|
||||
DIST zen-bin-1.12.7b.tar.xz 78263980 BLAKE2B 976a59888a7850b02cb7d90e7316c9cd5686bb5e39b6a855a9c7639153665ea66e359ac7a851e3248139864036880fd95d15b9baf6d7ae683e6adaecbe4268aa SHA512 a3190cc67fbb9b0399bdbd8e358d58748f11363aa96937fc5e62a1d8b4b069fcffea921adcaa70eaa339d3548d6945506268d75976b408a2bef0fca212e835dc
|
||||
|
||||
89
www-client/zen-bin/zen-bin-1.12.7b.ebuild
Normal file
89
www-client/zen-bin/zen-bin-1.12.7b.ebuild
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils desktop
|
||||
|
||||
MY_P="zen"
|
||||
|
||||
DESCRIPTION="Zen Browser - A Firefox-based browser focused on privacy"
|
||||
HOMEPAGE="https://github.com/zen-browser/desktop"
|
||||
SRC_URI="https://github.com/zen-browser/desktop/releases/download/${PV}/${MY_P}.linux-x86_64.tar.xz -> ${P}.tar.xz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_PREBUILT="opt/zen/*"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
dodir "${destdir}"
|
||||
#copy files into dest dir
|
||||
cp -a "${S}/zen"/* "${ED}${destdir}" || die
|
||||
#create a symlink to the binary
|
||||
dosym "${destdir}/zen-bin" "/usr/bin/zen-bin" || die
|
||||
#add icons
|
||||
local icon_dir="${ED}${destdir}/browser/chrome/icons/default"
|
||||
if [[ -d "${icon_dir}" ]]; then
|
||||
for size in 16 32 48 64 128; do
|
||||
if [[ -f "${icon_dir}/default${size}.png" ]]; then
|
||||
newicon -s ${size} "${icon_dir}/default${size}.png" zen.png
|
||||
fi
|
||||
done
|
||||
else
|
||||
ewarn "Icon directory not found, skipping icon installation"
|
||||
fi
|
||||
#create desktop file
|
||||
make_desktop_entry zen-bin "Zen" zen "Network;WebBrowser"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user