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/attrs/
Date: Mon, 09 May 2022 15:01:33
Message-Id: 1652108470.2ace9570cd02c354b04d8e0c31f79e0a89b3c4c0.mgorny@gentoo
1 commit: 2ace9570cd02c354b04d8e0c31f79e0a89b3c4c0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 12:19:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 15:01:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ace9570
7
8 dev-python/attrs: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/attrs/attrs-21.4.0-r1.ebuild | 37 +++++++++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/dev-python/attrs/attrs-21.4.0-r1.ebuild b/dev-python/attrs/attrs-21.4.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..1cca38cc572e
18 --- /dev/null
19 +++ b/dev-python/attrs/attrs-21.4.0-r1.ebuild
20 @@ -0,0 +1,37 @@
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="Attributes without boilerplate"
32 +HOMEPAGE="
33 + https://github.com/python-attrs/attrs/
34 + https://attrs.readthedocs.io/
35 + https://pypi.org/project/attrs/
36 +"
37 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
38 +
39 +LICENSE="MIT"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
42 +
43 +RDEPEND="
44 + dev-python/zope-interface[${PYTHON_USEDEP}]
45 +"
46 +BDEPEND="
47 + test? (
48 + $(python_gen_impl_dep sqlite)
49 + $(python_gen_cond_dep '
50 + dev-python/cloudpickle[${PYTHON_USEDEP}]
51 + ' 'python*')
52 + >=dev-python/hypothesis-3.6.0[${PYTHON_USEDEP}]
53 + >=dev-python/pytest-4.3.0[${PYTHON_USEDEP}]
54 + )
55 +"
56 +
57 +distutils_enable_tests pytest