mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
Merge updates from master
This commit is contained in:
@@ -21,7 +21,7 @@ DEPEND="
|
||||
pango? ( x11-libs/pango )
|
||||
postgres? ( dev-db/postgresql )
|
||||
ssl? ( dev-libs/openssl )
|
||||
dev-libs/boost:=
|
||||
<=dev-libs/boost-1.86.0:=
|
||||
media-libs/libharu
|
||||
media-gfx/graphicsmagick[jpeg,png]
|
||||
sys-libs/zlib
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
DIST betamax-serializers-0.2.1.tar.gz 3261 BLAKE2B 802a797c480ce0db4f1c84a9579c004699edddf1659e49a191835474a9fa500718a79b371ee0b510387fdf009935e761616cd6c17c427ae091897e6ffd681a52 SHA512 0297b91a0a5af17e02ec663151458df5721d5c773febc891985191dccea36ba349e81d39a5884e662c3b7b8899d1fd252a890970b6099d98bfa0aaab8f2b909f
|
||||
@@ -1,24 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="A set of third-party serializers for Betamax"
|
||||
HOMEPAGE="https://pypi.org/project/betamax-serializers/ https://gitlab.com/betamax/serializers"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-python/betamax[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( {AUTHORS,HISTORY,README}.rst )
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "YAML serializer support" dev-python/pyyaml
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<email>graffatcolmingov@gmail.com</email>
|
||||
<name>Ian Cordasco</name>
|
||||
</maintainer>
|
||||
<remote-id type="pypi">betamax-serializers</remote-id>
|
||||
<remote-id type="gitlab">betamax/serializers</remote-id>
|
||||
<changelog>https://pypi.org/rss/project/betamax-serializers/releases.xml</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST praw-7.6.1.gh.tar.gz 25083372 BLAKE2B eab92be89585bbe485b4d51c1c3c15def597b3a5cdb1326cf166931e4be22bea2975c76c48c8b673b30945ec5b559efba84d0310eebbdaa2881a37e30351af31 SHA512 91fa6efe0ea56d53ea49df8c1046ff620571d9dc80e6fdc5a5da3651cd24d7553455b62d02db8e37531a7bf34be0fbbc8c9555281b4887b73e9b8758966db55a
|
||||
DIST praw-7.7.0.gh.tar.gz 25092955 BLAKE2B e50a20b6d8fc58214480b9edb91a332a9e50626aeb67155298f1746b2615852bc89d3e338d120d2910c93f1713302f41754f5f87259388c9fedd1c358e65dd63 SHA512 40a8882cdcaa10f538f9cf9552414184050b16008eed4c4e31fc52dfc0d337daad6bd1041d462d26476c692ae8997f675cf5ce2630d8d8be091023b7deb98181
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<email>bbzbryce@gmail.com</email>
|
||||
<name>Bryce Boe</name>
|
||||
</maintainer>
|
||||
<remote-id type="pypi">praw</remote-id>
|
||||
<remote-id type="github">praw-dev/praw</remote-id>
|
||||
<changelog>https://pypi.org/rss/project/praw/releases.xml</changelog>
|
||||
<doc>https://praw.readthedocs.io</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Reddit API Wrapper"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/praw/
|
||||
https://github.com/praw-dev/praw
|
||||
"
|
||||
SRC_URI="https://github.com/praw-dev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=( {AUTHORS,CHANGES,README}.rst SECURITY.md )
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/prawcore-3[${PYTHON_USEDEP}]
|
||||
dev-python/websocket-client[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="test? (
|
||||
dev-python/betamax[${PYTHON_USEDEP}]
|
||||
dev-python/betamax-matchers[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-rtd-theme \
|
||||
dev-python/sphinx-rtd-dark-mode
|
||||
|
||||
python_prepare_all() {
|
||||
# disable optional dependencies
|
||||
sed "/update_checker/d" -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local epytestargs=(
|
||||
# spams deprecation warnings
|
||||
-p no:asyncio
|
||||
)
|
||||
epytest "${epytestargs[@]}"
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Reddit API Wrapper"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/praw/
|
||||
https://github.com/praw-dev/praw
|
||||
"
|
||||
SRC_URI="https://github.com/praw-dev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=( {AUTHORS,CHANGES,README}.rst SECURITY.md )
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/prawcore-3[${PYTHON_USEDEP}]
|
||||
dev-python/websocket-client[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="test? (
|
||||
dev-python/betamax[${PYTHON_USEDEP}]
|
||||
dev-python/betamax-matchers[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-rtd-theme \
|
||||
dev-python/sphinx-rtd-dark-mode
|
||||
|
||||
python_prepare_all() {
|
||||
# disable optional dependencies
|
||||
sed "/update_checker/d" -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local epytestargs=(
|
||||
# spams deprecation warnings
|
||||
-p no:asyncio
|
||||
)
|
||||
epytest "${epytestargs[@]}"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST prawcore-2.3.0.tar.gz 1163513 BLAKE2B 9e8bf7477bbdaf2b8f9f2c8e044ec8200a5265b90ba8be92137d9032a68d6384e57d8e6987a2a2aeeb777d6c6ab9a238322a13e6f944d8dc0ad606ae6ae61dad SHA512 d0d2d54bae1e1d31e50bad8094fee9b448f952d62d7306752f1de4450dea4ec0dc2030d273561a8775c9034ade527d115ccf4043c47def42a50169fed7b97b0d
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<email>bbzbryce@gmail.com</email>
|
||||
<name>Bryce Boe</name>
|
||||
</maintainer>
|
||||
<remote-id type="pypi">prawcore</remote-id>
|
||||
<remote-id type="github">praw-dev/prawcore</remote-id>
|
||||
<changelog>https://pypi.org/rss/project/prawcore/releases.xml</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Low-level communication layer for PRAW"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/prawcore/
|
||||
https://github.com/praw-dev/prawcore
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# Tests require <dev-python/betamax-0.9 which is no longer available in ::gentoo
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
<dev-python/betamax-matchers-0.5[${PYTHON_USEDEP}]
|
||||
<dev-python/betamax-serializers-0.3[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/testfixtures[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( {AUTHORS,CHANGES,README}.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1 +0,0 @@
|
||||
DIST pytest-flask-1.3.0.tar.gz 35816 BLAKE2B 008c7f2acdc320dcab3e1745fb8e546a1f4cbdf75155db85f00bb70aea2eb3efa46d68f39fac114e3ddc3675b45d3d6d9a7bba8eb0c331c36e7f3d08c83c5da0 SHA512 4512e261cf6b284540ea9dda4cade52be57776c16f0cc7185755cbec294e526268753dbe663200a6ab3dee2ac0cc42df080d8f0045f88feac5de115fcc71ac21
|
||||
@@ -1,74 +0,0 @@
|
||||
diff --git a/pytest_flask/fixtures.py b/pytest_flask/fixtures.py
|
||||
index eb25861..486ec8b 100755
|
||||
--- a/pytest_flask/fixtures.py
|
||||
+++ b/pytest_flask/fixtures.py
|
||||
@@ -3,7 +3,6 @@ import socket
|
||||
import warnings
|
||||
|
||||
import pytest
|
||||
-from flask import _request_ctx_stack
|
||||
|
||||
from ._internal import _determine_scope
|
||||
from ._internal import _make_accept_header
|
||||
@@ -93,23 +92,6 @@ def config(app):
|
||||
return app.config
|
||||
|
||||
|
||||
-@pytest.fixture
|
||||
-def request_ctx(app):
|
||||
- """The request context which contains all request relevant information,
|
||||
- e.g. `session`, `g`, `flashes`, etc.
|
||||
- """
|
||||
- warnings.warn(
|
||||
- "In Werzeug 2.0.0, the Client request methods "
|
||||
- "(client.get, client.post) always return an instance of TestResponse. This "
|
||||
- "class provides a reference to the request object through 'response.request' "
|
||||
- "The fixture 'request_ctx' is deprecated and will be removed in the future, using TestResponse.request "
|
||||
- "is the prefered way.",
|
||||
- DeprecationWarning,
|
||||
- stacklevel=2,
|
||||
- )
|
||||
- return _request_ctx_stack.top
|
||||
-
|
||||
-
|
||||
@pytest.fixture(params=["application/json", "text/html"])
|
||||
def mimetype(request):
|
||||
return request.param
|
||||
diff --git a/pytest_flask/plugin.py b/pytest_flask/plugin.py
|
||||
index bb4bf59..037f062 100755
|
||||
--- a/pytest_flask/plugin.py
|
||||
+++ b/pytest_flask/plugin.py
|
||||
@@ -19,7 +19,6 @@ from .fixtures import client
|
||||
from .fixtures import client_class
|
||||
from .fixtures import config
|
||||
from .fixtures import live_server
|
||||
-from .fixtures import request_ctx
|
||||
from .pytest_compat import getfixturevalue
|
||||
|
||||
|
||||
diff --git a/tests/test_fixtures.py b/tests/test_fixtures.py
|
||||
index a55fd98..b38af95 100755
|
||||
--- a/tests/test_fixtures.py
|
||||
+++ b/tests/test_fixtures.py
|
||||
@@ -16,21 +16,6 @@ class TestFixtures:
|
||||
def test_accept_jsonp(self, accept_jsonp):
|
||||
assert accept_jsonp == [("Accept", "application/json-p")]
|
||||
|
||||
- def test_request_ctx(self, app, request_ctx):
|
||||
- assert request_ctx.app is app
|
||||
-
|
||||
- def test_request_ctx_is_kept_around(self, client):
|
||||
- res = client.get(url_for("index"), headers=[("X-Something", "42")])
|
||||
- """In werkzeug 2.0.0 the test Client provides a new attribute 'request'
|
||||
- in the response class wich holds a reference to the request object that
|
||||
- produced the respective response, making instrospection easier"""
|
||||
- try:
|
||||
- assert res.request.headers["X-Something"] == "42"
|
||||
- except AttributeError:
|
||||
- """This is the conventional (pre 2.0.0) way of reaching the
|
||||
- request object, using flask.request global."""
|
||||
- assert request.headers["X-Something"] == "42"
|
||||
-
|
||||
def test_accept_mimetype(self, accept_mimetype):
|
||||
mimestrings = [[("Accept", "application/json")], [("Accept", "text/html")]]
|
||||
assert accept_mimetype in mimestrings
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>davidroman96@gmail.com</email>
|
||||
<name>David Roman</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pytest-flask</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{11,12} pypy3 )
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A set of pytest fixtures to test Flask applications "
|
||||
HOMEPAGE="http://pytest-flask.readthedocs.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1 +0,0 @@
|
||||
DIST sphinx-rtd-dark-mode-1.2.4.gh.tar.gz 9964 BLAKE2B 7aa68205af0578b841d35e7d7ccc8278060eafa13a598889dde6e75c3b27f606ffd7eac0c4bcc946b7e83bd2099e83c5b212768f230cabfcc6a8a0248b8f8ebc SHA512 729fa42c813bdcde8f10633aef54ac55b7ae0c20d67d376141236c3bc96731de3d42c9b890f1314527a2f0faf7de30101d769235b97b53456b6291f4137f9e75
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="pypi">sphinx-rtd-dark-mode</remote-id>
|
||||
<remote-id type="github">MrDogeBro/sphinx_rtd_dark_mode</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="sphinx_rtd_dark_mode"
|
||||
DESCRIPTION="Dark mode for the Sphinx Read the Docs theme"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/sphinx-rtd-dark-mode/
|
||||
https://github.com/MrDogeBro/sphinx_rtd_dark_mode
|
||||
"
|
||||
SRC_URI="https://github.com/MrDogeBro/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( {CONTRIBUTING,README}.md )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest tests/build.py
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST giara-1.0.1.tar.bz2 152103 BLAKE2B 615724317b29b1ba0743edbd9bc0190ec1647ef61aff02aa833d6fe19c375afda3bcc8293f38cb067d31d71b8e269ffca510320f275ebca9b803d9096f470608 SHA512 75cc9ce9fb2baea5919c8da4f1a18d73602a753ee92e9ad660814b5c97f879b04474f338f2b4c91336fae9b1469e78bfc68ccb78ddd17af459276bd13042c6ac
|
||||
DIST giara-1.1.0.tar.bz2 160995 BLAKE2B bbaaeccd05ca51236447faec1839c87adbd4acf0ef24cf5f644aaa8e8d254b916ee948c96bd469ed0fd0214f416c09bf63384b41ed78694ae63b840f8f6df97d SHA512 60dee316f5fdd93787cac05844436aa53649f7304528f086dbdfa7f486b2adbcaf1f3d4440bd6bc9bdfea33acf2504ffc567200110b4f90df29758b146559fa6
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit gnome2-utils meson python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="An app for Reddit"
|
||||
HOMEPAGE="https://giara.gabmus.org https://gitlab.gnome.org/World/giara"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/World/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection[${PYTHON_SINGLE_USEDEP}]
|
||||
gui-libs/gtk:4[introspection(+)]
|
||||
gui-libs/gtksourceview:5[introspection(+)]
|
||||
gui-libs/libadwaita:1[introspection(+)]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/mistune[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/praw[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/blueprint-compiler
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix broken shebang
|
||||
sed "s|py_installation.full_path()|'${PYTHON}'|" -i bin/meson.build || die
|
||||
}
|
||||
|
||||
# skip AppStream test
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit gnome2-utils meson python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="An app for Reddit"
|
||||
HOMEPAGE="https://giara.gabmus.org https://gitlab.gnome.org/World/giara"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/World/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
>=gui-libs/gtk-4.10:4[introspection]
|
||||
gui-libs/gtksourceview:5[introspection]
|
||||
>=gui-libs/libadwaita-1.3:1[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/mistune[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/praw[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/blueprint-compiler
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix broken shebang
|
||||
sed "s|py_installation.full_path()|'${PYTHON}'|" -i bin/meson.build || die
|
||||
}
|
||||
|
||||
# skip AppStream test
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Gabriele Musco</name>
|
||||
<email>gabmus@disroot.org</email>
|
||||
</maintainer>
|
||||
<remote-id type="gnome-gitlab">World/giara</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -3,18 +3,24 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker
|
||||
inherit unpacker xdg-utils
|
||||
|
||||
DESCRIPTION="Easily connect your device to eduroam®."
|
||||
HOMEPAGE="https://www.easyroam.de/"
|
||||
SRC_URI="https://packages.easyroam.de/repos/easyroam-desktop/pool/main/e/easyroam-desktop/easyroam_connect_desktop-${PV}+${PV}-linux.deb"
|
||||
|
||||
QA_FLAGS_IGNORED=".*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/0001-fix-desktop-file.patch
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib
|
||||
x11-libs/gtk+
|
||||
@@ -39,3 +45,11 @@ src_prepare() {
|
||||
src_install() {
|
||||
mv "${S}/usr" "${D}/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
diff --git a/usr/share/applications/easyroam_connect_desktop.desktop b/usr/share/applications/easyroam_connect_desktop.desktop
|
||||
index af29159..58ff457 100644
|
||||
--- a/usr/share/applications/easyroam_connect_desktop.desktop
|
||||
+++ b/usr/share/applications/easyroam_connect_desktop.desktop
|
||||
@@ -1,10 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
-Version=1.3.5
|
||||
+Version=1.0
|
||||
Name=Easyroam
|
||||
GenericName=wifi profile installer
|
||||
Icon=easyroam_connect_desktop
|
||||
Exec=/usr/share/easyroam_connect_desktop/easyroam_connect_desktop %U
|
||||
Categories=Utility;
|
||||
Keywords=easyroam;eduroam;Easyroam;Eduroam;
|
||||
-StartupNotify=true
|
||||
\ No newline at end of file
|
||||
+StartupNotify=true
|
||||
@@ -76,17 +76,6 @@ media-fonts/symbola
|
||||
# Removal on 2024-12-20
|
||||
dev-python/kurbopy
|
||||
|
||||
# Takuya Wakazono <pastalian46@gmail.com> (2024-11-18)
|
||||
# Upstream is dead because of the Reddit API changes.
|
||||
# Official Flathub page is gone as well.
|
||||
# https://gitlab.gnome.org/World/giara/-/issues/130
|
||||
# Removal on 2024-12-18. Bug #922029.
|
||||
net-misc/giara
|
||||
dev-python/praw
|
||||
dev-python/prawcore
|
||||
dev-python/sphinx-rtd-dark-mode
|
||||
dev-python/betamax-serializers
|
||||
|
||||
# Julien Roy <julien@jroy.ca> (2024-11-15)
|
||||
# >=x11-themes/adw-gtk3-5.4 requires >=gui-libs/gtk-4.16
|
||||
# which is not packaged in ::gentoo
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST kiwix-desktop-2.3.1.tar.gz 525090 BLAKE2B 3f2bc6d49f383e754438dfee260b3aa1a09040b9b543b1abc8acc0aa4531e84c350e014f98951409b292ed7e9fa2285733d98237b0ff3b4175de8e8f269cac1f SHA512 09d4c2293fc36ac0b03c815474f5f60881093552fd7d1d0940858254c16d7b6021bd05f4f985b32401328705082f07fbd72e92f79bb1365650f5dd75d455f0b8
|
||||
DIST kiwix-desktop-2.4.0.tar.gz 671550 BLAKE2B 30374c6836a2144dbeae724ff6a21602529fbeb285b47aeccdc4e2d2950a0048aa5691ce8534502fce80e4fc789743c1c786c0dc57cd06ce9a44f0adf8e0deef SHA512 e59957ba34a2d04c0fb63651ec30c9acc585755859aa53b8f96a84c62172b4dbf52d4ace7690ff2c5e478fc661c7014164985a6767847b8d11bcef00ab025d8f
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
From 1b322d8f01c787846546a6473f153cf1daa41e65 Mon Sep 17 00:00:00 2001
|
||||
From: Matthieu Gautier <mgautier@kymeria.fr>
|
||||
Date: Thu, 9 Feb 2023 09:47:47 +0100
|
||||
Subject: [PATCH] With last version of libkiwix, Downloader now return
|
||||
shared_ptr<Download>.
|
||||
|
||||
---
|
||||
src/contentmanager.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/contentmanager.cpp b/src/contentmanager.cpp
|
||||
index c2f4ff98..d4db50a0 100644
|
||||
--- a/src/contentmanager.cpp
|
||||
+++ b/src/contentmanager.cpp
|
||||
@@ -173,7 +173,7 @@ QStringList ContentManager::updateDownloadInfos(QString id, const QStringList &k
|
||||
return values;
|
||||
}
|
||||
auto& b = mp_library->getBookById(id);
|
||||
- kiwix::Download* d;
|
||||
+ std::shared_ptr<kiwix::Download> d;
|
||||
try {
|
||||
d = mp_downloader->getDownload(b.getDownloadId());
|
||||
} catch(...) {
|
||||
@@ -270,7 +270,7 @@ QString ContentManager::downloadBook(const QString &id)
|
||||
for (auto b : booksList)
|
||||
if (b.toStdString() == book.getId())
|
||||
return "";
|
||||
- kiwix::Download *download;
|
||||
+ std::shared_ptr<kiwix::Download> download;
|
||||
try {
|
||||
std::pair<std::string, std::string> downloadDir("dir", downloadPath.toStdString());
|
||||
const std::vector<std::pair<std::string, std::string>> options = { downloadDir };
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="cross-platform viewer/manager for ZIM archives"
|
||||
HOMEPAGE="https://kiwix.org/"
|
||||
SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtimageformats:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwebengine:5
|
||||
=www-misc/libkiwix-12.1.0*:=
|
||||
|
||||
"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/kiwix-desktop-2.3.1-shared_ptr.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
eqmake5 PREFIX=/usr .
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${ED}"
|
||||
}
|
||||
37
www-misc/kiwix-desktop/kiwix-desktop-2.4.0.ebuild
Normal file
37
www-misc/kiwix-desktop/kiwix-desktop-2.4.0.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils xdg
|
||||
|
||||
DESCRIPTION="cross-platform viewer/manager for ZIM archives"
|
||||
HOMEPAGE="https://kiwix.org/"
|
||||
SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/libzim
|
||||
dev-qt/qtbase:6[gui,network,widgets]
|
||||
dev-qt/qtimageformats:6
|
||||
dev-qt/qtsvg:6
|
||||
dev-qt/qtwebchannel:6
|
||||
dev-qt/qtwebengine:6[widgets]
|
||||
>=www-misc/libkiwix-14.0.0:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i '/-Werror/d' kiwix-desktop.pro || die
|
||||
}
|
||||
src_configure() {
|
||||
eqmake6 PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${ED}"
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST libkiwix-12.1.0.tar.gz 1098820 BLAKE2B 4dc0fa936daa1693bb398d18588d65bb22e9c60c7246eaa77c0fc198fa4d818c0a3e821e629134601aca9104d131a824677ec4f0ec785f1298cfc760c458c7f8 SHA512 9d4df7e46693a5aec545087ce37a2e83dfa3173a98e9d64cbbf364e1fd31143c30e856973cf12b0a2f608661d78a9453d8b748680c01f48e1df375c7b2b909d5
|
||||
DIST libkiwix-13.1.0.tar.gz 1136812 BLAKE2B 59d6cb91a61f89904b96ea3e8de531dd5dc44937233df86d4d8e834b8576d3fab39e514eab86a128b714537f58d46c21d2c2c228fc57d4ba4e5dbc43117a474a SHA512 f1ecd14117e6805011dbcc3ec682ea330194433587224f2cc0874d6c9534d948fa1514d9c6c311c022372ab43456e3f5f1bdbf0fb0ef562fcfcfe20696048ade
|
||||
DIST libkiwix-14.0.0.tar.gz 1149884 BLAKE2B f7a7a263dbbccacd4f3d922d4dfb0c347015ef9fb098c168e96c73b39175b381fe4eef9d0226820397aca37aa75f479a42bddff9d4e9ea59803532949e2e1bd5 SHA512 c0a6675e5add7221b812cdc91bd6212169922be6aea9cdcce34ec10328ae72ce5bc4eb218533172e6e926e58e9c683151b8ef13a489af0712f4c4c067d806e63
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Kiwix software suite core: code shared by all Kiwix ports"
|
||||
HOMEPAGE="https://kiwix.org/"
|
||||
SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/libkiwix-${PV}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/12"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
net-misc/aria2[bittorrent,metalink,xmlrpc]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/libzim-8.1.0:=
|
||||
>=dev-cpp/mustache-4.1
|
||||
dev-libs/icu
|
||||
dev-libs/pugixml
|
||||
net-libs/libmicrohttpd
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# disable tests
|
||||
sed -i \
|
||||
-e "/subdir('test')/d" \
|
||||
meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dwerror=false
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Kiwix software suite core: code shared by all Kiwix ports"
|
||||
HOMEPAGE="https://kiwix.org/"
|
||||
SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/libkiwix-${PV}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/12"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
net-misc/aria2[bittorrent,metalink,xmlrpc]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/libzim-8.1.0:=
|
||||
>=dev-cpp/mustache-4.1
|
||||
dev-libs/icu
|
||||
dev-libs/pugixml
|
||||
net-libs/libmicrohttpd
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# disable tests
|
||||
sed -i \
|
||||
-e "/subdir('test')/d" \
|
||||
meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dwerror=false
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
51
www-misc/libkiwix/libkiwix-14.0.0.ebuild
Normal file
51
www-misc/libkiwix/libkiwix-14.0.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit meson python-any-r1
|
||||
|
||||
DESCRIPTION="Kiwix software suite core: code shared by all Kiwix ports"
|
||||
HOMEPAGE="https://kiwix.org/"
|
||||
SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0/14"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-arch/libzim-9.0.0
|
||||
dev-libs/icu:=
|
||||
dev-libs/pugixml
|
||||
dev-libs/xapian:=
|
||||
net-libs/libmicrohttpd:=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
net-misc/aria2[bittorrent,metalink,xmlrpc]
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-cpp/mustache-4.1
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# requires PROPERTIES="test_network"
|
||||
sed -i '/^if build_machine.system/,/endif/d' test/meson.build || die
|
||||
|
||||
if ! use test; then
|
||||
sed -i "/subdir('test')/d" meson.build || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user