1 |
commit: 37c5b0f2cfb410d8c9c801ae18b6b0f7c84a2ddb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 29 08:34:37 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 09:00:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c5b0f2 |
7 |
|
8 |
dev-python/path-py: Bump to 15.1.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/path-py/Manifest | 1 + |
13 |
dev-python/path-py/path-py-15.1.0.ebuild | 39 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/path-py/Manifest b/dev-python/path-py/Manifest |
17 |
index 8e8480e537b..ae0f57471f3 100644 |
18 |
--- a/dev-python/path-py/Manifest |
19 |
+++ b/dev-python/path-py/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST path-15.0.0.tar.gz 73642 BLAKE2B 186b77b6571dd878a5b64b575289bb5ee549145ccd0c7b858f99c9e3772cf98f2cc7ff5da759e7fa660296abc49c053a388ad95466c51adccce2162c682c6566 SHA512 e41684c576b959e27258f60c0d8b69719c38a5a7a04d9646089aea91227781573368a08f01230dca831732ae687741d22caf52efd9a481378b8d4e77627fe3a5 |
22 |
DIST path-15.0.1.tar.gz 47662 BLAKE2B ec50e75cd1b24cd017189cb8632340a5e4ebed8517d607a9f26e43c7c75b2b7d62e9a70b6b93ea6db79feb3d100ca535aba7926cfd7317bef1ac290697ea8f90 SHA512 d8ea2a98cf5caad15bc99a740188d6947cb1cdacc1ac7b6164f29f8d78ca8e73258120ff36f100957e3c4c2ca0ed6eaf27c98c4765ededde41b58d98de24f672 |
23 |
+DIST path-15.1.0.tar.gz 48271 BLAKE2B 3f71d7686bae65f0b605d8fb2077395e5f5f36ec6f29c41f18e2380c6f775e5bd5bc8c2d3589fe507ad49c7383f1cab84b59176e1d5952d02cec68037bf3e4b0 SHA512 31c40fc57d6c6c57fece4fec720b344191cc3d395efe9e5f071c98a7392727535150c6952a4f8174b037141d5cb1b026c2fa44da8921a8354ee1627daf8f6977 |
24 |
|
25 |
diff --git a/dev-python/path-py/path-py-15.1.0.ebuild b/dev-python/path-py/path-py-15.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ec0d713f9c9 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/path-py/path-py-15.1.0.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_P="path-${PV}" |
40 |
+DESCRIPTION="A module wrapper for os.path" |
41 |
+HOMEPAGE="https://pypi.org/project/path/ https://github.com/jaraco/path" |
42 |
+SRC_URI="mirror://pypi/p/path/${MY_P}.tar.gz" |
43 |
+S=${WORKDIR}/${MY_P} |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="MIT" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/appdirs[${PYTHON_USEDEP}] |
51 |
+ !<dev-python/pytest-shutil-1.7.0-r1 |
52 |
+ !<dev-python/pytest-virtualenv-1.7.0-r1" |
53 |
+BDEPEND=" |
54 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
55 |
+ dev-python/toml[${PYTHON_USEDEP}] |
56 |
+ test? ( |
57 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
58 |
+ )" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_test() { |
63 |
+ local deselect=( |
64 |
+ # unreliable, not really meaningful for end users |
65 |
+ test_path.py::TestPerformance |
66 |
+ ) |
67 |
+ |
68 |
+ PYTHONPATH=. pytest -vv ${deselect[@]/#/--deselect } || die |
69 |
+} |