remove dupe, 6.1 in main repo
This commit is contained in:
parent
352a20fe1c
commit
79cd170b33
|
@ -1,5 +0,0 @@
|
|||
DIST tornado-5.1.1.tar.gz 516819 BLAKE2B d0c20d34be67f8f3cb146a3107995efacb20c713e8920b5204a969ef1fa378ab0e108c83db61c065bcd232aba61e4625994b263db7394f6c07f483d2c6dbeae4 SHA512 f9ecedb20c055981f482c9a2a8bb30082dcc479674f75f6c8654afcf40f2ce5a45e82c7e2b5a6ce5d1c9da7896e865e78c7d29a64b6b1d28d6e74a718be62dc7
|
||||
DIST tornado-6.1.tar.gz 497359 BLAKE2B ed5981dec5cca962f907f97b7f906c1eef40d2b2b6d6cc16a21bd0a0a91ee58a60bea84b7ceeeff30b3462d707c56a5062c71d4ac8f25ca6a306ded6c6f072c5 SHA512 0ec1db1fad911182bda547c177a18b107b906cf66576443069e2b986cf041b3d4ebe08e5a168aa5cd3b56547f32f8b384bacaf74db89f582951d7b610b7494e8
|
||||
EBUILD tornado-5.1.1.ebuild 1540 BLAKE2B c72501de37e4d1e9ee53f7f2f4198ab3d30866933be677e7ba5b5e73c1deaf6da888c340b0c24f14eb3b3943459ad74fcc38ad4f90ed3f484d144196fa6607fc SHA512 9f4fcdb3d2ac4b856910904cf34098d3f51c757d5d7f965a0110452831711bd842aa95a3dec500ffa5ac948c3949aa9c4070799c90512a612805993cc1a18668
|
||||
EBUILD tornado-6.1.ebuild 1372 BLAKE2B 32645f81b09b905722fbdacd89c1646b595332e3d8d32131316318cb4f5686741f21a12415107875fd1143bf9e583fc2d5cfff8af0a37a25550c0eefbbec2841 SHA512 5c42da979e9119377e6311498857f83663bb509f86aac6188d41b623ac3485aa77eab1a1ac683aa9cd661d7791ee9f38cea365019590e4ca72d4ebf454a12e8c
|
||||
MISC metadata.xml 380 BLAKE2B 16a28ca707ba911df09dfad39b269bd888734c1f5e54fdc57d84f62b541e284f248137a01c13055f5e9fa1e1da0a2c9e1382006119cc11ec19302516262b7dc1 SHA512 e790429d61042b60a9011710e96df0044c64cc5ac941ab6268386138d3a66e46d40ed1098ec8bc164d9f4341040946ec7231e8f28dda11790ecc482b06978771
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">tornado</remote-id>
|
||||
<remote-id type="github">tornadoweb/tornado</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,62 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python web framework and asynchronous networking library"
|
||||
HOMEPAGE="https://www.tornadoweb.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
CDEPEND="
|
||||
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2_7')
|
||||
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
|
||||
virtual/python-backports_abc[${PYTHON_USEDEP}]
|
||||
virtual/python-futures[${PYTHON_USEDEP}]
|
||||
virtual/python-singledispatch[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
# doc without intersphinx does not build (asyncio error)
|
||||
#PATCHES=(
|
||||
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
|
||||
#)
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r demos/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -1,60 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python web framework and asynchronous networking library"
|
||||
HOMEPAGE="https://www.tornadoweb.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-macos"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx_rtd_theme \
|
||||
dev-python/sphinxcontrib-asyncio
|
||||
|
||||
src_prepare() {
|
||||
# it used to pass, so apparently something changed somewhere
|
||||
sed -i -e 's:test_method_after_redirect:_&:' \
|
||||
tornado/test/httpclient_test.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x ASYNC_TEST_TIMEOUT=60
|
||||
cd "${BUILD_DIR}/lib" || die
|
||||
"${PYTHON}" -m tornado.test.runtests --verbose ||
|
||||
die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r demos/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
Loading…
Reference in New Issue