b70e0e858a
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Horea Christian <horea.christ@yandex.com>
29 lines
625 B
Bash
29 lines
625 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A Python publish-subcribe library"
|
|
HOMEPAGE="https://github.com/pauldmccarthy/indexed_gzip"
|
|
SRC_URI="
|
|
https://github.com/schollii/pypubsub/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="4"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
|
|
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
|
RDEPEND="virtual/python-pathlib[${PYTHON_USEDEP}]"
|
|
|
|
python_test() {
|
|
distutils_install_for_testing
|
|
cd "tests/suite" || die
|
|
pytest -vv || die
|
|
}
|