Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-07-28 21:52:59 +00:00
11 changed files with 103 additions and 43 deletions

View File

@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alexander@neuwirth-informatik.de</email>
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<longdescription>

View File

@@ -0,0 +1 @@
DIST pympress-1.8.6.tar.gz 237373 BLAKE2B 9de1c88c5338970859c1a81ee5a9b8ace9f1f7bdb47f6c214f993e911f0912e4ed2aee3577e6de72ed126e51bebf16612debf5fae45580f1f5ebb250d92bda70 SHA512 d6cd646132670139e0a8831c4e3806a194377d56f284a95f2bbe422d5c50f96f5c54022271b1abbc92d1ed23a1ba179b528ca343ebe8f9afdddce928e621978b

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<longdescription lang="en">
Pympress is a PDF presentation tool designed for dual-screen setups such as presentations and public talks. Highly configurable, fully-featured, and portable.
</longdescription>
<use>
<flag name="vlc">Build with python-vlc bindings</flag>
</use>
<upstream>
<remote-id type="pypi">pympress</remote-id>
<remote-id type="github">Cimbali/pympress</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,52 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature pypi xdg-utils
DESCRIPTION="A simple and powerful dual-screen PDF reader designed for presentations"
HOMEPAGE="
https://github.com/Cimbali/pympress
https://pypi.org/project/pympress/
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="vlc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
dev-python/watchdog[${PYTHON_USEDEP}]
app-text/poppler
dev-python/pygobject:3[${PYTHON_USEDEP}]
x11-libs/gtk+:3
x11-libs/cairo
dev-python/pycairo[${PYTHON_USEDEP}]
x11-libs/gdk-pixbuf
vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )
"
BDEPEND="${RDEPEND}"
src_prepare() {
default
# >=python3_13 only works with >dev-python/pygobject-3.51
# https://github.com/Cimbali/pympress/issues/330
sed -i 's/ a_widget.props/ list(a_widget.props)/' pympress/builder.py || die
}
pkg_postinst() {
optfeature "gstreamer support" media-libs/gstreamer
# QA: update desktop database MIME=
xdg_desktop_database_update
}
pkg_postrm() {
# QA: update desktop database MIME=
xdg_desktop_database_update
}

View File

@@ -1 +1 @@
DIST pytest-mypy-plugins-3.1.0.gh.tar.gz 24331 BLAKE2B b4cae94e254f8da0ef8cd081479cbee4522150843ef3bbbd16ae6efe6722e44e84aa49e761e99699b75c94f8b44963e8f9eeefb5c5b3352411df4801a1bbc5b4 SHA512 4892b653b9cd2bbe5cd253c5f0472d48a6eaf5e1261d53ef0f1c53470c2589baf21d428a0873c64acca71eec38ef9653ec501e0746ffc564d30830ba68148f91
DIST pytest-mypy-plugins-3.2.0.gh.tar.gz 25568 BLAKE2B 60143ea5316cb3efd1aa356123cd40b52e7883dc201c22f108e0f4fb3aa3e9aae296920a1422cb1f8084c7657c29c955f07892b09a643a88f9024f726209ab6f SHA512 3d5a6490b626f5dbb3f3c946f2ffbbb56cd0128b8234e9d98020d147e9f8f0841c76ca72f3cadb5ad568a5663e403417028fc07f85ec7f0e3a50b592bde734a7

View File

@@ -1,10 +1,10 @@
# Copyright 2023-2024 Gentoo Authors
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="pytest plugin for testing mypy types, stubs, plugins"
@@ -22,31 +22,33 @@ KEYWORDS="~amd64"
DOCS="README* CHANGELOG*"
RDEPEND="
>=dev-python/mypy-1.3.0[${PYTHON_USEDEP}]
>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
>=dev-python/tomlkit-0.11[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
>=dev-python/mypy-1.3.0[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
>=dev-python/tomlkit-0.11[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=( ${PN} )
distutils_enable_tests pytest
python_prepare_all() {
# tests need pytest_mypy_plugins.tests on the modules search path and
# python -m pytest preprends sys.path with ${S}
sed "s/\"pytest\"/\"MY_EPYTHON\", \"-m\", \"pytest\"/" \
-i pytest_mypy_plugins/tests/test_explicit_configs.py || die
distutils-r1_python_prepare_all
}
python_test() {
# substitute the correct interpreter
sed "s/MY_EPYTHON/${EPYTHON}/" -i pytest_mypy_plugins/tests/test_explicit_configs.py || die
local EPYTEST_DESELECT=(
# circumvents our test setup by calling "pytest"; do the test manually
pytest_mypy_plugins/tests/test_explicit_configs.py
)
distutils-r1_python_test
# reset for next interpreter run
sed "s/${EPYTHON}/MY_EPYTHON/" -i pytest_mypy_plugins/tests/test_explicit_configs.py || die
local config= testfile="${S}"/pytest_mypy_plugins/tests/test-mypy-config.yml
for config in pytest_mypy_plugins/tests/test_configs/*{1,2}.toml; do
epytest --mypy-pyproject-toml-file "${config}" "${testfile}"
done
for config in pytest_mypy_plugins/tests/test_configs/*.{ini,cfg}; do
epytest --mypy-ini-file "${config}" "${testfile}"
done
}

View File

@@ -1,2 +1 @@
DIST types-protobuf-4.24.0.20240408.tar.gz 52102 BLAKE2B 3312ddd8e28ee490f6ae94978d5ebfca353cbd9051862629cdde08474ae657130bf87cda8cb06f33ea2d38ccb5bfe9097ef3d8f4bb77fba94707b9914ff33466 SHA512 adb4d69ef5d8bab15e6e311c7d1013725419f2b681e64befea2cc435fec69cf0d0e70431ae65b9f617e8b4c86957fdaae88abd57cc306fa55ad51d3c09d5f222
DIST types-protobuf-5.27.0.20240626.tar.gz 54215 BLAKE2B 49f791cf6cc8cdc0b16172c2afc2f22eb15c8ecb73b89fa323779227e12105dd82fe316e58a2fa9b0421a3e91f0b8206e7b073cf0193a705be3cc339c53df525 SHA512 f7e572985639ef19b4a257e0bc2a931f4c745eb3c8f10d98ccd6c95133b0df3486b40b86418045b94854c46a26da510be1f63c524005580cf1446364aca4eade
DIST types_protobuf-6.30.2.20250703.tar.gz 62300 BLAKE2B 7069a81619a04807cd1816171691d757f5e87c509a88502581e85f10250e7fee37976aad91e295d3b4e398e0d991874bbbebac138fbb3b2cbf0c45ca248c2c3b SHA512 45df568cecf47b1a30a29d0c49299c82112c67420248d336704e9c700b9510f2fabae843eb7c67e42d690a9686a106bc889d1f4e2bbb28e2f6a04a03270f86e8

View File

@@ -1,18 +0,0 @@
# Copyright 2023-2024 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..13} )
inherit distutils-r1 pypi
DESCRIPTION="Typing stubs for protobuf"
HOMEPAGE="
https://pypi.org/project/types-protobuf/
https://github.com/python/typeshed/tree/master/stubs/protobuf/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

View File

@@ -1,11 +1,10 @@
# Copyright 2023-2024 Gentoo Authors
# Copyright 2023-2025 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..13} )
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Typing stubs for protobuf"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alexander@neuwirth-informatik.de</email>
<email>apn-pucky@gentoo.org</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<longdescription>

View File

@@ -18,6 +18,12 @@
# New entries go on top.
# Lucio Sauer <watermanpaint@posteo.net> (2025-07-28)
# Outdated downstream and archived upstream; no revdeps.
# Superseded by types-grpcio* on PyPi.
# Removal on 2025-08-28
dev-python/grpc-stubs
# Lucio Sauer <watermanpaint@posteo.net> (2025-07-28)
# This package is unmaintained, has an ambiguous license and upstream is
# unresponsive. Its sole revdep is app-forensics/mvt, which has been outdated