Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pluginbase/
Date: Mon, 01 Jun 2020 20:46:00
Message-Id: 1591044184.c1356331c62e1901456694cefa4e6095241bdba3.zerochaos@gentoo
1 commit: c1356331c62e1901456694cefa4e6095241bdba3
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 29 15:16:09 2020 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 1 20:43:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1356331
7
8 dev-python/pluginbase: bump + py3.8
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
12
13 dev-python/pluginbase/Manifest | 1 +
14 dev-python/pluginbase/pluginbase-1.0.0.ebuild | 42 +++++++++++++++++++++++++++
15 2 files changed, 43 insertions(+)
16
17 diff --git a/dev-python/pluginbase/Manifest b/dev-python/pluginbase/Manifest
18 index 2f67f5ac696..6c342243d2f 100644
19 --- a/dev-python/pluginbase/Manifest
20 +++ b/dev-python/pluginbase/Manifest
21 @@ -1 +1,2 @@
22 DIST pluginbase-0.5.tar.gz 41964 BLAKE2B 84fc187b60182f100a9016ac663856b29587e60b5ef5ac9c51fb4ed99666908a77c9817c2dc5fb64e82b807e635bd10beb5ce7644e31e63262736cc667a7b8c2 SHA512 921ddc7dacb6ad63abc90beb1d1d993e7b15c9cfe21e850a5852eb40735436e08b39fd2a6d83e23f641014ee81e718aca147ef1e21b55f94ce04a64ba7780455
23 +DIST pluginbase-1.0.0.tar.gz 41795 BLAKE2B 68d7704b52db39af4f0c2e1f790802eb5f2fd15d91726752605901b3e8a3c736204fad93d96b5dd1a4199586b4d9b42895cbe8290acaed1b4051e8103efb43f9 SHA512 95c3b770980fa5ec745b8d788df29c6219ed6e5af7666f9830d56c6acae01f90831655127bcef69b2dfc423d09429373ae7d4c8b45c76c62a41f909d0747c0a0
24
25 diff --git a/dev-python/pluginbase/pluginbase-1.0.0.ebuild b/dev-python/pluginbase/pluginbase-1.0.0.ebuild
26 new file mode 100644
27 index 00000000000..634f1829e08
28 --- /dev/null
29 +++ b/dev-python/pluginbase/pluginbase-1.0.0.ebuild
30 @@ -0,0 +1,42 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Support library for building plugins sytems in Python"
41 +HOMEPAGE="https://github.com/mitsuhiko/pluginbase"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="doc test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND=""
51 +DEPEND="${RDEPEND}
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
54 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
55 +"
56 +
57 +python_prepare_all() {
58 + sed -e "s/, 'sphinx.ext.intersphinx'//" \
59 + -i docs/conf.py || die
60 + distutils-r1_python_prepare_all
61 +}
62 +
63 +python_compile_all() {
64 + if use doc; then
65 + emake -C docs html
66 + HTML_DOCS=( docs/_build/html/. )
67 + fi
68 +}
69 +
70 +python_test() {
71 + cd tests && PYTHONPATH=.. py.test --tb=native || die "Tests fail with ${EPYTHON}"
72 +}