git: 628705efc5f3 - main - math/py-squarify: New port: Squarify treemap layout algorithm
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jan 2024 08:09:08 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=628705efc5f3fee6d1538ab103361f4fd19cf549
commit 628705efc5f3fee6d1538ab103361f4fd19cf549
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-01 02:48:26 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-01 08:09:01 +0000
math/py-squarify: New port: Squarify treemap layout algorithm
---
math/Makefile | 1 +
math/py-squarify/Makefile | 18 ++++++++++++++++++
math/py-squarify/distinfo | 3 +++
math/py-squarify/pkg-descr | 8 ++++++++
4 files changed, 30 insertions(+)
diff --git a/math/Makefile b/math/Makefile
index d41e49720103..53ff700a427e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1069,6 +1069,7 @@
SUBDIR += py-spot
SUBDIR += py-spreg
SUBDIR += py-spvcm
+ SUBDIR += py-squarify
SUBDIR += py-ssm
SUBDIR += py-statsmodels
SUBDIR += py-svgmath
diff --git a/math/py-squarify/Makefile b/math/py-squarify/Makefile
new file mode 100644
index 000000000000..ffc11dc69435
--- /dev/null
+++ b/math/py-squarify/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= squarify
+PORTVERSION= 0.4.3
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Squarify treemap layout algorithm
+WWW= https://github.com/laserson/squarify
+
+LICENSE= APACHE20
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-squarify/distinfo b/math/py-squarify/distinfo
new file mode 100644
index 000000000000..d687e97923fc
--- /dev/null
+++ b/math/py-squarify/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704074541
+SHA256 (squarify-0.4.3.tar.gz) = 54091f6ad175f7f201f8934574e647ce1b50dedc478c5fd968688eb7d7469f95
+SIZE (squarify-0.4.3.tar.gz) = 4292
diff --git a/math/py-squarify/pkg-descr b/math/py-squarify/pkg-descr
new file mode 100644
index 000000000000..6158129451a4
--- /dev/null
+++ b/math/py-squarify/pkg-descr
@@ -0,0 +1,8 @@
+squarify is a pure Python implementation of the squarify treemap layout
+algorithm.
+
+squarify is an extension to the treemap method for the visualization of
+hierarchical information, such as directory structures and Organization
+structures, is presented. The Standard treemap method often gives thin,
+elongated rectangles. As a result, rectangles are difficult to compare and
+to select.