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/flit/
Date: Wed, 23 Feb 2022 21:30:21
Message-Id: 1645651809.aae42f41669ae7263dba6fe6f66f688f1d0c4be8.mgorny@gentoo
1 commit: aae42f41669ae7263dba6fe6f66f688f1d0c4be8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 23 20:57:13 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 23 21:30:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae42f41
7
8 dev-python/flit: Bump to 3.7.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/flit/Manifest | 1 +
13 dev-python/flit/flit-3.7.1.ebuild | 54 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest
17 index 39f7d487b562..5eef2dd830a0 100644
18 --- a/dev-python/flit/Manifest
19 +++ b/dev-python/flit/Manifest
20 @@ -1,3 +1,4 @@
21 DIST flit-3.5.1.tar.gz 122689 BLAKE2B 49be251df549783114c6758fa688d00fe18ed88d215f91783ce78eda722ee3d8578d83781a1a5c9ee61dd001c82df010c879dc742a1829c2ba8bcf5edb930556 SHA512 00e884774c7f59dfb54d6db09f65ac0ed47f1dd23872d6913f3a41de7242fb3829b2edacd03d08e080635c0a515521333aa74e6d26a2faa5fc02e56454b2b37a
22 DIST flit-3.6.0.tar.gz 133365 BLAKE2B c4170eeded3c15a93c8e89b9483459247228136bc5ff32c6edb8cd9a4b5c3171fe381d0a1b4e325ed863457c2bce476efe3276455d5b9e4279a702dd35ed4512 SHA512 6506ecc73f9e0373e84b5b90a3d567f1edad6d95561886ff1f08f37addfc39006e75ab199c376a7d18452f6b8e2cbdd9e8f59a1fc96037702c3c682dc0b5a757
23 DIST flit-3.7.0.tar.gz 136190 BLAKE2B 1d5f1fc64e5c4fbdbb34f515b3ba5f87364a56716251f8e2da7fe9912ca8c547e0a3e1001cd65c594e23c38478341908f952fc9fed3e42020179ce90f3910b92 SHA512 6d96d69502bd703b62ac9fe8723fdf737f73d4a77c53e13c0b888d40ade96617c3d3cbf09013121c049c5c28db496d554fe217b03de9abfe28971586c8dc8d32
24 +DIST flit-3.7.1.tar.gz 136642 BLAKE2B b94f8bbe00c2c5fb28bddbdcf240255ed53ec3b24d2eab1a33e37261cf32a92a0171ea01ad1488384c15f46acbf84d47c4679b318932a3ee78f22c1d161156b0 SHA512 336e81b034da2f38d7decb32c8961ce62d30f6fd2cb4778b09c956eb400277673d4c94cd57cf08fa7f115f8836aadb0469197d0096f833da9317db8a4f75baed
25
26 diff --git a/dev-python/flit/flit-3.7.1.ebuild b/dev-python/flit/flit-3.7.1.ebuild
27 new file mode 100644
28 index 000000000000..5b1ac297822c
29 --- /dev/null
30 +++ b/dev-python/flit/flit-3.7.1.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 2019-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=flit
38 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Simplified packaging of Python modules"
42 +HOMEPAGE="https://github.com/pypa/flit https://flit.readthedocs.io/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~mips ~x86"
48 +
49 +RDEPEND="
50 + dev-python/docutils[${PYTHON_USEDEP}]
51 + >=dev-python/flit_core-${PV}[${PYTHON_USEDEP}]
52 + dev-python/requests[${PYTHON_USEDEP}]
53 + dev-python/requests_download[${PYTHON_USEDEP}]
54 + dev-python/tomli[${PYTHON_USEDEP}]
55 + dev-python/tomli-w[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="${RDEPEND}
58 + sys-apps/grep
59 + test? (
60 + dev-python/pip[${PYTHON_USEDEP}]
61 + dev-python/responses[${PYTHON_USEDEP}]
62 + dev-python/testpath[${PYTHON_USEDEP}]
63 + )
64 +"
65 +
66 +EPYTEST_DESELECT=(
67 + # requires Internet
68 + tests/test_config.py::test_invalid_classifier
69 + # failing due to Gentoo pip patches
70 + tests/test_install.py::InstallTests::test_install_data_dir
71 + tests/test_install.py::InstallTests::test_install_module_pep621
72 + tests/test_install.py::InstallTests::test_symlink_data_dir
73 + tests/test_install.py::InstallTests::test_symlink_module_pep621
74 +)
75 +
76 +distutils_enable_tests pytest
77 +distutils_enable_sphinx doc \
78 + dev-python/sphinxcontrib-github-alt \
79 + dev-python/pygments-github-lexers \
80 +
81 +src_prepare() {
82 + # make sure system install is used
83 + rm -r flit_core || die
84 + distutils-r1_src_prepare
85 +}