mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-01 07:57:26 +01:00
Added rlworkman.deps dependencies configuration file
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
91c17c0e2c
commit
a2d1a99f06
6 changed files with 14 additions and 12 deletions
|
@ -12,7 +12,7 @@ should work on it as well.
|
|||
|
||||
Rworkman's (rlw) repository use dependencies where displayed in central site
|
||||
'http://rlworkman.net/pkgs/' and only those. Unfortunately there is no fixed reference
|
||||
dependencies file PACKAGES.TXT.
|
||||
dependencies file PACKAGES.TXT. You can make changes in /etc/slpkg/rlworkman.deps file.
|
||||
|
||||
Slackers.it (slackr) repository must be used only from Slackware64 current users
|
||||
and has no reference dependencies.
|
||||
|
|
|
@ -403,6 +403,9 @@ For example:
|
|||
/etc/slpkg/custom-repositories
|
||||
List of custom repositories
|
||||
|
||||
/etc/slpkg/rlworkman.deps
|
||||
Rworkman's repository dependencies
|
||||
|
||||
/var/log/slpkg
|
||||
ChangeLog.txt repositories files
|
||||
SlackBuilds logs and dependencies files
|
||||
|
|
3
setup.py
3
setup.py
|
@ -125,7 +125,8 @@ if "install" in sys.argv:
|
|||
"conf/blacklist",
|
||||
"conf/slackware-mirrors",
|
||||
"conf/default-repositories",
|
||||
"conf/custom-repositories"
|
||||
"conf/custom-repositories",
|
||||
"conf/rlworkman.deps"
|
||||
]
|
||||
if not os.path.exists(_meta_.conf_path):
|
||||
os.makedirs(_meta_.conf_path)
|
||||
|
|
|
@ -9,7 +9,7 @@ config() {
|
|||
}
|
||||
|
||||
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors default-repositories \
|
||||
custom-repositories"
|
||||
custom-repositories rlworkman.deps"
|
||||
for file in $CONFIGS; do
|
||||
config etc/slpkg/${file}.new
|
||||
done
|
||||
|
|
|
@ -88,7 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
mkdir -p $PKG/etc/slpkg
|
||||
# install configurations files
|
||||
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors default-repositories \
|
||||
custom-repositories"
|
||||
custom-repositories rlworkman.deps"
|
||||
for file in $CONFIGS; do
|
||||
install -D -m0644 conf/$file $PKG/etc/slpkg/${file}.new
|
||||
done
|
||||
|
|
|
@ -154,14 +154,12 @@ class Requires(object):
|
|||
"""Grap package requirements from repositories
|
||||
"""
|
||||
if self.repo == "rlw":
|
||||
# Robby"s repository dependencies as shown in the central page
|
||||
# http://rlworkman.net/pkgs/
|
||||
dependencies = {
|
||||
"abiword": "wv",
|
||||
"claws-mail": "libetpan",
|
||||
"inkscape": "lxml numpy BeautifulSoup",
|
||||
"xfburn": "libburn libisofs"
|
||||
}
|
||||
dependencies = {}
|
||||
rlw_deps = Utils().read_file(_meta_.conf_path + "rlworkman.deps")
|
||||
for line in rlw_deps.splitlines():
|
||||
if line and not line.startswith("#"):
|
||||
pkgs = line.split(":")
|
||||
dependencies[pkgs[0]] = pkgs[1]
|
||||
if self.name in dependencies.keys():
|
||||
return dependencies[self.name].split()
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue