commit:     02a69160b6b6d2993f30216ceac849e9cf0611d0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 19:56:21 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 20:43:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a69160

dev-python/plyr: Switch to PEP 517 build

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

 dev-python/plyr/plyr-1.0.6-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/dev-python/plyr/plyr-1.0.6-r1.ebuild 
b/dev-python/plyr/plyr-1.0.6-r1.ebuild
new file mode 100644
index 000000000000..b522d9c8815c
--- /dev/null
+++ b/dev-python/plyr/plyr-1.0.6-r1.ebuild
@@ -0,0 +1,35 @@
+# 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
+
+MY_PN="python-glyr"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A python wrapper for Glyr"
+HOMEPAGE="https://sahib.github.io/python-glyr/intro.html
+       https://github.com/sahib/python-glyr";
+SRC_URI="https://github.com/sahib/${MY_PN}/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="media-libs/glyr:="
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # Internet
+       tests/test_misc.py::TestMisc::test_download
+)

Reply via email to