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, 30 Jan 2021 09:19:23
Message-Id: 1611997116.aa21c19ced71de509941fb6ac1bf7cf329cc7a9e.mgorny@gentoo
1 commit: aa21c19ced71de509941fb6ac1bf7cf329cc7a9e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 08:58:36 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 08:58:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa21c19c
7
8 dev-python/packaging: Bump to 20.9
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.9.ebuild | 35 ++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest
17 index 2dfc7449755..91ae6efec95 100644
18 --- a/dev-python/packaging/Manifest
19 +++ b/dev-python/packaging/Manifest
20 @@ -1,2 +1,3 @@
21 DIST packaging-20.7.gh.tar.gz 75182 BLAKE2B f3ba27ec33db576273609f28aabb5edab4acd07d8174c96e3a1608eacdc1a571d2ce96cc4e38c50c964ae5a716bbca077effd6dea039b25ac7bd6ce5707ae08b SHA512 4da8f66af066ac92b47664d21af34a02526cd1639cb766927670bec0ac8c7416116834c847678a29862a46faeda7e2f2393744be315cdfbbb8bd55a04ceb942c
22 DIST packaging-20.8.gh.tar.gz 76310 BLAKE2B f6a220bf8ed61e4ced5cdb93eac8a83310d5c1abc11861e3eca64ef08e3fa2617a9dedd9006fd833df37da5bd7a33c216fb78b9151b1c72121fbb0a27e7b88d3 SHA512 77c77da9298635274de58b856b8738ab279749f736264212e6ecdeab47db607ea9c6ae696952f0702e9557d1fd2b89c7277a2c81ff55081593f49ebcd6eb74d4
23 +DIST packaging-20.9.gh.tar.gz 78041 BLAKE2B d87c66aa39cfb832a26a350981722ad40a9193b70ca447030405ee474586cc12e4ae5f4dc7fbc5da6944b717545f3d3f7caac376a3da1ab95aa26429723dc6f6 SHA512 fb71f1036cfaacbe94fdee663af31d6ad1960f73ecc95cba87b461c2d7d2ea90085853bb4682b146492d8c48f784b60ef082e3b1259269857166b143cd9a920b
24
25 diff --git a/dev-python/packaging/packaging-20.9.ebuild b/dev-python/packaging/packaging-20.9.ebuild
26 new file mode 100644
27 index 00000000000..7b526eafdbd
28 --- /dev/null
29 +++ b/dev-python/packaging/packaging-20.9.ebuild
30 @@ -0,0 +1,35 @@
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 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Core utilities for Python packages"
41 +HOMEPAGE="
42 + https://github.com/pypa/packaging/
43 + https://pypi.org/project/packaging/"
44 +SRC_URI="
45 + https://github.com/pypa/packaging/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
46 +
47 +SLOT="0"
48 +LICENSE="|| ( Apache-2.0 BSD-2 )"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 +
51 +RDEPEND="
52 + >=dev-python/pyparsing-2.1.10[${PYTHON_USEDEP}]
53 + dev-python/six[${PYTHON_USEDEP}]
54 +"
55 +DEPEND="
56 + test? (
57 + dev-python/pretend[${PYTHON_USEDEP}]
58 + )
59 +"
60 +
61 +distutils_enable_tests pytest
62 +
63 +python_test() {
64 + pytest --capture=no --strict -vv || die
65 +}