mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
Merge updates from master
This commit is contained in:
1
dev-python/outcome/Manifest
Normal file
1
dev-python/outcome/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST outcome-1.0.1.tar.gz 18684 BLAKE2B bf9878c0dc45e8278693cff8bd1fc398b90a61e71aab68ed21cdfe4576519d42488962b0aea0823d248062532cbdeabfb3253046e847bbfad8adcc960245c509 SHA512 69e9ec8f38cf03c66b96c3dd739814d9507bcd843993fc82e16ba492d56e19a437c7d1dca9594c4ffdda4f2eba80ceb5872602601885a0705d3fc13a5cae0af8
|
||||
9
dev-python/outcome/metadata.xml
Normal file
9
dev-python/outcome/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@riseup.net</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
24
dev-python/outcome/outcome-1.0.1.ebuild
Normal file
24
dev-python/outcome/outcome-1.0.1.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Capture the outcome of Python function calls"
|
||||
HOMEPAGE="https://github.com/python-trio/outcome"
|
||||
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="test? ( dev-python/async_generator[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/source
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_7 )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -16,25 +16,19 @@ LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
distutils_enable_sphinx docs/src
|
||||
# tests fail with py3_6
|
||||
RESTRICT="python_targets_python3_6? ( test )"
|
||||
|
||||
# the enable_sphinx fucntion seems to act strange when there is only 1 PYTHON_COMPAT
|
||||
# repoman says:
|
||||
# dev-python/tekore/tekore-1.1.0.ebuild: BDEPEND: ~x86(default/linux/x86/17.0/systemd)
|
||||
# [ 'dev-python/sphinx[python_targets_python3_7(-),python_single_target_python3_7(+)]']
|
||||
# therefore we overwrite the deps that the function adds here:
|
||||
BDEPEND="doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-autodoc-typehints[${PYTHON_USEDEP}] )"
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
media-sound/spotify"
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
~dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
|
||||
media-sound/spotify
|
||||
python_targets_python3_6? ( dev-python/dataclasses[python_targets_python3_6] )"
|
||||
|
||||
DOCS="readme.rst"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints
|
||||
|
||||
python_test() {
|
||||
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
|
||||
|
||||
1
dev-python/trio/Manifest
Normal file
1
dev-python/trio/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST trio-0.13.0.tar.gz 441925 BLAKE2B c452a0d91d44c651d33399cf5cb64ae05283466732df5332a3319b02fdf9ed73e88fc105b65aeeea39f923c0eecafe842a9e328cbea88424304a7708f8ec703d SHA512 c2f64e71aa59ed0ba5878fda56e5be2c7c434324fa0ace33caf1487fd990dfc63ffda8a20f1586e2175b6b41db51e9b9023e44c367337526263c9a32d98f7ce6
|
||||
9
dev-python/trio/metadata.xml
Normal file
9
dev-python/trio/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@riseup.net</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
44
dev-python/trio/trio-0.13.0.ebuild
Normal file
44
dev-python/trio/trio-0.13.0.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1 linux-info
|
||||
|
||||
DESCRIPTION="Python library for async concurrency and I/O"
|
||||
HOMEPAGE="https://github.com/python-trio/trio"
|
||||
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/async_generator[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/outcome[${PYTHON_USEDEP}]
|
||||
dev-python/sniffio[${PYTHON_USEDEP}]
|
||||
dev-python/sortedcontainers[${PYTHON_USEDEP}]"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6)"
|
||||
|
||||
BDEPEND="test? ( >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/jedi[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
dev-python/yapf[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/source
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests require IPv6
|
||||
if ! linux_config_exists || ! linux_chkconfig_present IPV6; then
|
||||
sed -i -e "/for family in/s/, AF_INET6//" \
|
||||
-e "/test_getaddrinfo/i@pytest.mark.skip(reason='no IPv6')" \
|
||||
trio/tests/test_socket.py || die "sed failed for test_socket.py"
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
Reference in New Issue
Block a user