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
b560a843
Kaydet (Commit)
b560a843
authored
Nis 27, 2011
tarafından
Mehmet Emre Atasever
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
revert <ExcludeArch> regex support, add armv7l to the <ExcludeArch> values
üst
f291d21f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
pisi-spec.rng
pisi-spec.rng
+2
-2
build.py
pisi/operations/build.py
+4
-8
No files found.
pisi-spec.rng
Dosyayı görüntüle @
b560a843
...
...
@@ -175,9 +175,9 @@
<define
name=
"ExcludeArch"
>
<element
name=
"ExcludeArch"
>
<choice>
<value>
i
[3-6]
86
</value>
<value>
i
6
86
</value>
<value>
x86_64
</value>
<value>
arm
.*
</value>
<value>
arm
v7l
</value>
</choice>
</element>
</define>
...
...
pisi/operations/build.py
Dosyayı görüntüle @
b560a843
...
...
@@ -311,15 +311,11 @@ class Builder:
def
build
(
self
):
"""Build the package in one shot."""
# excludeArch should accept regex.
# eg. <exludeArch>arm.*</exludeArch> armv7l, armv5te matches
# <exludeArch>i[3-6]86</exludeArch> i386, i486, i586, i686 matches
architecture
=
ctx
.
config
.
values
.
general
.
architecture
for
arch
in
self
.
spec
.
source
.
excludeArch
:
if
re
.
match
(
arch
,
architecture
):
raise
ExcludedArchitectureException
(
_
(
"pspec.xml avoids this package from building for '
%
s'"
)
%
architecture
)
if
architecture
in
self
.
spec
.
source
.
excludeArch
:
raise
ExcludedArchitectureException
(
_
(
"pspec.xml avoids this package from building for '
%
s'"
)
%
architecture
)
ctx
.
ui
.
status
(
_
(
"Building source package:
%
s"
)
%
self
.
spec
.
source
.
name
)
...
...
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