mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
27 lines
595 B
Bash
27 lines
595 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
PYTHON_COMPAT=( python3_6 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A Python implementation of the actor model"
|
|
HOMEPAGE="https://www.pykka.org/en/latest/ https://github.com/jodal/pykka"
|
|
SRC_URI="mirror://pypi/P/Pykka/Pykka-${PV}.tar.gz"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
S=${WORKDIR}/Pykka-${PV}
|
|
|
|
python_test() {
|
|
nosetests -v || die
|
|
}
|