From 8018bed91dff12b0eb0be1db75185bf1092fd7cf Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 6 Sep 2020 14:18:50 +0200 Subject: [PATCH] add trio-0.16.0 --- CHANGELOG.txt | 5 +++++ dev-python/trio/Manifest | 3 +++ dev-python/trio/metadata.xml | 15 +++++++++++++ dev-python/trio/trio-0.16.0.ebuild | 35 ++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 dev-python/trio/Manifest create mode 100644 dev-python/trio/metadata.xml create mode 100644 dev-python/trio/trio-0.16.0.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b5d263fc2..71c1e2263 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -25,6 +25,11 @@ Started Python 3.8 Test in a new branch ======================================= * hack pytest circular depencies in test + * add (unsupp) P3.8 for: + - jsonrpc-websocket-0.6 + - pychromecast-7.2.1 + * bump / rework pychromecast-7.3.0 + * add trio-0.16.0 2020-09-05 * repair iglo-1.2.7, drop iglo-1.2.5, abondoned anyway: https://github.com/jesserockz/python-iglo/issues/1#issuecomment-558479023 diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest new file mode 100644 index 000000000..ee9fd82b4 --- /dev/null +++ b/dev-python/trio/Manifest @@ -0,0 +1,3 @@ +DIST trio-0.16.0.tar.gz 414931 BLAKE2B 417cc449369222bcc1bd844454b20964f2512d87954ebe18d0cc4551fdae4cacea8e52986a1647275d39290b7875bc12157cbb8e6632586d7ffac724c869716d SHA512 962850e434e17f8d5c21bcdd17057aa6f5d19057dcb3b78deb314536f0faefc7fd4fd73b65e9f8d5fcd765a719e302aa932cfd954d0c69616261a9055e0ab907 +EBUILD trio-0.16.0.ebuild 961 BLAKE2B de69ae8fa94615727b54f54563048869881a360cf6e0dbe91d6dcbcbeccea1559d54318576505a14a04d16c589f1dfeed34e58ce8a78f9dc92fc44435a07cc25 SHA512 a854a887f1070e2b37802e57ce19dab92cf062908382609ca0ac6f902abb84bff9b070f00f174473ec651ac3ed9019ded2b4b1d06e34af23a697472d9819fc73 +MISC metadata.xml 448 BLAKE2B 7f0774a85df300f1fbd720e2da400a92b37a5b635c09305bab22e3826d85832a82b6e0ae2045f2c67dcdee4b661bd714ddb3a16e5c9f9ec94975f225c07f41e4 SHA512 4f2256f05f89cc2e3775adcd31c2d08b93815cde4d4fe25d4a608eda54739b388e6566755850d68765b507181dbe8714f98e4583599705fa8174220e5d378859 diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml new file mode 100644 index 000000000..17a99788a --- /dev/null +++ b/dev-python/trio/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + trio + + njs@pobox.com + Nathaniel J. Smith + + + diff --git a/dev-python/trio/trio-0.16.0.ebuild b/dev-python/trio/trio-0.16.0.ebuild new file mode 100644 index 000000000..0fadae51c --- /dev/null +++ b/dev-python/trio/trio-0.16.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) + +inherit distutils-r1 + +DESCRIPTION="A friendly Python library for async concurrency and I/O" +HOMEPAGE="https://github.com/python-trio/trio https://pypi.org/project/trio/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=">=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] + >=dev-python/async_generator-1.9[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}]" +BDEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}