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/wheel/
Date: Thu, 23 Dec 2021 09:30:51
Message-Id: 1640251841.9ad290105f7e5a8aa1a8d3894cbc601e66daa616.mgorny@gentoo
1 commit: 9ad290105f7e5a8aa1a8d3894cbc601e66daa616
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 23 08:34:54 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 23 09:30:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad29010
7
8 dev-python/wheel: Bump to 0.37.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wheel/Manifest | 1 +
13 dev-python/wheel/wheel-0.37.1.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest
17 index 8dd681627528..6449a06c7896 100644
18 --- a/dev-python/wheel/Manifest
19 +++ b/dev-python/wheel/Manifest
20 @@ -1 +1,2 @@
21 DIST wheel-0.37.0.gh.tar.gz 68270 BLAKE2B a91714a57e0f1ef32e17b405668c765cbb586518b370e005c52fb4898c5a2e95a9781d7b71e22db12e613feb4d81dda14a8e462d73b4329c19db46653cce57dc SHA512 2e0eb1c5560a0229be9de450da8b2bc62153744abb6d8ab9a0625c150dc00d3fc3e24dbe37cc26f4ca6b6876b5c63298427b2076ee42b8f772c75010bfc135a8
22 +DIST wheel-0.37.1.gh.tar.gz 68751 BLAKE2B 55919649f82668565d3b5907d14d0758984bb7d29d8857807ad034288ed8c9e8660957dc16f418f18408e89a97cf0d3c30df874a17f56deb56918388b18246a7 SHA512 9493db2f29e16d17ca06a4d47854b3df5dfd17f21c77efd42befd54470858256fd59f56aa9585cbf0a09830927b657d546324f793e1b1153665bf0b74d0c0457
23
24 diff --git a/dev-python/wheel/wheel-0.37.1.ebuild b/dev-python/wheel/wheel-0.37.1.ebuild
25 new file mode 100644
26 index 000000000000..428e55ba2ebb
27 --- /dev/null
28 +++ b/dev-python/wheel/wheel-0.37.1.ebuild
29 @@ -0,0 +1,33 @@
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} pypy3 )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="A built-package format for Python"
39 +HOMEPAGE="https://pypi.org/project/wheel/"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
46 +
47 +RDEPEND="
48 + dev-python/packaging[${PYTHON_USEDEP}]"
49 +
50 +distutils_enable_tests --install pytest
51 +
52 +src_prepare() {
53 + sed \
54 + -e 's:--cov --cov-config=setup.cfg::g' \
55 + -i setup.cfg || die
56 +
57 + # unbundle packaging
58 + rm -r src/wheel/vendored || die
59 + sed -i -e 's:\.vendored\.::' src/wheel/*.py || die
60 +
61 + distutils-r1_src_prepare
62 +}