[gentoo-portage-dev] [PATCH] Allow a package to replace its own buildtime dependency

2020-11-28 Thread Zac Medico
If a package has a buildtime dependency on a previous version that it will replace, then do not treat it as a slot conflict. This solves inappropriate behavior for dev-lang/rust[system-bootstrap]. This requires adjustments to package selection logic in several locations, in order to ensure that

[gentoo-dev] Slotted Lua: eclass migration status

2020-11-28 Thread Marek Szuba
Let me begin by giving my sincere thanks to everyone who has already taken time in the last several weeks to either migrate their Lua-dependent packages to lua{,-single}.eclass or otherwise made sure said packages will not block migration to slotted dev-lang/lua. Your efforts have been VERY

Re: [gentoo-dev] PSA: switching default tmpfiles virtual provider

2020-11-28 Thread Georgy Yakovlev
On 25.11.2020 13:57, Georgy Yakovlev wrote: > Hi, > > In case you don't know, opentmpfiles has an open CVE > CVE-2017-18925: root privilege escalation by symlink attack > https://github.com/OpenRC/opentmpfiles/issues/4 > It has been an issue for quite a while, reported 3 years ago, > and not much

[gentoo-dev] Last rites: app-text/cook

2020-11-28 Thread David Seifert
# David Seifert (2020-11-28) # Last release in 2002, multiple open bugs, no maintainer, no revdeps. # Bug #709512, #713300, #729518, Removal in 30 days. app-text/cook signature.asc Description: This is a digitally signed message part

[gentoo-dev] Python 2 cleanup: remaining packages, Dec 2020 update

2020-11-28 Thread Michał Górny
Hi, Here's an update on where we're standing right now. Including only non- masked packages. Please note that there's only month left. Afterwards, the offending packages will be cleaned up / last rited (except for build-time deps). Waiting for cleanup of old (non-trivial!): -

[gentoo-dev] [PATCH 3/4] distutils-r1.eclass: Accept distutils_enable_tests --install

2020-11-28 Thread Michał Górny
Add a convenience --install option to distutils_enable_tests to call distutils_install_for_testing. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 74 +- 1 file changed, 58 insertions(+), 16 deletions(-) diff --git a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 4/4] dev-python/flake8: Use distutils_enable_tests --install

2020-11-28 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/flake8/flake8-3.8.3-r1.ebuild | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dev-python/flake8/flake8-3.8.3-r1.ebuild b/dev-python/flake8/flake8-3.8.3-r1.ebuild index 55e6d64f8d8d..1bfc0de53548 100644 ---

[gentoo-dev] Re: [gentoo-dev-announce] Last rites: app-text/cook

2020-11-28 Thread Robin H. Johnson
On Sat, Nov 28, 2020 at 09:49:21PM +0100, David Seifert wrote: > # David Seifert (2020-11-28) > # Last release in 2002, multiple open bugs, no maintainer, no revdeps. > # Bug #709512, #713300, #729518, Removal in 30 days. > app-text/cook -- Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead,

[gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Introduce install_for_testing --via-root

2020-11-28 Thread Michał Górny
Introduce a new --via-root mode for distutils_install_for_testing function. The legacy --via-home seems to no longer work for a lot of packages but before we can confirm that --via-root is good enough for every single one of them, let's have two variants to choose from. The general

[gentoo-dev] [PATCH 2/4] dev-python/hypothesis: Use dift --via-root API

2020-11-28 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/hypothesis/hypothesis-5.41.4.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-python/hypothesis/hypothesis-5.41.4.ebuild b/dev-python/hypothesis/hypothesis-5.41.4.ebuild index 30e83a217730..7cd8e4bcc527 100644 ---