commit: cabd4d78ae4d5da5aafea7aa715d19323f710020 Author: Oleksandr Trotsenko <oleksandr.trotsenko <AT> gmail <DOT> com> AuthorDate: Wed Jun 6 17:45:21 2018 +0000 Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> CommitDate: Tue Jul 17 16:07:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabd4d78
dev-python/h11: Introducing new package Introducing dev-python/h11 into Gentoo. Closes: https://bugs.gentoo.org/654856 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9250 dev-python/h11/Manifest | 2 ++ dev-python/h11/h11-0.7.0.ebuild | 28 ++++++++++++++++++++++++++++ dev-python/h11/h11-0.8.1.ebuild | 28 ++++++++++++++++++++++++++++ dev-python/h11/metadata.xml | 12 ++++++++++++ 4 files changed, 70 insertions(+) diff --git a/dev-python/h11/Manifest b/dev-python/h11/Manifest new file mode 100644 index 00000000000..a3a148963b6 --- /dev/null +++ b/dev-python/h11/Manifest @@ -0,0 +1,2 @@ +DIST h11-0.7.0.zip 105979 BLAKE2B 46922a67a8496254845562e46432596cbc400e788adddc5df1b84583d16a090fbc1ac6a4dab1af9d05263abb33d2505627be1325ca9c3f6dd27dd3676ca99027 SHA512 abf9b8f7f12870804539049c3bfebbbe476e394636aed9967aa725d501fff983f28c7f14b4b882c17914d00fe3e74417ff8922128d0e4e07bf042a7db6d0b100 +DIST h11-0.8.1.tar.gz 94009 BLAKE2B 34c43874ba8d1e59f89d9d71a5eb8033583aefc6659f6cf645067267a68769f01864b997623ad175e263d4918e2e572e2af49f4ddf743608fc259ab7b4a51022 SHA512 3310dcd8552de4440ed9669fd37b3fc4d76073a9801decb705bceee3c1e98ff83470bd124ecf36e1ec3457ff2fb4da6f4fbf077daa810c28ab73044dfab709d4 diff --git a/dev-python/h11/h11-0.7.0.ebuild b/dev-python/h11/h11-0.7.0.ebuild new file mode 100644 index 00000000000..6c6a5b9ba4e --- /dev/null +++ b/dev-python/h11/h11-0.7.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 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="A pure-Python implementation of HTTP/1.1 inspired by hyper-h2" +HOMEPAGE="https://github.com/python-hyper/h11 https://pypi.python.org/pypi/h11" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test -v || die "Testing failed" +} diff --git a/dev-python/h11/h11-0.8.1.ebuild b/dev-python/h11/h11-0.8.1.ebuild new file mode 100644 index 00000000000..42f5ff8794e --- /dev/null +++ b/dev-python/h11/h11-0.8.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A pure-Python implementation of HTTP/1.1 inspired by hyper-h2" +HOMEPAGE="https://github.com/python-hyper/h11 https://pypi.python.org/pypi/h11" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test -v || die "Testing failed" +} diff --git a/dev-python/h11/metadata.xml b/dev-python/h11/metadata.xml new file mode 100644 index 00000000000..e7214b7e32c --- /dev/null +++ b/dev-python/h11/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Oleksandr Trotsenko</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata>
