summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-17 17:27:16 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-17 17:41:12 +0100
commit0050a78b78b7ea37ae0c985fb703fa61432ecfd9 (patch)
treecc81d84c3a4b766c6a031076631788e03499925a /dev-python/aiorpcx
parentdev-python/aiorpcX: Prepare for rename (diff)
downloadgentoo-0050a78b78b7ea37ae0c985fb703fa61432ecfd9.tar.gz
gentoo-0050a78b78b7ea37ae0c985fb703fa61432ecfd9.tar.bz2
gentoo-0050a78b78b7ea37ae0c985fb703fa61432ecfd9.zip
Rename dev-python/{aiorpcX → aiorpcx}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiorpcx')
-rw-r--r--dev-python/aiorpcx/Manifest1
-rw-r--r--dev-python/aiorpcx/aiorpcx-0.22.1-r1.ebuild40
-rw-r--r--dev-python/aiorpcx/metadata.xml13
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/aiorpcx/Manifest b/dev-python/aiorpcx/Manifest
new file mode 100644
index 000000000000..f5071b6e7dae
--- /dev/null
+++ b/dev-python/aiorpcx/Manifest
@@ -0,0 +1 @@
+DIST aiorpcX-0.22.1.gh.tar.gz 75206 BLAKE2B 92c481388198fec94faa10482ad4195fe6dce5ae4aa445ce2812e1e81e084c629712b87a3c157aa33ae42335c1a96bdcafa5e389802740fcae8eb9e4aaf43dd2 SHA512 3484da36ce6042d8d4c6b168fd2326c0fc77a825691b95631e54510697708a27ea07e9a808445d504056432adf04f04cb0bc28d4b7194c55c1995096bb938b4d
diff --git a/dev-python/aiorpcx/aiorpcx-0.22.1-r1.ebuild b/dev-python/aiorpcx/aiorpcx-0.22.1-r1.ebuild
new file mode 100644
index 000000000000..7c72f73f9006
--- /dev/null
+++ b/dev-python/aiorpcx/aiorpcx-0.22.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+MY_P=aiorpcX-${PV}
+DESCRIPTION="Generic async RPC implementation, including JSON-RPC"
+HOMEPAGE="
+ https://github.com/kyuupichan/aiorpcX/
+ https://pypi.org/project/aiorpcX/
+"
+SRC_URI="
+ https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 x86"
+
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/uvloop[${PYTHON_USEDEP}]
+ dev-python/websockets[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # require Internet
+ tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good
+)
diff --git a/dev-python/aiorpcx/metadata.xml b/dev-python/aiorpcx/metadata.xml
new file mode 100644
index 000000000000..a5a479692d36
--- /dev/null
+++ b/dev-python/aiorpcx/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">aiorpcX</remote-id>
+ <remote-id type="github">kyuupichan/aiorpcX</remote-id>
+ </upstream>
+</pkgmetadata>