mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/txaio: Version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
@@ -2,3 +2,4 @@ DIST txaio-2.3.1.tar.gz 36755 SHA256 1111c87bff73e22c2067318cbb267781e2f651c485d
|
||||
DIST txaio-2.5.1.tar.gz 41577 SHA256 625076477182e2dde78b79d0b2b0d6b3cecb0e24fe0ea7eaf2abd26a4c0dd1de SHA512 921b4f6738a91923cffe00eed30237e0a2a12dbd42476587b4902675d3d7d8ecbf3b6fbf47afa5648836f779f1c22f7edf9bd94d44dcacee86d03a1dd16450a5 WHIRLPOOL 24286b510c7f1911dd2a315362c76aff77bc2246164a4a1ba50573d87408db9e0e384e5063cfdbee96501b3d03decc9f4198aae9f8cd375d8c49de817d0eda63
|
||||
DIST txaio-2.7.1.tar.gz 43591 SHA256 9eea85c27ff8ac28049a29b55383f5c162351f855860e5081ff4632d65a5b4d2 SHA512 d77a8b5e8fc21be0bef43f2a6795229456a351abc1a5eb6d2b7de0da0a58e67a228cb06d1a7962efcc760099ef5df94e9421875ea5628985260911efc7deb85e WHIRLPOOL 2acff5b81fd17afd7b7d986812d742a6e09781f8f6f960ae6c08a52c6535156736492ecaca0c8026192289ab28e3cceb40e03aa4512922bc64ece7c900abd25c
|
||||
DIST txaio-2.8.1.tar.gz 43558 SHA256 fe2e0e4d3a06705f86bbd351fdd1f39dae61755e44162375e024acbf32eafddb SHA512 5ea41dbc8fef6dcd04a95c85bd57c4f2fd57f7091667da8a822a0e8bad465f76c2ace574e4ae54f941ad6e169dce6fb28d752831d7a06eb240ef72cc3817a056 WHIRLPOOL 5fec7bba468b52bf3ba13328d7e5f00a28eb487e238880d5afbf79bd6d8a017f39e2aa907c095a8c0fe28c41b2c917f4f72f8ad0f59ad241f329ca91a1f6961f
|
||||
DIST txaio-2.8.2.tar.gz 43670 SHA256 484cd6c4cdd3f6081b87188f3b2b9a36e02fba6816e8256917c4f6571b567571 SHA512 8b60a64ebfa1208995bc42e6ccbc87c4c3cd4687cb431435c6450cff31e5d0dba468c3f3494902e666cb2ee6dea84ded458fd8f1b3b9c25421b440dcd3fc5884 WHIRLPOOL f42015d189b7b5c0a6bd50f7bcb482515f12743e04cf751c523620fb3bb4684cb9c42edace1ca9035ebfe980418b45cefd8b308f2dfbd93bcc5eae2623c95bb2
|
||||
|
||||
65
dev-python/txaio/txaio-2.8.2.ebuild
Normal file
65
dev-python/txaio/txaio-2.8.2.ebuild
Normal file
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius"
|
||||
HOMEPAGE="https://github.com/crossbario/txaio https://pypi.python.org/pypi/txaio"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep '>=dev-python/futures-3.0.3[${PYTHON_USEDEP}]' python2_7)
|
||||
"
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
>=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-spelling-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx_rtd_theme-0.1.9[${PYTHON_USEDEP}]
|
||||
dev-python/alabaster[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? ( >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-cov-1.8.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tox-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pep8-1.6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyenchant-1.6.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
# Take out failing tests known to pass when run manually
|
||||
# we certainly don't need to test "python setup.py sdist" here
|
||||
rm "${S}/test/test_packaging.py" || die
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
# https://github.com/tavendo/txaio/issues/3
|
||||
cp -r "${FILESDIR}"/util.py test || die
|
||||
|
||||
distutils-r1_python_prepare
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user