summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-29 20:56:21 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-29 21:43:12 +0100
commit02a69160b6b6d2993f30216ceac849e9cf0611d0 (patch)
tree4f2a81dd457e37813f81f8c05429b97a38b1424b /dev-python/plyr
parentvirtual/dist-kernel: Bump to 5.4.175 (diff)
downloadgentoo-02a69160b6b6d2993f30216ceac849e9cf0611d0.tar.gz
gentoo-02a69160b6b6d2993f30216ceac849e9cf0611d0.tar.bz2
gentoo-02a69160b6b6d2993f30216ceac849e9cf0611d0.zip
dev-python/plyr: Switch to PEP 517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/plyr')
-rw-r--r--dev-python/plyr/plyr-1.0.6-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
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
+)