Skip to content

LuzProject/pypkg-deb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypkg-deb

Made with blood, sweat and tears Contributors Commits

A semi-port of `dpkg-deb` in pure Python.

Features

  1. Building .deb files
  2. Extracting .deb files
  3. Listing contents of .deb files

pypkg-deb -h output

usage: pypkg-deb [-h] [-b] [-x] [-c] [-v] [-Z Z] [-z Z] path

positional arguments:
path            path to operate on

options:
-h, --help      show this help message and exit
-b, --build     build a .deb file from a directory
-x, --extract   extracts the deb file
-c, --contents  list the contents of the deb file
-v, --version   show current version and exit
-Z Z            specify a compression algorithm (gzip, xz, bzip). ignored unless using "-b"
-z Z            specify a compression level (1-9); defaults to 9. ignored unless using "-b"

TODO

  1. -I command (list info of package from Control file)
  2. -f command (get specific field from Control file)

About

A semi-port of dpkg-deb in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages