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/jupyter_packaging/
Date: Mon, 27 Sep 2021 22:16:17
Message-Id: 1632780958.23183fc0dda8ea9ef07951e875ea0ba40df54ae6.mgorny@gentoo
1 commit: 23183fc0dda8ea9ef07951e875ea0ba40df54ae6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 27 21:24:13 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 27 22:15:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23183fc0
7
8 dev-python/jupyter_packaging: Bump to 0.10.6
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jupyter_packaging/Manifest | 1 +
13 .../jupyter_packaging-0.10.6.ebuild | 46 ++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/jupyter_packaging/Manifest b/dev-python/jupyter_packaging/Manifest
17 index a7285812970..c85c5b7e15f 100644
18 --- a/dev-python/jupyter_packaging/Manifest
19 +++ b/dev-python/jupyter_packaging/Manifest
20 @@ -1 +1,2 @@
21 DIST jupyter_packaging-0.10.4.tar.gz 21698 BLAKE2B 5490443e197861a53587fe744d749162e412b88bc5c1e5917cd6c145254e4feecbb8b3e3853bf5a3e360fc9ee20c3345af9c7a245aeb1b03639d99d1d69cb377 SHA512 066abaaa00be8154ea39cc3db0bfa4cfe03864c3e50a741f416606c2f8a2d2e0202943f390905ee46f99414168705b9c3519609c6ea16b3b7d54820631c3ba46
22 +DIST jupyter_packaging-0.10.6.tar.gz 21836 BLAKE2B 921e763e11c3973442fa819559d921618aab4010ae7cd4ca3314acb53c7fd7be68f10af46b4d0c9888d2648c0e28565c22ad47270a9d9a1c950640b38a2a1078 SHA512 1b59219dc14c3e44c0f100e9a46b614a8c4395fc26937622515e82f4ffa35c29d8101d6f56a3d496da9279e1e7fc58a91af83bca2b50875afaf1745706ce466d
23
24 diff --git a/dev-python/jupyter_packaging/jupyter_packaging-0.10.6.ebuild b/dev-python/jupyter_packaging/jupyter_packaging-0.10.6.ebuild
25 new file mode 100644
26 index 00000000000..6440233f72b
27 --- /dev/null
28 +++ b/dev-python/jupyter_packaging/jupyter_packaging-0.10.6.ebuild
29 @@ -0,0 +1,46 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +DISTUTILS_USE_SETUPTOOLS=rdepend
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Tools to help build and install Jupyter Python packages"
40 +HOMEPAGE="https://jupyter.org"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +RDEPEND="
48 + dev-python/packaging[${PYTHON_USEDEP}]
49 + dev-python/tomlkit[${PYTHON_USEDEP}]
50 + dev-python/wheel[${PYTHON_USEDEP}]
51 + dev-python/deprecation[${PYTHON_USEDEP}]
52 +"
53 +BDEPEND="
54 + test? (
55 + dev-python/pytest-mock[${PYTHON_USEDEP}]
56 + )
57 +"
58 +
59 +distutils_enable_tests pytest
60 +
61 +python_test() {
62 + local deselect=(
63 + # TODO: package "build"
64 + tests/test_build_api.py::test_build_package
65 + tests/test_build_api.py::test_deprecated_metadata
66 +
67 + # broken by Gentoo pip patch
68 + # TODO: retry when we finally make the patch less intrusive
69 + tests/test_datafiles_install.py
70 + tests/test_install.py
71 + )
72 +
73 + distutils_install_for_testing --via-venv
74 + epytest ${deselect[@]/#/--deselect }
75 +}