diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2023-11-24 16:01:59 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2023-11-24 16:01:59 +0000 |
commit | 3af45f318feb832e68d85e6c029885b24e5943a6 (patch) | |
tree | 7a810af29a549d5f678858e29ac50ab7219bba18 | |
parent | 2023-11-24 15:47:04 UTC (diff) | |
parent | dev-python/serpent: Stabilize 1.41 arm64, #918375 (diff) | |
download | gentoo-3af45f318feb832e68d85e6c029885b24e5943a6.tar.gz gentoo-3af45f318feb832e68d85e6c029885b24e5943a6.tar.bz2 gentoo-3af45f318feb832e68d85e6c029885b24e5943a6.zip |
Merge updates from master
43 files changed, 401 insertions, 39 deletions
diff --git a/dev-libs/qr-code-generator/Manifest b/dev-libs/qr-code-generator/Manifest new file mode 100644 index 000000000000..488e61001477 --- /dev/null +++ b/dev-libs/qr-code-generator/Manifest @@ -0,0 +1,2 @@ +DIST qr-code-generator-1.8.0.tar.gz 193288 BLAKE2B 2e511baf35fbfdb71ad5e2dc91c1400a113eb9bce51afa022c34b7ad7d3c9be4a862e2caaef89f517fbbf29879223fb078c88fdec27d6a876126c798ac6772c6 SHA512 0cdf0873e71aed124fc7357da86fb26f23fd26432f94c9752fa5a044085b26e5aece2115134d0e50213ff24be7c55818e7dec31205a68751065bc82ab0c2c6ac +DIST qr-code-generator-cmake-1.8.0.tar.gz 5573 BLAKE2B 206e88a0a2b9c069f5b9ebe78cb570c141ee12ea16c2bea0635b054ebb05c78654175e8391d744cc66bd00326d255acd96e25079d398cbb44569597fcf9797a5 SHA512 cd7da1c5cbb92ad25ee4c4cc820216628f2943268f884acc6c67ee6f74e943c639b74ec05470b6497f606594b5c6544b1ac9ab98d5b2d5196c0f7c627a4ce06e diff --git a/dev-libs/qr-code-generator/metadata.xml b/dev-libs/qr-code-generator/metadata.xml new file mode 100644 index 000000000000..5d36bf5a3c0d --- /dev/null +++ b/dev-libs/qr-code-generator/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chiitoo@gentoo.org</email> + <description>Primary maintainer</description> + </maintainer> + <longdescription> + Package combining the nayuki/QR-Code-generator upstream with the + CMake files from EasyCoding/qrcodegen-cmake upstream. + </longdescription> + <upstream> + <remote-id type="github">EasyCoding/qrcodegen-cmake</remote-id> + <remote-id type="github">nayuki/QR-Code-generator</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/qr-code-generator/qr-code-generator-1.8.0.ebuild b/dev-libs/qr-code-generator/qr-code-generator-1.8.0.ebuild new file mode 100644 index 000000000000..61a40ffe65b0 --- /dev/null +++ b/dev-libs/qr-code-generator/qr-code-generator-1.8.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="QR Code Generator Library in Multiple Languages" +HOMEPAGE=" + https://github.com/EasyCoding/qrcodegen-cmake + https://github.com/nayuki/QR-Code-generator +" +SRC_URI=" + https://github.com/EasyCoding/qrcodegen-cmake/archive/v${PV}-cmake2.tar.gz -> qr-code-generator-cmake-${PV}.tar.gz + https://github.com/nayuki/QR-Code-generator/archive/v${PV}.tar.gz -> ${P}.tar.gz +" +S="${WORKDIR}/QR-Code-generator-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_prepare() { + # Move the CMake files into the project root. + mv ../qrcodegen-cmake-${PV}-cmake2/* . || die + + cmake_src_prepare +} diff --git a/dev-python/colorlog/colorlog-6.7.0.ebuild b/dev-python/colorlog/colorlog-6.7.0.ebuild index deeab2c63621..4457b3c16990 100644 --- a/dev-python/colorlog/colorlog-6.7.0.ebuild +++ b/dev-python/colorlog/colorlog-6.7.0.ebuild @@ -5,14 +5,21 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( pypy3 python3_{10..12} ) + inherit distutils-r1 pypi DESCRIPTION="Log formatting with colors" -HOMEPAGE="https://pypi.org/project/colorlog/ - https://github.com/borntyping/python-colorlog" +HOMEPAGE=" + https://pypi.org/project/colorlog/ + https://github.com/borntyping/python-colorlog/ +" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm64 ~riscv x86" distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-nocolor.patch" +) diff --git a/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch b/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch new file mode 100644 index 000000000000..cbd799a2f0d7 --- /dev/null +++ b/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch @@ -0,0 +1,31 @@ +From 4babdb5f18bd4799c25d61f0f7937b5e164770cc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Fri, 24 Nov 2023 16:45:42 +0100 +Subject: [PATCH] Fix running tests in environment with NO_COLOR=1 + +Fix running the test suite when pytest is run with NO_COLOR=1 set +in the environment. An fixture is autoused to ensure that the variables +are removed for the scope of the test, while they are respected +e.g. by pytest itself. +--- + colorlog/tests/conftest.py | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/colorlog/tests/conftest.py b/colorlog/tests/conftest.py +index 65fd6d4..33e23e6 100644 +--- a/colorlog/tests/conftest.py ++++ b/colorlog/tests/conftest.py +@@ -28,6 +28,13 @@ def assert_log_message(capsys, log_function, message, *args): + return err + + ++@pytest.fixture(autouse=True) ++def clean_env(monkeypatch): ++ monkeypatch.delenv("FORCE_COLOR", raising=False) ++ monkeypatch.delenv("NO_COLOR", raising=False) ++ yield ++ ++ + @pytest.fixture() + def reset_loggers(): + logging.root.handlers = list() diff --git a/dev-python/kgb/kgb-7.1.1.ebuild b/dev-python/kgb/kgb-7.1.1.ebuild index 10b9a28a2daa..9167429c4851 100644 --- a/dev-python/kgb/kgb-7.1.1.ebuild +++ b/dev-python/kgb/kgb-7.1.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests pytest diff --git a/dev-python/micawber/micawber-0.5.5.ebuild b/dev-python/micawber/micawber-0.5.5.ebuild index b1d488c1bb20..b1027ab35829 100644 --- a/dev-python/micawber/micawber-0.5.5.ebuild +++ b/dev-python/micawber/micawber-0.5.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv" +KEYWORDS="amd64 arm64 ~riscv" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/minimock/minimock-1.3.0-r1.ebuild b/dev-python/minimock/minimock-1.3.0-r1.ebuild index ff0e541b978f..6c7b4f0631ce 100644 --- a/dev-python/minimock/minimock-1.3.0-r1.ebuild +++ b/dev-python/minimock/minimock-1.3.0-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ppc x86" +KEYWORDS="amd64 arm arm64 ppc x86" DOCS=( CHANGELOG.txt README.rst ) diff --git a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild index 341885767430..a16aafd961ff 100644 --- a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild +++ b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD-2 ISC" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" IUSE="examples" PATCHES=( diff --git a/dev-python/paginate/paginate-0.5.6.ebuild b/dev-python/paginate/paginate-0.5.6.ebuild index 5f8fe5a3f93a..65692bbfe32b 100644 --- a/dev-python/paginate/paginate-0.5.6.ebuild +++ b/dev-python/paginate/paginate-0.5.6.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/parse_type/parse_type-0.6.2.ebuild b/dev-python/parse_type/parse_type-0.6.2.ebuild index 635bc52d0adb..193a7f863880 100644 --- a/dev-python/parse_type/parse_type-0.6.2.ebuild +++ b/dev-python/parse_type/parse_type-0.6.2.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://pypi.org/project/parse-type/" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/parse[${PYTHON_USEDEP}] diff --git a/dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild b/dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild index 172049adcbf7..f92f1b0c4aea 100644 --- a/dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild +++ b/dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/python-${P}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 ~x86 ~amd64-linux ~x86-linux" distutils_enable_tests unittest diff --git a/dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild b/dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild index b9366889432c..43faf5e46db1 100644 --- a/dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild +++ b/dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux" +KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux" python_test() { "${EPYTHON}" test/test_pbkdf2.py -v || die "Tests failed with ${EPYTHON}" diff --git a/dev-python/pid/pid-3.0.4-r1.ebuild b/dev-python/pid/pid-3.0.4-r1.ebuild index 5bb24cb411d7..e97c85879e6e 100644 --- a/dev-python/pid/pid-3.0.4-r1.ebuild +++ b/dev-python/pid/pid-3.0.4-r1.ebuild @@ -13,6 +13,6 @@ HOMEPAGE="https://pypi.org/project/pid/ https://github.com/trbs/pid/" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/podcastparser/podcastparser-0.6.10.ebuild b/dev-python/podcastparser/podcastparser-0.6.10.ebuild index cbd455906f22..39b06646c673 100644 --- a/dev-python/podcastparser/podcastparser-0.6.10.ebuild +++ b/dev-python/podcastparser/podcastparser-0.6.10.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="ISC" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests pytest diff --git a/dev-python/pycollada/pycollada-0.7.2-r1.ebuild b/dev-python/pycollada/pycollada-0.7.2-r1.ebuild index 5773a6526984..00bd5d36083b 100644 --- a/dev-python/pycollada/pycollada-0.7.2-r1.ebuild +++ b/dev-python/pycollada/pycollada-0.7.2-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/pyglet/pyglet-2.0.9.ebuild b/dev-python/pyglet/pyglet-2.0.9.ebuild index aed763e22c21..822d70e6891b 100644 --- a/dev-python/pyglet/pyglet-2.0.9.ebuild +++ b/dev-python/pyglet/pyglet-2.0.9.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux" IUSE="examples image +sound" BDEPEND=" diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.4.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.4.ebuild index 9129aa82ebda..c043f8d7f5cf 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.4.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/markdown-3.2[${PYTHON_USEDEP}] diff --git a/dev-python/pynvim/pynvim-0.4.3-r1.ebuild b/dev-python/pynvim/pynvim-0.4.3-r1.ebuild index d5c75e86d730..357d8006aade 100644 --- a/dev-python/pynvim/pynvim-0.4.3-r1.ebuild +++ b/dev-python/pynvim/pynvim-0.4.3-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/neovim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~x86" RDEPEND="dev-python/msgpack[${PYTHON_USEDEP}] virtual/python-greenlet[${PYTHON_USEDEP}]" diff --git a/dev-python/pyspf/pyspf-2.0.14-r3.ebuild b/dev-python/pyspf/pyspf-2.0.14-r3.ebuild index dde89be20af9..1b466cea4b4c 100644 --- a/dev-python/pyspf/pyspf-2.0.14-r3.ebuild +++ b/dev-python/pyspf/pyspf-2.0.14-r3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 arm64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pysrt/pysrt-1.1.2-r1.ebuild b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild index 3dcd3f63654d..b4b7d124685c 100644 --- a/dev-python/pysrt/pysrt-1.1.2-r1.ebuild +++ b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild @@ -18,7 +18,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/byroot/pysrt.git" else inherit pypi - KEYWORDS="amd64 ~arm ~arm64 x86" + KEYWORDS="amd64 ~arm arm64 x86" fi LICENSE="GPL-3+" diff --git a/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29-r1.ebuild b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29-r1.ebuild index 00f4c424c1e1..73107fc7b30c 100644 --- a/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29-r1.ebuild +++ b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.47.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.47.ebuild index afbe60a260cc..3a6c802e0da9 100644 --- a/dev-python/python-distutils-extra/python-distutils-extra-2.47.ebuild +++ b/dev-python/python-distutils-extra/python-distutils-extra-2.47.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ppc x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/python-memcached/python-memcached-1.59-r2.ebuild b/dev-python/python-memcached/python-memcached-1.59-r2.ebuild index a69dabd722cf..2d234212dcdc 100644 --- a/dev-python/python-memcached/python-memcached-1.59-r2.ebuild +++ b/dev-python/python-memcached/python-memcached-1.59-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="PSF-2.4" SLOT="0" -KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 ppc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/python-mpd2/python-mpd2-3.1.0.ebuild b/dev-python/python-mpd2/python-mpd2-3.1.0.ebuild index 5ff232949c36..9b1a64a683f6 100644 --- a/dev-python/python-mpd2/python-mpd2-3.1.0.ebuild +++ b/dev-python/python-mpd2/python-mpd2-3.1.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" " LICENSE="LGPL-3+" -KEYWORDS="amd64 ~arm64 ppc ppc64 x86" +KEYWORDS="amd64 arm64 ppc ppc64 x86" SLOT="0" IUSE="examples +twisted" diff --git a/dev-python/pytools/pytools-2023.1.1.ebuild b/dev-python/pytools/pytools-2023.1.1.ebuild index 51a16ed409e8..8757120ea15d 100644 --- a/dev-python/pytools/pytools-2023.1.1.ebuild +++ b/dev-python/pytools/pytools-2023.1.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv" +KEYWORDS="amd64 arm64 ~ppc64 ~riscv" # NB: numpy is now an "extra" (optional) dep -- we can remove it from # RDEPEND If revdeps don't need it diff --git a/dev-python/pyyaml_env_tag/pyyaml_env_tag-0.1-r1.ebuild b/dev-python/pyyaml_env_tag/pyyaml_env_tag-0.1-r1.ebuild index 4141bd112c1e..2e0286c1bbab 100644 --- a/dev-python/pyyaml_env_tag/pyyaml_env_tag-0.1-r1.ebuild +++ b/dev-python/pyyaml_env_tag/pyyaml_env_tag-0.1-r1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/waylan/pyyaml-env-tag" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild index a4b20007ea90..5aec141b3f9b 100644 --- a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild +++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv" +KEYWORDS="amd64 arm64 ~riscv" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/dev-python/retry-decorator/retry-decorator-1.1.1-r1.ebuild b/dev-python/retry-decorator/retry-decorator-1.1.1-r1.ebuild index 5c85a2e5213c..7b43e81cdb92 100644 --- a/dev-python/retry-decorator/retry-decorator-1.1.1-r1.ebuild +++ b/dev-python/retry-decorator/retry-decorator-1.1.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/pnpnpn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~riscv x86" +KEYWORDS="amd64 arm arm64 ~riscv x86" DOCS=( README.rst ) diff --git a/dev-python/roman/roman-4.1.ebuild b/dev-python/roman/roman-4.1.ebuild index e1a1d4733de7..a5f95f0aaefa 100644 --- a/dev-python/roman/roman-4.1.ebuild +++ b/dev-python/roman/roman-4.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests unittest diff --git a/dev-python/serpent/serpent-1.41.ebuild b/dev-python/serpent/serpent-1.41.ebuild index 44a53ad95e8a..540c24b0df01 100644 --- a/dev-python/serpent/serpent-1.41.ebuild +++ b/dev-python/serpent/serpent-1.41.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ppc ppc64 x86" +KEYWORDS="amd64 arm64 ppc ppc64 x86" BDEPEND=" test? ( diff --git a/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild b/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild index 642052dbe243..a4a539081ef1 100644 --- a/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild +++ b/dev-python/sphinx-multiversion/sphinx-multiversion-0.2.4-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/Holzhaus/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar. LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 arm64 x86" DEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/tenacity/tenacity-8.2.3.ebuild b/dev-python/tenacity/tenacity-8.2.3.ebuild index 715ecf0bbea5..b394a6bdf30f 100644 --- a/dev-python/tenacity/tenacity-8.2.3.ebuild +++ b/dev-python/tenacity/tenacity-8.2.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" +KEYWORDS="amd64 arm64 ~riscv x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/textdistance/textdistance-4.6.0.ebuild b/dev-python/textdistance/textdistance-4.6.0.ebuild index 1c410809b915..bff5aeb527cd 100644 --- a/dev-python/textdistance/textdistance-4.6.0.ebuild +++ b/dev-python/textdistance/textdistance-4.6.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/three-merge/three-merge-0.1.1-r1.ebuild b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild index 05efe52bcb0f..c2f76ff6341e 100644 --- a/dev-python/three-merge/three-merge-0.1.1-r1.ebuild +++ b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" dev-python/diff-match-patch[${PYTHON_USEDEP}] diff --git a/dev-python/unpaddedbase64/unpaddedbase64-2.1.0.ebuild b/dev-python/unpaddedbase64/unpaddedbase64-2.1.0.ebuild index 21d441158660..82c95b8c2fb9 100644 --- a/dev-python/unpaddedbase64/unpaddedbase64-2.1.0.ebuild +++ b/dev-python/unpaddedbase64/unpaddedbase64-2.1.0.ebuild @@ -19,6 +19,6 @@ S="${WORKDIR}/python-${P}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64" +KEYWORDS="amd64 arm64 ~ppc64" distutils_enable_tests unittest diff --git a/dev-python/xmlsec/xmlsec-1.3.12-r2.ebuild b/dev-python/xmlsec/xmlsec-1.3.12-r2.ebuild index b85f07eb23b4..bb49f81c3b00 100644 --- a/dev-python/xmlsec/xmlsec-1.3.12-r2.ebuild +++ b/dev-python/xmlsec/xmlsec-1.3.12-r2.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" # Doesn't yet support xmlsec-1.3.0: https://github.com/xmlsec/python-xmlsec/issues/252 RDEPEND=" diff --git a/dev-python/xxhash/xxhash-3.4.1.ebuild b/dev-python/xxhash/xxhash-3.4.1.ebuild index f17d2e60c0cd..20d12a911146 100644 --- a/dev-python/xxhash/xxhash-3.4.1.ebuild +++ b/dev-python/xxhash/xxhash-3.4.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" DEPEND=" >=dev-libs/xxhash-0.8.0 diff --git a/media-video/obs-studio/Manifest b/media-video/obs-studio/Manifest index bf83729d1000..1450ed0eb773 100644 --- a/media-video/obs-studio/Manifest +++ b/media-video/obs-studio/Manifest @@ -1,5 +1,9 @@ DIST cef_binary_5060_linux64.tar.bz2 132839531 BLAKE2B f7d342cf12bf435aab3873b666a47c42c6583a88f140c28dabfd2dd860cd0d5c96cc51cc034703bffc6f1094a738bd77008c01839fa5ea53b848bc1c483a0ae4 SHA512 c99ce53858c57becd7822e39ff81d59b7296374fa61b29dfd4a572c2ed8f9ab155114ed179764ea05586e0edb2f1654f0b73c471f1cd9b233660e7f1c8b462c4 +DIST cef_binary_5060_linux_x86_64_v3.tar.xz 91352460 BLAKE2B 443f4b1bc638d3fe462fd8b8dd167e96f65aebb2b8de3616beac298449e2786c746f9a1fa4a0dbe2e3ef2d593139938e97538890d3ca3b74018b3afb9c7fc661 SHA512 1fbdf1d4ed117f3b8af20476c57502145d652b451ba8e0a544081403d292cc7a78642e9071b8f0283a19ef7ad507ef6e0d9df32b00afc51605ab74f650a7d755 DIST obs-browser-594115a27d40f0916e55db97cb61f7c7130cbe28.tar.gz 116455 BLAKE2B 8158bdd9fcc689c3b0024c9da26c3f39b44c9dac7fb031470470a2697f66af122552a19beb389faa96001a8f35bf06580ad3c5e00f616900e7ca960d3e1c1450 SHA512 ff1e5cbe76a1a4a7224b1b01f0f45df51dd60c7426a73008a744fb17be3e4c7a96dd3833f237a480dd4ec2dd3e544d847aced2256453919d8442f7857354afb2 +DIST obs-browser-e397df52e70392ebb9146e0ab6317c0d1a30bce4.tar.gz 109235 BLAKE2B 0885fb02aa5928e0e6d8e8413a47ef6537ad6780cf38f3dc87ef6fa941521385a89d944175dc94aebd9d89966a52b78bb30fee8b356b3158fd71daf9e61aab21 SHA512 a9b9406ff9371b40ef3257bf51cceac02ff6e0a38864c7b656d9b4c1072eb322cad385f25ee8cac179b401482c59c93bd35a4b8ff1274b449fec2393dd53473d DIST obs-studio-29.1.3.tar.gz 26315797 BLAKE2B c8d7824ca280a9be566c075a6238141b00ad8a2efbd5d010ff5c92c7c12c225f473fd331a9654e23924ffb0d883734dc2d2afad5065f8c9b1486298dbe2c5a0a SHA512 563a9b71ebe273b604807b9c43be8bde58fb326e8a0b741afb84a481a99176c96bf63da2aa26b6dcc026573b7fb0bf53e0a296e2db0b93c28f0d4710cd7cf019 +DIST obs-studio-30.0.0.tar.gz 15850826 BLAKE2B 210ddd873d50eb2d0e6038c1da87eea77c8507826c826c820e4eb942fb5e2b2e5c7b3ce56d2324b8d5890e39ed38b68e50bb66a8c090da99cfb2138ffd8ff739 SHA512 a99ec286dddea46e95a90b16b52bfb8033ce017faae039128509c561fef9bc71e02a9e55d1fee428c456dc48ce03ba7939e2488eaec35f791116ab4dfd1f34d0 +DIST obs-websocket-4ff109b62bc221192943541010d055be9ae5dbba.tar.gz 240603 BLAKE2B d558de3b7fc353f711d9313086ff0ac98ca45c74670ba4a49c0d1f21cfac99d2f50a5a6698235ab7e3bcfa9154b0f369ec8e7eb5f9fc14d58be30f875626b41b SHA512 38a8d396528853535440027ef39851e98b3e24c7fc8d27bca941cca6766e0c57f1a5bba9130d535a8a2843962351e880784c2984b0cd4be1b864ff1f8dab1f08 DIST obs-websocket-6fd18a7ef1ecb149e8444154af1daab61d4241a9.tar.gz 245070 BLAKE2B 311037960ec230b76dfe2ae796d1897d42a2dc96cda7e9962209edfcd210e2af5d20a1ddfcffd8d4e6c9f7ac7d5cbb6818b864d53ce53acf2c6515f7dd2d33bf SHA512 94defd55e4a4dc65b4366d2e92c9604cff67cba2b24ed67d53fbd492605f339201e4d3896789c0ccb84b6fbff4b37be70475524fec5ca2b42f7b59b8596ce828 DIST qr-8518684c0f33d004fa93971be2c6a8eca3167d1e.tar.gz 135863 BLAKE2B fa6fb9c9e5250b56bdf38f31aa4acaf4ce860c153012984d1266928bd7a62dcf43b271ff53b4322931304670742566dcb016ef65ff2f681bf76224f86eca567c SHA512 ba298de89411fecc8db3dc10850485da01f5183d68b6d91ea91a9e28c1f104eb110adbf143a37e5d1856abbba5d309ab8329a6359ca7225bacb033d8044fa72c diff --git a/media-video/obs-studio/obs-studio-30.0.0.ebuild b/media-video/obs-studio/obs-studio-30.0.0.ebuild new file mode 100644 index 000000000000..48a98e8a5a49 --- /dev/null +++ b/media-video/obs-studio/obs-studio-30.0.0.ebuild @@ -0,0 +1,261 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) +LUA_COMPAT=( luajit ) +PYTHON_COMPAT=( python3_{9..12} ) + +inherit cmake lua-single optfeature python-single-r1 xdg + +CEF_DIR="cef_binary_5060_linux_x86_64" +CEF_REVISION="_v3" +OBS_BROWSER_COMMIT="e397df52e70392ebb9146e0ab6317c0d1a30bce4" +OBS_WEBSOCKET_COMMIT="4ff109b62bc221192943541010d055be9ae5dbba" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/obsproject/obs-studio.git" + EGIT_SUBMODULES=( + plugins/obs-browser + plugins/obs-websocket + ) +else + SRC_URI=" + https://github.com/obsproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/obsproject/obs-browser/archive/${OBS_BROWSER_COMMIT}.tar.gz -> obs-browser-${OBS_BROWSER_COMMIT}.tar.gz + https://github.com/obsproject/obs-websocket/archive/${OBS_WEBSOCKET_COMMIT}.tar.gz -> obs-websocket-${OBS_WEBSOCKET_COMMIT}.tar.gz + " + KEYWORDS="~amd64" +fi +SRC_URI+=" browser? ( https://cdn-fastly.obsproject.com/downloads/${CEF_DIR}${CEF_REVISION}.tar.xz )" + +DESCRIPTION="Software for Recording and Streaming Live Video Content" +HOMEPAGE="https://obsproject.com" + +LICENSE="Boost-1.0 GPL-2+ MIT Unlicense" +SLOT="0" +IUSE=" + +alsa browser decklink fdk jack lua mpegts nvenc pipewire pulseaudio + python qsv speex +ssl truetype v4l vlc wayland websocket +" +REQUIRED_USE=" + browser? ( || ( alsa pulseaudio ) ) + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +BDEPEND=" + lua? ( dev-lang/swig ) + python? ( dev-lang/swig ) +" +# media-video/ffmpeg[opus] required due to bug 909566 +DEPEND=" + dev-libs/glib:2 + dev-libs/jansson:= + dev-qt/qtbase:6[network,widgets,xml(+)] + dev-qt/qtsvg:6 + media-libs/libglvnd + media-libs/libva + media-libs/rnnoise + media-libs/x264:= + media-video/ffmpeg:=[nvenc?,opus,x264] + net-misc/curl + sys-apps/dbus + sys-apps/pciutils + sys-apps/util-linux + sys-libs/zlib:= + x11-libs/libX11 + x11-libs/libxcb:= + x11-libs/libXcomposite + x11-libs/libXfixes + x11-libs/libxkbcommon + alsa? ( media-libs/alsa-lib ) + browser? ( + || ( + >=app-accessibility/at-spi2-core-2.46.0:2 + ( app-accessibility/at-spi2-atk dev-libs/atk ) + ) + dev-cpp/nlohmann_json + dev-libs/expat + dev-libs/glib + dev-libs/nspr + dev-libs/nss + dev-libs/wayland + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + x11-libs/cairo + x11-libs/libdrm + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXi + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libxshmfence + x11-libs/libXtst + x11-libs/pango + ) + fdk? ( media-libs/fdk-aac:= ) + jack? ( virtual/jack ) + lua? ( ${LUA_DEPS} ) + mpegts? ( + net-libs/librist + net-libs/srt + ) + pipewire? ( media-video/pipewire:= ) + pulseaudio? ( media-libs/libpulse ) + python? ( ${PYTHON_DEPS} ) + qsv? ( media-libs/oneVPL ) + speex? ( media-libs/speexdsp ) + ssl? ( net-libs/mbedtls:= ) + truetype? ( + media-libs/fontconfig + media-libs/freetype + ) + v4l? ( + media-libs/libv4l + virtual/udev + ) + vlc? ( media-video/vlc:= ) + wayland? ( + dev-libs/wayland + x11-libs/libxkbcommon + ) + websocket? ( + dev-cpp/asio + dev-cpp/nlohmann_json + dev-cpp/websocketpp + dev-libs/qr-code-generator + ) +" +RDEPEND="${DEPEND}" + +QA_PREBUILT=" + usr/lib*/obs-plugins/chrome-sandbox + usr/lib*/obs-plugins/libcef.so + usr/lib*/obs-plugins/libEGL.so + usr/lib*/obs-plugins/libGLESv2.so + usr/lib*/obs-plugins/libvk_swiftshader.so + usr/lib*/obs-plugins/libvulkan.so.1 + usr/lib*/obs-plugins/swiftshader/libEGL.so + usr/lib*/obs-plugins/swiftshader/libGLESv2.so +" + +pkg_setup() { + use lua && lua-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_unpack() { + default + + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + else + rm -d ${P}/plugins/obs-browser || die + mv obs-browser-${OBS_BROWSER_COMMIT} ${P}/plugins/obs-browser || die + + rm -d ${P}/plugins/obs-websocket || die + mv obs-websocket-${OBS_WEBSOCKET_COMMIT} ${P}/plugins/obs-websocket || die + fi +} + +src_prepare() { + default + + sed -i '/-Werror$/d' "${WORKDIR}"/${P}/cmake/Modules/CompilerConfig.cmake || die + + cmake_src_prepare +} + +src_configure() { + local libdir=$(get_libdir) + local mycmakeargs=( + $(usev browser -DCEF_ROOT_DIR=../${CEF_DIR}) + -DCALM_DEPRECATION=ON + -DCCACHE_SUPPORT=OFF + -DENABLE_ALSA=$(usex alsa) + -DENABLE_AJA=OFF + -DENABLE_BROWSER=$(usex browser) + -DENABLE_DECKLINK=$(usex decklink) + -DENABLE_FREETYPE=$(usex truetype) + -DENABLE_JACK=$(usex jack) + -DENABLE_LIBFDK=$(usex fdk) + -DENABLE_NEW_MPEGTS_OUTPUT=$(usex mpegts) + -DENABLE_PIPEWIRE=$(usex pipewire) + -DENABLE_PULSEAUDIO=$(usex pulseaudio) + -DENABLE_QSV11=$(usex qsv) + -DENABLE_RNNOISE=ON + -DENABLE_RTMPS=$(usex ssl ON OFF) # Needed for bug 880861 + -DENABLE_SPEEXDSP=$(usex speex) + -DENABLE_V4L2=$(usex v4l) + -DENABLE_VLC=$(usex vlc) + -DENABLE_VST=ON + -DENABLE_WAYLAND=$(usex wayland) + -DENABLE_WEBRTC=OFF # Requires libdatachannel. + -DENABLE_WEBSOCKET=$(usex websocket) + -DOBS_MULTIARCH_SUFFIX=${libdir#lib} + -DUNIX_STRUCTURE=1 + ) + + if [[ ${PV} != 9999 ]]; then + mycmakeargs+=( + -DOBS_VERSION_OVERRIDE=${PV} + ) + fi + + if use lua || use python; then + mycmakeargs+=( + -DENABLE_SCRIPTING_LUA=$(usex lua) + -DENABLE_SCRIPTING_PYTHON=$(usex python) + -DENABLE_SCRIPTING=ON + ) + else + mycmakeargs+=( -DENABLE_SCRIPTING=OFF ) + fi + + if use browser && use ssl; then + mycmakeargs+=( -DENABLE_WHATSNEW=ON ) + else + mycmakeargs+=( -DENABLE_WHATSNEW=OFF ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + + # external plugins may need some things not installed by default, install them here + insinto /usr/include/obs/UI/obs-frontend-api + doins UI/obs-frontend-api/obs-frontend-api.h +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use alsa && ! use pulseaudio; then + elog + elog "For the audio capture features to be available," + elog "at least one of the 'alsa' or 'pulseaudio' USE-flags needs to" + elog "be enabled." + elog + fi + + if use v4l && has_version media-video/v4l2loopback; then + elog + elog "Depending on system configuration, the v4l2loopback kernel module" + elog "may need to be loaded manually, and needs to be re-built after" + elog "kernel changes." + elog + fi + + optfeature "VA-API hardware encoding" media-video/ffmpeg[vaapi] + optfeature "virtual camera support" media-video/v4l2loopback +} diff --git a/media-video/obs-studio/obs-studio-9999.ebuild b/media-video/obs-studio/obs-studio-9999.ebuild index 98bbc80af0b5..765049249677 100644 --- a/media-video/obs-studio/obs-studio-9999.ebuild +++ b/media-video/obs-studio/obs-studio-9999.ebuild @@ -9,10 +9,10 @@ PYTHON_COMPAT=( python3_{9..12} ) inherit cmake lua-single optfeature python-single-r1 xdg -CEF_DIR="cef_binary_5060_linux64" -OBS_BROWSER_COMMIT="e397df52e70392ebb9146e0ab6317c0d1a30bce4" +CEF_DIR="cef_binary_5060_linux_x86_64" +CEF_REVISION="_v3" +OBS_BROWSER_COMMIT="2ba72dbdfed60acd38fa1ac7a52cbc6617ae8fd1" OBS_WEBSOCKET_COMMIT="4ff109b62bc221192943541010d055be9ae5dbba" -QR_COMMIT="8518684c0f33d004fa93971be2c6a8eca3167d1e" if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -29,7 +29,7 @@ else " KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" fi -SRC_URI+=" browser? ( https://cdn-fastly.obsproject.com/downloads/${CEF_DIR}.tar.bz2 )" +SRC_URI+=" browser? ( https://cdn-fastly.obsproject.com/downloads/${CEF_DIR}${CEF_REVISION}.tar.xz )" DESCRIPTION="Software for Recording and Streaming Live Video Content" HOMEPAGE="https://obsproject.com" @@ -131,6 +131,7 @@ DEPEND=" dev-cpp/asio dev-cpp/nlohmann_json dev-cpp/websocketpp + dev-libs/qr-code-generator ) " RDEPEND="${DEPEND}" diff --git a/profiles/arch/amd64/package.use.mask b/profiles/arch/amd64/package.use.mask index 037bd8e5c0ca..31fab1e8cd31 100644 --- a/profiles/arch/amd64/package.use.mask +++ b/profiles/arch/amd64/package.use.mask @@ -17,6 +17,10 @@ #--- END OF EXAMPLES --- +# Jimi Huotari <chiitoo@gentoo.org> (2023-11-22) +# Unmask on amd64. +media-video/obs-studio -qsv -websocket + # Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2023-11-20) # Qt6 is still experimental in freecad, currently the configure phase # gets itself stuck by importing both qt5 and qt6 cmake files. diff --git a/profiles/arch/base/package.use.mask b/profiles/arch/base/package.use.mask index 4b0362d1f311..6695d99265f5 100644 --- a/profiles/arch/base/package.use.mask +++ b/profiles/arch/base/package.use.mask @@ -1,6 +1,14 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Jimi Huotari <chiitoo@gentoo.org> (2023-11-22) +# media-libs/oneVPL is only keyworded for amd64 at this time. +media-video/obs-studio qsv + +# Jimi Huotari <chiitoo@gentoo.org> (2023-11-22) +# dev-libs/qr-code-generator is only keyworded for amd64 at this time. +media-video/obs-studio websocket + # Jimi Huotari <chiitoo@gentoo.org> (2023-10-21) # net-libs/librist is only keyworded for arm64 at this time. media-video/obs-studio mpegts |