summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-07 23:31:54 +0200
committerMichał Górny <mgorny@gentoo.org>2021-10-07 23:36:47 +0200
commitcc4d7e0aac3541cf52ae7d2385ddc0489d3208ab (patch)
treea8af194fbf2667f07b8649f7bf4e6bf948c5eab8 /dev-python/yarl
parentdev-python/icalendar: Bump to 4.0.8 (diff)
downloadgentoo-cc4d7e0aac3541cf52ae7d2385ddc0489d3208ab.tar.gz
gentoo-cc4d7e0aac3541cf52ae7d2385ddc0489d3208ab.tar.bz2
gentoo-cc4d7e0aac3541cf52ae7d2385ddc0489d3208ab.zip
dev-python/yarl: Bump to 1.7.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/yarl')
-rw-r--r--dev-python/yarl/Manifest1
-rw-r--r--dev-python/yarl/yarl-1.7.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest
index 3bed866b7df0..1fc540c9808a 100644
--- a/dev-python/yarl/Manifest
+++ b/dev-python/yarl/Manifest
@@ -1 +1,2 @@
DIST yarl-1.6.3.tar.gz 176823 BLAKE2B 58d36c6d18ef661cb08074153081f541fc98968107d71e7b501297f45f38de092804bba2ae89ddcf0da79b5d4fca62292a4c460bc9dff9d723d3958bc64ff84b SHA512 4c76b94198b8e334f4b4e71d92b0fe23f752d35e0c29bc68df99648b3f48fbb6e3dd8d7339138544e5dc8fbf64c15cb61678052670ac47edc5be958df819d42e
+DIST yarl-1.7.0.tar.gz 168325 BLAKE2B 25d708935c8b97142ee729827bb70955458d8ea8212d2a6e59dfe899f2cff41a8cfd93581f8e0f80a3ce194707068ad968f1ae8ee0434e11ac8f7909abda246f SHA512 581b786710c334a8f3d2259678f2bb22c40a0c2b125a786c81a9dc9e4e637e3eb80f11194835f58ada17b346b840ae1a539beba37a52e59b648340cc93f65d5c
diff --git a/dev-python/yarl/yarl-1.7.0.ebuild b/dev-python/yarl/yarl-1.7.0.ebuild
new file mode 100644
index 000000000000..c30d1180c9bf
--- /dev/null
+++ b/dev-python/yarl/yarl-1.7.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Yet another URL library"
+HOMEPAGE="https://github.com/aio-libs/yarl/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/multidict-4.0[${PYTHON_USEDEP}]
+ >=dev-python/idna-2.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
+ ' pypy3)
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/alabaster
+
+python_test() {
+ cd tests || die
+ epytest --override-ini=addopts=
+}