Files
for-gentoo/dev-python/pyblock/pyblock-0.46.ebuild
T
Sławomir Nizio be2636186d [dev-python/pyblock] update SRC_URI and HOMEPAGE
I cannot find the original git repository, so cannot be sure that the
sources match the previous one, but there are chances this is it (non
binary files match with Entropy package; additionally, sources package
from two distinct sources match).
2017-05-03 01:24:53 +02:00

28 lines
654 B
Bash

# Copyright 2004-2017 Sabayon
# Distributed under the terms of the GNU General Public License v2
EAPI="3"
inherit base
DESCRIPTION="Python interface for working with block devices"
HOMEPAGE="https://fedoraproject.org/wiki/Fedora_Project_Wiki"
SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/python-${PN}/${P}.tar.bz2/6ee6115b6ba1da744534e499f5ee25d8/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="selinux"
DEPEND="${DEPEND}
sys-devel/gettext"
DEPEND="${DEPEND}
sys-fs/lvm2
sys-fs/dmraid
dev-python/pyparted"
src_compile() {
local use_selinux=0
use selinux && use_selinux=1
base_src_compile USESELINUX="${use_selinux}"
}