summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--graphics/Makefile2
-rw-r--r--graphics/py-graph-core/Makefile20
-rw-r--r--graphics/py-graph-core/distinfo3
-rw-r--r--graphics/py-graph-core/pkg-descr5
-rw-r--r--graphics/py-pygraph/Makefile22
-rw-r--r--graphics/py-pygraph/distinfo3
-rw-r--r--graphics/py-pygraph/pkg-descr8
8 files changed, 35 insertions, 29 deletions
diff --git a/MOVED b/MOVED
index 7d2754fa0185..1c76099f0be9 100644
--- a/MOVED
+++ b/MOVED
@@ -16173,3 +16173,4 @@ textproc/py-sphinxcontrib-websupport11|textproc/py-sphinxcontrib-websupport|2021
textproc/py-sphinx18|textproc/py-sphinx|2021-02-17|Has expired: Old version, use textproc/py-sphinx instead
audio/herrie||2021-02-17|Removed
sysutils/uefi-edk2-bhyve-devel|sysutils/uefi-edk2-bhyve|2021-02-17|Development version no longer necessary
+graphics/py-graph-core|graphics/py-pygraph|2021-02-19|Is outdated and broken with python3, use graphics/py-pygraph instead
diff --git a/graphics/Makefile b/graphics/Makefile
index 667ba145f8b2..9dd362dc3693 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -824,7 +824,6 @@
SUBDIR += py-glfw
SUBDIR += py-glooey
SUBDIR += py-gphoto2
- SUBDIR += py-graph-core
SUBDIR += py-graphviz
SUBDIR += py-graphy
SUBDIR += py-gvgen
@@ -865,6 +864,7 @@
SUBDIR += py-pygeos
SUBDIR += py-pyglet
SUBDIR += py-pyglet150
+ SUBDIR += py-pygraph
SUBDIR += py-pygraphviz
SUBDIR += py-pyinsane2
SUBDIR += py-pymaging
diff --git a/graphics/py-graph-core/Makefile b/graphics/py-graph-core/Makefile
deleted file mode 100644
index 7c7c5a5ce284..000000000000
--- a/graphics/py-graph-core/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
-# $FreeBSD$
-
-PORTNAME= graph-core
-PORTVERSION= 1.8.2
-PORTREVISION= 2
-CATEGORIES= graphics python
-MASTER_SITES= CHEESESHOP
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= python-${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= demon@FreeBSD.org
-COMMENT= Library for working with graphs in Python, core module
-
-LICENSE= MIT
-
-USES= python:3.6+
-USE_PYTHON= distutils autoplist
-
-.include <bsd.port.mk>
diff --git a/graphics/py-graph-core/distinfo b/graphics/py-graph-core/distinfo
deleted file mode 100644
index 93321eb190dc..000000000000
--- a/graphics/py-graph-core/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1489918992
-SHA256 (python-graph-core-1.8.2.tar.gz) = 503fa45f42b3bfa8b62db1357afaec52fe0e9104e27e905e24784ef62347fc21
-SIZE (python-graph-core-1.8.2.tar.gz) = 27414
diff --git a/graphics/py-graph-core/pkg-descr b/graphics/py-graph-core/pkg-descr
deleted file mode 100644
index 449f9c862283..000000000000
--- a/graphics/py-graph-core/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-A library for working with graphs in Python.
-It provides a suitable data structure for representing graphs
-and a whole set of important algorithms.
-
-WWW: http://code.google.com/p/python-graph/
diff --git a/graphics/py-pygraph/Makefile b/graphics/py-pygraph/Makefile
new file mode 100644
index 000000000000..bf6a57a41874
--- /dev/null
+++ b/graphics/py-pygraph/Makefile
@@ -0,0 +1,22 @@
+# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
+# $FreeBSD$
+
+PORTNAME= pygraph
+DISTVERSION= 0.2.1-4
+DISTVERSIONSUFFIX= -g037bb2f
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Graph manipulation library in pure Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.6+
+USE_GITHUB= yes
+GH_ACCOUNT= jciskey
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/graphics/py-pygraph/distinfo b/graphics/py-pygraph/distinfo
new file mode 100644
index 000000000000..ed3f0cf85f6a
--- /dev/null
+++ b/graphics/py-pygraph/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613740798
+SHA256 (jciskey-pygraph-0.2.1-4-g037bb2f_GH0.tar.gz) = 59cdaccb7294cf413ec8d13ddf74f55ff5ba8d1c830551af6018dbefe5ea608e
+SIZE (jciskey-pygraph-0.2.1-4-g037bb2f_GH0.tar.gz) = 31765
diff --git a/graphics/py-pygraph/pkg-descr b/graphics/py-pygraph/pkg-descr
new file mode 100644
index 000000000000..a9f843a6969d
--- /dev/null
+++ b/graphics/py-pygraph/pkg-descr
@@ -0,0 +1,8 @@
+Pygraph aims to be an easy-to-use and functional graph library that
+doesn't sacrifice advanced capabilities or usability in the process.
+
+By implementing the library in pure Python, it can be installed without
+any dependencies aside from the Python core, enabling maximum ease of
+use.
+
+WWW: https://github.com/jciskey/pygraph