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/installer/
Date: Tue, 07 Jun 2022 06:55:03
Message-Id: 1654584833.653399cc8ee55fcbad1b103b2fd1c8b7c9886423.mgorny@gentoo
1 commit: 653399cc8ee55fcbad1b103b2fd1c8b7c9886423
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 09:44:38 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 7 06:53:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=653399cc
7
8 dev-python/installer: Use DISTUTILS_USE_PEP517=no
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/installer/installer-0.5.1-r1.ebuild | 37 ++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild b/dev-python/installer/installer-0.5.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..4f89e7433018
18 --- /dev/null
19 +++ b/dev-python/installer/installer-0.5.1-r1.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
25 +EAPI=7
26 +
27 +DISTUTILS_USE_PEP517=no
28 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="A library for installing Python wheels"
33 +HOMEPAGE="
34 + https://pypi.org/project/installer/
35 + https://github.com/pypa/installer/
36 + https://installer.readthedocs.io/en/latest/
37 +"
38 +SRC_URI="
39 + https://github.com/pypa/installer/archive/${PV}.tar.gz
40 + -> ${P}.gh.tar.gz
41 + https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P%_p*}-py3-none-any.whl
42 + -> ${P%_p*}-py3-none-any.whl.zip
43 +"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
48 +
49 +BDEPEND="
50 + app-arch/unzip
51 +"
52 +
53 +distutils_enable_tests pytest
54 +
55 +python_compile() {
56 + python_domodule src/installer "${WORKDIR}"/*.dist-info
57 +}