1
0
mirror of synced 2024-11-15 01:18:56 +01:00
TheChymera-overlay/dev-python/pypubsub/pypubsub-3.4.0.ebuild
2019-03-27 04:53:38 +01:00

29 lines
639 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="A Python publish-subcribe library"
HOMEPAGE="https://github.com/schollii/pypubsub/"
SRC_URI="https://github.com/schollii/pypubsub/archive/v${PV}rc1.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="3"
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
}
S="${WORKDIR}/${PN}-${PV}rc1"