mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/wsproto: Introducing new package
Introducing wsproto into Gentoo. Closes: https://bugs.gentoo.org/654862 Closes: https://github.com/gentoo/gentoo/pull/9503 Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
committed by
Michał Górny
parent
30bd37d319
commit
5a0eba86fc
1
dev-python/wsproto/Manifest
Normal file
1
dev-python/wsproto/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST wsproto-0.11.0.tar.gz 41179 BLAKE2B 72486adde659e96910bcc56efe5f3ddd71d962e2844e332eabea2a0cbe5574678be85d330fdd54f951f679dfe5b1c185641a30169cc6cd9ac6c4ed066c6a3533 SHA512 583e030dc88971b3733e5e84e5fbaa70d6043d01485cabbbf45470baa31e4f511aea55e108132fc298aeae0031542af7bdd22b7ae25b11832179025a2fde4bdd
|
||||
17
dev-python/wsproto/metadata.xml
Normal file
17
dev-python/wsproto/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>oleksandr.trotsenko@gmail.com</email>
|
||||
<name>Oleksandr Trotsenko</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">python-hyper/wsproto</remote-id>
|
||||
<doc>https://wsproto.readthedocs.io/en/latest/</doc>
|
||||
<bugs-to>https://github.com/python-hyper/wsproto/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
32
dev-python/wsproto/wsproto-0.11.0.ebuild
Normal file
32
dev-python/wsproto/wsproto-0.11.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="WebSockets state-machine based protocol implementation"
|
||||
HOMEPAGE="https://github.com/python-hyper/wsproto https://pypi.python.org/pypi/wsproto"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
=dev-python/h11-0.7*[${PYTHON_USEDEP}]
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Testing failed"
|
||||
}
|
||||
Reference in New Issue
Block a user