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