pentoo-overlay/sys-fs/ubi_reader/ubi_reader-9999.ebuild
2020-02-12 11:56:20 +03:00

27 lines
664 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Reading information and extracting data from UBIFS images"
HOMEPAGE="https://github.com/jrspruitt/ubi_reader"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jrspruitt/ubi_reader"
else
MY_PV="${PV}-master"
SRC_URI="https://github.com/jrspruitt/ubi_reader/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"/${PN}-${MY_PV}
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="${PYTHON_DEPS}
dev-python/python-lzo[${PYTHON_USEDEP}]"