[arch-commits] Commit in python-networkx/trunk (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Jul 26 18:31:50 UTC 2021
Date: Monday, July 26, 2021 @ 18:31:50
Author: felixonmars
Revision: 985688
upgpkg: python-networkx 2.6.1-1
Modified:
python-networkx/trunk/PKGBUILD
Deleted:
python-networkx/trunk/0001-Updated-decorator-requirement-for-4718.patch
---------------------------------------------------+
0001-Updated-decorator-requirement-for-4718.patch | 29 --------------------
PKGBUILD | 29 ++++++--------------
2 files changed, 10 insertions(+), 48 deletions(-)
Deleted: 0001-Updated-decorator-requirement-for-4718.patch
===================================================================
--- 0001-Updated-decorator-requirement-for-4718.patch 2021-07-26 18:31:03 UTC (rev 985687)
+++ 0001-Updated-decorator-requirement-for-4718.patch 2021-07-26 18:31:50 UTC (rev 985688)
@@ -1,29 +0,0 @@
-From 2a472c4fab230394842f252abd033d9d3c69f0c0 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz <eschwartz at archlinux.org>
-Date: Fri, 7 May 2021 14:39:53 -0400
-Subject: [PATCH] Updated decorator requirement for #4718
-
-incompatible with decorator 5.0.0 through 5.0.6, fix pinned version
-by requiring >=5.0.7 (which we package) rather than 4.* which we don't
-
-See https://github.com/networkx/networkx/pull/4773
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index eb1521d7..3cad13f3 100644
---- a/setup.py
-+++ b/setup.py
-@@ -124,7 +124,7 @@ package_data = {
- "networkx.utils": ["tests/*.py"],
- }
-
--install_requires = ["decorator>=4.3,<5"]
-+install_requires = ["decorator>=5.0.7"]
- extras_require = {
- "all": [
- "numpy",
---
-2.31.1
-
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-26 18:31:03 UTC (rev 985687)
+++ PKGBUILD 2021-07-26 18:31:50 UTC (rev 985688)
@@ -2,31 +2,22 @@
# Contributor: Clément DEMOULINS <clement at archivel.fr>
pkgname=python-networkx
-pkgver=2.5.1
-pkgrel=2
+pkgver=2.6.1
+pkgrel=1
pkgdesc='Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.'
arch=('any')
license=('BSD')
url="https://networkx.github.io"
-depends=('python-decorator')
-optdepends=('python-numpy: Provides sparse matrix representation of graphs and many numerical scientific tools.'
- 'python-scipy: Provides flexible drawing of graphs.'
- 'python-pyparsing: Required for pydot, GML file reading.'
- 'python-yaml: Required for YAML format reading and writing.')
+depends=('python-numpy' 'python-scipy' 'python-matplotlib' 'python-pandas')
+optdepends=('python-lxml: for GraphML XML format'
+ 'python-pydot: for graph drawing and graph layout algorithms via GraphViz'
+ 'python-yaml: for YAML format reading and writing')
+# python-pygraphviz: for graph drawing and graph layout algorithms via GraphViz
makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("https://github.com/networkx/networkx/archive/networkx-$pkgver.tar.gz"
- "0001-Updated-decorator-requirement-for-4718.patch")
-sha512sums=('0eb43aa9cedacb3e6dfa44703d300591ce5214e983d01e526f34105e0a565d49ef424c4c4232340b01b3e396a09ed44aee658bab0aa613edcba4d7b9b1aebe6a'
- '007e3dceb06f20ec7e2e492839e5d21d51966c6b6ae65d92140caebe97745b386ceebc8db6bdd4a8e27f807a7d158f42ddbaaeb2320e533567c19910ae1dd6e4')
+checkdepends=('python-pytest-runner' 'python-lxml' 'python-pydot' 'python-yaml')
+source=("https://github.com/networkx/networkx/archive/networkx-$pkgver.tar.gz")
+sha512sums=('61ad2d026970b5447e1a14e54be3273477bf4bcc7cf5a7e9b4538d6dbea27b82a6cdc006a3b22cbfa0e358498ff7016523be50834260423585ab208d5c020f47')
-prepare() {
- cd networkx-networkx-$pkgver
-
- # https://github.com/networkx/networkx/pull/4773
- patch -p1 -i ../0001-Updated-decorator-requirement-for-4718.patch
-}
-
build() {
cd networkx-networkx-$pkgver
python setup.py build
More information about the arch-commits
mailing list