app-misc/python-dice: version bump 3.0.0
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
b3a73cae6a
commit
78457340df
@ -1,3 +1,8 @@
|
||||
*python-dice-3.0.0 (06 Dec 2019)
|
||||
|
||||
06 Dec 2019; <chymera@gentoo.org> +python-dice-3.0.0.ebuild:
|
||||
app-misc/python-dice: version bump 3.0.0
|
||||
|
||||
04 Dec 2019; <chymera@gentoo.org> python-dice-2.4.2.ebuild:
|
||||
app-misc/python-dice: updated dependency lists
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
DIST python-dice-2.4.2.tar.gz 18922 SHA256 f7738436cfc8976bc5e61809bfb5c6a910d892601d46042a91c314a3b6a98f29 SHA512 821171d762deecf1b5a9cd9be20207c923a0ff37f35b3de339127e69ef588c9a63ad5d4680f286c3415ad130f4e156cd1c31135285fd00153f6ee6ba55ea01da WHIRLPOOL 5295b60214d439f2215880c54eade25ac907bd240986d25907e4439578bf3aadcb0dff02ea1cb1a2ff1b2d6d3a4610d87625bb2212db6ce7ccb8042b8742d3af
|
||||
DIST python-dice-3.0.0.tar.gz 23514 SHA256 eacd7d0c044d1b0f88ec6d33625952e594c900b7ebea6329058461cdad64bcf6 SHA512 181a0fc9057052e252bac817f7e076a9367cf74537de7182d5842804498f43c0e7a69b65975bbee03c9de340fd05d712fabb5207df5c7dae1faf4717912741dd WHIRLPOOL 1b86068d02807672c1d79c4f8274f723d5ba98c40170e27140abde80802b393ba447d3fc08a9c268ed2fd6deaa45a6c9d18902abda2ba74eb869cf79b9c4d0b4
|
||||
|
41
app-misc/python-dice/python-dice-3.0.0.ebuild
Normal file
41
app-misc/python-dice/python-dice-3.0.0.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Dice parsing and evaluation library"
|
||||
HOMEPAGE="https://github.com/borntyping/python-dice"
|
||||
SRC_URI="https://github.com/borntyping/python-dice/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
#dev-python/tox[${PYTHON_USEDEP}]
|
||||
RDEPEND="
|
||||
dev-python/docopt[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-2.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use test; then
|
||||
sed -i -e "s/pytest<3.7.0/pytest/g" tox.ini
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest -vv || die
|
||||
#tox || die "tests failed under ${EPYTHON}"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user