mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/intelhex: Enable tests, py3.{7,8}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -13,3 +13,13 @@ SRC_URI="mirror://pypi/I/IntelHex/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
src_prepare() {
|
||||
# upstream don't run their own tests when releasing...
|
||||
[[ ${PV} == 2.2.1 ]] || die "Revisit on bump"
|
||||
sed -i -e 's:2.2:&.1:' scripts/*.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user