From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/
Date: Mon, 20 Sep 2021 13:14:45 +0000 (UTC) [thread overview]
Message-ID: <1632143476.623c029d762d84af78b897536357119470189abf.arthurzam@gentoo> (raw)
commit: 623c029d762d84af78b897536357119470189abf
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 20 13:11:16 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 20 13:11:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623c029d
dev-python/networkx: make all dependencies optional
- Make all dependencies as optional, in accordance to upstream
https://github.com/networkx/networkx/commit/5b86d913117ee22d9522755d607b5c6256cd57b9
- Remove all USE flags, as those are just runtime optional deps
- Remove examples USE flag, as those are installed unconditionally
by build system
- bump to EAPI=8
- test dependencies were selected as minimal as possible
Bug: https://bugs.gentoo.org/809038
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/networkx/networkx-2.6.3.ebuild | 40 +++++++++++++------------------
1 file changed, 17 insertions(+), 23 deletions(-)
diff --git a/dev-python/networkx/networkx-2.6.3.ebuild b/dev-python/networkx/networkx-2.6.3.ebuild
index 51a49fc1b85..d640dd46895 100644
--- a/dev-python/networkx/networkx-2.6.3.ebuild
+++ b/dev-python/networkx/networkx-2.6.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 virtualx
+inherit distutils-r1 optfeature virtualx
DESCRIPTION="Python tools to manipulate graphs and complex networks"
HOMEPAGE="https://networkx.org/ https://github.com/networkx/networkx"
@@ -13,32 +13,26 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="examples extras xml yaml"
-
-RDEPEND="
- >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}]
- >=dev-python/numpy-1.19[${PYTHON_USEDEP}]
- >=dev-python/pandas-1.1[${PYTHON_USEDEP}]
- >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}]
- extras? (
- >=dev-python/pydot-1.4.1[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/pygraphviz-1.7[${PYTHON_USEDEP}]
- >=sci-libs/gdal-1.10.0[python,${PYTHON_USEDEP}]
- ' python3_{8..9})
+
+BDEPEND="
+ test? (
+ >=dev-python/lxml-4.5[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.19[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
+ >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}]
)
- xml? ( >=dev-python/lxml-4.5[${PYTHON_USEDEP}] )
- yaml? ( >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] )"
+"
distutils_enable_tests pytest
python_test() {
- local deselect=()
- virtx epytest -p no:django ${deselect[@]/#/--deselect }
+ virtx epytest -p no:django
}
-python_install_all() {
- use examples && dodoc -r examples
-
- distutils-r1_python_install_all
+pkg_postinst() {
+ optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy"
+ optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot"
+ optfeature "YAML format reading and writing" "dev-python/pyyaml"
+ optfeature "shapefile format reading and writing" "dev-python/gdal"
+ optfeature "GraphML XML format" "dev-python/lxml"
}
next reply other threads:[~2021-09-20 13:14 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-20 13:14 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-09 10:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/ Michał Górny
2024-11-09 9:57 Arthur Zamarin
2024-10-26 11:52 Michał Górny
2024-10-22 3:10 Michał Górny
2024-10-12 4:35 Michał Górny
2024-10-11 3:06 Michał Górny
2024-10-07 4:43 Michał Górny
2024-06-28 17:33 Michał Górny
2024-05-22 8:03 Michał Górny
2024-05-01 17:44 Michał Górny
2024-05-01 16:48 Sam James
2024-04-13 16:08 Michał Górny
2024-04-06 15:01 Michał Górny
2024-02-20 10:27 Sam James
2024-02-20 7:27 Michał Górny
2024-02-20 7:08 Sam James
2024-02-20 7:08 Sam James
2024-01-04 11:29 WANG Xuerui
2023-12-09 17:02 Michał Górny
2023-12-09 17:02 Michał Górny
2023-12-09 16:39 Arthur Zamarin
2023-11-25 12:15 Sam James
2023-11-25 10:45 Arthur Zamarin
2023-11-19 20:07 Arthur Zamarin
2023-10-29 3:40 Sam James
2023-10-28 18:24 Michał Górny
2023-10-19 12:16 Michał Górny
2023-05-05 13:43 Michał Górny
2023-05-05 7:04 Sam James
2023-04-05 6:10 Michał Górny
2023-03-16 4:03 Michał Górny
2023-02-13 6:08 Michał Górny
2023-02-12 21:57 Sam James
2023-02-03 16:53 Sam James
2023-01-08 14:04 Michał Górny
2022-12-17 6:40 WANG Xuerui
2022-12-10 9:09 Michał Górny
2022-12-10 9:02 Arthur Zamarin
2022-11-14 9:24 Arthur Zamarin
2022-11-12 16:31 Arthur Zamarin
2022-11-03 19:44 Arthur Zamarin
2022-11-03 19:38 Arthur Zamarin
2022-11-02 7:37 Michał Górny
2022-10-02 18:54 Arthur Zamarin
2022-10-01 6:19 Arthur Zamarin
2022-09-28 21:27 Sam James
2022-09-26 6:06 Michał Górny
2022-08-22 19:23 Arthur Zamarin
2022-08-19 10:48 Michał Górny
2022-08-19 9:49 Arthur Zamarin
2022-07-19 1:50 Sam James
2022-07-10 19:16 Michał Górny
2022-07-10 19:12 Sam James
2022-06-22 11:50 Michał Górny
2022-06-22 10:10 Agostino Sarubbo
2022-06-15 11:32 Michał Górny
2022-06-05 9:14 Michał Górny
2022-06-02 23:08 Sam James
2022-05-22 5:53 Michał Górny
2022-05-19 7:14 Michał Górny
2022-05-15 10:41 Michał Górny
2022-05-15 8:19 Jakov Smolić
2022-04-10 9:55 Michał Górny
2022-04-10 9:05 Agostino Sarubbo
2022-04-10 8:58 Michał Górny
2022-03-09 20:06 Arthur Zamarin
2022-01-28 18:41 Arthur Zamarin
2021-11-20 23:20 Sam James
2021-11-20 23:20 Sam James
2021-10-16 6:09 Michał Górny
2021-10-16 1:12 Sam James
2021-09-21 5:16 Arthur Zamarin
2021-09-10 7:14 Michał Górny
2021-08-22 6:49 Michał Górny
2021-08-22 3:42 Sam James
2021-08-19 1:25 Agostino Sarubbo
2021-07-27 5:37 Michał Górny
2021-07-19 14:45 Marek Szuba
2021-07-09 7:26 Michał Górny
2021-07-05 13:25 Marek Szuba
2021-07-02 18:59 Michał Górny
2020-09-24 6:59 Agostino Sarubbo
2020-09-23 7:29 Michał Górny
2020-08-23 15:18 Michał Górny
2020-08-18 5:52 Sam James
2020-07-31 6:21 Michał Górny
2020-07-30 23:20 Sam James
2020-07-05 19:06 Michał Górny
2020-07-01 19:25 Michał Górny
2020-06-14 19:18 Michał Górny
2020-06-14 11:10 Michał Górny
2020-04-29 19:51 Patrick McLean
2020-03-28 9:20 Michał Górny
2019-12-29 13:23 Andreas Sturmlechner
2019-05-11 19:06 Matthew Thode
2018-07-18 19:58 Matt Thode
2018-03-31 1:54 Matt Thode
2018-02-19 18:56 Michał Górny
2018-02-13 20:46 Matt Thode
2018-01-05 13:26 Michał Górny
2017-06-27 2:49 Sebastien Fabbro
2017-06-17 15:36 Agostino Sarubbo
2017-06-03 16:40 Mike Gilbert
2017-05-02 9:48 Michał Górny
2017-02-02 18:43 David Seifert
2016-03-18 19:18 Sebastien Fabbro
2016-02-28 6:51 Matt Thode
2016-02-08 10:46 Justin Lecher
2016-02-03 9:05 Justin Lecher
2016-02-01 16:27 Justin Lecher
2015-10-14 16:17 Justin Lecher
2015-09-07 13:34 Justin Lecher
2015-09-07 13:34 Justin Lecher
2015-09-07 7:33 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1632143476.623c029d762d84af78b897536357119470189abf.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox