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: Tue, 06 Jul 2021 07:58:16
Message-Id: 1625558285.de0e5747d5a15b0ba2a6fb629dcbc808047f13b4.mgorny@gentoo
1 commit: de0e5747d5a15b0ba2a6fb629dcbc808047f13b4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 6 07:26:24 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 6 07:58:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0e5747
7
8 dev-python/pathlib2: Bump to 2.3.6
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pathlib2/Manifest | 1 +
13 dev-python/pathlib2/pathlib2-2.3.6.ebuild | 31 +++++++++++++++++++++++++++++++
14 2 files changed, 32 insertions(+)
15
16 diff --git a/dev-python/pathlib2/Manifest b/dev-python/pathlib2/Manifest
17 index 941e0e97680..bf6172f630c 100644
18 --- a/dev-python/pathlib2/Manifest
19 +++ b/dev-python/pathlib2/Manifest
20 @@ -1 +1,2 @@
21 DIST pathlib2-2.3.5.tar.gz 34393 BLAKE2B 7e03214a53f1ebf7718d04f653e24ffa4b06070b0ae21583d98ea0ce956c5aced5ea63bf6062d8e8d979bef4c82137cd2d2d5d6121dc3dda0ae1f713c1868d36 SHA512 3f0f212bf5208d0965ac02a590bef6ac0ec5e3b702828c06c3c9d37119b3db422cc7873de614fdc37ebfb3f52239a6517008d9672a176ca15d03fe13baeeddc8
22 +DIST pathlib2-2.3.6.tar.gz 38435 BLAKE2B 07a6db61feb56c439e0c4c97d96f87714090628d3971341b64ed253cf9b363b7a3695a665a3def5c2b950cd3dc2ba316ef3dcfaf48f25726fce34afedccdafac SHA512 ed41792338d5808cdd068f6c04021b2918e5376fc6297f163712dec6b00a1f96f7905eeea0a601c333d253e0f1663a0472d842b0d920d680992045bbc36db970
23
24 diff --git a/dev-python/pathlib2/pathlib2-2.3.6.ebuild b/dev-python/pathlib2/pathlib2-2.3.6.ebuild
25 new file mode 100644
26 index 00000000000..ac123963984
27 --- /dev/null
28 +++ b/dev-python/pathlib2/pathlib2-2.3.6.ebuild
29 @@ -0,0 +1,31 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( pypy3 python3_{8..9} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Fork of pathlib aiming to support the full stdlib Python API"
39 +HOMEPAGE="https://github.com/mcmtroffaes/pathlib2"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="test"
46 +RESTRICT="!test? ( test )"
47 +
48 +RDEPEND="
49 + dev-python/six[${PYTHON_USEDEP}]
50 +"
51 +BDEPEND="
52 + test? (
53 + ${RDEPEND}
54 + )
55 +"
56 +
57 +python_test() {
58 + "${EPYTHON}" tests/test_pathlib2.py -v ||
59 + die "tests failed with ${EPYTHON}"
60 +}