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/wrapt/
Date: Sun, 30 Jan 2022 13:09:49
Message-Id: 1643548177.fc16bd5500e86175b4a20212c3d4dde1feac3127.mgorny@gentoo
1 commit: fc16bd5500e86175b4a20212c3d4dde1feac3127
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 12:55:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 13:09:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc16bd55
7
8 dev-python/wrapt: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wrapt/wrapt-1.13.2-r1.ebuild | 26 ++++++++++++++++++++++++++
13 1 file changed, 26 insertions(+)
14
15 diff --git a/dev-python/wrapt/wrapt-1.13.2-r1.ebuild b/dev-python/wrapt/wrapt-1.13.2-r1.ebuild
16 new file mode 100644
17 index 000000000000..5a6bf40b15a8
18 --- /dev/null
19 +++ b/dev-python/wrapt/wrapt-1.13.2-r1.ebuild
20 @@ -0,0 +1,26 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Module for decorators, wrappers and monkey patching"
32 +HOMEPAGE="https://github.com/GrahamDumpleton/wrapt"
33 +SRC_URI="https://github.com/GrahamDumpleton/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
38 +
39 +distutils_enable_tests pytest
40 +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
41 +
42 +python_compile() {
43 + local WRAPT_EXTENSIONS=true
44 +
45 + distutils-r1_python_compile
46 +}