Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/u-msgpack/
Date: Wed, 27 Nov 2019 01:13:50
Message-Id: 1574817216.14240f9670e45f722750d2ff39e3c8ddd10199e8.chutzpah@gentoo
1 commit: 14240f9670e45f722750d2ff39e3c8ddd10199e8
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Tue Nov 26 23:30:38 2019 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 27 01:13:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14240f96
7
8 dev-python/u-msgpack: Version bump to 2.5.2, add py38
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.79, Repoman-2.3.18
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/u-msgpack/Manifest | 1 +
15 dev-python/u-msgpack/u-msgpack-2.4.1.ebuild | 2 ++
16 ...{u-msgpack-2.4.1.ebuild => u-msgpack-2.5.2.ebuild} | 19 +++++--------------
17 3 files changed, 8 insertions(+), 14 deletions(-)
18
19 diff --git a/dev-python/u-msgpack/Manifest b/dev-python/u-msgpack/Manifest
20 index 0a3c9d97e2f..db233f75de1 100644
21 --- a/dev-python/u-msgpack/Manifest
22 +++ b/dev-python/u-msgpack/Manifest
23 @@ -1 +1,2 @@
24 DIST u-msgpack-2.4.1.tar.gz 12026 BLAKE2B d8f9c5558daba3afda53c4c1b8e10edd6baa08a58c82796171ae0752c10c638b76abc608349e2ba090e83b2df66611a5c0c03febd38c2a13c45fb617b6bcf74f SHA512 4c3edb72455e8eb8fa7a4ed9b6ef4461755b782391f2c362d52d0fafda3e790fb40d0d239d05ba99beb3ad4cfd9e200175e2a1917cd64ee1e5d8cc3c4e8b3f25
25 +DIST u-msgpack-2.5.2.tar.gz 17641 BLAKE2B 643984fd9ed2f87ad0cce9e64aaa064465048067098bf01bd844a04bc1b870d6688eac6bc9f1dddf9bf705fb14bc332796f06b8b59d0dfe79261e85ba11b60d1 SHA512 cefba7ed86d2b7c37b0d92e3a4fb4ec62c89dffee0be078c783010638413e6ce1af7ab959b43dfedb6fd8cf2943185c18fc2201a4a9764c423e8242bcedf21a9
26
27 diff --git a/dev-python/u-msgpack/u-msgpack-2.4.1.ebuild b/dev-python/u-msgpack/u-msgpack-2.4.1.ebuild
28 index 813f83f755c..635dc8714d8 100644
29 --- a/dev-python/u-msgpack/u-msgpack-2.4.1.ebuild
30 +++ b/dev-python/u-msgpack/u-msgpack-2.4.1.ebuild
31 @@ -22,6 +22,8 @@ RDEPEND=""
32 DEPEND="${RDEPEND}
33 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
34
35 +RESTRICT="!test? ( test )"
36 +
37 S=${WORKDIR}/${MY_P}
38
39 PATCHES=("${FILESDIR}"/${P}-little-endian.patch)
40
41 diff --git a/dev-python/u-msgpack/u-msgpack-2.4.1.ebuild b/dev-python/u-msgpack/u-msgpack-2.5.2.ebuild
42 similarity index 53%
43 copy from dev-python/u-msgpack/u-msgpack-2.4.1.ebuild
44 copy to dev-python/u-msgpack/u-msgpack-2.5.2.ebuild
45 index 813f83f755c..c128ce847af 100644
46 --- a/dev-python/u-msgpack/u-msgpack-2.4.1.ebuild
47 +++ b/dev-python/u-msgpack/u-msgpack-2.5.2.ebuild
48 @@ -1,8 +1,8 @@
49 # Copyright 1999-2019 Gentoo Authors
50 # Distributed under the terms of the GNU General Public License v2
51
52 -EAPI=6
53 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
54 +EAPI=7
55 +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
56
57 inherit distutils-r1
58
59 @@ -15,17 +15,8 @@ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
60
61 LICENSE="MIT"
62 SLOT="0"
63 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
64 -IUSE="test"
65 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
66
67 -RDEPEND=""
68 -DEPEND="${RDEPEND}
69 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
70 +S="${WORKDIR}/${MY_P}"
71
72 -S=${WORKDIR}/${MY_P}
73 -
74 -PATCHES=("${FILESDIR}"/${P}-little-endian.patch)
75 -
76 -python_test() {
77 - py.test -v || die "Tests fail with ${EPYTHON}"
78 -}
79 +distutils_enable_tests pytest