1 |
commit: f94d6da440420a8f91f7222746e227939e6f70d3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 22 12:43:00 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 20 09:35:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94d6da4 |
7 |
|
8 |
dev-python/testpath: Build from pyproject.toml |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/testpath/testpath-0.4.4-r1.ebuild | 27 +++++++++++++++++++++++++++ |
13 |
1 file changed, 27 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/testpath/testpath-0.4.4-r1.ebuild b/dev-python/testpath/testpath-0.4.4-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..96724c835f6 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/testpath/testpath-0.4.4-r1.ebuild |
20 |
@@ -0,0 +1,27 @@ |
21 |
+# Copyright 1999-2020 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
27 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Test utilities for code working with files and commands" |
32 |
+HOMEPAGE="https://github.com/jupyter/testpath https://testpath.readthedocs.io/en/latest/" |
33 |
+SRC_URI="https://github.com/jupyter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+ |
39 |
+DEPEND=" |
40 |
+ test? ( |
41 |
+ dev-python/pathlib2[${PYTHON_USEDEP}] |
42 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
43 |
+ ) |
44 |
+" |
45 |
+ |
46 |
+distutils_enable_tests pytest |
47 |
+distutils_enable_sphinx doc |