[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages python-networkx
https://github.com/void-linux/void-packages/pull/14558
Remove python-networkx
Python 2.x is no longer supported:
https://networkx.github.io/documentation/stable/release/release_2.3.html
Python 3.x is still supported (python3-networkx).
A patch file from https://github.com/void-linux/void-packages/pull/14558.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-networkx-14558.patch --]
[-- Type: text/x-diff, Size: 2861 bytes --]
From dc9daefb88550b21a2d6202340f90c41fca8e658 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 18 Sep 2019 09:01:07 -0400
Subject: [PATCH 1/2] Remove python-networkx
Python 2.x is no longer supported:
https://networkx.github.io/documentation/stable/release/release_2.3.html
Python 3.x is still supported (python3-networkx).
---
srcpkgs/python-networkx/template | 20 --------------------
srcpkgs/python-networkx/update | 1 -
2 files changed, 21 deletions(-)
delete mode 100644 srcpkgs/python-networkx/template
delete mode 100644 srcpkgs/python-networkx/update
diff --git a/srcpkgs/python-networkx/template b/srcpkgs/python-networkx/template
deleted file mode 100644
index f209d8d2b14..00000000000
--- a/srcpkgs/python-networkx/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python-networkx'
-pkgname=python-networkx
-version=2.2
-revision=1
-archs=noarch
-wrksrc="networkx-${version}"
-build_style=python2-module
-pycompile_module="networkx"
-hostmakedepends="python-setuptools unzip"
-depends="python-decorator"
-short_desc="Python2 package for creating and manipulating graphs and networks"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="BSD-3-Clause"
-homepage="https://networkx.github.io/"
-distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.zip"
-checksum=45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b
-
-post_install() {
- vlicense LICENSE.txt
-}
diff --git a/srcpkgs/python-networkx/update b/srcpkgs/python-networkx/update
deleted file mode 100644
index e299d00ea67..00000000000
--- a/srcpkgs/python-networkx/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*rc*"
From 5c742e72bac59f2c9299fba7343174d2f047c705 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Thu, 7 Nov 2019 08:53:06 -0500
Subject: [PATCH 2/2] python3-networkx: update to 2.4.
---
srcpkgs/python3-networkx/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-networkx/template b/srcpkgs/python3-networkx/template
index eae29038d94..13acfd6a565 100644
--- a/srcpkgs/python3-networkx/template
+++ b/srcpkgs/python3-networkx/template
@@ -1,6 +1,6 @@
# Template file for 'python3-networkx'
pkgname=python3-networkx
-version=2.3
+version=2.4
revision=1
archs=noarch
wrksrc="networkx-${version}"
@@ -12,8 +12,8 @@ short_desc="Python3 package for creating and manipulating graphs and networks"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="BSD-3-Clause"
homepage="https://networkx.github.io/"
-distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.zip"
-checksum=8311ddef63cf5c5c5e7c1d0212dd141d9a1fe3f474915281b73597ed5f1d4e3d
+distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.tar.gz"
+checksum=f8f4ff0b6f96e4f9b16af6b84622597b5334bf9cae8cf9b2e42e7985d5c95c64
post_install() {
vlicense LICENSE.txt