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/packaging/
Date: Sat, 28 Nov 2020 19:59:15
Message-Id: 1606593549.e40738655606cb3823828aa7bf9ff696e3a39216.mgorny@gentoo
1 commit: e40738655606cb3823828aa7bf9ff696e3a39216
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 28 19:45:19 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 19:59:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4073865
7
8 dev-python/packaging: Bump to 20.7
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/packaging/Manifest | 1 +
13 dev-python/packaging/packaging-20.7.ebuild | 37 ++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest
17 index 9fdbdf6a474..b5a068ee510 100644
18 --- a/dev-python/packaging/Manifest
19 +++ b/dev-python/packaging/Manifest
20 @@ -1,2 +1,3 @@
21 DIST packaging-20.4.tar.gz 74402 BLAKE2B 3c667c1605445aec37d264ec3846a1a6678f13a12aecc09a6d16e09ea27041fcd65d23538acef4f6272ab0458ce479c42906b15cb6eddd9c8001b1970c23e4fc SHA512 d53912041a9950efb5d221fc968adc328c2ef1e54ec9806d2158fd6db1b170e37afb05213f5750b10c59927504083ca3781c958caa0c802b1c7c0fe1ac1682a4
22 DIST packaging-20.5.gh.tar.gz 75111 BLAKE2B b088b85fc042b48337878c0f663934f32f90eb792ba53257b1b0879a097ef042b67a9cff56b23f5e0187a3df0f89092e0210939382851f0ae917f6ef00ad73ff SHA512 ef3c4853c30d9635b9372d6861cc0df8f7fc5a1d784e5f3effe3f315da0f24662ac939e70f55c6e9bb8864da95b9f75bc0df093f12c0f5c2af654b5354a5f081
23 +DIST packaging-20.7.gh.tar.gz 75182 BLAKE2B f3ba27ec33db576273609f28aabb5edab4acd07d8174c96e3a1608eacdc1a571d2ce96cc4e38c50c964ae5a716bbca077effd6dea039b25ac7bd6ce5707ae08b SHA512 4da8f66af066ac92b47664d21af34a02526cd1639cb766927670bec0ac8c7416116834c847678a29862a46faeda7e2f2393744be315cdfbbb8bd55a04ceb942c
24
25 diff --git a/dev-python/packaging/packaging-20.7.ebuild b/dev-python/packaging/packaging-20.7.ebuild
26 new file mode 100644
27 index 00000000000..6d1b30fa1a7
28 --- /dev/null
29 +++ b/dev-python/packaging/packaging-20.7.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
37 +PYTHON_COMPAT=( python3_{6..9} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Core utilities for Python packages"
42 +HOMEPAGE="
43 + https://github.com/pypa/packaging/
44 + https://pypi.org/project/packaging/"
45 +SRC_URI="
46 + https://github.com/pypa/packaging/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
47 +
48 +SLOT="0"
49 +LICENSE="|| ( Apache-2.0 BSD-2 )"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +RDEPEND="
55 + >=dev-python/pyparsing-2.1.10[${PYTHON_USEDEP}]
56 + dev-python/six[${PYTHON_USEDEP}]
57 +"
58 +DEPEND="
59 + test? (
60 + dev-python/pretend[${PYTHON_USEDEP}]
61 + dev-python/pytest[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +python_test() {
66 + pytest --capture=no --strict -vv || die
67 +}