diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-02 19:17:10 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-02 19:17:10 +0300 |
commit | 76e06844ca3d25ecc77e948d3728130af0fcea8a (patch) | |
tree | 11a07acc04b04cbdff55fac7c9a74e7c68ccd810 /dev-python/yarl | |
parent | dev-python/openstackdocstheme: add 3.0.0 (diff) | |
download | gentoo-76e06844ca3d25ecc77e948d3728130af0fcea8a.tar.gz gentoo-76e06844ca3d25ecc77e948d3728130af0fcea8a.tar.bz2 gentoo-76e06844ca3d25ecc77e948d3728130af0fcea8a.zip |
dev-python/yarl: add 1.8.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/yarl')
-rw-r--r-- | dev-python/yarl/Manifest | 1 | ||||
-rw-r--r-- | dev-python/yarl/yarl-1.8.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index 0b63e3f20697..5cdb19dc3902 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1 +1,2 @@ DIST yarl-1.7.2.gh.tar.gz 108115 BLAKE2B 7bd212b652a77ac29fde4c6565c48c4067f2a24db6bbf735107f3dfa5ee8b6ad2e5a5c3c6206e8dc7692e4cfd5c975d4304dd93280087574bddd73a337417c52 SHA512 bf69c5758f523259757ff84a8737e28931f46311f12f6e141329a5074d34a0cfb45795bf79cb7b78cb676ca7bc38042a2fbd946a5f41bf1d149ada50b88b31ae +DIST yarl-1.8.1.gh.tar.gz 109912 BLAKE2B c7390b78abb5074dd29e96848a77fdb31f6224e99d2bcfd5a28a8bd08881f5ff82cf55b2f54c97324d005a0fb3823732a9ed6bd3f1d837e4ac2341b89e2adb30 SHA512 267523216832c2bc83d92a42e621ff519d427e20c1ee84ac657e13f696a2df2259c837486f192d87944f5ebb834beea60ace791eb4c9c632fd7e552eb5dadf1b diff --git a/dev-python/yarl/yarl-1.8.1.ebuild b/dev-python/yarl/yarl-1.8.1.ebuild new file mode 100644 index 000000000000..7ea5cc25c82f --- /dev/null +++ b/dev-python/yarl/yarl-1.8.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/yarl/ + https://pypi.org/project/yarl/ +" +SRC_URI=" + https://github.com/aio-libs/yarl/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/multidict-4.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +python_configure() { + > .install-cython || die + emake cythonize +} + +python_test() { + cd tests || die + epytest --override-ini=addopts= +} |