Files
gentoo-zh/dev-python/janus/janus-0.4.0-r1.ebuild
T
UEForce e2fabdd22c Fix: Add PYTHON_TARGETS_PYTHON3_9 (#925)
* dev-python/janus: Bump to 0.4.0-r1

* dev-python/qasync: Bump to 0.9.4-r1

* dev-python/tomlkit: Bump to 0.7.0-r1

* dev-python/fuo-qqmusic: Bump to 0.3.2-r1

* dev-python/fuo-netease: Bump to 0.6-r1

* dev-python/fuo-kuwo: Bump to 0.1.3-r1

* dev-python/fuo-local: Bump to 0.2.1-r1

* media-sound/feeluown: Bump to 3.7.7-r1
2021-05-29 02:07:59 +08:00

34 lines
656 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
inherit distutils-r1
DESCRIPTION="Implementation of the asyncio (PEP 3156) event-loop with Qt"
HOMEPAGE="https://github.com/aio-libs/janus"
MY_P="${P/_alpha/a}"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
IUSE="test"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
distutils-r1_python_install_all
}