From e51845ef713710318cf5ae058201b5373686243d Mon Sep 17 00:00:00 2001 From: Thibaud CANALE Date: Wed, 12 Feb 2025 06:43:15 +0100 Subject: [PATCH 01/10] app-crypt/certbot-dns-rfc2136: add 3.2.0 Signed-off-by: Thibaud CANALE --- app-crypt/certbot-dns-rfc2136/Manifest | 1 + .../certbot-dns-rfc2136-3.2.0.ebuild | 79 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-3.2.0.ebuild diff --git a/app-crypt/certbot-dns-rfc2136/Manifest b/app-crypt/certbot-dns-rfc2136/Manifest index 47b249c84d..715100bf16 100644 --- a/app-crypt/certbot-dns-rfc2136/Manifest +++ b/app-crypt/certbot-dns-rfc2136/Manifest @@ -2,3 +2,4 @@ DIST certbot-2.10.0.gh.tar.gz 2322931 BLAKE2B cb84815ec2db2b4b365f2f2bdee1749263 DIST certbot-2.11.0.gh.tar.gz 2322114 BLAKE2B d266483d1ffc9f9274df3d5e389ed961758e77e9455a7324132bb2bfe4896db663642a98ac7250d35fbbd60d6aef0d6d2a58f98ad17130958dcfcd61283c2479 SHA512 ba47fc98faaf47278c58e107356371c06039f70ad539d2ca1ac39462bb45c7a6c55ed525d8bd8b11cd35cf807f3423e19309022751a492ba19ded79cfbb6d7f4 DIST certbot-3.0.1.gh.tar.gz 2325233 BLAKE2B 247505fb500c829de875aa0886f27727de4ccc4f474dd13957b524b84af99e6ee5d1e86f09577422932a498ec9fda24ae36377d117365531ad1f8eddb0148272 SHA512 7aec63ec7705f4e13acb7cef5d770f103222ddf3dca30760c42cd3aeb0531d630111518960c299d89bccba4134b544a329fa02659fac5f977c9ca0321b2d1e2e DIST certbot-3.1.0.gh.tar.gz 2299990 BLAKE2B 596f11d4ebb161ee6ba67f4f150a77e081399f11f4e4652923c94297661149c9cb889afc51b46b6111847820823d90edc3a7f1e14c451122f88e6e777bf48795 SHA512 efd0b0c1540a6e3b631fa80eac65c9e8b31b1e5e1242f56d3723ca7e1b1b2121dfe1bf8e122fe9a9b994460553f1fa085b11d1369b3160f5c51c939b2cccd638 +DIST certbot-3.2.0.gh.tar.gz 2309823 BLAKE2B 30ff3f40dc4d7724ad7b9a5eaf48f15fa579d49902dd23d21d8b2d36a4371da05f8c9417b0b2bf49a12565ba9dec180a9d805f22e0e8d1342ae5ea64b43d5219 SHA512 8fc3753dcdc954e143da31a0308269b99abadcdefc008c54c2cabac14a3bf99e757f1007349806a7dabf4a8fe19fd3a365ddea85c1dbeb3b453ae91503ea2288 diff --git a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-3.2.0.ebuild b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-3.2.0.ebuild new file mode 100644 index 0000000000..4477dc691c --- /dev/null +++ b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-3.2.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +PARENT_PN="certbot" +PARENT_P="${PARENT_PN}-${PV}" + +if [[ "${PV}" == *9999 ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + EGIT_SUBMODULES=() + EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}" +else + SRC_URI=" + https://github.com/certbot/certbot/archive/v${PV}.tar.gz + -> ${PARENT_P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv" +fi + +DESCRIPTION="RFC 2136 DNS Authenticator plugin for Certbot (Let’s Encrypt client)" +HOMEPAGE=" + https://github.com/certbot/certbot + https://pypi.org/project/certbot-dns-rfc2136/ + https://letsencrypt.org/ +" + +S="${WORKDIR}/${PARENT_P}/${PN}" +LICENSE="Apache-2.0" +SLOT="0" + +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +# See setup.py for dep +RDEPEND=" + ${PYTHON_DEPS} + >=app-crypt/acme-${PV}[${PYTHON_USEDEP}] + >=app-crypt/certbot-${PV}[${PYTHON_USEDEP}] + >=dev-python/dnspython-2.6.1[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +# Same than PATCHES but from repository's root directory, +# please see function `python_prepare_all` below. +# Simplier for users IMHO. +PARENT_PATCHES=( +) + +# Here for patches within "${PN}" subdirectory. +PATCHES=( +) + +python_prepare_all() { + pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die + [[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}" + eapply_user + popd > /dev/null || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} From 4445715086abb8148819562173aef61d9a8f85ee Mon Sep 17 00:00:00 2001 From: Niklaus 'vimja' Hofer Date: Mon, 3 Mar 2025 18:18:55 +0100 Subject: [PATCH 02/10] dev-python/python-octaviaclient: add 3.10.0 Signed-off-by: Niklaus 'vimja' Hofer --- dev-python/python-octaviaclient/Manifest | 1 + .../python-octaviaclient-3.10.0.ebuild | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-python/python-octaviaclient/python-octaviaclient-3.10.0.ebuild diff --git a/dev-python/python-octaviaclient/Manifest b/dev-python/python-octaviaclient/Manifest index e3f5087f95..67343e113a 100644 --- a/dev-python/python-octaviaclient/Manifest +++ b/dev-python/python-octaviaclient/Manifest @@ -1 +1,2 @@ DIST python-octaviaclient-3.9.0.tar.gz 97191 BLAKE2B 4bf7a25711d6a67ce49c375c4dff8be791bad14d4acdacf57d4ad52cdd6852a9c85a719c626feb3d02deeee46887da80353b7577208f656f515513dd507242ba SHA512 8f5e0ad83c2df75865f26b50b325d5adac6a9797cac5ca5422cf95a85426f0803699f26ea27745e17171f2c56623a5de11e26bd650b9a797d1fdf41dc5c15ab5 +DIST python_octaviaclient-3.10.0.tar.gz 97294 BLAKE2B ca56e662bf0173ad4a922b6fc9f82fbfe7a5cd7488abc2746836db44b6e128e159272a7b9618703aef143c6f50764da5d16cf2142a7730fba9ceb37648c37de6 SHA512 cf867242794e9c79be283915040d5280134da28fa92c4371a9ff94f7c03189e5fe513c5da42cfc9079e3be54234dce868b1770e3869654135a5be159029c7b1c diff --git a/dev-python/python-octaviaclient/python-octaviaclient-3.10.0.ebuild b/dev-python/python-octaviaclient/python-octaviaclient-3.10.0.ebuild new file mode 100644 index 0000000000..581eb1ee4c --- /dev/null +++ b/dev-python/python-octaviaclient/python-octaviaclient-3.10.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Octavia API" +HOMEPAGE=" + https://opendev.org/openstack/python-octaviaclient + https://github.com/openstack/python-octaviaclient/ + https://pypi.org/project/python-octaviaclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/cliff-4.7.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.18.0[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-6.7.0[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.14.1[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # not packaged + octaviaclient/tests/unit/test_hacking.py +) + +distutils_enable_tests pytest From a0ffba0c12dacd9f0c33ca9c1c3afbf6803888af Mon Sep 17 00:00:00 2001 From: Niklaus 'vimja' Hofer Date: Mon, 3 Mar 2025 18:22:17 +0100 Subject: [PATCH 03/10] dev-python/python-barbicanclient: add 7.1.0 Signed-off-by: Niklaus 'vimja' Hofer --- dev-python/python-barbicanclient/Manifest | 1 + .../python-barbicanclient-7.1.0.ebuild | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 dev-python/python-barbicanclient/python-barbicanclient-7.1.0.ebuild diff --git a/dev-python/python-barbicanclient/Manifest b/dev-python/python-barbicanclient/Manifest index f86c5c144b..9de60475fc 100644 --- a/dev-python/python-barbicanclient/Manifest +++ b/dev-python/python-barbicanclient/Manifest @@ -1 +1,2 @@ DIST python-barbicanclient-7.0.0.tar.gz 128741 BLAKE2B cc3e81974511cf250238bd1f9823cbf603a53ca13ca3ffd6dab18b01e01c3855f728dc5d34fe5b15f3fbb8ea20bc0d73681f5e24158861b457c1e3dfe9bbdede SHA512 b6ddb6881e1ab70e9a35562b3a12f55ebf6c1b84b61c0324f7e9547f109564f6fffeb3faacb8ef5ae74255c46795d571eae6a2f6bb3043c785018e48e23a7730 +DIST python_barbicanclient-7.1.0.tar.gz 128349 BLAKE2B cbaffd45d1677aa0c1ecdca26c393841a1a5284ac52e612d00a2307dddc3696082209df60b21e710bab3922fc181408f9c357053872f0a7f27ea7fcb8a040095 SHA512 d5850d4c273b3196268117eeed6b65d5c63c1579eea613447bb51de9f4ba7bd24df3f21cf5000d826b8e78dd32f6abf948c2a54c015bbcea9d834e6f367ffd9f diff --git a/dev-python/python-barbicanclient/python-barbicanclient-7.1.0.ebuild b/dev-python/python-barbicanclient/python-barbicanclient-7.1.0.ebuild new file mode 100644 index 0000000000..d28cf5a150 --- /dev/null +++ b/dev-python/python-barbicanclient/python-barbicanclient-7.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Client library for Barbican API." +HOMEPAGE=" + https://opendev.org/openstack/python-barbicanclient + https://github.com/openstack/python-barbicanclient/ + https://pypi.org/project/python-barbicanclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-5.1.1[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] +" + +src_prepare() { + distutils-r1_src_prepare +} From 6de0f85bf42d6465015eca16f396b7c35cf49a88 Mon Sep 17 00:00:00 2001 From: Niklaus 'vimja' Hofer Date: Mon, 3 Mar 2025 18:23:40 +0100 Subject: [PATCH 04/10] dev-python/python-magnumclient: add 4.8.0 Signed-off-by: Niklaus 'vimja' Hofer --- dev-python/python-magnumclient/Manifest | 1 + .../python-magnumclient-4.8.0.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-python/python-magnumclient/python-magnumclient-4.8.0.ebuild diff --git a/dev-python/python-magnumclient/Manifest b/dev-python/python-magnumclient/Manifest index 37985f8f4b..86fb64b832 100644 --- a/dev-python/python-magnumclient/Manifest +++ b/dev-python/python-magnumclient/Manifest @@ -1 +1,2 @@ DIST python-magnumclient-4.7.0.tar.gz 107491 BLAKE2B b8f6367ba17b475dbc5fefaec9c032c178dec3140a637f8be9b7cb38bd58017d15e0fa5dc9c41a33dd8d38f9b463f83c1bcfe60b990538c179099d2751e2676e SHA512 2ad3fbfcdd0e8deae6b4741f201ff6930abd77774107d28246307b6b86023441036bd12a542e60a82a6323f4615b0532fb6d8a298b8858b14067cf9c77f4d24d +DIST python_magnumclient-4.8.0.tar.gz 107489 BLAKE2B e0e0906c7ac2145d7bb4ebe77814b8c4ae2501f270d4eff41ad4705e152d2c16d3bf683484d648010708f1e73125d7129e2678b45be8f7613ba6fa3100e5d0a1 SHA512 176f1491d0039d1504009c45eae5e05441358e23c6cb7afb9e454a51ce23d4b17bd684bccab549402e3db547fdf4074180db0c9b5ab5951bff855795c3930484 diff --git a/dev-python/python-magnumclient/python-magnumclient-4.8.0.ebuild b/dev-python/python-magnumclient/python-magnumclient-4.8.0.ebuild new file mode 100644 index 0000000000..0a0f4fa42d --- /dev/null +++ b/dev-python/python-magnumclient/python-magnumclient-4.8.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Magnum API" +HOMEPAGE=" + https://opendev.org/openstack/python-magnumclient + https://github.com/openstack/python-magnumclient/ + https://pypi.org/project/python-magnumclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.5.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.0.0[${PYTHON_USEDEP}] + >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest From ec5a92005c81b8609d4225bd5126c8b94ba16393 Mon Sep 17 00:00:00 2001 From: Niklaus 'vimja' Hofer Date: Mon, 3 Mar 2025 18:25:13 +0100 Subject: [PATCH 05/10] dev-python/osc-placement: add 4.6.0 Signed-off-by: Niklaus 'vimja' Hofer --- dev-python/osc-placement/Manifest | 1 + .../osc-placement/osc-placement-4.6.0.ebuild | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 dev-python/osc-placement/osc-placement-4.6.0.ebuild diff --git a/dev-python/osc-placement/Manifest b/dev-python/osc-placement/Manifest index cd83b4db37..67ebac5a96 100644 --- a/dev-python/osc-placement/Manifest +++ b/dev-python/osc-placement/Manifest @@ -1 +1,2 @@ DIST osc-placement-4.5.0.tar.gz 59592 BLAKE2B bb5a6445317bcd6fbff41dbffb89a9703aa29cf644a57f4b28006b47050498f0ab10a7811bb6b8945e27d1a455c62182babd6a1cb39faece32eb34d2473fafcf SHA512 07008400d0d5880f533ae17d9951fe927b63340768c2b427b6e2d0d478fa98f11763440d4df5831be121a860bad44ffe79fb0377e062ff7e32fae56dd8321c34 +DIST osc_placement-4.6.0.tar.gz 59637 BLAKE2B 740464abf09d65d9cdf045b07ac9f5f4cefaf1ca45b1e75981608aac52586079511f8c1e4069100e26397526baebd4d54617c647a252fae7f3655941806e92db SHA512 72e50b4b2dc9948e5a1e6fd1bd3c9c6a0fee364c701806f1a5702100c51da93b38a7ff460891c3672bbf7c36d4c0d9f3a7a2e5bfaab578ebc4bf4852592866e6 diff --git a/dev-python/osc-placement/osc-placement-4.6.0.ebuild b/dev-python/osc-placement/osc-placement-4.6.0.ebuild new file mode 100644 index 0000000000..d084f15fcf --- /dev/null +++ b/dev-python/osc-placement/osc-placement-4.6.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYTHON_COMPAT=( python3_{11..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenStackClient plugin for Placement service" +HOMEPAGE=" + https://opendev.org/openstack/osc-placement + https://pypi.org/project/python-octaviaclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.3.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.37.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/coverage-4.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] + >=dev-python/stestr-1.0.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-4.2.2[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Require the placement service to be packaged, too + osc_placement/tests/functional/test_allocation.py + osc_placement/tests/functional/test_allocation_candidate.py + osc_placement/tests/functional/test_inventory.py + osc_placement/tests/functional/test_resource_class.py + osc_placement/tests/functional/test_resource_provider.py + osc_placement/tests/functional/test_trait.py + osc_placement/tests/functional/test_usage.py + osc_placement/tests/functional/test_aggregate.py + osc_placement/tests/functional/test_plugin.py +) + +distutils_enable_tests pytest From 770e6b74b5fefb924ed129630620631c731815b0 Mon Sep 17 00:00:00 2001 From: Theo Donacik Date: Mon, 3 Mar 2025 12:57:23 -0500 Subject: [PATCH 06/10] gui-wm/swayfx: add 0.5 Signed-off-by: Theo Donacik --- gui-wm/swayfx/Manifest | 1 + gui-wm/swayfx/swayfx-0.5.ebuild | 101 ++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 gui-wm/swayfx/swayfx-0.5.ebuild diff --git a/gui-wm/swayfx/Manifest b/gui-wm/swayfx/Manifest index 8a313360c3..483b87925c 100644 --- a/gui-wm/swayfx/Manifest +++ b/gui-wm/swayfx/Manifest @@ -1 +1,2 @@ DIST swayfx-0.4.tar.gz 17603249 BLAKE2B eda975a0598ba9363066f015d0f5e1a5574775b5cb75a9cf9e7020d04ab16c236b5472b726c40ccd765bf743b6cd659323334915064ac887164b07b798cd58c5 SHA512 a6b30d5b466eb20ca1090daf442377f4f911a97e3089e2966420352c98a8e5b3384abb128118889b9b214f50e6bd65bb744ad941acb05ae105331e60a5e67293 +DIST swayfx-0.5.tar.gz 17594759 BLAKE2B 95f60440835be26fd0df3dcd60b9701f38ca0762753da3e4888aac0f435e3918aa185a9db9d3e1b13b4001cf7becf2c53f4dfa890a444c9c4a2c82b7a3e914f8 SHA512 e0cc8bcdf7b6eea04a1cbcdbd8eeb4868890f672aa5c4295fda0292e7b544021c2ae3cf2f94455c332b6a0f79f66dc44c90d207c8eb761cd3c98f9770b710db1 diff --git a/gui-wm/swayfx/swayfx-0.5.ebuild b/gui-wm/swayfx/swayfx-0.5.ebuild new file mode 100644 index 0000000000..7c421aa564 --- /dev/null +++ b/gui-wm/swayfx/swayfx-0.5.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU Public License v2 + +EAPI=8 + +inherit fcaps meson optfeature + +DESCRIPTION="SwayFX: Sway, but with eye candy!" +HOMEPAGE="https://github.com/WillPower3309/swayfx" +SRC_URI="https://github.com/WillPower3309/swayfx/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+man +swaybar +swaynag tray wallpapers X" +REQUIRED_USE="tray? ( swaybar )" + +DEPEND=" + >=dev-libs/json-c-0.13:0= + >=dev-libs/libinput-1.26.0:0= + virtual/libudev + sys-auth/seatd:= + dev-libs/libpcre2 + >=dev-libs/wayland-1.21.0 + x11-libs/cairo + >=x11-libs/libxkbcommon-1.5.0 + x11-libs/pango + x11-libs/pixman + >=gui-libs/scenefx-0.2 + media-libs/libglvnd + swaybar? ( x11-libs/gdk-pixbuf:2 ) + tray? ( || ( + sys-apps/systemd + sys-auth/elogind + sys-libs/basu + ) ) + wallpapers? ( gui-apps/swaybg[gdk-pixbuf(+)] ) + X? ( x11-libs/libxcb:0= + x11-libs/xcb-util-wm + ) +" +DEPEND+=" + >=gui-libs/wlroots-0.18:=[X?] + =gui-wm/sway-1.9" +) + +src_configure() { + local emesonargs=( + $(meson_feature man man-pages) + $(meson_feature tray) + $(meson_feature swaybar gdk-pixbuf) + $(meson_use swaynag) + $(meson_use swaybar) + $(meson_use wallpapers default-wallpaper) + -Dfish-completions=true + -Dzsh-completions=true + -Dbash-completions=true + ) + + meson_src_configure +} + +src_install() { + meson_src_install + insinto /usr/share/xdg-desktop-portal + doins "${FILESDIR}/sway-portals.conf" +} + +pkg_postinst() { + fcaps_pkg_postinst + + optfeature_header "There are several packages that may be useful with swayfx:" + optfeature "wallpaper utility" gui-apps/swaybg + optfeature "idle management utility" gui-apps/swayidle + optfeature "simple screen locker" gui-apps/swaylock + optfeature "lightweight notification daemon" gui-apps/mako + echo + einfo "For a list of additional addons and tools usable with sway please" + einfo "visit the offical wiki at:" + einfo "https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway" + einfo "Please note that some of them might not (yet) available on gentoo" +} From 44f5fb18b98cb73f9a9a3089c6690487e285cde0 Mon Sep 17 00:00:00 2001 From: Theo Donacik Date: Mon, 3 Mar 2025 12:59:33 -0500 Subject: [PATCH 07/10] gui-libs/scenefx: add 0.2.1 Signed-off-by: Theo Donacik --- gui-libs/scenefx/Manifest | 1 + gui-libs/scenefx/scenefx-0.2.1.ebuild | 51 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 gui-libs/scenefx/scenefx-0.2.1.ebuild diff --git a/gui-libs/scenefx/Manifest b/gui-libs/scenefx/Manifest index 1ea1055c92..d8c4530ac1 100644 --- a/gui-libs/scenefx/Manifest +++ b/gui-libs/scenefx/Manifest @@ -1,2 +1,3 @@ DIST scenefx-0.1.tar.gz 107137 BLAKE2B 980ccc3040584f83e3c911975f194abb50e05474ab73e1fef8ca2884a1f4a89436ec8838931ce7e1a1ca4d4df2bf746c9141fef45baad9f602e1327a70ac6ba3 SHA512 6f145ff44c799e61501d63306e3df97bb8376a8cab12ff77cdd743de3784f65c584a297f056008d88e7cd514849a750662023ce53959b9d005a1417f3a5ca1dc +DIST scenefx-0.2.1.tar.gz 85884 BLAKE2B a0208af6586534355e8ea17eba3e02781ca0279dacc93c75366d1c44547ebb7cd8a99d5303054b2685a0ff19076e12384da25086bd9a904769c21070abc2d564 SHA512 69aa95de00e086ad38f6f878d865197fcf00dd88cbcec5376c52fcce496e1135b237dafda27cf49a0d168a8a34864bdabe0d119d474a379cf84c9e9efee114c7 DIST scenefx-0.2.tar.gz 85823 BLAKE2B 45a4f85cd0f926700e6283dde0d35390e628680e2abe8098ed244475f2ae25067f1fdfccd375f7e0d402e9aaaf720550642bd6f13808856eb21f252b86d71d56 SHA512 b63511147a1f68320b40760586481678076d29daf8aad1dca32889f1029dd064929163513fedabd9c2e2a85444034c5518bd4ee706633786cfda632a4b027791 diff --git a/gui-libs/scenefx/scenefx-0.2.1.ebuild b/gui-libs/scenefx/scenefx-0.2.1.ebuild new file mode 100644 index 0000000000..adb9a744a1 --- /dev/null +++ b/gui-libs/scenefx/scenefx-0.2.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="A replacement for the wlroots scene API with eye-candy effects." +HOMEPAGE="https://github.com/wlrfx/scenefx" + +SRC_URI="https://github.com/wlrfx/scenefx/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="examples X" + +DEPEND=" + >=dev-libs/wayland-1.23.0 + >=x11-libs/libdrm-2.4.122 + media-libs/mesa[egl(+),gles2(+)] + >=x11-libs/pixman-0.42.0 + media-libs/libglvnd + x11-libs/libxkbcommon +" + +DEPEND+=" + >=gui-libs/wlroots-0.18:=[X?] + Date: Mon, 3 Mar 2025 18:57:03 -0300 Subject: [PATCH 08/10] dev-python/proselint: add 0.14.0 Signed-off-by: Ronaldo V. Lobato --- dev-python/proselint/Manifest | 1 + dev-python/proselint/proselint-0.14.0.ebuild | 27 ++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 dev-python/proselint/proselint-0.14.0.ebuild diff --git a/dev-python/proselint/Manifest b/dev-python/proselint/Manifest index c25682dc95..4cfa6a3e08 100644 --- a/dev-python/proselint/Manifest +++ b/dev-python/proselint/Manifest @@ -1 +1,2 @@ DIST proselint-0.13.0.tar.gz 96876 BLAKE2B 780d1c217244e7909fb017d4c8fe4061e8328280119694f6e40630393f52bd00498382d3944d598f34751c7afecbcf5f2e76f1e204b073d28cd363452683e91f SHA512 6379c63fba0be8c5944c67ef4d3c0fd4ae4deb0076813531cddcdbc632bb254a4e213f88f07d96679465d740c1936a2b1502f852959a8ac9789ab1b983b8a0ef +DIST proselint-0.14.0.tar.gz 96741 BLAKE2B 59f8c5778bdc7db4d25a2a6679fd2be8a705327b39a05229c32feaee5037e33ada6898a783a4080935530f8ed9f607e32fc694d515cbe3e5191ae42f69f37c14 SHA512 742d059e5780ed931fdc41d21fc0b8bafceff45c95514316f8c9ba86d44c4cd897d302ae48f3bfa8ee5783b0c8ede3915b4d681806e5cbdfcbecdcd629339942 diff --git a/dev-python/proselint/proselint-0.14.0.ebuild b/dev-python/proselint/proselint-0.14.0.ebuild new file mode 100644 index 0000000000..802ac64dc4 --- /dev/null +++ b/dev-python/proselint/proselint-0.14.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_PN=${PN^} +PYTHON_COMPAT=(python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A linter for prose" +HOMEPAGE=" + https://proselint.com + https://github.com/amperser/proselint/ + https://pypi.org/project/proselint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest From 24020c0814115f8d03ec8a9dc7bbfddd7c68b32f Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Mon, 3 Mar 2025 23:38:26 +0100 Subject: [PATCH 09/10] app-misc/anki-bin: add 25.02 Signed-off-by: Lucio Sauer --- app-misc/anki-bin/Manifest | 2 + app-misc/anki-bin/anki-bin-25.02.ebuild | 115 ++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 app-misc/anki-bin/anki-bin-25.02.ebuild diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest index 27320fd177..9f3455731e 100644 --- a/app-misc/anki-bin/Manifest +++ b/app-misc/anki-bin/Manifest @@ -1,7 +1,9 @@ DIST anki-24.11-cp39-abi3-manylinux_2_28_x86_64.whl.zip 10233790 BLAKE2B b61dcde6290d1a4256dc2b11ba89672a60416cf0f4c4424e04d38a57f71b47b5c72b98209f59390104b6f40b50f5ddebbc76b68d67a3cb7e421eda2024bce445 SHA512 f907689c48941dcb1094a2d1ffc24ac83e39477a44a3a5e16b9ac553dd4c4b26884b6ebfd7f76fd30bfa0902c309bec044964e4620edc529c340947f9bd3316d +DIST anki-25.02-cp39-abi3-manylinux_2_35_x86_64.whl.zip 10699478 BLAKE2B 0b6e560f4cef124277ce0dd328806391a59b2926e066cc4648d22f4b957f4193a4f355394ff96acdd0ecfa7bcaab3288b78b1dfdd6181b214e6f1ef99d57f7bc SHA512 8d73df399257a6fa1c0d70733e44986deaed7eaa50cfaab2d9ba7c7a754b10230fecfa6192b50bd675b5be1528594e785a30ecf68302c33a5fcf0dfca9e8364e DIST anki-bin-24.06.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05 DIST anki-bin-24.06.desktop 478 BLAKE2B a42c1186a11cb5a6f9bc41be99e8fb62236148d69c467b174cd34fc865f7955bb71794258bedf6175d1ccd89a8439db721082e145731688f17d097f32be0c93d SHA512 0742596284a0198bdd51b281b4018cca517b89b276352f21d586bd4f3ec78c2991ce93081f46112ab9130378195050b2fc8b636d89d4bdf0872a1f9f369ee326 DIST anki-bin-24.06.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7 DIST anki-bin-24.06.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce DIST anki-bin-24.06.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41 DIST aqt-24.11-py3-none-any.whl.zip 10898028 BLAKE2B 17513666b42d7308bdc909abbcacd09e548a98fdd504d97c88a77cbc9603c9087e40b8da8ea0079a4912aa28cf0bdbe987c7b7f0120db94f178fd6e21b13eaff SHA512 923905c51af6b64cfcf2e652f9b46ade0bb42ba5220605515868141fc9d7c6f6c99fba1b19196c0e9739fa25608b69a2fc8957b998732e35dbceac477f8f73ee +DIST aqt-25.02-py3-none-any.whl.zip 4204328 BLAKE2B 58317cc8ba3e9809199d5d50b3f4b0f5f3f80380c8c25b174c5d995eb363b3be3e0d62832a87458e2e74f2a721cb36df3f8f882c7d33c4be75ba37773483cc18 SHA512 8e5fd52ea749e29b5de42b2a19bb20c83aa3de859ef12218131bb1c30f2af5173676f0831cd34ee093fa8c4d8bdc77490d75adf904c98236259c0a6f52c44bdd diff --git a/app-misc/anki-bin/anki-bin-25.02.ebuild b/app-misc/anki-bin/anki-bin-25.02.ebuild new file mode 100644 index 0000000000..429be716cf --- /dev/null +++ b/app-misc/anki-bin/anki-bin-25.02.ebuild @@ -0,0 +1,115 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +### A NOTE REGARDING PYTHON COMPATABILITY ### +# Anki-bin downloads a python 3.9 wheel. However the wheel used has only one native library _rsbridge.so +# that is not linked against libpython. +# The configuration with Python 3.{10..13} was tested on a limited number of machines and is not guaranteed to work. + +PYTHON_COMPAT=( python3_{10..13} ) +inherit desktop optfeature python-single-r1 pypi readme.gentoo-r1 xdg + +# bump to latest PV, where any of the miscellaneous files changed +MY_PV=24.06 +MY_P=${PN}-${MY_PV} + +DESCRIPTION="A spaced-repetition memory training program (flash cards)" +HOMEPAGE="https://apps.ankiweb.net/" +SRC_URI=" + $(pypi_wheel_url --unpack anki ${PV} cp39 abi3-manylinux_2_35_x86_64) + $(pypi_wheel_url --unpack aqt ${PV}) + https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.1 -> ${MY_P}.1 + https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.desktop -> ${MY_P}.desktop + https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.png -> ${MY_P}.png + https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.xml -> ${MY_P}.xml + https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.xpm -> ${MY_P}.xpm +" + +S="${WORKDIR}" + +# How to get an up-to-date summary of runtime JS libs' licenses: +# ./node_modules/.bin/license-checker-rseidelsohn --production --excludePackages anki --summary +LICENSE="0BSD AGPL-3+ BSD CC-BY-4.0 GPL-3+ public-domain" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 CC0-1.0 ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 Unlicense ZLIB +" +# Manually added crate licenses +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + !app-misc/anki + app-misc/ca-certificates + dev-qt/qtsvg:6 + $(python_gen_cond_dep ' + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/protobuf[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + dev-python/waitress[${PYTHON_USEDEP}] + >=dev-python/pyqt6-6.6.1[gui,network,opengl,quick,webchannel,widgets,${PYTHON_USEDEP}] + >=dev-python/pyqt6-sip-13.6.0[${PYTHON_USEDEP}] + >=dev-python/pyqt6-webengine-6.6.0[widgets,${PYTHON_USEDEP}]') +" +BDEPEND="app-arch/unzip" + +PATCHES="${FILESDIR}"/${PN}-24.04.1-revert-cert-store-hack.patch + +QA_PREBUILT="usr/lib/*" + +src_install() { + python_domodule anki {,_}aqt *.dist-info + python_newscript - anki <<-EOF + #!${EPREFIX}/usr/bin/python + import sys + from aqt import run + sys.exit(run()) + EOF + newicon "${DISTDIR}"/${MY_P}.png anki.png + newicon "${DISTDIR}"/${MY_P}.xpm anki.xpm + newmenu "${DISTDIR}"/${MY_P}.desktop anki.desktop + newman "${DISTDIR}"/${MY_P}.1 anki.1 + insinto /usr/share/mime/packages + newins "${DISTDIR}"/${MY_P}.xml anki.xml + + local DOC_CONTENTS="Users with add-ons that still rely on Anki's Qt5 GUI + can temporarily set the environment variable ENABLE_QT5_COMPAT to 1 to have + Anki install the previous compatibility code. This option has additional + runtime dependencies. Please take a look at this package's optional runtime + features for a complete listing. + \n\nENABLE_QT5_COMPAT may be removed in the future, so this is not a + long-term solution. + \n\nAnki's user manual is located online at https://docs.ankiweb.net/ + \nAnki's add-on developer manual is located online at + https://addon-docs.ankiweb.net/" + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + xdg_pkg_postinst + optfeature "LaTeX in cards" "app-text/texlive[extra] app-text/dvipng" + optfeature "sound support" media-video/mpv media-video/mplayer + optfeature "recording support" "media-sound/lame[frontend] dev-python/pyqt6[multimedia]" + optfeature "faster database operations" dev-python/orjson + optfeature "compatibility with Qt5-dependent add-ons" dev-python/pyqt6[dbus,printsupport] + optfeature "Vulkan driver" "media-libs/vulkan-loader dev-qt/qtbase:6[vulkan] + dev-qt/qtdeclarative:6[vulkan] dev-qt/qtwebengine:6[vulkan]" + + einfo "You can customize the LaTeX header for your cards to fit your needs:" + einfo "Notes > Manage Note Types > [select a note type] > Options" +} From 4c2df370bfd73a7b7121dd3b8d877a62505b9695 Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Mon, 3 Mar 2025 23:44:37 +0100 Subject: [PATCH 10/10] app-misc/anki-bin: drop 24.11 Signed-off-by: Lucio Sauer --- app-misc/anki-bin/Manifest | 2 - app-misc/anki-bin/anki-bin-24.11.ebuild | 111 ------------------------ 2 files changed, 113 deletions(-) delete mode 100644 app-misc/anki-bin/anki-bin-24.11.ebuild diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest index 9f3455731e..9aeba236a3 100644 --- a/app-misc/anki-bin/Manifest +++ b/app-misc/anki-bin/Manifest @@ -1,9 +1,7 @@ -DIST anki-24.11-cp39-abi3-manylinux_2_28_x86_64.whl.zip 10233790 BLAKE2B b61dcde6290d1a4256dc2b11ba89672a60416cf0f4c4424e04d38a57f71b47b5c72b98209f59390104b6f40b50f5ddebbc76b68d67a3cb7e421eda2024bce445 SHA512 f907689c48941dcb1094a2d1ffc24ac83e39477a44a3a5e16b9ac553dd4c4b26884b6ebfd7f76fd30bfa0902c309bec044964e4620edc529c340947f9bd3316d DIST anki-25.02-cp39-abi3-manylinux_2_35_x86_64.whl.zip 10699478 BLAKE2B 0b6e560f4cef124277ce0dd328806391a59b2926e066cc4648d22f4b957f4193a4f355394ff96acdd0ecfa7bcaab3288b78b1dfdd6181b214e6f1ef99d57f7bc SHA512 8d73df399257a6fa1c0d70733e44986deaed7eaa50cfaab2d9ba7c7a754b10230fecfa6192b50bd675b5be1528594e785a30ecf68302c33a5fcf0dfca9e8364e DIST anki-bin-24.06.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05 DIST anki-bin-24.06.desktop 478 BLAKE2B a42c1186a11cb5a6f9bc41be99e8fb62236148d69c467b174cd34fc865f7955bb71794258bedf6175d1ccd89a8439db721082e145731688f17d097f32be0c93d SHA512 0742596284a0198bdd51b281b4018cca517b89b276352f21d586bd4f3ec78c2991ce93081f46112ab9130378195050b2fc8b636d89d4bdf0872a1f9f369ee326 DIST anki-bin-24.06.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7 DIST anki-bin-24.06.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce DIST anki-bin-24.06.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41 -DIST aqt-24.11-py3-none-any.whl.zip 10898028 BLAKE2B 17513666b42d7308bdc909abbcacd09e548a98fdd504d97c88a77cbc9603c9087e40b8da8ea0079a4912aa28cf0bdbe987c7b7f0120db94f178fd6e21b13eaff SHA512 923905c51af6b64cfcf2e652f9b46ade0bb42ba5220605515868141fc9d7c6f6c99fba1b19196c0e9739fa25608b69a2fc8957b998732e35dbceac477f8f73ee DIST aqt-25.02-py3-none-any.whl.zip 4204328 BLAKE2B 58317cc8ba3e9809199d5d50b3f4b0f5f3f80380c8c25b174c5d995eb363b3be3e0d62832a87458e2e74f2a721cb36df3f8f882c7d33c4be75ba37773483cc18 SHA512 8e5fd52ea749e29b5de42b2a19bb20c83aa3de859ef12218131bb1c30f2af5173676f0831cd34ee093fa8c4d8bdc77490d75adf904c98236259c0a6f52c44bdd diff --git a/app-misc/anki-bin/anki-bin-24.11.ebuild b/app-misc/anki-bin/anki-bin-24.11.ebuild deleted file mode 100644 index 662ba58603..0000000000 --- a/app-misc/anki-bin/anki-bin-24.11.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -### A NOTE REGARDING PYTHON COMPATABILITY ### -# Anki-bin downloads a python 3.9 wheel. However the wheel used has only one native library _rsbridge.so -# that is not linked against libpython. -# The configuration with Python 3.{10..13} was tested on a limited number of machines and is not guaranteed to work. - -PYTHON_COMPAT=( python3_{11..13} ) -inherit desktop optfeature python-single-r1 pypi readme.gentoo-r1 xdg - -# bump to latest PV, where any of the miscellaneous files changed -MY_PV=24.06 -MY_P=${PN}-${MY_PV} - -DESCRIPTION="A spaced-repetition memory training program (flash cards)" -HOMEPAGE="https://apps.ankiweb.net/" -SRC_URI=" - $(pypi_wheel_url --unpack anki ${PV} cp39 abi3-manylinux_2_28_x86_64) - $(pypi_wheel_url --unpack aqt ${PV}) - https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.1 -> ${MY_P}.1 - https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.desktop -> ${MY_P}.desktop - https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.png -> ${MY_P}.png - https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.xml -> ${MY_P}.xml - https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.xpm -> ${MY_P}.xpm -" - -S="${WORKDIR}" - -# How to get an up-to-date summary of runtime JS libs' licenses: -# ./node_modules/.bin/license-checker-rseidelsohn --production --excludePackages anki --summary -LICENSE="0BSD AGPL-3+ BSD CC-BY-4.0 GPL-3+ Unlicense public-domain" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 CC0-1.0 ISC MIT - MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB -" -# Manually added crate licenses -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - !app-misc/anki - app-misc/ca-certificates - dev-qt/qtsvg:6 - $(python_gen_cond_dep ' - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/send2trash[${PYTHON_USEDEP}] - dev-python/waitress[${PYTHON_USEDEP}] - >=dev-python/pyqt6-6.6.1[gui,network,opengl,quick,webchannel,widgets,${PYTHON_USEDEP}] - >=dev-python/pyqt6-sip-13.6.0[${PYTHON_USEDEP}] - >=dev-python/pyqt6-webengine-6.6.0[widgets,${PYTHON_USEDEP}]') -" -BDEPEND="app-arch/unzip" - -PATCHES="${FILESDIR}"/${PN}-24.04.1-revert-cert-store-hack.patch - -QA_PREBUILT="usr/lib/*" - -src_install() { - python_domodule anki {,_}aqt *.dist-info - printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki - python_newscript runanki anki - newicon "${DISTDIR}"/${MY_P}.png anki.png - newicon "${DISTDIR}"/${MY_P}.xpm anki.xpm - newmenu "${DISTDIR}"/${MY_P}.desktop anki.desktop - newman "${DISTDIR}"/${MY_P}.1 anki.1 - insinto /usr/share/mime/packages - newins "${DISTDIR}"/${MY_P}.xml anki.xml - - local DOC_CONTENTS="Users with add-ons that still rely on Anki's Qt5 GUI - can temporarily set the environment variable ENABLE_QT5_COMPAT to 1 to have - Anki install the previous compatibility code. This option has additional - runtime dependencies. Please take a look at this package's optional runtime - features for a complete listing. - \n\nENABLE_QT5_COMPAT may be removed in the future, so this is not a - long-term solution. - \n\nAnki's user manual is located online at https://docs.ankiweb.net/ - \nAnki's add-on developer manual is located online at - https://addon-docs.ankiweb.net/" - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - xdg_pkg_postinst - optfeature "LaTeX in cards" "app-text/texlive[extra] app-text/dvipng" - optfeature "sound support" media-video/mpv media-video/mplayer - optfeature "recording support" "media-sound/lame[frontend] dev-python/pyqt6[multimedia]" - optfeature "faster database operations" dev-python/orjson - optfeature "compatibility with Qt5-dependent add-ons" dev-python/pyqt6[dbus,printsupport] - optfeature "Vulkan driver" "media-libs/vulkan-loader dev-qt/qtbase:6[vulkan] - dev-qt/qtdeclarative:6[vulkan] dev-qt/qtwebengine:6[vulkan]" - - einfo "You can customize the LaTeX header for your cards to fit your needs:" - einfo "Notes > Manage Note Types > [select a note type] > Options" -}