gentoo/dev-python/python-scsi/python-scsi-0_pre160211.ebuild
Justin Lecher b613b17523
dev-python/python-scsi: New package, ebuild written by me for Diego
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
2016-02-11 14:29:49 +01:00

27 lines
592 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils
HASH="957e5538d8d441fb792db6fbbdc0a5e8d57d9c7d"
DESCRIPTION="Access to SG_IO scsi devices"
HOMEPAGE="https://github.com/rosjat/python-scsi/"
SRC_URI="https://github.com/rosjat/python-scsi/archive/${HASH}.zip -> ${P}.zip"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
S="${WORKDIR}"/${PN}-${HASH}
pkg_postinst() {
optfeature "iSCSI support" dev-python/libiscsi-python
}