distribution
This commit is contained in:
parent
74e9b15378
commit
c09a71b322
3 changed files with 4 additions and 4 deletions
1
msys.py
1
msys.py
|
@ -2,5 +2,6 @@ ARCHIVE = '.tar.xz'
|
||||||
ARCHITECTURES = ['x86_64', 'i686']
|
ARCHITECTURES = ['x86_64', 'i686']
|
||||||
CATALOG = '.files'
|
CATALOG = '.files'
|
||||||
CHARSET = 'u8'
|
CHARSET = 'u8'
|
||||||
|
DISTRIBUTION = 'distrib'
|
||||||
SIGNATURE = '.sig'
|
SIGNATURE = '.sig'
|
||||||
SUBSYSTEMS = ['msys', 'clang', 'mingw', 'ucrt']
|
SUBSYSTEMS = ['msys', 'clang', 'mingw', 'ucrt']
|
||||||
|
|
|
@ -15,7 +15,6 @@ ARCHITECTURES_SUBSYSTEMS = {
|
||||||
'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'],
|
'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'],
|
||||||
'i686': ['msys', 'clang32', 'mingw32'],
|
'i686': ['msys', 'clang32', 'mingw32'],
|
||||||
}
|
}
|
||||||
DISTRIBUTION = 'distrib'
|
|
||||||
MINGW = 'mingw'
|
MINGW = 'mingw'
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +29,8 @@ class Remote:
|
||||||
a = {}
|
a = {}
|
||||||
c = {}
|
c = {}
|
||||||
for architecture in self.architectures:
|
for architecture in self.architectures:
|
||||||
location = os.path.join(self.location, DISTRIBUTION, architecture)
|
location = os.path.join(self.location,
|
||||||
|
msys.DISTRIBUTION, architecture)
|
||||||
a[architecture] = hypertext.HyperText(location).archive
|
a[architecture] = hypertext.HyperText(location).archive
|
||||||
#
|
#
|
||||||
c[architecture] = {}
|
c[architecture] = {}
|
||||||
|
|
|
@ -3,7 +3,6 @@ import datetime
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import msys
|
import msys
|
||||||
import remote
|
|
||||||
|
|
||||||
|
|
||||||
class Repository:
|
class Repository:
|
||||||
|
@ -14,7 +13,7 @@ class Repository:
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
distribution = os.path.join(
|
distribution = os.path.join(
|
||||||
self.directory, remote.DISTRIBUTION)
|
self.directory, msys.DISTRIBUTION)
|
||||||
d = {}
|
d = {}
|
||||||
_, architectures, _ = next(os.walk(distribution))
|
_, architectures, _ = next(os.walk(distribution))
|
||||||
for architecture in [a for a in architectures
|
for architecture in [a for a in architectures
|
||||||
|
|
Loading…
Reference in a new issue