Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-05-05 14:03:03 +00:00
23 changed files with 172 additions and 338 deletions

View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rsyslog/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/4.3.0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc64 ~riscv sparc x86"
IUSE="static-libs"
BDEPEND=">=sys-devel/autoconf-archive-2015.02.04"

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..10} )
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
@@ -25,8 +25,10 @@ RDEPEND="
PATCHES=(
"${FILESDIR}/astunparse-1.6.2-tests.patch"
# from Fedora
# From Fedora
"${FILESDIR}/${P}-py39.patch"
# From Debian
"${FILESDIR}/${P}-test-py311.patch"
)
distutils_enable_tests unittest

View File

@@ -0,0 +1,26 @@
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 31 Dec 2022 12:01:26 +0100
Subject: tests: Skip test_files() on Python >= 3.11
Given functions from astunparse are now mostly "battery included" in
Python 3.10 and ongoing und the test itself is only a small part of the
testing I think it's o.k. to simply skip now this test until upstream
will probably do some adjustment.
Forwarded: https://github.com/simonpercivall/astunparse/issues/67
---
tests/common.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/common.py b/tests/common.py
index 95b9755..7c8fa27 100644
--- a/tests/common.py
+++ b/tests/common.py
@@ -179,6 +179,7 @@ class AstunparseCommonTestCase:
os.path.join(getattr(sys, 'real_prefix', sys.prefix),
'lib', 'python%s.%s' % sys.version_info[:2])]
+ @unittest.skipIf(sys.version_info >= (3, 11), "Ignoring if Python >= 3.11")
def test_files(self):
names = []
for test_dir in self.test_directories:

View File

@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
RDEPEND="
<dev-python/boto3-2[${PYTHON_USEDEP}]

View File

@@ -19,7 +19,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
IUSE="doc examples notebook nbconvert qt5 +smp test"
RESTRICT="!test? ( test )"
RDEPEND="

View File

@@ -19,7 +19,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
IUSE="doc examples notebook nbconvert qt5 +smp test"
RESTRICT="!test? ( test )"
RDEPEND="

View File

@@ -19,7 +19,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
IUSE="doc examples notebook nbconvert qt5 +smp test"
RESTRICT="!test? ( test )"
RDEPEND="

View File

@@ -19,7 +19,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
IUSE="doc examples notebook nbconvert qt5 +smp test"
RESTRICT="!test? ( test )"
RDEPEND="

View File

@@ -43,7 +43,6 @@
</longdescription>
<stabilize-allarches/>
<use>
<flag name="matplotlib">Add support for <pkg>dev-python/matplotlib</pkg></flag>
<flag name="notebook">Install requirements for the web notebook based on <pkg>dev-python/tornado</pkg></flag>
<flag name="nbconvert">Enable support for converting notebooks to various formats using <pkg>app-text/pandoc</pkg></flag>
</use>

View File

@@ -10,10 +10,9 @@ EAPI=8
# app-emulation/libvirt
# Please bump them together!
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
MY_P="${P/_rc/-rc}"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 verify-sig
if [[ ${PV} == *9999* ]]; then
@@ -21,6 +20,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
RDEPEND="app-emulation/libvirt:="
else
MY_P="${P/_rc/-rc}"
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
@@ -44,6 +44,8 @@ BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-libvirt )
"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
distutils_enable_tests pytest
python_install_all() {

View File

@@ -10,10 +10,9 @@ EAPI=8
# app-emulation/libvirt
# Please bump them together!
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
MY_P="${P/_rc/-rc}"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 verify-sig
if [[ ${PV} == *9999* ]]; then
@@ -21,6 +20,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git"
RDEPEND="app-emulation/libvirt:="
else
MY_P="${P/_rc/-rc}"
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz
verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
@@ -44,6 +44,8 @@ BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-libvirt )
"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
distutils_enable_tests pytest
python_install_all() {

View File

@@ -1,5 +1,2 @@
DIST rapidfuzz-2.13.7.tar.gz 999972 BLAKE2B 1120a8fb91b03bc3d9bf6a04291f188df06d7ff37911ae8459b4a082d949bcad21598513416aa4ccfb268ba16dbe4faa574015d5730a729950c2713ae15b0be1 SHA512 5d2c4620c09b44fc8bd48e236b46af6e28ef3b86f32e0697408bd77230af46d711bfc28eb7fcfc8b1403a84b51235fc39b9a1d2fedb6421918bcb700b2b88f9c
DIST rapidfuzz-2.14.0.tar.gz 997048 BLAKE2B 74ee7d6a6f5b41067eca5480e036270ac67d277523045d63ed04fc3ee570a092a6ebc35eeb8566452ec74d536c453634893759a29bb102fe381cca912637a38e SHA512 66599cb507786932d45d7366a7aa5e440375ec9c49c865743b6f2bf1f3ed748b5e9003ba6010568ba185031b995b41d47abe84e8af5575bdd3b055dbfb56920e
DIST rapidfuzz-2.15.0.tar.gz 998377 BLAKE2B f749aef36791a2ec9a5dc870f5438af7088debd8b0abf5a44af37d31f84f577d540d18599a3d34641aa52a8e55db3cb491f43dc3c2f4b5fce8d8137c16c9ba7e SHA512 e77d34304a2145828aa183b1539f341c0761a84a481a0d72f3b15fda9564a7e1651ee3b255203bd270d5e5f70c5670f351d53e0bc560e94b8518cf67924a5e7a
DIST rapidfuzz-2.15.1.tar.gz 1209658 BLAKE2B 2644566c4dd9e3db2ecd2a42f4d1b7c80dd34b0ca1b2e80f2906dacf5180f702b6c7445652a3ab95fecb53d07256f35351e4e88329e2423871e26db9bc5519bb SHA512 541877af22570d9324f1d4c4f2b54fdc16ce321b28aac5d5bcd61bd915f38b7eabecafea3d65372f556e3e80be39015d674cb18714c77d8ea971fe3d2986b90d
DIST rapidfuzz-3.0.0.tar.gz 1230857 BLAKE2B b15bcca17288cc428b485b0c6e1d322027eee5c8c0261b7f0240e4f5908ff2d53e05124855213a1923d96ec7537b75263c17f220bfaf792ab92f2f455d761027 SHA512 bafdb6045baa78154026dc0eb2498eb0031f03c36e8b17a9219d6e0c55041a9b6c164f4fcc0523480903fece0ab4e2e50a8f969a52b6934fcfbad80d8eadba25

View File

@@ -1,46 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# custom wrapper over setuptools
DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics"
HOMEPAGE="
https://github.com/maxbachmann/RapidFuzz/
https://pypi.org/project/rapidfuzz/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
# all these are header-only libraries
DEPEND="
>=dev-cpp/taskflow-3.0.0
>=dev-cpp/rapidfuzz-cpp-1.10.0
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/rapidfuzz_capi[${PYTHON_USEDEP}]
>=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# sterilize build flags
sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
distutils-r1_src_prepare
export RAPIDFUZZ_BUILD_EXTENSION=1
}

View File

@@ -1,46 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# custom wrapper over setuptools
DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics"
HOMEPAGE="
https://github.com/maxbachmann/RapidFuzz/
https://pypi.org/project/rapidfuzz/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
# all these are header-only libraries
DEPEND="
>=dev-cpp/taskflow-3.0.0
>=dev-cpp/rapidfuzz-cpp-1.10.0
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/rapidfuzz_capi[${PYTHON_USEDEP}]
>=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# sterilize build flags
sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
distutils-r1_src_prepare
export RAPIDFUZZ_BUILD_EXTENSION=1
}

View File

@@ -1,46 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# custom wrapper over setuptools
DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics"
HOMEPAGE="
https://github.com/maxbachmann/RapidFuzz/
https://pypi.org/project/rapidfuzz/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
# all these are header-only libraries
DEPEND="
>=dev-cpp/taskflow-3.0.0
>=dev-cpp/rapidfuzz-cpp-1.10.0
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/rapidfuzz_capi[${PYTHON_USEDEP}]
>=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# sterilize build flags
sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
distutils-r1_src_prepare
export RAPIDFUZZ_BUILD_EXTENSION=1
}

View File

@@ -0,0 +1,72 @@
From 6a2787f5500c50162933de88d09bc20e7b0718b9 Mon Sep 17 00:00:00 2001
From: Daniel van Vugt <daniel.van.vugt@canonical.com>
Date: Fri, 3 Feb 2023 15:20:52 +0800
Subject: [PATCH 1/2] extension: Attempt Mutter 44 API if the old one fails
There is no other way to detect this nicely. The API changed in
Mutter 44 but the shell version is still advertised as 43.1 at time of
writing, and there are no new exports we can look for in the offending
mutter commit. So just try both APIs.
Fixes: https://launchpad.net/bugs/2004623
---
extension.js | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/extension.js b/extension.js
index 138ba4ca..db3f13a6 100644
--- a/extension.js
+++ b/extension.js
@@ -19,6 +19,7 @@
const GLib = imports.gi.GLib;
const Gio = imports.gi.Gio;
const Meta = imports.gi.Meta;
+const Shell = imports.gi.Shell;
const St = imports.gi.St;
const Main = imports.ui.main;
@@ -489,7 +490,14 @@ var LaunchSubprocess = class {
this.cancellable = new Gio.Cancellable();
this._launcher = new Gio.SubprocessLauncher({flags: flags | Gio.SubprocessFlags.STDOUT_PIPE | Gio.SubprocessFlags.STDERR_MERGE});
if (Meta.is_wayland_compositor()) {
- this._waylandClient = Meta.WaylandClient.new(this._launcher);
+ try {
+ this._waylandClient = Meta.WaylandClient.new(this._launcher);
+ } catch (e) {
+ let context = Shell.Global.get().context;
+ this._waylandClient = Meta.WaylandClient.new(context,
+ this._launcher);
+ }
+
if (Config.PACKAGE_VERSION == '3.38.0') {
// workaround for bug in 3.38.0
this._launcher.ref();
--
GitLab
From 5671fea5ab89e2b79b22a11cc1ca936e6fb85505 Mon Sep 17 00:00:00 2001
From: Daniel van Vugt <daniel.van.vugt@canonical.com>
Date: Fri, 3 Feb 2023 15:24:00 +0800
Subject: [PATCH 2/2] metadata: When GNOME 44 comes, we're ready.
---
metadata.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/metadata.json b/metadata.json
index ffd85e4e..32eac471 100644
--- a/metadata.json
+++ b/metadata.json
@@ -1,7 +1,7 @@
{
"description": "Adds icons to the desktop. Fork of the original Desktop Icons extension, with several enhancements .",
"name": "Desktop Icons NG (DING)",
- "shell-version": ["3.38", "40", "41", "42", "43"],
+ "shell-version": ["3.38", "40", "41", "42", "43", "44"],
"uuid": "ding@rastersoft.com",
"url": "https://gitlab.com/rastersoft/desktop-icons-ng"
}
--
GitLab

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson
MY_PN="desktop-icons-ng"
MY_P="${MY_PN}-${PV}"
COMMIT="9c2f2bc688e9c95335c64f1b3a6ad0cc2051d7b4"
DESCRIPTION="Fork from the desktop-icons project, with several enhancements like Drag'n'Drop"
HOMEPAGE="https://gitlab.com/rastersoft/desktop-icons-ng"
SRC_URI="https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
COMMON_DEPEND="dev-libs/glib:2"
RDEPEND="${COMMON_DEPEND}
app-eselect/eselect-gnome-shell-extensions
>=gnome-base/gnome-shell-3.38
>=gnome-base/nautilus-3.38
"
DEPEND="${COMMON_DEPEND}"
BDEPEND=""
S="${WORKDIR}/${MY_P}-${COMMIT}"
PATCHES=(
"${FILESDIR}/${P}-gnome44.patch"
)
pkg_preinst() {
gnome2_schemas_savelist
}
pkg_postinst() {
gnome2_schemas_update
ebegin "Updating list of installed extensions"
eselect gnome-shell-extensions update
eend $?
}
pkg_postrm() {
gnome2_schemas_update
}

View File

@@ -1,5 +1,4 @@
DIST neomutt-20220415.tar.gz 3770700 BLAKE2B 610632a8de6f407b2a33156890f33b64a7cfc80eef84cda4c5e18d1da87669c8a4cf2b4a0b269d6c338f546e83a349dc33608b9f21d1f6889efaa89d669f80e4 SHA512 8723416fe0ed325d8f0e49f6a77f2724e23e0e81c5786f15005cb05b47c0fc7f722f61a58fe0250dd5a2dac6f40b155b6bac202e6316662a1855265670affc92
DIST neomutt-20220429.tar.gz 3774374 BLAKE2B a67ae009bc24335693bb7abc2b1de5a957a4d912755f460ae205050963dc4556896a6f94971a7d113a5af8202d8a6ecff4cfff16c157725d4792eb31f5402a64 SHA512 ce151cabe9fe0c45f379dd7a71790f600faa9283c79a486c1421b5fe3b19b7f12d71dc36ec330e1b28b26ed83bf4c47b656ca823c484105ea3f80ef9166e7f0b
DIST neomutt-20230322.tar.gz 3716391 BLAKE2B c845a354a19d1f014efe9a64503b8b612fce99cc4cef5828532f7a6b035d133d4159fdcb138da1b64d3c3e1c45e0046fa65ed3a0d753df8f762d98c993060b15 SHA512 bbe88d1906db2c8633380a55f0c9a1c0e74994c653bfcd2605608f7ee15a3b761139f9996daebb8c968d83760eec5df620de8ebed72eb52e5d9765ff837a3fb3
DIST neomutt-20230407.tar.gz 3725060 BLAKE2B 4127cd17967f458db4d150a5225a6a0e6cb40d1b503910b997037aac6323c4a81141aad5d4574dbe32f92c9f039f17724209e7b308154b1c994e1bd2a7cffe08 SHA512 53604ce396fb53bf01662c7105a632e0e7a50d66f0d265193c591d7f16cbbfd276925c7ae965ccf9faf9b2070d7db48c4ee6d44b0c9552f9214647c5a7e8c46d
DIST neomutt-test-files-8629adab700a75c54e8e28bf05ad092503a98f75.tar.gz 3673 BLAKE2B 50354f19aedc5fc07d59ecb5b38fa65de16119bc0929f47014bd35dab4d3a4e5953c8b35670f3440003cf0cbccc2d0d2b3a869dc929cdc3cd60b02790270fb54 SHA512 3d4962210bc558234d818801dcaa7851a0aef011c96d91c054af535186ffda42059fc61fb148c48e1b076999fe3159b31589a69a29ed1897f8928f52fcc157d3

View File

@@ -1,171 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
if [[ ${PV} =~ 99999999$ ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/neomutt/neomutt.git"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
fi
TEST_FILES_COMMIT=8629adab700a75c54e8e28bf05ad092503a98f75
SRC_URI+=" test? ( https://github.com/${PN}/neomutt-test-files/archive/${TEST_FILES_COMMIT}.tar.gz -> neomutt-test-files-${TEST_FILES_COMMIT}.tar.gz )"
DESCRIPTION="A small but very powerful text-based mail client"
HOMEPAGE="https://neomutt.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet
lmdb lz4 nls notmuch pgp-classic qdbm sasl selinux slang smime-classic
ssl tokyocabinet test zlib zstd"
REQUIRED_USE="
autocrypt? ( gpgme )"
CDEPEND="
app-misc/mime-types
berkdb? (
|| (
sys-libs/db:6.0
sys-libs/db:5.3
sys-libs/db:4.8
)
<sys-libs/db-6.3:=
)
gdbm? ( sys-libs/gdbm:= )
kyotocabinet? ( dev-db/kyotocabinet )
lmdb? ( dev-db/lmdb:= )
nls? ( virtual/libintl )
qdbm? ( dev-db/qdbm )
tokyocabinet? ( dev-db/tokyocabinet )
gnutls? ( >=net-libs/gnutls-1.0.17:= )
gpgme? ( >=app-crypt/gpgme-1.13.1:= )
autocrypt? ( >=dev-db/sqlite-3 )
idn? ( net-dns/libidn:= )
kerberos? ( virtual/krb5 )
notmuch? ( net-mail/notmuch:= )
sasl? ( >=dev-libs/cyrus-sasl-2 )
!slang? ( sys-libs/ncurses:0= )
slang? ( sys-libs/slang )
ssl? ( >=dev-libs/openssl-1.0.2u:0= )
lz4? ( app-arch/lz4 )
zlib? ( sys-libs/zlib )
zstd? ( app-arch/zstd )
"
DEPEND="${CDEPEND}
dev-lang/tcl:=
net-mail/mailbase
doc? (
dev-libs/libxml2
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
|| (
www-client/lynx
www-client/w3m
www-client/elinks
)
)
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-mutt )
"
RESTRICT="!test? ( test )"
src_unpack() {
if [[ -n ${A} ]]; then
unpack ${A}
fi
if [[ ${PV} =~ 99999999$ ]]; then
git-r3_src_unpack
fi
}
src_configure() {
local myconf=(
"$(usex doc --full-doc --disable-doc)"
"$(use_enable nls)"
"$(use_enable notmuch)"
"$(use_enable autocrypt)"
"$(use_enable gpgme)"
"$(use_enable pgp-classic pgp)"
"$(use_enable smime-classic smime)"
# Database backends.
"$(use_enable berkdb bdb)"
"$(use_enable gdbm)"
"$(use_enable kyotocabinet)"
"$(use_enable qdbm)"
"$(use_enable tokyocabinet)"
# Header compression.
"$(use_enable lz4)"
"$(use_enable zlib)"
"$(use_enable zstd)"
"$(use_enable idn)"
"$(use_enable kerberos gss)"
"$(use_enable lmdb)"
"$(use_enable sasl)"
"--with-ui=$(usex slang slang ncurses)"
"--sysconfdir=${EPREFIX}/etc/${PN}"
"$(use_enable ssl)"
"$(use_enable gnutls)"
"$(usex test --testing --disable-testing)"
)
econf CCACHE=none CC_FOR_BUILD="$(tc-getCC)" "${myconf[@]}"
}
src_test() {
local test_dir="$(readlink --canonicalize "${S}"/../neomutt-test-files-${TEST_FILES_COMMIT})"
pushd ${test_dir} || die "Could not cd into test_dir"
NEOMUTT_TEST_DIR="${test_dir}" ./setup.sh \
|| die "Failed to run the setup.sh script"
popd || die "Could not cd back"
NEOMUTT_TEST_DIR="${test_dir}" emake test
}
src_install() {
emake DESTDIR="${D}" install
# A man-page is always handy, so fake one - here neomuttrc.5 (neomutt.1
# already exists)
if use !doc; then
sed -n \
-e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \
-e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \
-e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \
Makefile > docs/Makefile.fakedoc || die
sed -n \
-e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \
-e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \
docs/Makefile.autosetup >> docs/Makefile.fakedoc || die
emake -f docs/Makefile.fakedoc docs/neomutt.1
emake -f docs/Makefile.fakedoc docs/neomuttrc.5
doman docs/neomutt.1 docs/neomuttrc.5
fi
dodoc LICENSE* ChangeLog* README*
}
pkg_postinst() {
if use gpgme && ( use pgp-classic || use smime-classic ); then
ewarn " Note that gpgme (old gpg) includes both pgp and smime"
ewarn " support. You can probably remove pgp-classic (old crypt)"
ewarn " and smime-classic (old smime) from your USE-flags and"
ewarn " only enable gpgme."
fi
if use autocrypt && ! use idn; then
ewarn " It is highly recommended that NeoMutt be also configured"
ewarn " with idn when autocrypt is enabled."
fi
}

View File

@@ -31,11 +31,9 @@ CDEPEND="
app-misc/mime-types
berkdb? (
|| (
sys-libs/db:6.0
sys-libs/db:5.3
sys-libs/db:4.8
)
<sys-libs/db-6.3:=
)
gdbm? ( sys-libs/gdbm:= )
kyotocabinet? ( dev-db/kyotocabinet )

View File

@@ -31,11 +31,9 @@ CDEPEND="
app-misc/mime-types
berkdb? (
|| (
sys-libs/db:6.0
sys-libs/db:5.3
sys-libs/db:4.8
)
<sys-libs/db-6.3:=
)
gdbm? ( sys-libs/gdbm:= )
kyotocabinet? ( dev-db/kyotocabinet )

View File

@@ -1,3 +1,3 @@
DIST Prowlarr.develop.1.4.0.3230.linux-core-arm.tar.gz 86698401 BLAKE2B 2c19abf69b13e6c71e15c6d851152a8243c167371bb59bc780d4ca6875441e08bc4c69eb5673f5f70b1ba7b43b8b233e7339c9952088c90edf63e2b976a274df SHA512 82082dd83ad9257c30ed0651f8f41ff69b2b8a3e6879dc04e7c9fadb929136181806f268d2bcba9d1f5b1ae2e64e26b13e449a0f48015dc97768d2e80912803b
DIST Prowlarr.develop.1.4.0.3230.linux-core-arm64.tar.gz 85976212 BLAKE2B 1ca7a310b83207c174fa3916a746241857077338c80d3ed42b228b6e7b54d6f4b513ec7d0e1371c5ae8cac928b19abec1c823eeaa7a4b93b59a41e662bba6340 SHA512 5609e7b1ee7f5bb158fd7b539c1bd93f328ddbcdf6db57a688a0dd7ef6fb9f4dddd51255200d4dfc7bbd092267df8b7e1e2fba4e728dc0333ee09c5ede924df1
DIST Prowlarr.develop.1.4.0.3230.linux-core-x64.tar.gz 90958825 BLAKE2B fb21950936c539470fc0e2a5981480fe7d2ad53d990e8763cab126d4daf121dbfa29de6e799b3a8d1614df9be407309ff1ba07a3c5375b9a40393b79e6da991c SHA512 e238bb93b7a5ed517adbd78268ceef0184d6875e353e6479a6016863975d5938e35158e62717643d55168163239979ce6b6b031ad566ec6a3beda4fc5355e348
DIST Prowlarr.master.1.4.1.3258.linux-core-arm.tar.gz 86685247 BLAKE2B 292bdee87749a2700db9c9bbb6b35446cbdc659d8611e6362edd6a0a8579a32e6647faa116dead364c263961a76038f0ad306380aff17473cd39b8d5b2f0833a SHA512 73d33a648b391235132c6763c79f00de073f81cd9891dd9d5f312261e511a2b06a09cfd5845b02f11b5bcbfefaa394b6c4f3a2657c924d055dcbe7db695f63e1
DIST Prowlarr.master.1.4.1.3258.linux-core-arm64.tar.gz 85940718 BLAKE2B ff86dc85a7d86b932d38f37c82ed064e405fc55be8b1aee925897d87c02fb635f5166844b73f1c4ae10922d816cda6bfd1594308ddeea619c85879271f87ad89 SHA512 7e5395354d95221566373b56535e047c324ad40e2528bbaaea18f924ee97ac857637ab69912ca91945d8a787b40d008aba4903724a2bfaac3cf7f075dafb060b
DIST Prowlarr.master.1.4.1.3258.linux-core-x64.tar.gz 90971160 BLAKE2B 6f8c9498020fb4661a6a9a4d3f3206730ae88231e4fe005fd897aac0e611b8a50804a9730ebd4ce99823955712f34431ea0a1f5810ca7e280abe8b1f5ace2e85 SHA512 e3ce17cb28835fd2d95cdf684a278c53e254c3ffe05b02f05d8ab26dc8d154bfc8dac6cab5d75642ff822140b75b829d7c65a347638743327cd7a5b42063e066

View File

@@ -6,9 +6,9 @@ EAPI=8
inherit systemd
SRC_URI="
amd64? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.develop.${PV}.linux-core-x64.tar.gz )
arm? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.develop.${PV}.linux-core-arm.tar.gz )
arm64? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.develop.${PV}.linux-core-arm64.tar.gz )
amd64? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-x64.tar.gz )
arm? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-arm.tar.gz )
arm64? ( https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-arm64.tar.gz )
"
DESCRIPTION="An indexer manager/proxy to integrate with your various PVR apps"