[gentoo-dev] Last-rites: app-accessibility/simon

2020-11-21 Thread Joonas Niilola
# Abandoned upstream, unbuildable, unkeyworded in ::gentoo.
# Removal in 14 days. Bug #752456
app-accessibility/simon



OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-dev] Package up for grabs: media-radio/KochMorse

2020-11-21 Thread Ralph Seichter
I no longer use media-radio/KochMorse and have changed the package to
"maintainer needed". See https://github.com/gentoo/gentoo/pull/18321 .
There are no open Bugzilla issues for this package.

-Ralph



[gentoo-dev] Last-rites: media-video/kmplayer

2020-11-21 Thread Andreas Sturmlechner
# Andreas Sturmlechner  (2020-11-21)
# Dead upstream, depends on deprecated kde-frameworks/kmediaplayer
# Masked for removal in 30 days.
media-video/kmplayer

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] Packages up for grabs: app-benchmarks/sysbench

2020-11-21 Thread Conrad Kostecki

Hi,

Am 21.11.2020 um 18:37 schrieb Tomas Mozes:
app-benchmarks/sysbench (https://github.com/gentoo/gentoo/pull/18350 
)


I will take this one.

Conrad




[gentoo-dev] Packages up for grabs: app-benchmarks/sysbench

2020-11-21 Thread Tomas Mozes
Hello,
dropping myself as maintainer on these packages:
app-benchmarks/sysbench (https://github.com/gentoo/gentoo/pull/18350)
dev-db/percona-xtrabackup (https://github.com/gentoo/gentoo/pull/18349)

sysbench is dropping to m-n.

Tomas


[gentoo-portage-dev] [PATCH v2] find_smallest_cycle: enhance search prioritization

2020-11-21 Thread Zac Medico
Enhance the find_smallest_cycle function to prioritize its
search so that it will minimize the use of installed packages
to break cycles. When installed packages must be used to
break cycles, it will now prefer to do this for runtime
dependencies over buildtime dependencies, since it's
preferable to build against latest versions of buildtime
dependencies whenever possible. This should solve some cases
of bug 199856 which have been triggered by unsafe reliance
on installed packages to break cycles.

The included unit test case demonstrates correct merge order
for a dependency calculation involving 6 independent cycles.
This test case fails with the master branch, due to a buildtime
dependency cycle of 3 packages being merged earlier than cycles
of 2 packages. We can generalize this to say that the master
branch may use an installed package to break an arbitrarily
sized cycle in a somewhat random location, even though that
cycle may be composed of smaller independent cycles which
would be safer to break individually.

Bug: https://bugs.gentoo.org/754903
Signed-off-by: Zac Medico 
---
[PATCH v2]
* Add a unit test case which demonstrates a significant flaw
  in the master branch.
* Sort nodes in find_smallest_cycle, for deterministic results. 

 lib/_emerge/DepPriorityNormalRange.py |  2 +
 lib/_emerge/DepPrioritySatisfiedRange.py  | 52 ++-
 lib/_emerge/depgraph.py   | 43 +--
 .../tests/resolver/test_merge_order.py| 10 
 4 files changed, 66 insertions(+), 41 deletions(-)

diff --git a/lib/_emerge/DepPriorityNormalRange.py 
b/lib/_emerge/DepPriorityNormalRange.py
index 5f3f3da70..10f205a3b 100644
--- a/lib/_emerge/DepPriorityNormalRange.py
+++ b/lib/_emerge/DepPriorityNormalRange.py
@@ -14,6 +14,7 @@ class DepPriorityNormalRange:
"""
MEDIUM  = 3
MEDIUM_SOFT = 2
+   MEDIUM_POST = 2
SOFT= 1
NONE= 0
 
@@ -37,6 +38,7 @@ class DepPriorityNormalRange:
 
ignore_medium  = _ignore_runtime
ignore_medium_soft = _ignore_runtime_post
+   ignore_medium_post = _ignore_runtime_post
ignore_soft= _ignore_optional
 
 DepPriorityNormalRange.ignore_priority = (
diff --git a/lib/_emerge/DepPrioritySatisfiedRange.py 
b/lib/_emerge/DepPrioritySatisfiedRange.py
index e056e676f..df2439f1f 100644
--- a/lib/_emerge/DepPrioritySatisfiedRange.py
+++ b/lib/_emerge/DepPrioritySatisfiedRange.py
@@ -8,17 +8,18 @@ class DepPrioritySatisfiedRange:
 
not satisfied and buildtimeHARD
not satisfied and runtime  7   MEDIUM
-   not satisfied and runtime_post 6   MEDIUM_SOFT
-   satisfied and buildtime_slot_op5   SOFT
-   satisfied and buildtime4   SOFT
-   satisfied and runtime  3   SOFT
-   satisfied and runtime_post 2   SOFT
+   satisfied and buildtime_slot_op6   MEDIUM_SOFT
+   satisfied and buildtime5   MEDIUM_SOFT
+   satisfied and runtime  4   MEDIUM_SOFT
+   runtime_post   3   MEDIUM_POST
+   satisfied and runtime_post 2   MEDIUM_POST
optional   1   SOFT
(none of the above)0   NONE
"""
MEDIUM  = 7
MEDIUM_SOFT = 6
-   SOFT= 5
+   MEDIUM_POST = 3
+   SOFT= 1
NONE= 0
 
@classmethod
@@ -37,15 +38,23 @@ class DepPrioritySatisfiedRange:
return False
return bool(priority.runtime_post)
 
+   @classmethod
+   def _ignore_runtime_post(cls, priority):
+   if priority.__class__ is not DepPriority:
+   return False
+   return bool(priority.optional or priority.runtime_post)
+
@classmethod
def _ignore_satisfied_runtime(cls, priority):
if priority.__class__ is not DepPriority:
return False
if priority.optional:
return True
-   if not priority.satisfied:
+   if priority.buildtime:
return False
-   return not priority.buildtime
+   if not priority.runtime:
+   return True
+   return bool(priority.satisfied)
 
@classmethod
def _ignore_satisfied_buildtime(cls, priority):
@@ -61,37 +70,32 @@ class DepPrioritySatisfiedRange:
def _ignore_satisfied_buildtime_slot_op(cls, priority):
if priority.__class__ is not DepPriority:
return False
-   return bool(priority.optional or \
-   priority.satisfied)
-
-   @classmethod
-   def _ignore_runtime_post(cls, priority):
-   if