mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Removed ktown repository
This commit is contained in:
parent
fd6380dfc2
commit
1171f0e78d
12 changed files with 14 additions and 93 deletions
17
EXAMPLES.md
17
EXAMPLES.md
|
@ -23,7 +23,6 @@ Update repository [sbo] ... Done
|
|||
Update repository [alien] ... Done
|
||||
Update repository [conrad] ... Done
|
||||
Update repository [slonly] ... Done
|
||||
Update repository [ktown] ... Done
|
||||
Update repository [salix] ... Done
|
||||
Update repository [slackl] ... Done
|
||||
Update repository [multi] ... Done
|
||||
|
@ -91,7 +90,6 @@ $ slpkg repo-list
|
|||
| Repo id Repo URL Default Status
|
||||
+==============================================================================
|
||||
alien http://www.slackware.com/~alien/slackbuilds/ yes disabled
|
||||
ktown http://alien.slackbook.org/ktown/ yes disabled
|
||||
msb http://slackware.org.uk/msb/ yes enabled
|
||||
multi http://www.slackware.com/~alien/multilib/ yes disabled
|
||||
ponce http://ponce.cc/slackware/slackware64-14.2/packa~ no enabled
|
||||
|
@ -104,7 +102,7 @@ $ slpkg repo-list
|
|||
|
||||
Repositories summary
|
||||
===============================================================================
|
||||
3/11 enabled default repositories and 1 custom.
|
||||
3/10 enabled default repositories and 1 custom.
|
||||
For enable or disable default repositories edit '/etc/slpkg/repositories.conf'
|
||||
file.
|
||||
|
||||
|
@ -520,13 +518,12 @@ Would you like to continue [y/N]?
|
|||
Upgrade only distribution:
|
||||
|
||||
```
|
||||
$ slpkg -c slack --upgrade --skip="multi:*multilib*,ktown:*" // This upgrade
|
||||
Checking... Done // distribution
|
||||
// and skip all
|
||||
Slackware64 'stable' v14.2 distribution is up to date // packages from
|
||||
// ktown repository
|
||||
// and multilib
|
||||
// from multi.
|
||||
$ slpkg -c slack --upgrade
|
||||
Checking... Done
|
||||
|
||||
Slackware64 'stable' v14.2 distribution is up to date
|
||||
|
||||
|
||||
```
|
||||
|
||||
Skip packages when upgrading:
|
||||
|
|
|
@ -25,11 +25,10 @@ MSB (msb) repository has one ChangeLog.txt file for three sub-repositories {1.14
|
|||
|
||||
Slonly repository don't support -current for x86 arch.
|
||||
|
||||
Alien's ktown (ktown), Alien's multilib (multi), csb and Alien's restricted repository
|
||||
has no reference dependencies.
|
||||
Alien's multilib (multi), csb and Alien's restricted repository has no reference dependencie.
|
||||
|
||||
IMPORTANT: For Alien's (Eric Hameleers) repositories (alien, multi and ktown) should run
|
||||
'`slpkg upgrade`' instant '`slpkg update`', if you want to spend from -stable in -current or
|
||||
IMPORTANT: For Alien's (Eric Hameleers) repositories (alien and multi) should run
|
||||
'`slpkg upgrade`' instant '`slpkg update`', if you want to pass from -stable in -current or
|
||||
not, because there is no different file '`ChangeLog.txt`' for each version.
|
||||
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
# repository.
|
||||
#
|
||||
# Default repositories names:
|
||||
# sbo, slack, alien, conrad, slonly, ktown, multi, salix, slackl, msb,
|
||||
# sbo, slack, alien, conrad, slonly, multi, salix, slackl, msb,
|
||||
# csb, connos
|
||||
# NOTE: Slackware repository (slack) served from file slackware-mirros
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -39,7 +39,6 @@
|
|||
alien http://bear.alienbase.nl/mirrors/people/alien/sbrepos/
|
||||
conrad http://slack.conraid.net/repository/slackware64-current/
|
||||
slonly https://slackonly.com/pub/packages/
|
||||
ktown http://alien.slackbook.org/ktown/
|
||||
multi http://bear.alienbase.nl/mirrors/people/alien/multilib/
|
||||
salix http://download.salixos.org/
|
||||
slackl http://www.slackel.gr/repo/
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#
|
||||
# ----------------------------------------------------------------------------
|
||||
# conrad (Conraid's) repository must used from Slackware64 current.
|
||||
# ktown (Alien"s ktown: 4.14.3 and latest) repository. Default ktown{latest}.
|
||||
# msb (Mate: 1.14, 1.16, 1,18, latest) repository. Default msb{1.18}
|
||||
#
|
||||
# Slackware ARM users will must use only two repositories at the moment slack and sbo.
|
||||
|
@ -43,7 +42,6 @@ sbo
|
|||
# alien
|
||||
# conrad
|
||||
# slonly
|
||||
# ktown{latest}
|
||||
# multi
|
||||
# salix
|
||||
# slackl
|
||||
|
|
|
@ -326,7 +326,6 @@ For example:
|
|||
Alien's = "alien"
|
||||
Conraid's = "conrad"
|
||||
slackonly.com = "slonly"
|
||||
Alien's ktown = "ktown{latest}"
|
||||
Alien's multilib = "multi"
|
||||
SalixOS = "salix"
|
||||
Slackel.gr = "slackel"
|
||||
|
|
|
@ -594,7 +594,6 @@ SlackBuilds.org = "sbo" <br>
|
|||
Alien’s = "alien" <br>
|
||||
Conraid’s = "conrad" <br>
|
||||
slackonly.com = "slonly" <br>
|
||||
Alien’s ktown = "ktown{latest}" <br>
|
||||
Alien’s multilib = "multi" <br>
|
||||
SalixOS = "salix" <br>
|
||||
Slackel.gr = "slackel" <br>
|
||||
|
|
|
@ -99,8 +99,7 @@ class MetaData:
|
|||
"RELEASE": STABLE,
|
||||
"SLACKWARE_VERSION": "off",
|
||||
"COMP_ARCH": "off",
|
||||
"REPOSITORIES": ["slack", "sbo", "alien",
|
||||
"conrad", "slonly", "ktown{latest}",
|
||||
"REPOSITORIES": ["slack", "sbo", "alien", "conrad", "slonly",
|
||||
"multi", "salix", "slackl", "msb{1.18}",
|
||||
"csb", "connos"],
|
||||
"BUILD_PATH": "/tmp/slpkg/build/",
|
||||
|
@ -129,7 +128,7 @@ class MetaData:
|
|||
}
|
||||
|
||||
default_repositories = ["slack", "sbo", "alien", "conrad",
|
||||
"slonly", "ktown", "multi", "salix",
|
||||
"slonly", "multi", "salix",
|
||||
"slackl", "msb", "csb", "connos"]
|
||||
|
||||
# reads values from the configuration file
|
||||
|
@ -185,7 +184,6 @@ class MetaData:
|
|||
slack_rel = select_slack_release(slack_rel)
|
||||
|
||||
# Grabs sub repositories
|
||||
ktown_kde_repo = grab_sub_repo(repositories, "ktown")
|
||||
msb_sub_repo = grab_sub_repo(repositories, "msb")
|
||||
|
||||
# removes no default repositories
|
||||
|
|
|
@ -64,13 +64,6 @@ def repo_data(PACKAGES_TXT, repo, flag):
|
|||
runsize
|
||||
) = alien_filter(name, location, size, unsize)
|
||||
|
||||
elif repo == "ktown":
|
||||
(rname,
|
||||
rlocation,
|
||||
rsize,
|
||||
runsize
|
||||
) = ktown_filter(name, location, size, unsize)
|
||||
|
||||
else:
|
||||
rname, rlocation, rsize, runsize = name, location, size, unsize
|
||||
|
||||
|
@ -121,33 +114,6 @@ def alien_filter(name, location, size, unsize):
|
|||
return [fname, flocation, fsize, funsize]
|
||||
|
||||
|
||||
def ktown_filter(name, location, size, unsize):
|
||||
"""Filter Alien"s ktown repository data
|
||||
"""
|
||||
ver = slack_ver()
|
||||
|
||||
if _meta_.slack_rel == "current":
|
||||
ver = "current"
|
||||
|
||||
path_pkg = "x86"
|
||||
|
||||
if _meta_.arch == "x86_64":
|
||||
path_pkg = _meta_.arch
|
||||
|
||||
(fname, flocation, fsize, funsize) = ([] for i in range(4))
|
||||
|
||||
for n, l, s, u in zip(name, location, size, unsize):
|
||||
|
||||
if (path_pkg in l and _meta_.ktown_kde_repo[1:-1] in l and
|
||||
l.startswith(ver)):
|
||||
fname.append(n)
|
||||
flocation.append(l)
|
||||
fsize.append(s)
|
||||
funsize.append(u)
|
||||
|
||||
return [fname, flocation, fsize, funsize]
|
||||
|
||||
|
||||
class Requires:
|
||||
|
||||
def __init__(self, name, repo):
|
||||
|
|
|
@ -87,9 +87,6 @@ class RepoInit(Utils):
|
|||
|
||||
self.mirror = f"{self.def_repo_dict['slonly']}{arch}/"
|
||||
|
||||
def _init_ktown(self):
|
||||
self.mirror = self.def_repo_dict["ktown"]
|
||||
|
||||
def _init_multi(self):
|
||||
ver = slack_ver()
|
||||
if self.meta.slack_rel == "current":
|
||||
|
|
|
@ -49,7 +49,6 @@ class Updates:
|
|||
"alien": self._init.alien,
|
||||
"conrad": self._init.conrad,
|
||||
"slonly": self._init.slonly,
|
||||
"ktown": self._init.ktown,
|
||||
"multi": self._init.multi,
|
||||
"salix": self._init.salix,
|
||||
"slackl": self._init.slackl,
|
||||
|
|
|
@ -302,36 +302,6 @@ class Init(Utils):
|
|||
self.remote(log, ChangeLog_txt, lib, PACKAGES_TXT, CHECKSUMS_MD5,
|
||||
FILELIST_TXT, repo_name)
|
||||
|
||||
def ktown(self):
|
||||
"""Creating alien ktown local library
|
||||
"""
|
||||
repo = self.def_repos_dict["ktown"]
|
||||
log = self.log_path + "ktown/"
|
||||
lib = self.lib_path + "ktown_repo/"
|
||||
repo_name = Init.ktown.__name__
|
||||
|
||||
lib_file = "PACKAGES.TXT"
|
||||
# lst_file = ""
|
||||
md5_file = "CHECKSUMS.md5"
|
||||
log_file = "ChangeLog.txt"
|
||||
|
||||
self.make_dir([log, lib])
|
||||
|
||||
PACKAGES_TXT = f"{repo}{lib_file}"
|
||||
FILELIST_TXT = ""
|
||||
CHECKSUMS_MD5 = f"{repo}{md5_file}"
|
||||
ChangeLog_txt = f"{repo}{log_file}"
|
||||
|
||||
if self.check:
|
||||
return self.checks_logs(log, ChangeLog_txt)
|
||||
|
||||
self.down(lib, PACKAGES_TXT, repo_name)
|
||||
self.down(lib, CHECKSUMS_MD5, repo_name)
|
||||
self.down(log, ChangeLog_txt, repo_name)
|
||||
|
||||
self.remote(log, ChangeLog_txt, lib, PACKAGES_TXT, CHECKSUMS_MD5,
|
||||
FILELIST_TXT, repo_name)
|
||||
|
||||
def multi(self):
|
||||
"""Creating alien multilib local library
|
||||
"""
|
||||
|
|
|
@ -633,7 +633,7 @@ class PackageManager(Utils):
|
|||
if line.startswith("PACKAGE SIZE (compressed): "):
|
||||
pkg_size.append(line[26:].strip())
|
||||
|
||||
if repo == "alien" or repo == "ktown":
|
||||
if repo == "alien":
|
||||
return alien_filter(pkg_list, pkg_size)
|
||||
|
||||
return pkg_list, pkg_size
|
||||
|
|
Loading…
Reference in a new issue