Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
f55a3bd8
Kaydet (Commit)
f55a3bd8
authored
Nis 05, 2021
tarafından
root
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
emerge loop fix
üst
41ba5a7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
emerge.py
inary/operations/emerge.py
+9
-8
No files found.
inary/operations/emerge.py
Dosyayı görüntüle @
f55a3bd8
...
...
@@ -27,7 +27,6 @@ import gettext
__trans
=
gettext
.
translation
(
'inary'
,
fallback
=
True
)
_
=
__trans
.
gettext
@util.locked
def
emerge
(
A
):
"""
...
...
@@ -55,12 +54,13 @@ def emerge(A):
need_build
=
[]
order_build
=
A
if
need_build
:
ctx
.
ui
.
info
(
_
(
"""The following list of packages will be built:"""
)
+
"
\n
"
+
util
.
strlist
(
need_build
)
+
util
.
strlist
(
order_build
))
if
ctx
.
get_option
(
'dry_run'
):
return
if
need_build
:
ctx
.
ui
.
info
(
_
(
"""The following list of packages will be built:
\n
{} {}"""
)
.
format
(
util
.
strlist
(
need_build
),
util
.
strlist
(
order_build
)))
if
len
(
need_build
)
+
len
(
order_build
)
>
len
(
A_0
):
if
not
ctx
.
ui
.
confirm
(
...
...
@@ -138,13 +138,14 @@ def plan_emerge(A):
def
find_build_dep
(
A
):
for
i
in
A
:
if
i
in
need_build
:
if
i
in
need_build
or
i
in
order_build
:
return
elif
i
in
skip_list
:
return
else
:
need_build
.
add
(
pkgtosrc
(
i
))
src
=
get_spec
(
pkgtosrc
(
i
))
.
source
pkg
=
pkgtosrc
(
i
)
need_build
.
add
(
pkg
)
src
=
get_spec
(
pkg
)
.
source
for
dep
in
src
.
buildDependencies
:
if
not
installdb
.
has_package
(
dep
.
package
):
find_build_dep
([
dep
.
package
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment