commit:     2a530fa9754864b69c309a16ac2a2df8466f998c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 12:40:12 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 13:09:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a530fa9

dev-python/quantities: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/quantities/quantities-0.13.0-r1.ebuild | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/dev-python/quantities/quantities-0.13.0-r1.ebuild 
b/dev-python/quantities/quantities-0.13.0-r1.ebuild
new file mode 100644
index 000000000000..d0c84615b029
--- /dev/null
+++ b/dev-python/quantities/quantities-0.13.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+MY_P="python-quantities-${PV}"
+DESCRIPTION="Support for physical quantities with units, based on numpy"
+HOMEPAGE="https://github.com/python-quantities/python-quantities";
+SRC_URI="
+       
https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz
+               -> ${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       >=dev-python/numpy-1.16[$PYTHON_USEDEP]
+"
+
+distutils_enable_tests pytest

Reply via email to