HomeAssistantRepository/dev-python/gntp/gntp-1.0.3.ebuild

33 lines
691 B
Bash
Raw Normal View History

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
2019-07-16 18:18:09 +02:00
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
2019-07-16 18:18:09 +02:00
inherit distutils-r1
DESCRIPTION="Growl Notification Transport Protocol for Python"
HOMEPAGE="http://github.com/kfdm/gntp/ https://pypi.org/project/gntp/"
2019-07-16 18:18:09 +02:00
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
2019-07-16 18:18:09 +02:00
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
2019-07-16 18:18:09 +02:00
IUSE="test"
DOCS="README.rst'"
2019-07-16 18:18:09 +02:00
RDEPEND=""
BDEPEND="
2019-07-16 18:18:09 +02:00
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}