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/toposort/
Date: Fri, 01 Oct 2021 06:36:50
Message-Id: 1633070199.0d12174d17b6a8dc9050309730e48fca83b775b6.mgorny@gentoo
1 commit: 0d12174d17b6a8dc9050309730e48fca83b775b6
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Thu Sep 30 21:29:12 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 1 06:36:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d12174d
7
8 dev-python/toposort: 1.7 version bump
9
10 The setup.py is removed by upstream in favor of pyproject.toml.
11 Tests are now run explicitly.
12
13 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
14 Closes: https://github.com/gentoo/gentoo/pull/22450
15 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
16
17 dev-python/toposort/Manifest | 1 +
18 dev-python/toposort/toposort-1.7.ebuild | 23 +++++++++++++++++++++++
19 2 files changed, 24 insertions(+)
20
21 diff --git a/dev-python/toposort/Manifest b/dev-python/toposort/Manifest
22 index 6e30f532eec..524a1795c6f 100644
23 --- a/dev-python/toposort/Manifest
24 +++ b/dev-python/toposort/Manifest
25 @@ -1 +1,2 @@
26 DIST toposort-1.6.tar.gz 11690 BLAKE2B a9a57fd182a3324d43112c3f84a20039f032d99bf2c35c6678a6a08c23b123f18610f460529dd39c769b935d98270a25ded2f1a483e4e6f06d3ccc501b340cb8 SHA512 8dc30b5d5a6f476756520236bc93840243690779783ec8f0b5ef0f72c64d774177b25d10d2e024cda968f81352abbc4f89f3069760fc3a86bd5ee387e7951928
27 +DIST toposort-1.7.tar.gz 10671 BLAKE2B 89da22e803c334cec77d5ac8ad6a9ab8013f7516555c2822bd6d511edf28230c85c2eaeabad3dc4a24a58ae3ce3850d407ad957d0e28491574557140a286843a SHA512 a585d1c103b2162fa3f37f6b0ef60a8709f08d9543d7fab619af3718bf9f752a293e50061d370fd08872b2d8a8db504cb9d9c1cce5446885b46fe8e833813833
28
29 diff --git a/dev-python/toposort/toposort-1.7.ebuild b/dev-python/toposort/toposort-1.7.ebuild
30 new file mode 100644
31 index 00000000000..3002de7baf9
32 --- /dev/null
33 +++ b/dev-python/toposort/toposort-1.7.ebuild
34 @@ -0,0 +1,23 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
41 +PYTHON_COMPAT=( python3_{8..10} )
42 +
43 +inherit distutils-r1
44 +
45 +DESCRIPTION="Implements a topological sort algorithm"
46 +HOMEPAGE="https://gitlab.com/ericvsmith/toposort"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="Apache-2.0"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="test"
53 +RESTRICT="!test? ( test )"
54 +
55 +python_test() {
56 + "${EPYTHON}" test/test_toposort.py || die
57 +}