ubi_reader: 0.6.3 drop py2

This commit is contained in:
Yury Martynov 2020-02-12 11:56:20 +03:00
parent 38dd91aa80
commit 6efffeb267
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E

View file

@ -1,19 +1,18 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_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"
SRC_URI=""
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jrspruitt/ubi_reader"
KEYWORDS=""
else
MY_PV="${PV}-master"
SRC_URI="https://github.com/jrspruitt/ubi_reader/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
@ -22,7 +21,6 @@ else
fi
LICENSE="GPL-3"
RESTRICT="mirror"
SLOT="0"
RDEPEND="${PYTHON_DEPS}