updated for version 1.6.5

This commit is contained in:
dslackw 2014-07-28 16:32:43 +03:00
parent 9a1280b443
commit 4cef810c66
16 changed files with 78 additions and 72 deletions

View file

@ -1,9 +1,10 @@
29-07-2014
28-07-2014
Version 1.6.5
[Feature] - Added slack, noarch and other in list (slpkg -l)
Added index in list (slpkg -l)
Added install packages via official Slackware mirrors
Fix messages
[Updated] - Arguments views

View file

@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: slpkg
Version: 1.6.4
Version: 1.6.5
Author: dslackw
Author-email: d zlatanidis at gmail com
Maintainer: dslackw

View file

@ -13,30 +13,32 @@
.\"
.TH Slpkg "8" "5 2014" "slpkg"
.SH NAME
slpkg - Utility to help package management in Slackware
slpkg - Utility for easy management packages in Slackware
.SH SYNOPSIS
\fBslpkg\fP \fB-h\fP \fB-v\fP \fB-a script [source ...]\fP \fB-l all, sbo [all, sbo ...]\fP
\fB-t\fP \fB-n\fP \fB-c sbo, slack [sbo, slack ...]\fP \fB-s\fP \fB-i [...]\fP \fB-u [...]\fP
\fB-o [...]\fP \fB-r [...]\fP \fB-f [...]\fP \fB-d [...]\fP
\fB-t\fP \fB-n\fP \fB-c sbo, slack [sbo, slack ...]\fP \fB-s\ slack [sbo, slack ...] fP\fB-i
[...]\fP \fB-u [...]\fP \fB-o [...]\fP \fB-r [...]\fP \fB-f [...]\fP \fB-d [...]\fP
.SH DESCRIPTION
\fBslpkg\fP is a terminal tool in order to easy use Slackware packages.
\fBslpkg\fP is a terminal multitool in order to easy use Slackware packages.
.PP
It's a quick and easy way to manage your packages in slackware to a command.
.SH EXAMPLES
\fB-h, --help show this help message and exit\fP
\fB-v, --verbose print version and exit\fP
\fB-a script [source ...]\fP
\fB auto build package\fP
\fB-l all, sbo [all, sbo ...]\fP
\fB auto build package\fP
\fB-l all, sbo [all, sbo, slack, noarch, other [all, sbo, slack, noarch, other ...]\fP
\fB list of installed packages\fP
\fB-c sbo, slack [sbo, slack ...]\fp
\fB check if your packages is up to date\fP
\fB-s sbo, slack [sbo, slack ...]\fP
\fB download, build & install packages\fP
\fB list of installed packages\fP
\fB-t tracking dependencies\fP
\fB-n find from SBo repositority\fP
\fB-c sbo, slack [sbo, slack ...]\fp
\fb check if your package is up to date\fP
\fB-s download, build & install packages from SBo\fP
\fB-n find packages from SBo repositority\fP
\fB-i [ ...] install binary packages\fP
\fB-u [ ...] install-upgrade packages with new\fP
\fB-o [ ...] reinstall the same packages\fP
\fB-u [ ...] upgrade binary packages\fP
\fB-o [ ...] reinstall binary packages\fP
\fB-r [ ...] remove packages\fP
\fB-f [ ...] find if packages installed\fP
\fB-d [ ...] display the contents of the packages\fP
@ -73,11 +75,13 @@ the network. (www.slackbuilds.org)
.PP
Check your packages from Slackware official mirrors or from
slackbuilds.org is up to date.
.SS -s , find, download, build and install package with all dependencies
\fBslpkg\fP \fB-s\fP <\fIname of package\fP>
.SS -s , sbo, slack [sbo, slack ...] find, download, build and install
package with all dependencies
\fBslpkg\fP \fB-s\fP <\fIsbo\fP> <\fIslack\fP> <\fIname of package\fP>
.PP
Find package from slackbuild.org with all dependencies,
download, build and install them.
download, build and install them. Even download and install official
packages from Slackware official mirrors and install.
.SS -i , install binary package
\fBslpkg\fP \fB-i\fP <\fIpackages.t?z\fP>
.PP
@ -166,7 +170,7 @@ $ \fBslpkg -s brasero\fP
$ \fBslpkg -c sbo flashplayer-plugin\fP
Searching `flashplayer-plugin` from slackbuilds.org ...
Searching [ flashplayer-plugin ] from slackbuilds.org ...
New version is available:
+==============================================================================
@ -181,13 +185,13 @@ $ \fBslpkg -c slack upgrade\fp
$ \fBslpkg -n termcolor\fP
Searching 'termcolor' from slackbuilds.org ...
Searching [ termcolor ] from slackbuilds.org ...
+==============================================================================
| Package termcolor --> http://slackbuilds.org/repository/14.1/python/termcolor/
+==============================================================================
| SlackBuild : http://slackbuilds.org/slackbuilds/14.1/python/termcolor.tar.gz
| Source : https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz
| SlackBuild : termcolor.tar.gz
| Source : termcolor-1.1.0.tar.gz
| Extra :
| Requirements :
+===============================================================================

View file

@ -5,7 +5,7 @@ import os
__all__ = "slpkg"
__author__ = "dslackw"
__version_info__ = (1, 6, 4)
__version_info__ = (1, 6, 5)
__version__ = "{0}.{1}.{2}".format(*__version_info__)
__license__ = "GNU General Public License v3 (GPLv3)"
__email__ = "d.zlatanidis@gmail.com"

View file

@ -6,7 +6,7 @@ import shutil
import tarfile
import subprocess
from messages import pkg_not_found
from slpkg.messages import pkg_not_found
def build_extra_pkg(script, source, extra):
'''

View file

@ -5,9 +5,9 @@ import os
import sys
import getpass
import subprocess
from colors import colors
from __metadata__ import pkg_path, uname, arch, sp
from messages import pkg_not_found, s_user, template
from slpkg.colors import colors
from slpkg.__metadata__ import pkg_path, uname, arch, sp
from slpkg.messages import pkg_not_found, s_user, template
from find import find_package

View file

@ -3,15 +3,15 @@
import os
import getpass
from pkg.build import *
from pkg.find import find_package
from pkg.manager import pkg_upgrade
from slpkg.pkg.build import *
from slpkg.pkg.find import find_package
from slpkg.pkg.manager import pkg_upgrade
from colors import colors
from functions import get_file
from messages import pkg_not_found, s_user, template
from __metadata__ import tmp, pkg_path, uname, arch, sp
from __metadata__ import sbo_arch, sbo_tag, sbo_filetype
from slpkg.colors import colors
from slpkg.functions import get_file
from slpkg.messages import pkg_not_found, s_user, template
from slpkg.__metadata__ import tmp, pkg_path, uname, arch, sp
from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
from search import sbo_search_pkg
from download import sbo_slackbuild_dwn

View file

@ -1,8 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from colors import colors
from messages import pkg_not_found, template
from slpkg.colors import colors
from slpkg.messages import pkg_not_found, template
from greps import *
from search import sbo_search_pkg

View file

@ -2,8 +2,8 @@
# -*- coding: utf-8 -*-
import os
from url_read import url_read
from __metadata__ import uname, arch
from slpkg.url_read import url_read
from slpkg.__metadata__ import uname, arch
def sbo_source_dwn(sbo_url, name):
'''

View file

@ -3,8 +3,8 @@
import os
import getpass
from messages import s_user
from url_read import url_read
from slpkg.messages import s_user
from slpkg.url_read import url_read
# create tmp directory if not exist
os.system("mkdir -p /tmp/slpkg/readme/")

View file

@ -3,11 +3,11 @@
import re
import sys
from colors import colors
from url_read import url_read
from functions import get_file
from slpkg.colors import colors
from slpkg.url_read import url_read
from slpkg.functions import get_file
from slack.slack_version import slack_ver
from slpkg.slack.slack_version import slack_ver
def sbo_search_pkg(name):
'''

View file

@ -4,15 +4,15 @@
import os
import sys
import getpass
from colors import colors
from functions import get_file
from __metadata__ import tmp, pkg_path, sp
from __metadata__ import sbo_arch, sbo_tag, sbo_filetype
from messages import s_user, pkg_found, pkg_installed, template
from slpkg.colors import colors
from slpkg.functions import get_file
from slpkg.__metadata__ import tmp, pkg_path, sp
from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
from slpkg.messages import s_user, pkg_found, pkg_installed, template
from pkg.build import *
from pkg.find import find_package
from pkg.manager import pkg_upgrade
from slpkg.pkg.build import *
from slpkg.pkg.find import find_package
from slpkg.pkg.manager import pkg_upgrade
from dependency import sbo_dependencies_links_pkg

View file

@ -1,15 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from colors import colors
from functions import get_file
from __metadata__ import tmp, pkg_path, slpkg_path, sp
from __metadata__ import sbo_arch, sbo_tag, sbo_filetype
from messages import s_user, pkg_not_found, pkg_found, view_sbo, template
import os
from slpkg.colors import colors
from slpkg.functions import get_file
from slpkg.__metadata__ import tmp, pkg_path, slpkg_path, sp
from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
from slpkg.messages import s_user, pkg_not_found, pkg_found, view_sbo, template
from pkg.build import *
from pkg.find import find_package
from pkg.manager import pkg_upgrade
from slpkg.pkg.build import *
from slpkg.pkg.find import find_package
from slpkg.pkg.manager import pkg_upgrade
from read import *
from greps import *

View file

@ -2,13 +2,13 @@
# -*- coding: utf-8 -*-
import os
from colors import colors
from url_read import url_read
from messages import pkg_not_found
from __metadata__ import slpkg_path, pkg_path
from slpkg.colors import colors
from slpkg.url_read import url_read
from slpkg.messages import pkg_not_found
from slpkg.__metadata__ import slpkg_path, pkg_path
from pkg.find import find_package
from pkg.manager import pkg_upgrade
from slpkg.pkg.find import find_package
from slpkg.pkg.manager import pkg_upgrade
from mirrors import mirrors

View file

@ -1,7 +1,7 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __metadata__ import arch
from slpkg.__metadata__ import arch
from slack_version import slack_ver
def mirrors(name, location):

View file

@ -2,12 +2,12 @@
# -*- coding: utf-8 -*-
import os
from colors import colors
from url_read import url_read
from __metadata__ import pkg_path, slpkg_path
from slpkg.colors import colors
from slpkg.url_read import url_read
from slpkg.__metadata__ import pkg_path, slpkg_path
from pkg.find import find_package
from pkg.manager import pkg_upgrade
from slpkg.pkg.find import find_package
from slpkg.pkg.manager import pkg_upgrade
from mirrors import mirrors