1
0
mirror of synced 2024-11-15 09:28:56 +01:00
TheChymera-overlay/dev-python/pypubsub/pypubsub-3.4.0.ebuild

27 lines
613 B
Bash
Raw Normal View History

# Copyright 1999-2019 Gentoo Authors
2018-10-06 05:15:55 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
2018-10-06 05:15:55 +02:00
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"
2018-10-06 05:15:55 +02:00
LICENSE="BSD"
SLOT="3"
2018-10-06 05:15:55 +02:00
KEYWORDS="~amd64 ~x86"
IUSE="test"
2019-03-04 19:42:30 +01:00
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
RDEPEND="virtual/python-pathlib[${PYTHON_USEDEP}]"
2018-10-06 05:15:55 +02:00
python_test() {
distutils_install_for_testing
cd "tests/suite" || die
pytest -vv || die
2018-10-06 05:15:55 +02:00
}