Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/plyr/
Date: Sat, 29 Jan 2022 20:43:26
Message-Id: 1643488992.02a69160b6b6d2993f30216ceac849e9cf0611d0.mgorny@gentoo
1 commit: 02a69160b6b6d2993f30216ceac849e9cf0611d0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 19:56:21 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 20:43:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a69160
7
8 dev-python/plyr: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/plyr/plyr-1.0.6-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-python/plyr/plyr-1.0.6-r1.ebuild b/dev-python/plyr/plyr-1.0.6-r1.ebuild
16 new file mode 100644
17 index 000000000000..b522d9c8815c
18 --- /dev/null
19 +++ b/dev-python/plyr/plyr-1.0.6-r1.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +MY_PN="python-glyr"
32 +MY_P="${MY_PN}-${PV}"
33 +
34 +DESCRIPTION="A python wrapper for Glyr"
35 +HOMEPAGE="https://sahib.github.io/python-glyr/intro.html
36 + https://github.com/sahib/python-glyr"
37 +SRC_URI="https://github.com/sahib/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
38 +S="${WORKDIR}/${MY_P}"
39 +
40 +LICENSE="GPL-3+"
41 +KEYWORDS="~amd64 ~x86"
42 +SLOT="0"
43 +
44 +RDEPEND="media-libs/glyr:="
45 +DEPEND="${RDEPEND}"
46 +BDEPEND="
47 + dev-python/cython[${PYTHON_USEDEP}]"
48 +
49 +distutils_enable_sphinx docs
50 +distutils_enable_tests pytest
51 +
52 +EPYTEST_DESELECT=(
53 + # Internet
54 + tests/test_misc.py::TestMisc::test_download
55 +)