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: Wed, 07 Jul 2021 06:33:52
Message-Id: 1625639614.b8ec2dbc6fce67fed2fecef3f29fa4b4731c7849.mgorny@gentoo
1 commit: b8ec2dbc6fce67fed2fecef3f29fa4b4731c7849
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 7 06:01:48 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 7 06:33:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ec2dbc
7
8 dev-python/jupyter_packaging: Bump to 0.10.4
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.4.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 fabc64785c4..1ed0d03c617 100644
18 --- a/dev-python/jupyter_packaging/Manifest
19 +++ b/dev-python/jupyter_packaging/Manifest
20 @@ -1,2 +1,3 @@
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 +DIST jupyter_packaging-0.10.4.tar.gz 21698 BLAKE2B 5490443e197861a53587fe744d749162e412b88bc5c1e5917cd6c145254e4feecbb8b3e3853bf5a3e360fc9ee20c3345af9c7a245aeb1b03639d99d1d69cb377 SHA512 066abaaa00be8154ea39cc3db0bfa4cfe03864c3e50a741f416606c2f8a2d2e0202943f390905ee46f99414168705b9c3519609c6ea16b3b7d54820631c3ba46
24
25 diff --git a/dev-python/jupyter_packaging/jupyter_packaging-0.10.4.ebuild b/dev-python/jupyter_packaging/jupyter_packaging-0.10.4.ebuild
26 new file mode 100644
27 index 00000000000..6440233f72b
28 --- /dev/null
29 +++ b/dev-python/jupyter_packaging/jupyter_packaging-0.10.4.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
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 +}