app-misc/python-dice - 4.0.0 (chymeric)

Search

Install

Install this version:

emerge -a =app-misc/python-dice-4.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/python-dice-4.0.0

Or alternatively:

emerge --autounmask-write -a =app-misc/python-dice-4.0.0

Package Information

Description:
Dice parsing and evaluation library
Homepage:
https://github.com/borntyping/python-dice
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
4.0.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )

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/pytest[${PYTHON_USEDEP}]
	)
"
RDEPEND="
	dev-python/docopt[${PYTHON_USEDEP}]
	>=dev-python/pyparsing-2.4.1[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/python-dice | euse -E <flag> -p app-misc/python-dice | euse -D <flag> -p app-misc/python-dice

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

test? (
	dev-python/pytest[]
	)

RDEPEND

	dev-python/docopt[]
	>=dev-python/pyparsing-2.4.1[]

Manifest for 4.0.0

Type File Size Source URLs
DIST python-dice-4.0.0.tar.gz 18251 bytes https://github.com/borntyping/python-dice/archive/v4.0.0.tar.gz