diff options
Diffstat (limited to 'math/py-grandalf')
-rw-r--r-- | math/py-grandalf/Makefile | 21 | ||||
-rw-r--r-- | math/py-grandalf/distinfo | 6 | ||||
-rw-r--r-- | math/py-grandalf/files/patch-setup.py | 10 | ||||
-rw-r--r-- | math/py-grandalf/pkg-descr | 22 |
4 files changed, 26 insertions, 33 deletions
diff --git a/math/py-grandalf/Makefile b/math/py-grandalf/Makefile index 2cd5cd73b3e1..9539a066d981 100644 --- a/math/py-grandalf/Makefile +++ b/math/py-grandalf/Makefile @@ -1,28 +1,19 @@ PORTNAME= grandalf -DISTVERSIONPREFIX= v DISTVERSION= 0.8 PORTREVISION= 1 -CATEGORIES= math graphics python -#MASTER_SITES= PYPI # no tarball +CATEGORIES= math python +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org -COMMENT= Graph experimentation and drawing algorithms framework +COMMENT= Graph and drawing algorithms framework WWW= https://github.com/bdcht/grandalf -LICENSE= MIT - -DEPRECATED= Depends on expired devel/py-pytest-runner -EXPIRATION_DATE=2025-03-31 - -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} +LICENSE= GPLv2 USES= python -USE_GITHUB= yes -GH_ACCOUNT= bdcht -USE_PYTHON= distutils autoplist pytest +USE_PYTHON= distutils autoplist -NO_ARCH= yes +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/math/py-grandalf/distinfo b/math/py-grandalf/distinfo index 58ab8a158e36..3027bcc2a6a7 100644 --- a/math/py-grandalf/distinfo +++ b/math/py-grandalf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731040005 -SHA256 (bdcht-grandalf-v0.8_GH0.tar.gz) = 82d80072e5a1928bc46d94a54d2d92a38f73da0af052efc84ce34b5f4601dfa2 -SIZE (bdcht-grandalf-v0.8_GH0.tar.gz) = 445590 +TIMESTAMP = 1752859612 +SHA256 (grandalf-0.8.tar.gz) = 2813f7aab87f0d20f334a3162ccfbcbf085977134a17a5b516940a93a77ea974 +SIZE (grandalf-0.8.tar.gz) = 38128 diff --git a/math/py-grandalf/files/patch-setup.py b/math/py-grandalf/files/patch-setup.py new file mode 100644 index 000000000000..795641ece9b4 --- /dev/null +++ b/math/py-grandalf/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2025-07-18 17:28:03 UTC ++++ setup.py +@@ -72,7 +72,6 @@ setup( + # your project is installed. For an analysis of "install_requires" vs pip's + # requirements files see: + # https://packaging.python.org/en/latest/requirements.html +- setup_requires=['pytest-runner',], + tests_require=['pytest',], + + install_requires=['pyparsing'], diff --git a/math/py-grandalf/pkg-descr b/math/py-grandalf/pkg-descr index 673159be8430..c6cc12335ca3 100644 --- a/math/py-grandalf/pkg-descr +++ b/math/py-grandalf/pkg-descr @@ -1,15 +1,7 @@ -Grandalf is a python package made for experimentations with graphs and drawing -algorithms. It is written in pure python, and implements two layouts: the -Sugiyama hierarchical layout and the force-driven or energy minimization -approach. While not as fast or featured as _graphviz_ or other libraries like -_OGDF_ (C++), _GDToolkit_ (C), _tulip_ (Java), it provides a way to draw and -navigate graphs no larger than thousands of nodes, while keeping the source code -simple enough to make it possible to easily tweak and hack any part of it for -experimental purpose. With a total of about 1500 lines of python, the code -involved in drawing the Sugiyama (dot) layout fits in less than 600 lines. -The energy minimization approach is comprised of only 250 lines! - -Grandalf does only two not-so-simple things: -* computing the nodes (x,y) coordinates (based on provided nodes dimensions, and - a chosen layout) -* routing the edges with lines or nurbs +Grandalf is a python package made for experimentations with graphs drawing +algorithms. It is written in pure python, and currently implements two layouts: +the Sugiyama hierarchical layout and the force-driven or energy minimization +approach. While not as fast or featured as graphviz or other libraries like OGDF +(C++), it provides a way to walk and draw graphs no larger than thousands of +nodes, while keeping the source code simple enough to make it possible to easily +tweak and hack any part of it for experimental purpose. |