slpkg/PKG-INFO

477 lines
17 KiB
Text
Raw Normal View History

2014-05-23 07:46:51 +02:00
Metadata-Version: 1.1
Name: slpkg
2014-07-13 16:33:37 +02:00
Version: 1.5.4
2014-05-23 07:46:51 +02:00
Author: dslackw
Author-email: d zlatanidis at gmail com
Maintainer: dslackw
Maintainer-email: d zlatanidis at gmail com
2014-06-05 02:23:14 +02:00
Home-page: http://dslackw.github.io/slpkg/
2014-05-23 07:46:51 +02:00
Summary: Utility to help package management in Slackware
Description: .. image:: https://badge.fury.io/py/slpkg.png
:target: http://badge.fury.io/py/slpkg
.. image:: https://pypip.in/d/slpkg/badge.png
:target: https://pypi.python.org/pypi/slpkg
.. image:: https://pypip.in/license/slpkg/badge.png
:target: https://pypi.python.org/pypi/slpkg
2014-06-05 02:23:14 +02:00
Slpkg is a terminal tool in order to easy use Slackware packages.
2014-05-23 07:46:51 +02:00
.. image:: https://raw.githubusercontent.com/dslackw/slpkg/master/logo/slpkg.png
2014-07-13 16:33:37 +02:00
:alt: logo
2014-05-23 07:46:51 +02:00
Features
--------
2014-06-05 02:23:14 +02:00
- Download package with all dependencies,
build and install all in a command
2014-05-23 07:46:51 +02:00
- Automatic tool build and install packages
- List all installed packages
- Τracking dependencies
- Checking for updated packages
- Find and Download packages from SBo repositority
2014-06-05 02:23:14 +02:00
- View README file
- View SlackBuild file
- View Info file
- Auto Download and Build packages
2014-05-23 07:46:51 +02:00
- Install binary packages
- Install-upgrade packages with new
- Reinstall the same packages
- Remove packages
- Find installed packages
- Display the contents of the packages
2014-06-05 02:23:14 +02:00
- No dependencies
2014-05-23 07:46:51 +02:00
It's a quick and easy way to manage your packages in slackware
to a command.
[CHANGELOG] : https://github.com/dslackw/slpkg/blob/master/CHANGELOG
2014-06-05 02:23:14 +02:00
2014-05-23 07:46:51 +02:00
Installation
------------
Using slackware command:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
Download from http://slackbuilds.org
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
or
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
using sbopkg tool http://www.sbopkg.org
2014-05-23 07:46:51 +02:00
Using pip:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ pip install slpkg
uninstall:
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
$ pip uninstall slpkg
2014-05-23 07:46:51 +02:00
Command Line Tool Usage
-----------------------
.. code-block:: bash
2014-07-13 16:33:37 +02:00
usage: slpkg [-h] [-v] [-a script [source ...]] [-l all, sbo [all, sbo ...]]
[-t] [-n] [-c] [-s] [-i [...]] [-u [...]] [-o [...]]
[-r [...]] [-f [...]] [-d [...]]
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Utility to help package management in Slackware
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
optional arguments:
-h, --help show this help message and exit
-v, --verbose print version and exit
-a script [source ...]
auto build package
-l all, sbo [all, sbo ...]
list of installed packages
-t tracking dependencies
-n find from SBo repositority
-c check if your package is up to date
-s download, build & install pkg from SBo
-i [ ...] install binary packages
-u [ ...] install-upgrade packages with new
-o [ ...] reinstall the same packages
-r [ ...] remove packages
-f [ ...] find if packages installed
-d [ ...] display the contents of the packages
2014-05-23 07:46:51 +02:00
Slpkg Examples
--------------
2014-06-05 02:23:14 +02:00
Find package from slackbuilds.org download,
build and install with all dependencies :
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -s brasero
Searching `brasero` from slackbuilds.org ...
Searching `libunique` from slackbuilds.org .....
Searching `gst1-plugins-bad` from slackbuilds.org ......
Searching `gst1-plugins-base` from slackbuilds.org ........
Searching `gstreamer1` from slackbuilds.org ....
Searching `orc` from slackbuilds.org ....
2014-06-05 02:23:14 +02:00
+==============================================================================
2014-07-13 16:33:37 +02:00
| Installing new package /tmp/brasero-3.11.3-x86_64-1_SBo.tgz
2014-06-05 02:23:14 +02:00
+==============================================================================
Verifying package brasero-3.11.3-x86_64-1_SBo.tgz.
2014-07-13 16:33:37 +02:00
Installing package brasero-3.11.3-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# brasero (CD/DVD burning application)
#
# Brasero is a application to burn CD/DVD for the Gnome Desktop. It is
# designed to be as simple as possible and has some unique features to
# enable users to create their discs easily and quickly.
#
# Homepage: http://projects.gnome.org/brasero
#
Executing install script for brasero-3.11.3-x86_64-1_SBo.tgz.
Package brasero-3.11.3-x86_64-1_SBo.tgz installed.
The package `orc` was installed
2014-06-05 02:23:14 +02:00
The package `gstreamer1` was installed
The package `gst1-plugins-base` was installed
The package `gst1-plugins-bad` was installed
The package `libunique` was installed
The package `brasero` was installed
2014-05-23 07:46:51 +02:00
2014-06-05 02:23:14 +02:00
Tracking all dependencies of packages:
2014-05-23 07:46:51 +02:00
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -t brasero
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
+=========================
| brasero dependencies :
+=========================
|
|
-- 1 orc
|
-- 1 gstreamer1
|
-- 1 gst1-plugins-base
|
-- 2 libunique gst1-plugins-bad
2014-05-23 07:46:51 +02:00
Check if your packages is up to date (www.slackbuilds.org):
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -c flashplayer-plugin
Searching `flashplayer-plugin` from slackbuilds.org ...
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
New version is available !!!
+==================================================
| flashplayer-plugin 11.2.202.356
+==================================================
Would you like to install ? [Y/y]
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
$ slpkg -c ranger
Searching `ranger` from slackbuilds.org ...
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Your package is up to date
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
$ slpkg -c termcolor
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
The package `termcolor` not found on your system
2014-05-23 07:46:51 +02:00
Find slackbuild from network (www.slackbuilds.org):
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -n bitfighter
Searching `bitfighter` from slackbuilds.org ...
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
2014-06-05 02:23:14 +02:00
+=======================================================================================
2014-07-13 16:33:37 +02:00
| The `bitfighter` found in -->
2014-06-05 02:23:14 +02:00
http://slackbuilds.org/repository/14.1/games/bitfighter/
2014-07-13 16:33:37 +02:00
2014-06-05 02:23:14 +02:00
+=======================================================================================
2014-07-13 16:33:37 +02:00
| Download SlackBuild :
2014-06-05 02:23:14 +02:00
http://slackbuilds.org/slackbuilds/14.1/games/bitfighter.tar.gz
2014-07-13 16:33:37 +02:00
| Source Downloads : http://bitfighter.org/files/bitfighter-019c.tar.gz
| Extra Downloads :
2014-06-05 02:23:14 +02:00
https://bitfighter.googlecode.com/files/classic_level_pack.zip
2014-07-13 16:33:37 +02:00
| Package requirements : OpenAL SDL2 speex libmodplug
2014-06-05 02:23:14 +02:00
+=======================================================================================
README View the README file
2014-07-13 16:33:37 +02:00
SlackBuild View the SlackBuild file
Info View the Info file
2014-06-05 02:23:14 +02:00
Download Download this package
2014-07-13 16:33:37 +02:00
Build Download and build this package
Install Download/Build/Install
2014-06-05 02:23:14 +02:00
_
2014-05-23 07:46:51 +02:00
Auto build tool to build package:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
must be in the same directory.
$ slpkg -a termcolor.tar.gz termcolor-1.1.0.tar.gz
termcolor/
termcolor/slack-desc
termcolor/termcolor.info
termcolor/README
termcolor/termcolor.SlackBuild
termcolor-1.1.0/
termcolor-1.1.0/CHANGES.rst
termcolor-1.1.0/COPYING.txt
termcolor-1.1.0/README.rst
termcolor-1.1.0/setup.py
termcolor-1.1.0/termcolor.py
termcolor-1.1.0/PKG-INFO
running install
running build
running build_py
creating build
creating build/lib
copying termcolor.py -> build/lib
running install_lib
creating /tmp/SBo/package-termcolor/usr
creating /tmp/SBo/package-termcolor/usr/lib64
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
copying build/lib/termcolor.py ->
2014-06-05 02:23:14 +02:00
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
2014-07-13 16:33:37 +02:00
byte-compiling
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py to
termcolor.pyc
running install_egg_info
Writing
2014-06-05 02:23:14 +02:00
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Slackware package maker, version 3.14159.
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Searching for symbolic links:
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Creating Slackware package: /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Use `slpkg -u` to install - upgrade this package
2014-05-23 07:46:51 +02:00
Upgrade install package:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -u /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
2014-06-05 02:23:14 +02:00
+==============================================================================
2014-07-13 16:33:37 +02:00
| Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
2014-06-05 02:23:14 +02:00
+==============================================================================
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
Verifying package termcolor-1.1.0-x86_64-1_SBo.tgz.
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# termcolor (ANSII Color formatting for output in terminal)
#
# termcolor allows you to format your output in terminal.
#
# Project URL: https://pypi.python.org/pypi/termcolor
#
Package termcolor-1.1.0-x86_64-1_SBo.tgz installed.
2014-05-23 07:46:51 +02:00
Of course you can install mass-packages:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -u *.t?z
or
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
$ slpkg -i *.t?z
2014-05-23 07:46:51 +02:00
Find if your packages installed:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -f termcolor lua yetris you-get rar pip
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
found --> termcolor-1.1.0-x86_64-1_SBo
The package `lua` not found
found --> yetris-2.0.1-x86_64-1_SBo
The package `you-get` not found
found --> rar-5.0.1-x86_64-1_SBo
found --> pip-1.5.4-x86_64-1_SBo
2014-05-23 07:46:51 +02:00
Display the contents of the package:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -d termcolor lua
PACKAGE NAME: termcolor-1.1.0-x86_64-1_SBo
COMPRESSED PACKAGE SIZE: 8.0K
UNCOMPRESSED PACKAGE SIZE: 60K
PACKAGE LOCATION: ./termcolor-1.1.0-x86_64-1_SBo.tgz
PACKAGE DESCRIPTION:
termcolor: termcolor (ANSII Color formatting for output in terminal)
termcolor:
termcolor: termcolor allows you to format your output in terminal.
termcolor:
termcolor:
termcolor: Project URL: https://pypi.python.org/pypi/termcolor
termcolor:
termcolor:
termcolor:
termcolor:
FILE LIST:
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/lib64/python3.3/
usr/lib64/python3.3/site-packages/
usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
usr/lib64/python3.3/site-packages/__pycache__/
usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
usr/lib64/python3.3/site-packages/termcolor.py
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
The package `lua` not found
2014-05-23 07:46:51 +02:00
Remove package:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ slpkg -r termcolor
!!! WARNING !!!
Are you sure to remove this package(s) [y/n] y
Package: termcolor-1.1.0-x86_64-1_SBo
Removing...
Removing package /var/log/packages/termcolor-1.1.0-x86_64-1_SBo...
Removing files:
--> Deleting /usr/doc/termcolor-1.1.0/CHANGES.rst
--> Deleting /usr/doc/termcolor-1.1.0/COPYING.txt
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
--> Deleting /usr/doc/termcolor-1.1.0/README.rst
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
--> Deleting
2014-06-05 02:23:14 +02:00
/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
2014-07-13 16:33:37 +02:00
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
--> Deleting
2014-06-05 02:23:14 +02:00
/usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
2014-07-13 16:33:37 +02:00
--> Deleting
2014-06-05 02:23:14 +02:00
/usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
2014-07-13 16:33:37 +02:00
--> Deleting /usr/lib64/python3.3/site-packages/termcolor.py
--> Deleting empty directory
2014-06-05 02:23:14 +02:00
/usr/lib64/python3.3/site-packages/__pycache__/
2014-07-13 16:33:37 +02:00
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new
2014-06-05 02:23:14 +02:00
files
2014-07-13 16:33:37 +02:00
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
2014-06-05 02:23:14 +02:00
2014-07-13 16:33:37 +02:00
The package `termcolor` removed
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
$ slpkg -f termcolor lua rar
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
The package `termcolor` not found
The package `lua` not found
found --> rar-5.0.1-x86_64-1_SBo
2014-05-23 07:46:51 +02:00
2014-07-13 16:33:37 +02:00
$ slpkg -v
Version: x.x.x
Licence: GNU General Public License v3 (GPLv3)
Email: d.zlatanidis@gmail.com
2014-05-23 07:46:51 +02:00
Man page it is available for full support:
.. code-block:: bash
2014-07-13 16:33:37 +02:00
$ man slpkg
2014-05-23 07:46:51 +02:00
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
2014-06-05 02:23:14 +02:00
Classifier: Operating System :: POSIX
2014-05-23 07:46:51 +02:00
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
2014-06-05 02:23:14 +02:00
Classifier: Programming Language :: Python
2014-05-23 07:46:51 +02:00
Classifier: Programming Language :: Python :: 2.7
2014-06-05 02:23:14 +02:00
Classifier: Programming Language :: Unix Shell
Classifier: Topic :: System :: Installation/Setup
2014-05-23 07:46:51 +02:00
Classifier: Topic :: Utilities
2014-06-05 02:23:14 +02:00