void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.57k stars 2.14k forks source link

Package request: MultiBootUSB #517

Closed notramo closed 6 years ago

notramo commented 6 years ago

http://multibootusb.org/

maxice8 commented 6 years ago

wtf is this package ?

$ multibootusb
Using python version  3.6.5 (default, Apr 27 2018, 19:01:02) 
[GCC 7.3.0] on platform Linux-4.16.14_1-x86_64-with-glibc2.3.4
Traceback (most recent call last):
  File "/usr/bin/multibootusb", line 187, in <module>
    if config.debug is True:
NameError: name 'config' is not defined
maxice8 commented 6 years ago

Template for anyone that wants to do it.

# Template file for 'multibootusb'
pkgname=multibootusb
version=9.2.0
revision=1
build_style=python3-module
pycompile_module="scripts"
hostmakedepends="python3-setuptools"
depends="libparted util-linux python3-dbus python3-PyQt5 mtools"
short_desc="Create multiboot live Linux on a USB disk"
maintainer=""
license="GPL-2.0-or-later"
homepage="http://multibootusb.org/"
changelog="https://raw.githubusercontent.com/mbusb/multibootusb/master/CHANGELOG"
distfiles="https://github.com/mbusb/multibootusb/archive/v${version}.tar.gz"
checksum=1f1539e11e5ac8af2fc2379a22c2ad6b73759b2babbc165f7ff716240e922d7d
notramo commented 6 years ago

@mbusb @shinji-s could you give us some advice?

Anachron commented 6 years ago

@maxice8 I think you don't have nearly enough tools included:

MultiBootUSB depends on the following packages under Linux:

    python3-pyqt5
    p7zip-full
    parted
    util-linux
    python3-pyudev
    mtools
    python3-dbus
    python3-six
shinji-s commented 6 years ago

Off the top of my head, you'll need udisks (or udisks2) python module and lsof executable too. I suggest to remove try-except blocks protecting imports at the begging of the script while you search for missing packages.