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/quantities/
Date: Sun, 30 Jan 2022 13:09:46
Message-Id: 1643548165.2a530fa9754864b69c309a16ac2a2df8466f998c.mgorny@gentoo
1 commit: 2a530fa9754864b69c309a16ac2a2df8466f998c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 12:40:12 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 13:09:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a530fa9
7
8 dev-python/quantities: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/quantities/quantities-0.13.0-r1.ebuild | 27 +++++++++++++++++++++++
13 1 file changed, 27 insertions(+)
14
15 diff --git a/dev-python/quantities/quantities-0.13.0-r1.ebuild b/dev-python/quantities/quantities-0.13.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..d0c84615b029
18 --- /dev/null
19 +++ b/dev-python/quantities/quantities-0.13.0-r1.ebuild
20 @@ -0,0 +1,27 @@
21 +# Copyright 2020-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} )
28 +
29 +inherit distutils-r1
30 +
31 +MY_P="python-quantities-${PV}"
32 +DESCRIPTION="Support for physical quantities with units, based on numpy"
33 +HOMEPAGE="https://github.com/python-quantities/python-quantities"
34 +SRC_URI="
35 + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz
36 + -> ${MY_P}.tar.gz"
37 +S=${WORKDIR}/${MY_P}
38 +
39 +LICENSE="BSD"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~x86"
42 +
43 +RDEPEND="
44 + >=dev-python/numpy-1.16[$PYTHON_USEDEP]
45 +"
46 +
47 +distutils_enable_tests pytest