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/pathlib2/
Date: Fri, 29 Nov 2019 19:54:56
Message-Id: 1575057265.f3562b69840a493f7be255382d323aebe2027ab6.mgorny@gentoo
1 commit: f3562b69840a493f7be255382d323aebe2027ab6
2 Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
3 AuthorDate: Sat Nov 9 14:27:42 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 19:54:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3562b69
7
8 dev-python/pathlib2: bump v2.3.5
9
10 add python3_8
11
12 Package-Manager: Portage-2.3.79, Repoman-2.3.18
13 Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
14 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
15
16 dev-python/pathlib2/Manifest | 1 +
17 dev-python/pathlib2/pathlib2-2.3.5.ebuild | 35 +++++++++++++++++++++++++++++++
18 2 files changed, 36 insertions(+)
19
20 diff --git a/dev-python/pathlib2/Manifest b/dev-python/pathlib2/Manifest
21 index c0e5edf8970..abe89efbe96 100644
22 --- a/dev-python/pathlib2/Manifest
23 +++ b/dev-python/pathlib2/Manifest
24 @@ -1,2 +1,3 @@
25 DIST pathlib2-2.3.0.tar.gz 34291 BLAKE2B ef1768f8a9cc9b28f85ef84c0dfdbfce0b0087c1ffb6718e2b13eb007ea3e0ab0eebe946a1bcc2683fed7db46867f415ad2b52abedcdc87fb67bd45d5998aea5 SHA512 715fbd981d42767862dcaf2cc0fee31b9ec5050915ef7d909d14587609a7a5939e32b39736b586a890e7625443bb163832896fcf138b5c2863c451b71c36a124
26 DIST pathlib2-2.3.2.tar.gz 33764 BLAKE2B c652069d60f489e482c6d75c0a201c5ac67c6b18b4acd6c8b00f7f12832f7165a45293d93ca7f6c45f1451c842e59931b6b8c45608de1bac91ad822cc3536105 SHA512 46ba0cc8b26006bc4cb914118b7c453dc49cc8a80147ea7a4b3d5a17e97d5538c5d73a3029bd7e5b59f42f256baba30ea273382e57468df1a459ac6f7c237ddc
27 +DIST pathlib2-2.3.5.tar.gz 34393 BLAKE2B 7e03214a53f1ebf7718d04f653e24ffa4b06070b0ae21583d98ea0ce956c5aced5ea63bf6062d8e8d979bef4c82137cd2d2d5d6121dc3dda0ae1f713c1868d36 SHA512 3f0f212bf5208d0965ac02a590bef6ac0ec5e3b702828c06c3c9d37119b3db422cc7873de614fdc37ebfb3f52239a6517008d9672a176ca15d03fe13baeeddc8
28
29 diff --git a/dev-python/pathlib2/pathlib2-2.3.5.ebuild b/dev-python/pathlib2/pathlib2-2.3.5.ebuild
30 new file mode 100644
31 index 00000000000..f91dd378eab
32 --- /dev/null
33 +++ b/dev-python/pathlib2/pathlib2-2.3.5.ebuild
34 @@ -0,0 +1,35 @@
35 +# Copyright 1999-2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7,8}} )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Fork of pathlib aiming to support the full stdlib Python API"
45 +HOMEPAGE="https://github.com/mcmtroffaes/pathlib2"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +RDEPEND="
55 + $(python_gen_cond_dep 'dev-python/scandir[${PYTHON_USEDEP}]' -2 )
56 + dev-python/six[${PYTHON_USEDEP}]
57 +"
58 +BDEPEND="
59 + dev-python/setuptools[${PYTHON_USEDEP}]
60 + test? (
61 + ${RDEPEND}
62 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)
63 + )
64 +"
65 +
66 +python_test() {
67 + "${EPYTHON}" tests/test_pathlib2.py -v || \
68 + die "tests failed with ${EPYTHON}"
69 +}