summaryrefslogtreecommitdiff
path: root/dev-python/sniffio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-26 05:40:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-26 05:40:24 +0000
commit8786557f50665cfd3a22ad42ec92209c4d6eae66 (patch)
tree7cf41a52a48ef4334d8fd43daaff3c2212fa937f /dev-python/sniffio
parent4846d367ad566eb7f93a432cae0d261f28f65255 (diff)
gentoo auto-resync : 26:02:2024 - 05:40:24
Diffstat (limited to 'dev-python/sniffio')
-rw-r--r--dev-python/sniffio/Manifest2
-rw-r--r--dev-python/sniffio/sniffio-1.3.1.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest
index f8fa18580276..d8970fc40759 100644
--- a/dev-python/sniffio/Manifest
+++ b/dev-python/sniffio/Manifest
@@ -1,3 +1,5 @@
DIST sniffio-1.3.0.gh.tar.gz 16867 BLAKE2B 44ab59d7477055aeaa0b08983094d8d12493edd5ded6ebd8e1bb048fbb2024325473dc37ebb5f66a10d8275b4e68b8c7f8dfb26088dc30c97a29d9f002fbc667 SHA512 3a9584eea20f5a69958f206fad9f01ef7fc40735f48a6cfaa11ba6eea1e7b8cc8c8053416595fe23276e162b0ab5dd6a41fb30bd9f7994f03b3d3242d5b40ef6
+DIST sniffio-1.3.1.gh.tar.gz 16907 BLAKE2B 9edec11e204f2624d589786744ed2bce6b082fb338c542bf6bddc22a481c9cc97cfd1c5101ae8cad95bf5068ee40d1659aeb420a2f6377377bf9e514e4c49cd1 SHA512 34e2e0a2e1c43e4ce1e1b5cdfb16c4f872897bbc7da77a76b55dc9cae475d87fe1e35d7103cad68ddab93c8be743aaa312ec12b1ddd96ad968be027faa24839f
EBUILD sniffio-1.3.0.ebuild 718 BLAKE2B 295972a17deda2ee2aadf8edb6e82f18fb24961d8fc796d983a74965e6ca7a50056fb20024e8d24c6785e4e4e2f086789cb268970645615ed28b8d48e13a8fb6 SHA512 895765abfb7d8c535c8c8208e6925fa625637e518d6e8a43c1e1a9cc3850a755da2a8a70392eeececc20b66db717c623c5bc5738715ea0cb821d98f2489b758a
+EBUILD sniffio-1.3.1.ebuild 784 BLAKE2B 272799292c5940a2d12f07b41b60bdb281f3000120dc4429d6c493375271a46b04324bcd59241b23ffe556a2b1ae6fa3945f2f706ed02466da22deb1a2d46514 SHA512 cdcfcdafff95cd451607b5b21cc9a48b0080740c92fef1dfd631ceb132f75a9e1c008a66a41536b686f810ec84ec2e8c70925ce3a3925ec4ee2df61befd726dc
MISC metadata.xml 394 BLAKE2B 46df2a6c1c3259a1ba932cb74918ee0f7651e942cdb2eaa76d063269417079459745fa80416cab8088b8f41699b3b509a4586ab828692698a6a04588ece79bbc SHA512 a1aebdbc40dab66e913aaa7dd848066197d8d53a3e5c4890953cf6e5ffd1df5f5acae5ed022b10fc9c6e9a51becd05ff31ac19d0013ad7786b6d038705696b73
diff --git a/dev-python/sniffio/sniffio-1.3.1.ebuild b/dev-python/sniffio/sniffio-1.3.1.ebuild
new file mode 100644
index 000000000000..57640b5c7fc1
--- /dev/null
+++ b/dev-python/sniffio/sniffio-1.3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Sniff out which async library your code is running under"
+HOMEPAGE="
+ https://github.com/python-trio/sniffio/
+ https://pypi.org/project/sniffio/
+"
+SRC_URI="
+ https://github.com/python-trio/sniffio/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # curio is not packaged
+ sniffio/_tests/test_sniffio.py::test_curio
+)