1
0
mirror of synced 2024-12-23 13:20:22 +01:00
TheChymera-overlay/dev-python/pypubsub/pypubsub-3.4.0.ebuild

29 lines
639 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"
2019-03-22 00:51:29 +01:00
HOMEPAGE="https://github.com/schollii/pypubsub/"
2019-03-27 04:53:38 +01:00
SRC_URI="https://github.com/schollii/pypubsub/archive/v${PV}rc1.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
}
2019-03-27 04:53:38 +01:00
S="${WORKDIR}/${PN}-${PV}rc1"