pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New package, py-liblarch-3.1.0.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sun Nov 28 16:14:07 2021 +0000
Changeset:	55ce6e54c7d6a5f8fa1870318d533fae5e807037

Modified Files:
	Makefile
Added Files:
	py-liblarch/DESCR
	py-liblarch/Makefile
	py-liblarch/PLIST
	py-liblarch/distinfo
	py-liblarch/patches/patch-setup.py

Log Message:
New package, py-liblarch-3.1.0.

If you find Gtk.Treeview and Gtk.Treemodel hard to use, then liblarch is
probably for you.

Liblarch is a python library built to easily handle data structure such are
lists, trees and acyclic graphs (tree where nodes can have multiple parents).
There's also a liblarch-gtk binding that will allow you to use your data
structure into a Gtk.Treeview.

Liblarch support multiple views of one data structure and complex filtering.
That way, you have a clear separation between your data themselves (Model) and
how they are displayed (View).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=55ce6e54c7d6a5f8fa1870318d533fae5e807037

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                           |  1 +
 py-liblarch/DESCR                  | 11 +++++++++++
 py-liblarch/Makefile               | 20 ++++++++++++++++++++
 py-liblarch/PLIST                  | 35 +++++++++++++++++++++++++++++++++++
 py-liblarch/distinfo               |  6 ++++++
 py-liblarch/patches/patch-setup.py | 15 +++++++++++++++
 6 files changed, 88 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e2535d3e0e..ec4ead763f 100644
--- a/Makefile
+++ b/Makefile
@@ -4005,6 +4005,7 @@ SUBDIR+=	py-lenstools
 SUBDIR+=	py-lib
 SUBDIR+=	py-libclang-py3
 SUBDIR+=	py-libgit2-glib
+SUBDIR+=	py-liblarch
 SUBDIR+=	py-liblzma
 SUBDIR+=	py-libmpdclient2
 SUBDIR+=	py-libopensync-plugin
diff --git a/py-liblarch/DESCR b/py-liblarch/DESCR
new file mode 100644
index 0000000000..028b264dcd
--- /dev/null
+++ b/py-liblarch/DESCR
@@ -0,0 +1,11 @@
+If you find Gtk.Treeview and Gtk.Treemodel hard to use, then liblarch is
+probably for you.
+
+Liblarch is a python library built to easily handle data structure such are
+lists, trees and acyclic graphs (tree where nodes can have multiple parents).
+There's also a liblarch-gtk binding that will allow you to use your data
+structure into a Gtk.Treeview.
+
+Liblarch support multiple views of one data structure and complex filtering.
+That way, you have a clear separation between your data themselves (Model) and
+how they are displayed (View).
diff --git a/py-liblarch/Makefile b/py-liblarch/Makefile
new file mode 100644
index 0000000000..6422fa3d95
--- /dev/null
+++ b/py-liblarch/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	liblarch-3.1.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+GITHUB_PROJECT=	liblarch
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_GITHUB:=getting-things-gnome/}
+
+MAINTAINER=	bsiegert%NetBSD.org@localhost
+HOMEPAGE=	https://wiki.gnome.org/Projects/liblarch
+COMMENT=	Python library for handling lists, trees and DAGs
+LICENSE=	gnu-lgpl-v3
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-liblarch/PLIST b/py-liblarch/PLIST
new file mode 100644
index 0000000000..92aabdc978
--- /dev/null
+++ b/py-liblarch/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/liblarch/__init__.py
+${PYSITELIB}/liblarch/__init__.pyc
+${PYSITELIB}/liblarch/__init__.pyo
+${PYSITELIB}/liblarch/filteredtree.py
+${PYSITELIB}/liblarch/filteredtree.pyc
+${PYSITELIB}/liblarch/filteredtree.pyo
+${PYSITELIB}/liblarch/filters_bank.py
+${PYSITELIB}/liblarch/filters_bank.pyc
+${PYSITELIB}/liblarch/filters_bank.pyo
+${PYSITELIB}/liblarch/processqueue.py
+${PYSITELIB}/liblarch/processqueue.pyc
+${PYSITELIB}/liblarch/processqueue.pyo
+${PYSITELIB}/liblarch/tree.py
+${PYSITELIB}/liblarch/tree.pyc
+${PYSITELIB}/liblarch/tree.pyo
+${PYSITELIB}/liblarch/treenode.py
+${PYSITELIB}/liblarch/treenode.pyc
+${PYSITELIB}/liblarch/treenode.pyo
+${PYSITELIB}/liblarch/viewcount.py
+${PYSITELIB}/liblarch/viewcount.pyc
+${PYSITELIB}/liblarch/viewcount.pyo
+${PYSITELIB}/liblarch/viewtree.py
+${PYSITELIB}/liblarch/viewtree.pyc
+${PYSITELIB}/liblarch/viewtree.pyo
+${PYSITELIB}/liblarch_gtk/__init__.py
+${PYSITELIB}/liblarch_gtk/__init__.pyc
+${PYSITELIB}/liblarch_gtk/__init__.pyo
+${PYSITELIB}/liblarch_gtk/treemodel.py
+${PYSITELIB}/liblarch_gtk/treemodel.pyc
+${PYSITELIB}/liblarch_gtk/treemodel.pyo
diff --git a/py-liblarch/distinfo b/py-liblarch/distinfo
new file mode 100644
index 0000000000..aa700e9288
--- /dev/null
+++ b/py-liblarch/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (liblarch-3.1.0.tar.gz) = a94000e460533d2dfed66073fa8bf8dd202e30bf3317213a99ba989006b1b298
+SHA512 (liblarch-3.1.0.tar.gz) = 042a763dd12612d6630c064b5af84011f1fb908626f17f866e103743cdaabb4983f922290287b0138938488a7c9bff33680ef8157f8bbcbc166e4f4f2d008951
+Size (liblarch-3.1.0.tar.gz) = 55727 bytes
+SHA1 (patch-setup.py) = 23a3eff9ab68b703b84adfc7896d78db56f4692a
diff --git a/py-liblarch/patches/patch-setup.py b/py-liblarch/patches/patch-setup.py
new file mode 100644
index 0000000000..7af85dea78
--- /dev/null
+++ b/py-liblarch/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use setuptools for setup.py
+
+--- setup.py.orig	2021-03-31 23:53:33.000000000 +0000
++++ setup.py
+@@ -18,7 +18,7 @@
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+ # -----------------------------------------------------------------------------
+ 
+-from distutils.core import setup
++from setuptools import setup
+ 
+ setup(
+     version='3.1.0',


Home | Main Index | Thread Index | Old Index