diff --git a/app-admin/gentoo_update/gentoo_update-0.2.4.ebuild b/app-admin/gentoo_update/gentoo_update-0.2.4.ebuild index b6789f61e0..98fbedbede 100644 --- a/app-admin/gentoo_update/gentoo_update-0.2.4.ebuild +++ b/app-admin/gentoo_update/gentoo_update-0.2.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 optfeature diff --git a/app-admin/pulumi-bin/Manifest b/app-admin/pulumi-bin/Manifest index 007e639564..e95c25cfd0 100644 --- a/app-admin/pulumi-bin/Manifest +++ b/app-admin/pulumi-bin/Manifest @@ -1,4 +1,4 @@ -DIST pulumi-v3.138.0-linux-x64.tar.gz 137933838 BLAKE2B 554da287cea3103b2843218daad4568d70803734042fee49d317df4d25db6eda63f008415b90ced484e0479a5cae9b021ab0d0b5117e0a193fa63324ed55b038 SHA512 85db740bcacab2dbfea7631b7c09331f891f546493bab321910104a94cc7c9883cb1d92d978cab2244e092b84cb7d2b12d8e26e1886cc32fdfb622452d9ac3e1 DIST pulumi-v3.139.0-linux-x64.tar.gz 138048062 BLAKE2B 6de83f6a70c683d8c048e6a0515ef8b32411a67a4650735665452f209e17a27c78d01f98e057a7fdea6c41cc4114cf310b4d37e420f8a873fdf48b7dc70f3f74 SHA512 fb259aa56f9c1cdfc201db687409c2a6d280009f439a7bccba030b2cf415284b9504a7681cc2eb4b3adea6dcd8989a52a211c60ef4517de8b42c8349a255b2a4 DIST pulumi-v3.140.0-linux-x64.tar.gz 138052465 BLAKE2B 4b5b6c3fc3e474405fa17a4897578da15019258469e2a5f169df88ba876029b32a6656e4fe779167873543ecd79eb1975110c9dca99b5e5217cadb857d4afa3b SHA512 7de4af4258963dd4a01b45d3fb8be8c0d323be46a67f17f44e8998ff86bf397d4202809b1ed5a52917705cca2d4a5c4a3dc8bfabd8241d2c67e9bc4f94599d70 DIST pulumi-v3.141.0-linux-x64.tar.gz 138173923 BLAKE2B c5e3fbe5c09808c7d7cbcc187801a8fbc59aba1a3ebfe53894ce396b7505e2b8a797ba99e2cfb32a81d5931889013a4dbba56d485f88a5782493036e4550d9f3 SHA512 bf6817e74ba800d626d5db57c33402f0fdd61d2549400f299e3e0b1b34a637e707023d0829eb548beeb2473438c04f7ffad76c0220a523b2a860438b8533539a +DIST pulumi-v3.142.0-linux-x64.tar.gz 96427204 BLAKE2B 6af3cbcc36c53236e1f4cc8351666bb34d34e11f75e5c3eacc14ca17d115422554b1c0dbd9ad3b9c648bd6319c7b5fe84ad3969fbdc7d020d673f8f8688c772d SHA512 7c037b84714f2675c47131a95c0c8555636ec2ea710e14928d89f6d15cd28d3d2af5481e498f20abed94c229a6e09da613d96bd979d62ac3eece0cf3a46511a4 diff --git a/app-admin/pulumi-bin/pulumi-bin-3.138.0.ebuild b/app-admin/pulumi-bin/pulumi-bin-3.142.0.ebuild similarity index 100% rename from app-admin/pulumi-bin/pulumi-bin-3.138.0.ebuild rename to app-admin/pulumi-bin/pulumi-bin-3.142.0.ebuild diff --git a/app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild b/app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild index aaacdb7d61..31af17a625 100644 --- a/app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild +++ b/app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..13} pypy3 ) PYTHON_REQ_USE="sqlite" DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 diff --git a/app-text/dooit/Manifest b/app-text/dooit/Manifest index e36f705aae..2208859e6d 100644 --- a/app-text/dooit/Manifest +++ b/app-text/dooit/Manifest @@ -1 +1 @@ -DIST dooit-3.0.4.gh.tar.gz 1408903 BLAKE2B 7cd45da303504c05bc4bb8c6973fa64bdeb840d62c742c0a83b19758408d33e386c788bcc0ded92cee2c160b79e80a6271009db1c97c9fe51f7d7a977b7d28b3 SHA512 cfe5bedf006e414107098b32cf155abf36a09feff5458fab0b87407ee43d02cf7b0a5a182debabe65c17679b109c79da8d6985a9f0ef08ae71a363f4c00f6af0 +DIST dooit-3.1.0.gh.tar.gz 1411686 BLAKE2B e575c9034f12169bada658c00c42f6fd15699da35bfc418ac3a92e5953904f59af389c92d569b5ceb0646e9811cdedda2695745ed01ac013556dc23b3599c7d9 SHA512 54b79d7a60f78962d0792c5f7c019110a5c3c18919235fa2b875e488d4299a325278f421373d6f5f33dc75d282bb722bde634b31e10161d7ac167428eb1b2207 diff --git a/app-text/dooit/dooit-3.0.4.ebuild b/app-text/dooit/dooit-3.1.0.ebuild similarity index 91% rename from app-text/dooit/dooit-3.0.4.ebuild rename to app-text/dooit/dooit-3.1.0.ebuild index f29052a6d2..b610b5ea43 100644 --- a/app-text/dooit/dooit-3.0.4.ebuild +++ b/app-text/dooit/dooit-3.1.0.ebuild @@ -19,16 +19,17 @@ KEYWORDS="~amd64" BDEPEND=" test? ( =dev-python/pytest-asyncio-0.24*[${PYTHON_USEDEP}] + =dev-python/textual-dev-1*[${PYTHON_USEDEP}] ~dev-python/faker-30.8.2[${PYTHON_USEDEP}] ) " RDEPEND=" =dev-python/pyperclip-1.9*[${PYTHON_USEDEP}] - =dev-python/pyyaml-6*[${PYTHON_USEDEP}] - =dev-python/tzlocal-5.2*[${PYTHON_USEDEP}] - =dev-python/textual-0.86*[${PYTHON_USEDEP}] =dev-python/python-dateutil-2.9*[${PYTHON_USEDEP}] + =dev-python/pyyaml-6*[${PYTHON_USEDEP}] + =dev-python/textual-0.88*[${PYTHON_USEDEP}] + =dev-python/tzlocal-5.2*[${PYTHON_USEDEP}] ~dev-python/sqlalchemy-2.0.36[${PYTHON_USEDEP}] ~dev-python/platformdirs-4.3.6[${PYTHON_USEDEP}] ~dev-python/click-8.1.7[${PYTHON_USEDEP}] diff --git a/app-text/libspelling/metadata.xml b/app-text/libspelling/metadata.xml index f3aeb7c8da..7b2f835aa3 100644 --- a/app-text/libspelling/metadata.xml +++ b/app-text/libspelling/metadata.xml @@ -1,10 +1,7 @@ - - cyber+gentoo@sysrq.in - Anna - + https://chergert.pages.gitlab.gnome.org/libspelling/libspelling-1/ chergert/libspelling diff --git a/dev-crystal/kemal/kemal-1.1.2.ebuild b/dev-crystal/kemal/kemal-1.1.2-r1.ebuild similarity index 92% rename from dev-crystal/kemal/kemal-1.1.2.ebuild rename to dev-crystal/kemal/kemal-1.1.2-r1.ebuild index 16f4fc8e60..c9da25d793 100644 --- a/dev-crystal/kemal/kemal-1.1.2.ebuild +++ b/dev-crystal/kemal/kemal-1.1.2-r1.ebuild @@ -18,6 +18,6 @@ KEYWORDS="~amd64" RESTRICT="test" RDEPEND=" - dev-crystal/exception_page + - + + cyber+gentoo@sysrq.in + Anna + Omar Roth diff --git a/dev-crystal/protodec/protodec-0.1.5.ebuild b/dev-crystal/protodec/protodec-0.1.5-r2.ebuild similarity index 84% rename from dev-crystal/protodec/protodec-0.1.5.ebuild rename to dev-crystal/protodec/protodec-0.1.5-r2.ebuild index f299a6362e..90f97c8d25 100644 --- a/dev-crystal/protodec/protodec-0.1.5.ebuild +++ b/dev-crystal/protodec/protodec-0.1.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ KEYWORDS="~amd64" DEPEND=" dev-libs/boehm-gc dev-libs/libevent:= - dev-libs/libpcre + dev-libs/libpcre2:= " RDEPEND="${DEPEND}" @@ -28,3 +28,8 @@ src_prepare() { -e 's/\(CURRENT_COMMIT \) = .*/\1 = "gentoo"/' \ -e "s/\(CURRENT_VERSION\) = .*/\1 = \"v${PV}\"/" || die } + +src_install() { + dobin protodec + shards_src_install +} diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest index 14c76d1a27..b70c342266 100644 --- a/dev-libs/mtxclient/Manifest +++ b/dev-libs/mtxclient/Manifest @@ -1,2 +1 @@ DIST mtxclient-0.10.0.tar.gz 633765 BLAKE2B c76c4592e51c46418e5ad610432b2edc39f4bcfe3a9f8642888addc91296b7aa129e5716b818a1257e6e1cc8b945bac7d3434d283d9ba9705cd9250f6b6ad59b SHA512 584831f67d7c15c293dd3c3cdca6e5b76c8fd477d5daa5eecea4de43431db0628f5af846f2c1cb1cfdabbd53e3f696b45c8aa736bd615729df583a33157958bd -DIST mtxclient-0.9.2.tar.gz 623481 BLAKE2B 322506eaac9abf2463c08bee5e17547d7a33cf473785839566ec185db97303f7e33d5b58aa85735fa066f7f2f507e682bec985dc9dffa83f9b9ac799ed78c80d SHA512 87c9cd23ce8a52b2f850e3770eb51d03f40f4a5e45b5e536b2446932fc866b8835212d9364c5890af7404843da2547bdc94bb5d3d1933903fea8374b8900fd73 diff --git a/dev-libs/mtxclient/files/mtxclient-0.10.0-fmt11.patch b/dev-libs/mtxclient/files/mtxclient-0.10.0-fmt11.patch new file mode 100644 index 0000000000..ba81135825 --- /dev/null +++ b/dev-libs/mtxclient/files/mtxclient-0.10.0-fmt11.patch @@ -0,0 +1,49 @@ +From 4a4726c77123f805cff8b954909663eaed296558 Mon Sep 17 00:00:00 2001 +From: Kefu Chai +Date: Mon, 15 Jul 2024 11:35:09 +0800 +Subject: [PATCH] Fix build with fmt 11 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +fmt 11 enforces that fmt::formatter<..>::format() should be const. +otherwise the tree does not build: + +``` +/usr/include/fmt/base.h:1392:29: error: passing ‘const fmt::v11::formatter >’ as ‘this’ argument discards qualifiers [-fpermissive] + 1392 | ctx.advance_to(cf.format(*static_cast(arg), ctx)); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``` + +so let's mark the `format()` with `const` specifier. + +Signed-off-by: Kefu Chai +--- + include/mtxclient/http/errors.hpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/mtxclient/http/errors.hpp b/include/mtxclient/http/errors.hpp +index 2d0e7a4..b99ff90 100644 +--- a/include/mtxclient/http/errors.hpp ++++ b/include/mtxclient/http/errors.hpp +@@ -87,7 +87,7 @@ struct fmt::formatter + // Formats the point p using the parsed format specification (presentation) + // stored in this formatter. + template +- auto format(const mtx::http::ClientError &e, FormatContext &ctx) -> decltype(ctx.out()) ++ auto format(const mtx::http::ClientError &e, FormatContext &ctx) const -> decltype(ctx.out()) + { + // ctx.out() is an output iterator to write to. + bool prepend_comma = false; +@@ -132,7 +132,7 @@ struct fmt::formatter> : formatter. + template +- auto format(std::optional c, FormatContext &ctx) ++ auto format(std::optional c, FormatContext &ctx) const + { + if (!c) + return fmt::format_to(ctx.out(), "(no error)"); +-- +2.47.1 + diff --git a/dev-libs/mtxclient/files/0.6.0_remove_network_tests.patch b/dev-libs/mtxclient/files/mtxclient-0.6.0-remove-network-tests.patch similarity index 100% rename from dev-libs/mtxclient/files/0.6.0_remove_network_tests.patch rename to dev-libs/mtxclient/files/mtxclient-0.6.0-remove-network-tests.patch diff --git a/dev-libs/mtxclient/mtxclient-0.10.0.ebuild b/dev-libs/mtxclient/mtxclient-0.10.0-r1.ebuild similarity index 90% rename from dev-libs/mtxclient/mtxclient-0.10.0.ebuild rename to dev-libs/mtxclient/mtxclient-0.10.0-r1.ebuild index 9fd6e27aca..7401a8509e 100644 --- a/dev-libs/mtxclient/mtxclient-0.10.0.ebuild +++ b/dev-libs/mtxclient/mtxclient-0.10.0-r1.ebuild @@ -31,7 +31,8 @@ DEPEND=" " PATCHES=( - "${FILESDIR}/0.6.0_remove_network_tests.patch" + "${FILESDIR}"/${PN}-0.6.0-remove-network-tests.patch + "${FILESDIR}"/${PN}-0.10.0-fmt11.patch ) src_configure() { diff --git a/dev-libs/mtxclient/mtxclient-0.9.2.ebuild b/dev-libs/mtxclient/mtxclient-0.9.2.ebuild deleted file mode 100644 index fa3a99ce48..0000000000 --- a/dev-libs/mtxclient/mtxclient-0.9.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Client API library for Matrix, built on top of libcurl" -HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient" -SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" # ABI may break even on patch version changes -KEYWORDS="~amd64" - -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-cpp/coeurl-0.3.0:=[ssl] - dev-libs/libfmt:= - dev-libs/olm - >=dev-libs/openssl-1.1.0:= - >=dev-libs/re2-0.2022.04.01:= - dev-libs/spdlog:= -" -DEPEND=" - ${RDEPEND} - dev-cpp/nlohmann_json - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}/0.6.0_remove_network_tests.patch" -) - -src_configure() { - local -a mycmakeargs=( - -DBUILD_LIB_TESTS="$(usex test)" - -DBUILD_LIB_EXAMPLES=OFF - -DCMAKE_POSITION_INDEPENDENT_CODE=OFF - ) - - cmake_src_configure -} diff --git a/dev-lua/compat53/compat53-0.14.3.ebuild b/dev-lua/compat53/compat53-0.14.3.ebuild index 3a986a4942..50aa6c2063 100644 --- a/dev-lua/compat53/compat53-0.14.3.ebuild +++ b/dev-lua/compat53/compat53-0.14.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -LUA_COMPAT=( lua5-1 luajit ) +LUA_COMPAT=( lua5-{1..4} luajit ) inherit edo lua toolchain-funcs @@ -39,8 +39,8 @@ lua_src_compile() { local u="" for u in *.c; do edo $(tc-getCC) -shared -fPIC \ - ${CPPFLAGS} -DCOMPAT53_PREFIX="compat53" \ - ${CFLAGS} $(lua_get_CFLAGS) -Ic-api \ + ${CPPFLAGS} \ + ${CFLAGS} $(lua_get_CFLAGS) \ ${SOFLAGS} \ ${LDFLAGS} $(lua_get_LIBS) \ -o "${u/.c/.so}" ${u} c-api/compat-5.3.c @@ -61,5 +61,6 @@ lua_src_install() { src_install() { lua_foreach_impl lua_src_install + doheader c-api/* einstalldocs } diff --git a/dev-lua/cqueues/cqueues-20200726.ebuild b/dev-lua/cqueues/cqueues-20200726.ebuild index d6caa4f840..99fefd8db1 100644 --- a/dev-lua/cqueues/cqueues-20200726.ebuild +++ b/dev-lua/cqueues/cqueues-20200726.ebuild @@ -9,7 +9,8 @@ MY_P="${PN}-rel-${PV}" inherit lua toolchain-funcs DESCRIPTION="Stackable Continuation Queues" -HOMEPAGE="http://25thandclement.com/~william/projects/cqueues.html https://github.com/wahern/cqueues" +HOMEPAGE="https://github.com/wahern/cqueues" +HOMEPAGE+=" http://25thandclement.com/~william/projects/cqueues.html" SRC_URI="https://github.com/wahern/${PN}/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" @@ -24,22 +25,60 @@ REQUIRED_USE="${LUA_REQUIRED_USE}" DEPEND=" ${LUA_DEPS} dev-libs/openssl:0= + dev-lua/compat53[${LUA_USEDEP}] " RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" DOCS=( "doc/." ) -PATCHES="${FILESDIR}/cqueues-20200726-5-4_tests.patch" +PATCHES=( + "${FILESDIR}"/${PN}-20200726-5-4_tests.patch +) + +lua_src_prepare() { + pushd "${BUILD_DIR}" || die + + if [[ ${ELUA} != luajit ]]; then + LUA_VERSION="$(ver_cut 1-2 $(lua_get_version))" + # these two tests are forced upstream for luajit only + rm "${BUILD_DIR}"/regress/{44-resolvers-gc,51-join-defunct-thread}.lua || die + else + # Thanks to dev-lua/luaossl for this workaround + # This is a workaround for luajit, as it confirms to lua5.1 + # and the 'GNUmakefile' doesn't understand LuaJITs version. + LUA_VERSION="5.1" + fi + + if [[ ${LUA_VERSION} != 5.3 ]]; then + # this test is forced upstream for lua5-3 only + rm "${BUILD_DIR}"/regress/152-thread-integer-passing.lua || die + fi + + # install tests for lua_version only + sed -e 's:for V in 5.1 5.2 5.3 5.4:for V in '${LUA_VERSION}':' \ + -i "${BUILD_DIR}"/regress/GNUmakefile || die + + popd +} src_prepare() { default - + rm -r vendor || die sed \ - -e '/LUAPATH :=/d' \ - -e '/LUAPATH_FN =/d' \ + -e '/HAVE_API_FN =/d' \ + -e '/ALL_CFLAGS += -g/d' \ -i GNUmakefile || die + # use header from package compat53 instead of vendor + sed -e 's:-DCOMPAT53_PREFIX=cqueues::' \ + -e 's:$$(d)/../vendor/compat53/c-api/compat-5.3.h::' \ + -e '/)\/compat53/,/)\/compat53/d' \ + -i src/GNUmakefile || die + + sed -e 's:"../vendor/compat53/c-api\/compat-5.3.h"::' \ + -i src/cqueues.h || die + # tests deleted : # 22, 73, 87 = weak/old ssl # 30 = call google.com @@ -49,6 +88,7 @@ src_prepare() { regress/30-starttls-completion.lua || die lua_copy_sources + lua_foreach_impl lua_src_prepare } lua_src_compile() { @@ -57,18 +97,13 @@ lua_src_compile() { if [[ ${ELUA} != luajit ]]; then LUA_VERSION="$(ver_cut 1-2 $(lua_get_version))" else - # Thanks to dev-lua/luaossl for this workaround - # This is a workaround for luajit, as it confirms to lua5.1 - # and the 'GNUmakefile' doesn't understand LuaJITs version. LUA_VERSION="5.1" fi - emake CC="$(tc-getCC)" \ - ALL_CFLAGS="${CFLAGS} -std=gnu99 -fPIC $(lua_get_CFLAGS)" \ - ALL_CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" \ - ALL_SOFLAGS="${SOFLAGS} -shared" \ - ALL_LDFLAGS="${LDFLAGS}" \ - all${LUA_VERSION} + tc-env_build emake \ + $(lua_get_CFLAGS) \ + ALL_LDFLAGS="${LDFLAGS}" \ + all${LUA_VERSION} popd } @@ -82,18 +117,11 @@ lua_src_test() { if [[ ${ELUA} != luajit ]]; then LUA_VERSION="$(ver_cut 1-2 $(lua_get_version))" - # these two tests are forced upstream for luajit only - rm "${BUILD_DIR}"/regress/{44-resolvers-gc,51-join-defunct-thread}.lua || die else LUA_VERSION="5.1" fi - if [[ ${ELUA} != lua5.3 ]]; then - # this test is forced upstream for lua5-3 only - rm "${BUILD_DIR}"/regress/152-thread-integer-passing.lua || die - fi - - default + emake CC=$(tc-getCC) check popd } @@ -111,7 +139,8 @@ lua_src_install() { LUA_VERSION="5.1" fi - emake "DESTDIR=${D}" \ + emake CC=$(tc-getCC) \ + "DESTDIR=${D}" \ "lua${LUA_VERSION/./}cpath=$(lua_get_cmod_dir)" \ "lua${LUA_VERSION/./}path=$(lua_get_lmod_dir)" \ "prefix=${EPREFIX}/usr" \ diff --git a/dev-lua/cqueues/files/cqueues-20200726-5-4_tests.patch b/dev-lua/cqueues/files/cqueues-20200726-5-4_tests.patch index 92c2bb944a..34fee2174e 100644 --- a/dev-lua/cqueues/files/cqueues-20200726-5-4_tests.patch +++ b/dev-lua/cqueues/files/cqueues-20200726-5-4_tests.patch @@ -1,6 +1,4 @@ -From ef7c2b2547fc3e1d26bc1d423edc2792a8056649 Mon Sep 17 00:00:00 2001 -From: Nicolas PARLANT -Date: Mon, 2 Dec 2024 09:14:19 +0000 +https://github.com/wahern/cqueues/commit/ad517a210caa3cd6cc18da73015886a5a2b88b3f Subject: [PATCH] add 5.4 --- diff --git a/dev-nim/cligen/metadata.xml b/dev-nim/cligen/metadata.xml index 5a9bb0696e..b9b1b03b0b 100644 --- a/dev-nim/cligen/metadata.xml +++ b/dev-nim/cligen/metadata.xml @@ -1,7 +1,10 @@ - + + cyber+gentoo@sysrq.in + Anna + c-blake/cligen diff --git a/dev-python/autopxd/Manifest b/dev-python/autopxd/Manifest new file mode 100644 index 0000000000..a388c98452 --- /dev/null +++ b/dev-python/autopxd/Manifest @@ -0,0 +1 @@ +DIST autopxd2-2.5.0.tar.gz 109511 BLAKE2B 599ac008291d60a5734de034ff7341048b83114c835056525b08efbce20b9fd087e211cd00debd35ff2b050d9304e2218e48402ee12b47a731ed94be9dfaa009 SHA512 e1eecf7742d0520e62d850eff98904635507d75aaf1c6180d85d606050dfa216d5acd3e955a252db51986c11726f6e48b1ab8d2d9ea0893b0f5827332edd7ce0 diff --git a/dev-python/autopxd/autopxd-2.5.0.ebuild b/dev-python/autopxd/autopxd-2.5.0.ebuild new file mode 100644 index 0000000000..88a2ad972f --- /dev/null +++ b/dev-python/autopxd/autopxd-2.5.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYPI_PN="${PN}2" +inherit distutils-r1 pypi + +DESCRIPTION="generates .pxd files automatically from .h files" +HOMEPAGE=" + https://github.com/elijahr/python-autopxd2 + https://pypi.org/project/autopxd2 +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/pycparser[${PYTHON_USEDEP}] +" + +python_test() { + epytest +} diff --git a/dev-python/autopxd/metadata.xml b/dev-python/autopxd/metadata.xml new file mode 100644 index 0000000000..94ed41090d --- /dev/null +++ b/dev-python/autopxd/metadata.xml @@ -0,0 +1,12 @@ + + + + + wuzhenyu@ustc.edu + Wu, Zhenyu + + + autopxd2 + elijahr/python-autopxd2 + + diff --git a/dev-python/click-aliases/click-aliases-1.0.5.ebuild b/dev-python/click-aliases/click-aliases-1.0.5.ebuild index a6d31d4115..88466f0b40 100644 --- a/dev-python/click-aliases/click-aliases-1.0.5.ebuild +++ b/dev-python/click-aliases/click-aliases-1.0.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/cryptg/cryptg-0.5.0_p0.ebuild b/dev-python/cryptg/cryptg-0.5.0_p0.ebuild index a00d261cd3..6c4f8d7fe6 100644 --- a/dev-python/cryptg/cryptg-0.5.0_p0.ebuild +++ b/dev-python/cryptg/cryptg-0.5.0_p0.ebuild @@ -8,7 +8,7 @@ EAPI=8 CARGO_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) CRATES=" aes@0.8.4 diff --git a/dev-python/hachoir/hachoir-3.3.0.ebuild b/dev-python/hachoir/hachoir-3.3.0.ebuild index cdcbe369d7..d05d66164d 100644 --- a/dev-python/hachoir/hachoir-3.3.0.ebuild +++ b/dev-python/hachoir/hachoir-3.3.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/lru-dict/lru-dict-1.3.0.ebuild b/dev-python/lru-dict/lru-dict-1.3.0.ebuild index a9690040e0..c291287f4f 100644 --- a/dev-python/lru-dict/lru-dict-1.3.0.ebuild +++ b/dev-python/lru-dict/lru-dict-1.3.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..13} pypy3 ) PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi diff --git a/dev-python/pillow-heif/Manifest b/dev-python/pillow-heif/Manifest index a4be976894..eb79d4e0a9 100644 --- a/dev-python/pillow-heif/Manifest +++ b/dev-python/pillow-heif/Manifest @@ -1 +1 @@ -DIST pillow_heif-0.20.0.tar.gz 16173556 BLAKE2B aa549d4344e2e7f04e85d287e5b800068823dd9c9af22cbc24d6891c7e7c23d2e875979a83aa3cd2fbaf1fe60488a885257d644f2b3528f5029c0900101689ea SHA512 2c11cc0d93b0b684a80c1b2b6c076928417f021cda1aa46f1806c39ed24a5283d7878a679bf7e6293b9e6f90d3c60c10c7ce1597c528c269cd8892dd18a8aa9b +DIST pillow_heif-0.21.0.tar.gz 16178019 BLAKE2B 1ac057f4485331c36348f277b31d073dfe5d3aab69baaef0947449002fb095c81ffd562442f059afc29a19cafb3fa898b011c17a622963e6813a53dd2779c2f7 SHA512 9683b3eea9ea4dc0730bfab2e1163545ea31719b62cfd90a4f58aaf7ab401aef27afb7b9458c93daf9e5fa445b8f7f1ec3b3174fa9ae44513d9baaa10e777913 diff --git a/dev-python/pillow-heif/files/pillow-heif-0.15.0-respect-cflags.patch b/dev-python/pillow-heif/files/pillow-heif-0.21.0-respect-cflags.patch similarity index 82% rename from dev-python/pillow-heif/files/pillow-heif-0.15.0-respect-cflags.patch rename to dev-python/pillow-heif/files/pillow-heif-0.21.0-respect-cflags.patch index 0a3c021348..543ab69056 100644 --- a/dev-python/pillow-heif/files/pillow-heif-0.15.0-respect-cflags.patch +++ b/dev-python/pillow-heif/files/pillow-heif-0.21.0-respect-cflags.patch @@ -1,10 +1,10 @@ --- a/setup.py +++ b/setup.py -@@ -206,7 +206,7 @@ +@@ -206,7 +206,7 @@ class PillowHeifBuildExt(build_ext): self._add_directory(library_dirs, "/usr/lib") self._add_directory(library_dirs, "/lib") -- self._update_extension("_pillow_heif", ["heif"], extra_compile_args=["-Ofast", "-Werror"]) +- self._update_extension("_pillow_heif", ["heif"], extra_compile_args=["-O3", "-Werror"]) + self._update_extension("_pillow_heif", ["heif"]) self.compiler.library_dirs = library_dirs + self.compiler.library_dirs diff --git a/dev-python/pillow-heif/pillow-heif-0.20.0.ebuild b/dev-python/pillow-heif/pillow-heif-0.21.0.ebuild similarity index 70% rename from dev-python/pillow-heif/pillow-heif-0.20.0.ebuild rename to dev-python/pillow-heif/pillow-heif-0.21.0.ebuild index 81cd1d3be1..43556e4901 100644 --- a/dev-python/pillow-heif/pillow-heif-0.20.0.ebuild +++ b/dev-python/pillow-heif/pillow-heif-0.21.0.ebuild @@ -36,6 +36,13 @@ BDEPEND=" ) " -PATCHES=( "${FILESDIR}/${PN}-0.15.0-respect-cflags.patch" ) +PATCHES=( "${FILESDIR}/${P}-respect-cflags.patch" ) + +EPYTEST_DESELECT=( + # only works with libeif-1.19.5 + # https://github.com/bigcat88/pillow_heif/pull/312/commits/d740dcce7d967d025c4100611cc7a4632aa3fc3a + "tests/read_test.py::test_heif_read_images[image_path16]" + "tests/read_test.py::test_heif_read_images[image_path43]" +) distutils_enable_tests pytest diff --git a/dev-python/pydantic-settings/pydantic-settings-2.6.1.ebuild b/dev-python/pydantic-settings/pydantic-settings-2.6.1.ebuild index 0dd2ce6681..7d0ba53aad 100644 --- a/dev-python/pydantic-settings/pydantic-settings-2.6.1.ebuild +++ b/dev-python/pydantic-settings/pydantic-settings-2.6.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pyglm/Manifest b/dev-python/pyglm/Manifest new file mode 100644 index 0000000000..546f86117e --- /dev/null +++ b/dev-python/pyglm/Manifest @@ -0,0 +1,2 @@ +DIST pyglm-2.7.3-glm.gh.tar.gz 232356 BLAKE2B ae9c1dada06c33240eac906af5e6ecad903a19d62640aa569371a0aa223ebc0afa6d7f3cfc4ad419376bc43d5877e5e606f5e419d048306247f8b3eba352ca1d SHA512 9005100f39990b5b61eced679863d116bb6375060384c6e4cddbd2dc0caa3a66d165d9b294de84fdfe58e610f15500ffa172ca0760eba4efff9d91c65a310852 +DIST pyglm-2.7.3.gh.tar.gz 735017 BLAKE2B 9584c9f7dd7121843ccaa8b036d535532b29b3d4eee48b5ce24daddd1669160cf9f5262c08ef8c6912ccb3f8e39958a63563a2e0369ebc88b5673a3bd4822c77 SHA512 e48019abc27f8c6dfbad48d7fd94169f0cea24fb8ba3428ea7f418e7129eb900fc1c670b96637a3b7ff8a5fefbd3dbaa399738eb508523460d5b2a62e148a202 diff --git a/dev-python/pyglm/metadata.xml b/dev-python/pyglm/metadata.xml new file mode 100644 index 0000000000..df86370138 --- /dev/null +++ b/dev-python/pyglm/metadata.xml @@ -0,0 +1,12 @@ + + + + + gasc@eurecom.fr + Gasc Henri + + + PyGLM + Zuzu-Typ/PyGLM + + diff --git a/dev-python/pyglm/pyglm-2.7.3.ebuild b/dev-python/pyglm/pyglm-2.7.3.ebuild new file mode 100644 index 0000000000..cb23e4c579 --- /dev/null +++ b/dev-python/pyglm/pyglm-2.7.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +HASH="fbc534be62f8c785db989f8ae7526edf6d0dc306" +DESCRIPTION="Fast OpenGL Mathematics (GLM) for Python" +HOMEPAGE="https://github.com/Zuzu-Typ/PyGLM https://pypi.org/project/PyGLM" +SRC_URI=" + https://github.com/Zuzu-Typ/PyGLM/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/Zuzu-Typ/glm/archive/${HASH}.tar.gz -> ${P}-glm.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-libs/glm + test? ( dev-python/numpy[${PYTHON_USEDEP}] ) +" + +src_prepare() { + default + mv "${WORKDIR}/glm-${HASH}"/* -t "${S}/glm" +} + +EPYTEST_DESELECT=( + # Tests fails, see https://github.com/Zuzu-Typ/PyGLM/issues/227 + test/PyGLM_test.py::test_findMSB + test/PyGLM_test.py::test_bitCount +) +distutils_enable_tests pytest diff --git a/dev-python/pyrime/Manifest b/dev-python/pyrime/Manifest index 703c4b88a9..5cbf2f71e3 100644 --- a/dev-python/pyrime/Manifest +++ b/dev-python/pyrime/Manifest @@ -1 +1 @@ -DIST pyrime-0.0.4.tar.gz 44562 BLAKE2B c120a3f52fada357db3249a352a46a1d7f62bd525f2c5080884a2cad26ff89711a2ec30c42fbaf92c6f6c3d30cb383afe97e91d721855758f73013f36a95ce13 SHA512 b19439ec60b2bf02209aefff28e2422a8668f97dfb8715f9a85dfb9fc0d952d15f209f43849955bb9a7b7839480a54850d46f11479a895967b212940721d9cc6 +DIST pyrime-0.0.7.tar.gz 42660 BLAKE2B 0166f8248c2af6451a39096dedba69e0f8448b92119795813813a306affebdf492e27c05c91e884df7b509ae53a37e9546419bc38abf127b85b870c5944da480 SHA512 e88cfa65ae9cba052fbf1110bf0270cabc3fe44898bdbbf5f59ca83cff192b678c0b2ea86d8385f4a2c43765b94c22667de605a2958099bd8444bdafe23f32af diff --git a/dev-python/pyrime/pyrime-0.0.4.ebuild b/dev-python/pyrime/pyrime-0.0.7.ebuild similarity index 73% rename from dev-python/pyrime/pyrime-0.0.4.ebuild rename to dev-python/pyrime/pyrime-0.0.7.ebuild index aebd18091e..883b781f48 100644 --- a/dev-python/pyrime/pyrime-0.0.4.ebuild +++ b/dev-python/pyrime/pyrime-0.0.7.ebuild @@ -21,6 +21,8 @@ IUSE="+prompt-toolkit +ptpython" DEPEND=" app-i18n/librime + dev-python/cython[${PYTHON_USEDEP}] + dev-python/autopxd[${PYTHON_USEDEP}] " EPYTEST_XDIST=1 @@ -28,8 +30,8 @@ distutils_enable_tests pytest RDEPEND=" $DEPEND - prompt-toolkit? ( dev-python/prompt-toolkit ) - ptpython? ( dev-python/ptpython ) + prompt-toolkit? ( dev-python/prompt-toolkit[${PYTHON_USEDEP}] ) + ptpython? ( dev-python/ptpython[${PYTHON_USEDEP}] ) " python_test() { diff --git a/dev-python/python-olm/python-olm-3.2.16.ebuild b/dev-python/python-olm/python-olm-3.2.16.ebuild index 48ff894074..8b0c434e26 100644 --- a/dev-python/python-olm/python-olm-3.2.16.ebuild +++ b/dev-python/python-olm/python-olm-3.2.16.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 inherit distutils-r1 @@ -20,7 +20,9 @@ KEYWORDS="~amd64" DEPEND="dev-libs/olm" RDEPEND=" ${DEPEND} - dev-python/cffi[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') " EPYTEST_DESELECT=( diff --git a/dev-python/python-statemachine/Manifest b/dev-python/python-statemachine/Manifest index 457e2233f0..d50202bcfd 100644 --- a/dev-python/python-statemachine/Manifest +++ b/dev-python/python-statemachine/Manifest @@ -1,2 +1,3 @@ DIST python-statemachine-2.3.6.gh.tar.gz 351057 BLAKE2B 03d605b0389dd9fac3e2d8a979295ab7724a79b2b1e677cbd114d8eddaa9a987f361aebbea29eb670930fd7978cb1d9f59ef2a40ec98f9c515d080fcc902f25c SHA512 cc8400a118da6d54b97108ff8b11462aee32dc28ada97fbf2a68049de2659c5a7faaa24802fab376b72586c1052db13b67b570a5d62eb9c28252572d14634215 DIST python-statemachine-2.4.0.gh.tar.gz 362766 BLAKE2B 79a34b43841cf920ae1eb87821c19d31f4dc1eb59903ad1cce6166586b44ed7437278ae647ffac190bd1dc795d251b81022b51aef644607d5f2f7b92f1c89e9e SHA512 fc51668efee69a2a59c5f3a5bbb08e6a6647a819175bbd02305e6eac51d0f8ef31c4e89f85dcb7451c24681ee76f0534e676995e134c0cbbed4d680c5418c612 +DIST python-statemachine-2.5.0.gh.tar.gz 405778 BLAKE2B 5c85d7c75de1fe77694acc50a31b9f389a1b0b7ec572939a9662ef2b538b506d8acc30ee3d8168d21ca229c1ce7bfd14b4c54946dfa5d7577cb67ec1a3867352 SHA512 79331758fe305525fd7f97e3e1a9eecc22f79e96047080a31ad8df8d033b506d39c79fa5fe9e20cc2cb63db271517842ffcdab3f1fdb9785d135d3f65dffce6d diff --git a/dev-python/python-statemachine/python-statemachine-2.5.0.ebuild b/dev-python/python-statemachine/python-statemachine-2.5.0.ebuild new file mode 100644 index 0000000000..2f5a8ec76d --- /dev/null +++ b/dev-python/python-statemachine/python-statemachine-2.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python Finite State Machines made easy." +HOMEPAGE=" + https://pypi.org/project/python-statemachine/ + https://github.com/fgmacedo/python-statemachine +" +SRC_URI="https://github.com/fgmacedo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/pydot[${PYTHON_USEDEP}]" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_mixins.py::test_mixin_should_instantiate_a_machine +) + +EPYTEST_IGNORE=( + tests/test_profiling.py + tests/django_project/workflow/tests.py +) + +python_test() { + epytest -o 'addopts=""' + +} diff --git a/dev-python/questionary/questionary-2.0.1.ebuild b/dev-python/questionary/questionary-2.0.1.ebuild index 9842d61b24..8a05013f00 100644 --- a/dev-python/questionary/questionary-2.0.1.ebuild +++ b/dev-python/questionary/questionary-2.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/repology-client/Manifest b/dev-python/repology-client/Manifest index 3c76498f38..590b365fc1 100644 --- a/dev-python/repology-client/Manifest +++ b/dev-python/repology-client/Manifest @@ -1,2 +1,2 @@ -DIST repology_client-0.0.2.tar.gz 432386 BLAKE2B 5ef3b7ed8a9f79a889ef5dd6506cb9d3b44d0f2e45419412629c3d4bb31d0166a2279a5db26e93a136da3f2d885f92feb5f1626d511cf2b2a21cc30b498fa1d5 SHA512 fa58633c03e451bc751d478464f2c3deadb5558ae603139bb658bb273e111d11da43dcdc28afc9c7d397adb2b9a158501ee008a74ba435c83a55af0c4c482687 DIST repology_client-0.2.0.tar.gz 801523 BLAKE2B a6d9c1ed1f419d770930cfb5b5e64dee6381da516b7f1e6014f4e72394de73a02d3552f13cd0eee85e6ec827fc6d34b442d63099645988a120fd93b8ec39c06a SHA512 f60bf0c428093e4bbbf239fada260d0e4dbdeedd0f38ee3f802ad7b3dd95faef966c77ddf0ca3ce92cb130a6f35c31266dff6b1f7db25959eb725ba043389290 +DIST repology_client-0.3.0.tar.gz 895370 BLAKE2B 2bf22860735d33ca0db570c4f4880084f0be2863fbacddaedef096f3e5bb216f2b678057f9e9d6b3318889181013ad8dbd9bc2d228caf8632a9bc72bfc4e1753 SHA512 b3a22e1c86c351ce9a44299e85e5001f0cd9abe5e3125e15c0b83f237b3ed31541d28bc543060ccb81a04413b2ceb596a8b91b0adfa01d061f2fc158066aba8d diff --git a/dev-python/repology-client/repology-client-0.0.2.ebuild b/dev-python/repology-client/repology-client-0.3.0.ebuild similarity index 78% rename from dev-python/repology-client/repology-client-0.0.2.ebuild rename to dev-python/repology-client/repology-client-0.3.0.ebuild index 480d9cccb3..b9bb5d49a1 100644 --- a/dev-python/repology-client/repology-client-0.0.2.ebuild +++ b/dev-python/repology-client/repology-client-0.3.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=hatchling inherit distutils-r1 pypi @@ -16,12 +16,14 @@ HOMEPAGE=" LICENSE="CC-BY-SA-3.0 EUPL-1.2" SLOT="0" KEYWORDS="~amd64" -IUSE="test" RDEPEND=" + >=dev-python/aiohttp-3[${PYTHON_USEDEP}] =dev-python/pydantic-2[${PYTHON_USEDEP}] =dev-python/pydantic-core-2[${PYTHON_USEDEP}] + "${S}/mkdocs.yml" diff --git a/dev-util/distribution-gpg-keys/Manifest b/dev-util/distribution-gpg-keys/Manifest index f48963629c..343ef872d8 100644 --- a/dev-util/distribution-gpg-keys/Manifest +++ b/dev-util/distribution-gpg-keys/Manifest @@ -1 +1 @@ -DIST distribution-gpg-keys-1.105-1.tar.gz 67292024 BLAKE2B 2ff487b651222aa7470b143e9b8a90f5dba8488e2475b0ffaf1b90dc1c6fd1de95759d286aa4c47bf2a0cee6d3ebb010299163ad8f629443cd466fc94ff87e23 SHA512 5ac631cd4e60919f7d164c53ecb930b548090239ebdd8c431a7350cf1448b27ddadd4449f023a40ce81b21b058330806bc8dd2a4b31d340b90779f44c83b0d4c +DIST distribution-gpg-keys-1.106-1.tar.gz 75279538 BLAKE2B e963ce5ce7be62448bc7905172e2f81bedae3d8e3b9bc2256f81da02c28e3416e9bb21cad62391a693d6e823f3428b35caac87793d82dd8aa05f99d21227c1be SHA512 c883e3ecbc8c023808490b3eedba164eaa10a4bf4fa0dcdb1cfb6fb3e0c295b771258923f20a6d2bb078448e696d62328e87fabcd84840aeb1b41119ebe798f5 diff --git a/dev-util/distribution-gpg-keys/distribution-gpg-keys-1.105.ebuild b/dev-util/distribution-gpg-keys/distribution-gpg-keys-1.106.ebuild similarity index 100% rename from dev-util/distribution-gpg-keys/distribution-gpg-keys-1.105.ebuild rename to dev-util/distribution-gpg-keys/distribution-gpg-keys-1.106.ebuild diff --git a/dev-util/find-work/find-work-9999.ebuild b/dev-util/find-work/find-work-9999.ebuild index 6f32455bf5..d95825a36f 100644 --- a/dev-util/find-work/find-work-9999.ebuild +++ b/dev-util/find-work/find-work-9999.ebuild @@ -41,8 +41,8 @@ RDEPEND=" >=dev-python/typing-extensions-4.3.0[${PYTHON_USEDEP}] =dev-python/lxml-4.5[${PYTHON_USEDEP}] - dev-python/tabulate[${PYTHON_USEDEP}] + $(python_gen_any_dep '>=dev-python/lxml-4.5[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/tabulate[${PYTHON_USEDEP}]') ) " BDEPEND=" @@ -51,12 +51,11 @@ BDEPEND=" ) " -# No ${PYTHON_USEDEP} because plugin deps can lag behind PDEPEND=" !minimal? ( - dev-util/find-work-bugzilla - dev-util/find-work-pkgcheck - dev-util/find-work-repology + $(python_gen_any_dep 'dev-util/find-work-bugzilla[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-util/find-work-pkgcheck[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-util/find-work-repology[${PYTHON_USEDEP}]') ) " diff --git a/dev-util/mh/Manifest b/dev-util/mh/Manifest index 17cb68dc98..2cecb93033 100644 --- a/dev-util/mh/Manifest +++ b/dev-util/mh/Manifest @@ -1 +1 @@ -DIST mh-1.0.3.tar.gz 929281 BLAKE2B 4a565dc317c9d0d6d3678bc9c4de56b186175414a84437c59deb0c10b8c3d6432e974deb995c9ed954e144bc8e7bac0145215409de88956d71c570eb8590ed63 SHA512 7f3e64bcac4743b746e5c0fbbc7579066ec563ac3a5f5fbbc1eb540111843ed72000c7b0fbb3787b1f9015d9c434fa99af5179f7c47cf7f217bf27a3f7ae6b05 +DIST mh-1.4.1.tar.gz 933304 BLAKE2B 1d68f35911d05b00cec9a1e7ab9b92b415aaf7695f0613d27a16127f1996d74bdd995ef7c3ef11f0090de12ed0c99d65786eafc8d8eb981f589a6938d9e87f25 SHA512 88af321f124aae1a51938268d318600fc0de5309f7da158679bd810e25ce172c8c246c1fecce33e5022816f45a00dc00734670573a9e276cfe0bdc177bc5f119 diff --git a/dev-util/mh/mh-1.0.3.ebuild b/dev-util/mh/mh-1.4.1.ebuild similarity index 100% rename from dev-util/mh/mh-1.0.3.ebuild rename to dev-util/mh/mh-1.4.1.ebuild diff --git a/gui-apps/azote/Manifest b/gui-apps/azote/Manifest index 64d6494271..eb1e9cc93e 100644 --- a/gui-apps/azote/Manifest +++ b/gui-apps/azote/Manifest @@ -1 +1 @@ -DIST azote-1.13.1.tar.gz 7973313 BLAKE2B 86c54fc1f9b06ff8a8405784a5d54e6021d1f43d0dce45e3211f4395a68238ae6fb7e088634826eb95b05126dea717e96373348958380427d24639a1376f64b7 SHA512 fd6d1ac24e05ed98785b20d1e47b65e77b5bf3a55a25ce7fb29e0394f0ce540d11cc39dfb40f0aa12a4900d9524219bf534fc411360009a48456c71c2774da2a +DIST azote-1.14.0.tar.gz 7973989 BLAKE2B 016f9ded87c603b563ed874892d79f5e0f15e6608ad435546329c319a43ec31a7334631bdcc7f8be5fff98413ca77aaebd8682ea2563b02a8bd666eeeab8911b SHA512 c700946cb56c9d15111949f46e107cc6b9887916ab90c782fe78c7deb09a6964cf19e69f143b86cdc44a34ea6aaeec5b0d28d64f7bc24402fc44fc201531f9ef diff --git a/gui-apps/azote/azote-1.13.1.ebuild b/gui-apps/azote/azote-1.14.0.ebuild similarity index 89% rename from gui-apps/azote/azote-1.13.1.ebuild rename to gui-apps/azote/azote-1.14.0.ebuild index 933b37146c..22679be369 100644 --- a/gui-apps/azote/azote-1.13.1.ebuild +++ b/gui-apps/azote/azote-1.14.0.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/nwg-piotr/azote" else - SRC_URI="https://github.com/nwg-piotr/azote/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}/${P}.tar.gz" KEYWORDS="~amd64" fi @@ -29,10 +29,6 @@ RDEPEND=" dev-python/send2trash[${PYTHON_USEDEP}] " -PATCHES=( - "${FILESDIR}"/${PN}-1.13.1-pyproject.patch -) - DOCS=( README.md ) python_install_all() { diff --git a/gui-apps/azote/azote-9999.ebuild b/gui-apps/azote/azote-9999.ebuild index 933b37146c..22679be369 100644 --- a/gui-apps/azote/azote-9999.ebuild +++ b/gui-apps/azote/azote-9999.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/nwg-piotr/azote" else - SRC_URI="https://github.com/nwg-piotr/azote/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}/${P}.tar.gz" KEYWORDS="~amd64" fi @@ -29,10 +29,6 @@ RDEPEND=" dev-python/send2trash[${PYTHON_USEDEP}] " -PATCHES=( - "${FILESDIR}"/${PN}-1.13.1-pyproject.patch -) - DOCS=( README.md ) python_install_all() { diff --git a/gui-apps/azote/files/azote-1.13.1-pyproject.patch b/gui-apps/azote/files/azote-1.13.1-pyproject.patch deleted file mode 100644 index 991fd62eb5..0000000000 --- a/gui-apps/azote/files/azote-1.13.1-pyproject.patch +++ /dev/null @@ -1,92 +0,0 @@ -From d3605d93627f0d756c2c570e7ef0ad6e751d8eb3 Mon Sep 17 00:00:00 2001 -From: Aisha Tammy -Date: Sun, 7 Apr 2024 20:32:01 -0400 -Subject: [PATCH 1/2] feat: add pyproject.toml - ---- - pyproject.toml | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - create mode 100644 pyproject.toml - -diff --git a/pyproject.toml b/pyproject.toml -new file mode 100644 -index 0000000..fec8478 ---- /dev/null -+++ b/pyproject.toml -@@ -0,0 +1,27 @@ -+[build-system] -+requires = ["setuptools >= 61.0"] -+build-backend = "setuptools.build_meta" -+ -+[project] -+name = "azote" -+version = "1.12.6" -+description = "Wallpaper manager for sway and some other WMs" -+readme = "README.md" -+license = {text = "GPL3"} -+requires-python = ">= 3.8.0" -+authors = [ -+ {name = "Piotr Miller", email = "nwg.piotr@gmail.com"}, -+] -+dependencies = [ -+ "pillow", -+ "PyGObject", -+ "PyYAML", -+ "Send2Trash", -+] -+ -+[project.urls] -+Repository = "https://github.com/nwg-piotr/azote" -+License = "https://github.com/nwg-piotr/azote/blob/master/LICENSE" -+ -+[project.scripts] -+azote = "azote.main:main" - -From 769d027dfa40c218075827ca50241a2395240bea Mon Sep 17 00:00:00 2001 -From: Aisha Tammy -Date: Sun, 7 Apr 2024 20:33:21 -0400 -Subject: [PATCH 2/2] scratch - ---- - dist/azote | 5 ----- - setup.py | 24 ------------------------ - 2 files changed, 29 deletions(-) - delete mode 100755 dist/azote - delete mode 100644 setup.py - -diff --git a/setup.py b/setup.py -deleted file mode 100644 -index 8f1e4f6..0000000 ---- a/setup.py -+++ /dev/null -@@ -1,30 +0,0 @@ --import os -- --from setuptools import setup, find_packages -- -- --def read(f_name): -- return open(os.path.join(os.path.dirname(__file__), f_name)).read() -- -- --setup( -- name='azote', -- version='1.13.1', -- description='Wallpaper manager for sway and some other WMs', -- packages=find_packages(), -- include_package_data=True, -- package_data={ -- "": ["images/*", "langs/*"] -- }, -- url='https://github.com/nwg-piotr/azote', -- license='GPL3', -- author='Piotr Miller', -- author_email='nwg.piotr@gmail.com', -- python_requires='>=3.8.0', -- install_requires=[], -- entry_points={ -- 'gui_scripts': [ -- 'azote = azote.main:main' -- ] -- } --) diff --git a/gui-libs/mir/Manifest b/gui-libs/mir/Manifest index a84818c054..46ab78c881 100644 --- a/gui-libs/mir/Manifest +++ b/gui-libs/mir/Manifest @@ -1 +1,2 @@ DIST mir-2.18.3.tar.gz 6759986 BLAKE2B f651fd7b743d7f1faa4c6d83a1ba9eecd8fe20afb437fffee5f03bbe8238731034577c154cc4b0fc953156e708d613fbb5cc17bff3e86ce2b48e6a031bca4298 SHA512 7a2cc6678ff622cb131ba4aad5b84843d63ff054897e7990c6a605327ec5b599b7903a7ce68c356c62196680d90aa7adb90671dcc31706b8a07b1eb3d97fc752 +DIST mir-2.19.2.tar.gz 6811003 BLAKE2B 012ad7852974c88abba53e98f5fed3e8f2873f3ad5c3ba8a89c1b43ac67a9871cb7b1eba0034dacb5bd5a410dc931f03290096c9e31020c312788f55b2e851fd SHA512 99e5b09e3321b51bfd9427d778b5983b5a62628648b927c64bacfccb2a757f4c0db4664aaf3b87614472837c9434351681cdae42221b3760c8f947e2895712c2 diff --git a/gui-libs/mir/mir-2.18.3.ebuild b/gui-libs/mir/mir-2.18.3.ebuild index 7960b1949a..e8e0b40dcc 100644 --- a/gui-libs/mir/mir-2.18.3.ebuild +++ b/gui-libs/mir/mir-2.18.3.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://mir-server.io/" SRC_URI="https://github.com/canonical/mir/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( GPL-2 GPL-3 ) || ( LGPL-2.1 LGPL-3 )" -SLOT="0" +SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="test X" RESTRICT="!test? ( test )" diff --git a/gui-libs/mir/mir-2.19.2.ebuild b/gui-libs/mir/mir-2.19.2.ebuild new file mode 100644 index 0000000000..43b1c8c540 --- /dev/null +++ b/gui-libs/mir/mir-2.19.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Set of libraries for building Wayland based shells" +HOMEPAGE="https://mir-server.io/" +SRC_URI="https://github.com/canonical/mir/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 ) || ( LGPL-2.1 LGPL-3 )" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-cpp/glibmm:2 + dev-cpp/libxmlpp:2.6 + dev-cpp/yaml-cpp:= + dev-libs/boost:= + dev-libs/glib:2 + dev-libs/libinput:= + dev-libs/wayland + dev-util/lttng-ust:= + media-libs/freetype + media-libs/libepoxy + media-libs/libglvnd + media-libs/mesa + sys-apps/util-linux + x11-libs/libXcursor + x11-libs/libdrm + x11-libs/libxcb:= + x11-libs/libxkbcommon + virtual/libudev:= + X? ( x11-libs/libX11 ) +" +DEPEND=" + ${RDEPEND} + media-libs/glm +" +BDEPEND=" + dev-util/gdbus-codegen + virtual/pkgconfig + test? ( + dev-cpp/gtest + dev-util/umockdev + x11-base/xwayland + ) +" + +PATCHES=( + # bug 932786 + "${FILESDIR}/${PN}-2.17.0-remove-debug-flags.patch" +) + +src_prepare() { + cmake_src_prepare + cmake_comment_add_subdirectory examples/ +} + +src_configure() { + local platforms="gbm-kms;atomic-kms;wayland" + use X && platforms="${platforms};x11" + + local mycmakeargs=( + # wlcs is not packaged + -DMIR_ENABLE_WLCS_TESTS=OFF + -DMIR_ENABLE_TESTS="$(usex test)" + -DMIR_FATAL_COMPILE_WARNINGS=OFF + -DMIR_PLATFORM="${platforms}" + ) + use test && mycmakeargs+=( + # likely will not work in build environment + -DMIR_BUILD_PERFORMANCE_TESTS=OFF + -DMIR_BUILD_PLATFORM_TEST_HARNESS=OFF + -DMIR_BUILD_UNIT_TESTS=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use test; then + # remove dummy libraries + rm -f "${ED}/usr/$(get_libdir)/mir/server-platform/"{graphics-dummy.so,input-stub.so} || die + fi +} diff --git a/gui-wm/miracle-wm/miracle-wm-0.3.7.ebuild b/gui-wm/miracle-wm/miracle-wm-0.3.7-r1.ebuild similarity index 97% rename from gui-wm/miracle-wm/miracle-wm-0.3.7.ebuild rename to gui-wm/miracle-wm/miracle-wm-0.3.7-r1.ebuild index 50d74eb00e..67f732a50f 100644 --- a/gui-wm/miracle-wm/miracle-wm-0.3.7.ebuild +++ b/gui-wm/miracle-wm/miracle-wm-0.3.7-r1.ebuild @@ -21,7 +21,7 @@ RDEPEND=" dev-libs/glib:2 dev-libs/json-c:= dev-libs/libevdev - >=gui-libs/mir-2.18 + - - brettalcox@gmail.com - + Syllo/nvtop mission-center-devs/mission-center diff --git a/www-apps/invidious/Manifest b/www-apps/invidious/Manifest index c48234b272..1d0507f839 100644 --- a/www-apps/invidious/Manifest +++ b/www-apps/invidious/Manifest @@ -1,7 +1,4 @@ -DIST invidious-2024.04.27.tar.gz 3286563 BLAKE2B cdbf50dcd56e5cb70384069698322c3dff3d197a7ea7e652d27ca74a37799bc808f3e57a31d8ded1ee2e4ab661151bcdb4493fcb7794e4b40a52038a163155ac SHA512 39e0a3eb44da30a6d8f862ad82f2a9f12701918ee1b7b9fca9a7a21c1e9f14e0e3cc09ce7aba5e7633774df1e813502bb946a3fb4211480ba0a99368ba43b24a -DIST invidious-2024.08.25.1.tar.gz 3301626 BLAKE2B 63f1e82eb1ec0f90fc6157a47872c733145aefd275fdee79f8de9b6ce07a2a01e8a73c20a08e3302ca35aa1bb5ae5da95b9218001cb2327d215f135e56aaa1f7 SHA512 e34e934b8e60a726838a7d3341f0c766c7233a1fdff17a68e42b2ae72ed008b582da619a5c460f8b1c3d072f12e344d295de488f442e2e43036c19335dc714e9 DIST invidious-2024.11.10.0.tar.gz 3310536 BLAKE2B 8e122fb5c4ed250e049a3e8fdd6d3d5c41e443c3916ca36e8edb455d9fa8d32e3231d6f5e8af2226ff7340972eed26acf8d00b32bea75f7bafb20ce2251ffa05 SHA512 3ed9d47c520736d9df95541f6a85cc456c4b9ce03bd8f38905f7a11542ba0875d9d1736be82bee8d56039937b0321188ce0228d760ad616e6cc2d0aa7cbd8535 -DIST invidious-mocks-11ec372.tar.gz 180392 BLAKE2B 899db54d4efdfc231d588155d52784d70a364c7382bd1652a3c384dc618435d646a50e957c1407f6ac7ade410e811438b23a16d9949e63f7791e34960bba1fc6 SHA512 7bc1aa17f555babaceca15fe51061400a6c8a9cb01ad15c5d22c155f3164aca7c6e49c8dcdbd894e1593c2c69d3ddaa201544b068510281e910b90a11a407e59 DIST invidious-mocks-b55d58d.tar.gz 222861 BLAKE2B 3391b290be5e869610d8dfc31307fd046aa2fe726d6fe98323a5509da1ffcc838668ba3f6aaecce04cf1eee9c90f029a7b49b560b2c49a5905570117fc7f2cf0 SHA512 c19deb047baa570f16194ca26ca7e5eab3538b21db8e6139f404e6f3bcbe5f4f8aff9b45e7e5e9a3b525581da403e6d5bef10ac55a654e5b8f031565d472d625 DIST video.js-7.12.1.tgz 3511060 BLAKE2B 9ae5b1f6a0afab918b7dc3555fff2708963d4abb6c7903e13145b2d5393fb80e4ab6302c423b0ba15c805a624a23c25dd3db7865f1510c44cfc5d1d5ab1dbf54 SHA512 d0ec25eeae196e6e981d7f783fd595a90daf9e97de3723ad4cdc2e4c41282a8bd9a20a2a57631c3949ac40633811db60e2f19388fef816fe8755ad55e857917e DIST videojs-contrib-quality-levels-2.1.0.tgz 18770 BLAKE2B f6c4789835379380bde941d032bb0afbc49d093eb9407308094afd0b9c1f25781f57d8f8db928e318eb270927574a5fd505f08af13f0baf55897723ec489b769 SHA512 76a19019b2fd00586e731922ed9874737908847d0f00f707121ea351d47268509578ebaa9c9ace62cff7c0db6ca240dd05d45fd83bb66a79e9bb86765da49946 diff --git a/www-apps/invidious/invidious-2024.04.27.ebuild b/www-apps/invidious/invidious-2024.04.27.ebuild deleted file mode 100644 index 26cc4326c8..0000000000 --- a/www-apps/invidious/invidious-2024.04.27.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs shards systemd - -MY_PV="2.$(ver_rs 1- '')" -MOCKS_COMMIT="11ec372f72747c09d48ffef04843f72be67d5b54" -MOCKS_P="${PN}-mocks-${MOCKS_COMMIT:0:7}" -DESCRIPTION="Invidious is an alternative front-end to YouTube" -HOMEPAGE=" - https://invidious.io/ - https://github.com/iv-org/invidious -" -IV_ORG="https://github.com/iv-org" -NPM="https://registry.npmjs.org" -SRC_URI=" - ${IV_ORG}/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz - ${NPM}/video.js/-/video.js-7.12.1.tgz - ${NPM}/videojs-contrib-quality-levels/-/videojs-contrib-quality-levels-2.1.0.tgz - ${NPM}/videojs-http-source-selector/-/videojs-http-source-selector-1.1.6.tgz - ${NPM}/videojs-markers/-/videojs-markers-1.0.1.tgz - ${NPM}/videojs-mobile-ui/-/videojs-mobile-ui-0.6.1.tgz - ${NPM}/videojs-overlay/-/videojs-overlay-2.1.4.tgz - ${NPM}/videojs-share/-/videojs-share-3.2.1.tgz - ${NPM}/videojs-vr/-/videojs-vr-1.8.0.tgz - ${NPM}/videojs-vtt-thumbnails/-/videojs-vtt-thumbnails-0.0.13.tgz - test? ( - ${IV_ORG}/mocks/archive/${MOCKS_COMMIT}.tar.gz -> ${MOCKS_P}.tar.gz - ) -" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="AGPL-3 Apache-2.0 MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-db/sqlite:3 - dev-libs/boehm-gc - dev-libs/libevent:= - dev-libs/libpcre2:= - dev-libs/libxml2:2 - dev-libs/libyaml - dev-libs/openssl:= - sys-libs/zlib:= -" -RDEPEND="${COMMON_DEPEND} - acct-user/invidious - gnome-base/librsvg -" -DEPEND="${COMMON_DEPEND} - dev-crystal/athena-negotiation - >=dev-crystal/kemal-1.1.0 - =dev-crystal/protodec-0.1.5 - virtual/crystal-db[postgres,sqlite] - test? ( - dev-crystal/spectator - ) -" - -DOCS=( {CHANGELOG,README}.md TRANSLATION ) - -CHECKREQS_MEMORY="2G" - -CRYSTAL_DEFINES=( -Dskip_videojs_download ) - -src_unpack() { - local src depname destname js css - - for src in ${A}; do - if [[ ${src} == "${P}.tar.gz" ]]; then - unpack ${src} - elif [[ ${src} == "${MOCKS_P}.tar.gz" ]]; then - unpack "${src}" - mkdir -p "${S}"/mocks || die - rmdir "${S}"/mocks || die - mv mocks-${MOCKS_COMMIT} "${S}"/mocks || die - else - depname="${src%-*}" - - case ${depname} in - video.js) - js="video.js" ;; - *) - js="${depname}.js" ;; - esac - - case ${depname} in - video.js) - css="video-js.css" ;; - videojs-markers) - css="videojs.markers.css" ;; - *) - css="${depname}.css" ;; - esac - - # Create the destination directory - destname="${S}/assets/videojs/${depname}" - mkdir -p "${destname}" || die - - # Create a temporary directory - mkdir -p "${WORKDIR}"/${depname} || die - cd "${WORKDIR}"/${depname} || die - - # Copy assets - unpack ${src} - cd package/dist || die - mv ${js} ${destname} || die - if [[ -f ${css} ]]; then - mv ${css} ${destname} || die - fi - - cd "${WORKDIR}" || die - fi - done -} - -src_prepare() { - default - - local datadir="${EPREFIX}/usr/share/invidious" - sed -i src/invidious.cr \ - -e 's/\(CURRENT_BRANCH \) = .*/\1 = "master"/' \ - -e "s/\(CURRENT_COMMIT \) = .*/\1 = \"${COMMIT:0:7}\"/" \ - -e "s/\(CURRENT_VERSION\) = .*/\1 = \"${PV}\"/" \ - -e "s/\(ASSET_COMMIT\) = .*/\1 = \"${COMMIT:0:7}\"/" || die - - # fix paths - sed -i src/invidious.cr \ - -e "s|\(public_folder\) \"assets\"|\1 \"${datadir}/assets\"|" || die - sed -i src/invidious/helpers/i18n.cr \ - -e "s|File.read(\"locales/|File.read(\"${datadir}/locales/|" || die - sed -i src/invidious/database/base.cr \ - -e "s|config/sql|${datadir}/\0|g" || die - - rm shard.lock || die -} - -src_install() { - dobin invidious - einstalldocs - - insinto /usr/share/invidious - doins -r assets config locales - - insinto /etc/invidious - newins config/config.example.yml config.yml - - systemd_dounit "${FILESDIR}"/invidious.service - newinitd "${FILESDIR}"/invidious.initd ${PN} - newconfd "${FILESDIR}"/invidious.confd ${PN} -} diff --git a/www-apps/invidious/invidious-2024.08.25.1.ebuild b/www-apps/invidious/invidious-2024.08.25.1.ebuild deleted file mode 100644 index e09ed83ade..0000000000 --- a/www-apps/invidious/invidious-2024.08.25.1.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs shards systemd - -MY_PV="2.$(ver_rs 1-2 '')" -MOCKS_COMMIT="11ec372f72747c09d48ffef04843f72be67d5b54" -MOCKS_P="${PN}-mocks-${MOCKS_COMMIT:0:7}" -DESCRIPTION="Invidious is an alternative front-end to YouTube" -HOMEPAGE=" - https://invidious.io/ - https://github.com/iv-org/invidious -" -IV_ORG="https://github.com/iv-org" -NPM="https://registry.npmjs.org" -SRC_URI=" - ${IV_ORG}/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz - ${NPM}/video.js/-/video.js-7.12.1.tgz - ${NPM}/videojs-contrib-quality-levels/-/videojs-contrib-quality-levels-2.1.0.tgz - ${NPM}/videojs-http-source-selector/-/videojs-http-source-selector-1.1.6.tgz - ${NPM}/videojs-markers/-/videojs-markers-1.0.1.tgz - ${NPM}/videojs-mobile-ui/-/videojs-mobile-ui-0.6.1.tgz - ${NPM}/videojs-overlay/-/videojs-overlay-2.1.4.tgz - ${NPM}/videojs-share/-/videojs-share-3.2.1.tgz - ${NPM}/videojs-vr/-/videojs-vr-1.8.0.tgz - ${NPM}/videojs-vtt-thumbnails/-/videojs-vtt-thumbnails-0.0.13.tgz - test? ( - ${IV_ORG}/mocks/archive/${MOCKS_COMMIT}.tar.gz -> ${MOCKS_P}.tar.gz - ) -" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="AGPL-3 Apache-2.0 MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-db/sqlite:3 - dev-libs/boehm-gc - dev-libs/libevent:= - dev-libs/libpcre2:= - dev-libs/libxml2:2 - dev-libs/libyaml - dev-libs/openssl:= - sys-libs/zlib:= -" -RDEPEND="${COMMON_DEPEND} - acct-user/invidious - gnome-base/librsvg -" -DEPEND="${COMMON_DEPEND} - dev-crystal/athena-negotiation - >=dev-crystal/kemal-1.1.0 - =dev-crystal/protodec-0.1.5 - virtual/crystal-db[postgres,sqlite] - test? ( - dev-crystal/spectator - ) -" - -DOCS=( {CHANGELOG,README}.md TRANSLATION ) - -CHECKREQS_MEMORY="2G" - -CRYSTAL_DEFINES=( -Dskip_videojs_download ) - -src_unpack() { - local src depname destname js css - - for src in ${A}; do - if [[ ${src} == "${P}.tar.gz" ]]; then - unpack ${src} - elif [[ ${src} == "${MOCKS_P}.tar.gz" ]]; then - unpack "${src}" - mkdir -p "${S}"/mocks || die - rmdir "${S}"/mocks || die - mv mocks-${MOCKS_COMMIT} "${S}"/mocks || die - else - depname="${src%-*}" - - case ${depname} in - video.js) - js="video.js" ;; - *) - js="${depname}.js" ;; - esac - - case ${depname} in - video.js) - css="video-js.css" ;; - videojs-markers) - css="videojs.markers.css" ;; - *) - css="${depname}.css" ;; - esac - - # Create the destination directory - destname="${S}/assets/videojs/${depname}" - mkdir -p "${destname}" || die - - # Create a temporary directory - mkdir -p "${WORKDIR}"/${depname} || die - cd "${WORKDIR}"/${depname} || die - - # Copy assets - unpack ${src} - cd package/dist || die - mv ${js} ${destname} || die - if [[ -f ${css} ]]; then - mv ${css} ${destname} || die - fi - - cd "${WORKDIR}" || die - fi - done -} - -src_prepare() { - default - - local datadir="${EPREFIX}/usr/share/invidious" - sed -i src/invidious.cr \ - -e 's/\(CURRENT_BRANCH \) = .*/\1 = "master"/' \ - -e "s/\(CURRENT_COMMIT \) = .*/\1 = \"${COMMIT:0:7}\"/" \ - -e "s/\(CURRENT_VERSION\) = .*/\1 = \"${PV}\"/" \ - -e "s/\(ASSET_COMMIT\) = .*/\1 = \"${COMMIT:0:7}\"/" || die - - # fix paths - sed -i src/invidious.cr \ - -e "s|\(public_folder\) \"assets\"|\1 \"${datadir}/assets\"|" || die - sed -i src/invidious/helpers/i18n.cr \ - -e "s|File.read(\"locales/|File.read(\"${datadir}/locales/|" || die - sed -i src/invidious/database/base.cr \ - -e "s|config/sql|${datadir}/\0|g" || die - - rm shard.lock || die -} - -src_install() { - dobin invidious - einstalldocs - - insinto /usr/share/invidious - doins -r assets config locales - - insinto /etc/invidious - newins config/config.example.yml config.yml - - systemd_dounit "${FILESDIR}"/invidious.service - newinitd "${FILESDIR}"/invidious.initd ${PN} - newconfd "${FILESDIR}"/invidious.confd ${PN} -} diff --git a/www-apps/invidious/invidious-2024.11.10.0.ebuild b/www-apps/invidious/invidious-2024.11.10.0.ebuild index 88ed39969e..58379ffcfc 100644 --- a/www-apps/invidious/invidious-2024.11.10.0.ebuild +++ b/www-apps/invidious/invidious-2024.11.10.0.ebuild @@ -56,7 +56,7 @@ RDEPEND="${COMMON_DEPEND} DEPEND="${COMMON_DEPEND} dev-crystal/athena-negotiation dev-crystal/http_proxy - >=dev-crystal/kemal-1.1.0 + >=dev-crystal/kemal-1.1.2-r1 =dev-crystal/protodec-0.1.5 diff --git a/www-apps/invidious/metadata.xml b/www-apps/invidious/metadata.xml index 2c890c8e35..29fbdd3ffa 100644 --- a/www-apps/invidious/metadata.xml +++ b/www-apps/invidious/metadata.xml @@ -1,12 +1,20 @@ - + - + + cyber+gentoo@sysrq.in + Anna + iv-org/invidious Omar Roth omarroth@protonmail.com + + Invidious team + contact@invidious.io + + https://docs.invidious.io