diff options
Diffstat (limited to 'dev-python/hyper-h2')
-rw-r--r-- | dev-python/hyper-h2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/hyper-h2/hyper-h2-3.1.1.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/hyper-h2/Manifest b/dev-python/hyper-h2/Manifest index cec39fa24411..47042fd5af32 100644 --- a/dev-python/hyper-h2/Manifest +++ b/dev-python/hyper-h2/Manifest @@ -1,5 +1,7 @@ DIST hyper-h2-2.5.1.tar.gz 92713 BLAKE2B d00baea98dfab43c2d6157f4dec3b04b2a42d0ad280980cb8b7d03d1c6f75de59e188745e7cc29fb36fd8c0799f9d5cb50a94282c70f045289daccfdcc12dabd SHA512 e82a7e6b592b43d74defbd4c729ad287ed019881f6ddf0d2dff9d3eb4fdba29cab8d988848ec64b693da77df5cbcacb06eecf1ecd77843c66c9eea8808fc949c DIST hyper-h2-3.0.1.tar.gz 2198911 BLAKE2B 453ce1bf8e6216e2852f49c5a22ec5cfa487a744a818e82929dd0c4f03280953c1f742890d74f771080987e2f70d9430e4d66481501357f0d4c5ec490fc5fbf7 SHA512 5d98b4fb654c20f6b9e6918bb71b88a42a3027bae795f31c32c2b5cc4428774457c44a194f9c819f99b9cfd01753a6e6d8edb6c162020ff463602452d8e9057c +DIST hyper-h2-3.1.1.tar.gz 2202601 BLAKE2B 62a7a9ff4e1295d279fbe7c02da6d60d97984caf8f4eee6fa69de3974913caf57d7933a991825296e96b54b4646139793529e839e492d440874aa134cdb7e96e SHA512 153c450ef918cc7cdb5d8efe61692a646925e76e6255ef46f679091590681be7d1f9319b37f6521c56207cf35e7d9e56951e4e3b55a24fe89d9e6aa28591957b EBUILD hyper-h2-2.5.1.ebuild 964 BLAKE2B 57d1688669cd75c8ee2180c25933d2d0268942513aa84c409daeabe1297f311f94111e2fc1a15d8e92ec03216f67b20df48fb869d01219d3685568f55ef58a26 SHA512 86feeabc22c851bd93af9c4208a08b582df60e865d24d10867ffdda2602b80c9ac66eaa0de3bbc8f8320f3f4d8a86aba5fde0f2b8032ca647b18b50fd6fd6d11 EBUILD hyper-h2-3.0.1.ebuild 1105 BLAKE2B 20779ca48a4822c8499f46ef030106f281919b3e18c773aac8415653bdefcd15264166fb0d601c302f17feb75101b7574b8294f9b18373c3c7efe2fd26421afb SHA512 88d67ded112344626f420dc17e0082dac9643ee40a41540af129a4f2cadd99852cc8c88952e33edb969f8f9dc6d8356376bfc6d1b94b321043ff0b440ef4d9ba +EBUILD hyper-h2-3.1.1.ebuild 1135 BLAKE2B 66ff353b9f583596b40a80d202826d37806257cb814c39b18b84f5df3e413bfcb5b48d26c3ca1a6ce38c1aba55444426b0c59571a3cb5c8e5f43ae35762ab474 SHA512 bd212c03e4da6c0249838e70012e0b1817928adab8a7f83ebb17c7230e76d7bf20e4b3db44ca6f755f89357e6f423fe7bb534d39ded6601ebd956407f61e5f5a MISC metadata.xml 669 BLAKE2B fb8b8c6d1e8ae5cd8a0e6473c84a3d0e161f17ca671b24cdad86029af14936aab6cfaa9c119536980a69d96ce82fd296e407d8bc0d7eb2c5f1cebf37dd7a8f99 SHA512 ecf3d13974ec803b298d9be9898e5dd70c9bb2d9eb5f89ed37fd46e05f313ff3f8a4c6f01453dd92d7b5f74271516a2cb8d152cb9c1b2f26848b909525a038a2 diff --git a/dev-python/hyper-h2/hyper-h2-3.1.1.ebuild b/dev-python/hyper-h2/hyper-h2-3.1.1.ebuild new file mode 100644 index 000000000000..b3fadc409ed4 --- /dev/null +++ b/dev-python/hyper-h2/hyper-h2-3.1.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy) + +inherit distutils-r1 + +DESCRIPTION="HTTP/2 State-Machine based protocol implementation" +HOMEPAGE="https://python-hyper.org/h2/en/stable/ https://pypi.org/project/h2/" +SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}] + <dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}] + >=dev-python/hpack-2.3.0[${PYTHON_USEDEP}] + <dev-python/hpack-4.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/enum34-1.1.6[${PYTHON_USEDEP}]' python2_7) + $(python_gen_cond_dep '<dev-python/enum34-2.0.0[${PYTHON_USEDEP}]' python2_7) +" +DEPEND="${RDEPEND} + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + pytest -vv --hypothesis-profile=travis test || + die "Tests fail with ${EPYTHON}" +} |