commit:     ce8948c485e6b3d1759822cff1138fbf1536622c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 14:17:21 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 19 15:23:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8948c4

dev-python/wsaccel: Use PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild | 34 ++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild 
b/dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..3145f9bb625d
--- /dev/null
+++ b/dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild
@@ -0,0 +1,34 @@
+# 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..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Accelerator for ws4py, autobahn and tornado"
+HOMEPAGE="
+       https://github.com/methane/wsaccel/
+       https://pypi.org/project/wsaccel/
+"
+SRC_URI="
+       https://github.com/methane/wsaccel/archive/v${PV}.tar.gz
+               -> ${P}.tar.gz
+"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       cd tests || die
+       epytest
+}

Reply via email to