pkgsrc-WIP-changes archive

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

py-graphtage: new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Tue Aug 23 22:56:15 2022 +0200
Changeset:	42622665f7c062dd87b1110c4d3b27ca69670829

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

Log Message:
py-graphtage: new package

TODO: Nothing. Finished, import it if you find it useful.

Graphtage is a command-line utility and underlying library for
semantically comparing and merging tree-like structures, such as
JSON, XML, HTML, YAML, plist, and CSS files. Its name is a portmanteau
of "graph" and "graftage"-the latter being the horticultural practice
of joining two trees together such that they grow as one.

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

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

diffstat:
 Makefile                            |  2 +
 py-graphtage/DESCR                  |  5 +++
 py-graphtage/Makefile               | 33 ++++++++++++++++
 py-graphtage/PLIST                  | 77 +++++++++++++++++++++++++++++++++++++
 py-graphtage/distinfo               |  6 +++
 py-graphtage/patches/patch-setup.py | 15 ++++++++
 6 files changed, 138 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b3ef30e1e1..3b43e6fa06 100644
--- a/Makefile
+++ b/Makefile
@@ -3901,6 +3901,7 @@ SUBDIR+=	py-graphql-core
 SUBDIR+=	py-graphql-relay
 SUBDIR+=	py-graphs
 SUBDIR+=	py-graphsim
+SUBDIR+=	py-graphtage
 SUBDIR+=	py-gratelpy
 SUBDIR+=	py-gravipy
 SUBDIR+=	py-greenery
@@ -5675,6 +5676,7 @@ SUBDIR+=	tilda
 SUBDIR+=	tilix
 SUBDIR+=	timewarrior
 SUBDIR+=	timg
+SUBDIR+=	tintin++
 SUBDIR+=	tinyca2
 SUBDIR+=	tinycobol
 SUBDIR+=	tinyfugue-beta
diff --git a/py-graphtage/DESCR b/py-graphtage/DESCR
new file mode 100644
index 0000000000..58ab30044d
--- /dev/null
+++ b/py-graphtage/DESCR
@@ -0,0 +1,5 @@
+Graphtage is a command-line utility and underlying library for
+semantically comparing and merging tree-like structures, such as
+JSON, XML, HTML, YAML, plist, and CSS files. Its name is a portmanteau
+of "graph" and "graftage"-the latter being the horticultural practice
+of joining two trees together such that they grow as one.
diff --git a/py-graphtage/Makefile b/py-graphtage/Makefile
new file mode 100644
index 0000000000..197127c273
--- /dev/null
+++ b/py-graphtage/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME=	graphtage-0.2.6
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	textproc python
+MASTER_SITES=	${MASTER_SITE_PYPI:=g/graphtage/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/trailofbits/graphtage
+COMMENT=	Utility to diff tree-like files such as JSON and XML
+LICENSE=	gnu-lgpl-v3 # or later
+
+TEST_DEPENDS+=	${PYPKGPREFIX}-flake8>=0:../../devel/py-flake8
+BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-rtd-theme-[0-9]*:../../textproc/py-sphinx-rtd-theme
+BUILD_DEPENDS+=	${PYPKGPREFIX}-twine>=0:../../net/py-twine
+DEPENDS+=	${PYPKGPREFIX}-colorama>=0:../../comms/py-colorama
+DEPENDS+=	${PYPKGPREFIX}-intervaltree>=0:../../devel/py-intervaltree
+DEPENDS+=	${PYPKGPREFIX}-json5>=0:../../wip/py-json5
+DEPENDS+=	${PYPKGPREFIX}-yaml>=0:../../textproc/py-yaml
+DEPENDS+=	${PYPKGPREFIX}-scipy>=1.4.0:../../math/py-scipy
+DEPENDS+=	${PYPKGPREFIX}-tqdm>=0:../../misc/py-tqdm
+DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+BUILDLINK_API_DEPENDS.py-numpy+=	${PYPKGPREFIX}-numpy>=1.19.4
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-graphtage/PLIST b/py-graphtage/PLIST
new file mode 100644
index 0000000000..f1960dea2b
--- /dev/null
+++ b/py-graphtage/PLIST
@@ -0,0 +1,77 @@
+@comment $NetBSD$
+bin/graphtage
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/graphtage/__init__.py
+${PYSITELIB}/graphtage/__init__.pyc
+${PYSITELIB}/graphtage/__init__.pyo
+${PYSITELIB}/graphtage/__main__.py
+${PYSITELIB}/graphtage/__main__.pyc
+${PYSITELIB}/graphtage/__main__.pyo
+${PYSITELIB}/graphtage/bounds.py
+${PYSITELIB}/graphtage/bounds.pyc
+${PYSITELIB}/graphtage/bounds.pyo
+${PYSITELIB}/graphtage/csv.py
+${PYSITELIB}/graphtage/csv.pyc
+${PYSITELIB}/graphtage/csv.pyo
+${PYSITELIB}/graphtage/edits.py
+${PYSITELIB}/graphtage/edits.pyc
+${PYSITELIB}/graphtage/edits.pyo
+${PYSITELIB}/graphtage/expressions.py
+${PYSITELIB}/graphtage/expressions.pyc
+${PYSITELIB}/graphtage/expressions.pyo
+${PYSITELIB}/graphtage/fibonacci.py
+${PYSITELIB}/graphtage/fibonacci.pyc
+${PYSITELIB}/graphtage/fibonacci.pyo
+${PYSITELIB}/graphtage/formatter.py
+${PYSITELIB}/graphtage/formatter.pyc
+${PYSITELIB}/graphtage/formatter.pyo
+${PYSITELIB}/graphtage/graphtage.py
+${PYSITELIB}/graphtage/graphtage.pyc
+${PYSITELIB}/graphtage/graphtage.pyo
+${PYSITELIB}/graphtage/json.py
+${PYSITELIB}/graphtage/json.pyc
+${PYSITELIB}/graphtage/json.pyo
+${PYSITELIB}/graphtage/levenshtein.py
+${PYSITELIB}/graphtage/levenshtein.pyc
+${PYSITELIB}/graphtage/levenshtein.pyo
+${PYSITELIB}/graphtage/matching.py
+${PYSITELIB}/graphtage/matching.pyc
+${PYSITELIB}/graphtage/matching.pyo
+${PYSITELIB}/graphtage/multiset.py
+${PYSITELIB}/graphtage/multiset.pyc
+${PYSITELIB}/graphtage/multiset.pyo
+${PYSITELIB}/graphtage/plist.py
+${PYSITELIB}/graphtage/plist.pyc
+${PYSITELIB}/graphtage/plist.pyo
+${PYSITELIB}/graphtage/printer.py
+${PYSITELIB}/graphtage/printer.pyc
+${PYSITELIB}/graphtage/printer.pyo
+${PYSITELIB}/graphtage/progress.py
+${PYSITELIB}/graphtage/progress.pyc
+${PYSITELIB}/graphtage/progress.pyo
+${PYSITELIB}/graphtage/search.py
+${PYSITELIB}/graphtage/search.pyc
+${PYSITELIB}/graphtage/search.pyo
+${PYSITELIB}/graphtage/sequences.py
+${PYSITELIB}/graphtage/sequences.pyc
+${PYSITELIB}/graphtage/sequences.pyo
+${PYSITELIB}/graphtage/tree.py
+${PYSITELIB}/graphtage/tree.pyc
+${PYSITELIB}/graphtage/tree.pyo
+${PYSITELIB}/graphtage/utils.py
+${PYSITELIB}/graphtage/utils.pyc
+${PYSITELIB}/graphtage/utils.pyo
+${PYSITELIB}/graphtage/version.py
+${PYSITELIB}/graphtage/version.pyc
+${PYSITELIB}/graphtage/version.pyo
+${PYSITELIB}/graphtage/xml.py
+${PYSITELIB}/graphtage/xml.pyc
+${PYSITELIB}/graphtage/xml.pyo
+${PYSITELIB}/graphtage/yaml.py
+${PYSITELIB}/graphtage/yaml.pyc
+${PYSITELIB}/graphtage/yaml.pyo
diff --git a/py-graphtage/distinfo b/py-graphtage/distinfo
new file mode 100644
index 0000000000..fb1b44abbd
--- /dev/null
+++ b/py-graphtage/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (graphtage-0.2.6.tar.gz) = c83b0c876a6c9b6dc30de0d2d65791bfc7d65417911da5af8639b97bb4cdbfb9
+SHA512 (graphtage-0.2.6.tar.gz) = a393ed15b9b84b580a13fad7f5a29d76025eb8b4354b7f6bb28249205894cd541f238afe9b71966700c2300e617b2fba5afa209fd814ef3accc90685aee1b825
+Size (graphtage-0.2.6.tar.gz) = 91453 bytes
+SHA1 (patch-setup.py) = fde727fe5eeae399d9a9f9ed0bedbe096402694c
diff --git a/py-graphtage/patches/patch-setup.py b/py-graphtage/patches/patch-setup.py
new file mode 100644
index 0000000000..f67417585b
--- /dev/null
+++ b/py-graphtage/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Lessen restrictions.
+
+--- setup.py.orig	2022-05-16 18:47:54.000000000 +0000
++++ setup.py
+@@ -38,7 +38,7 @@ setup(
+     install_requires=[
+         'colorama',
+         'intervaltree',
+-        'json5==0.9.5',
++        'json5>=0.9.5',
+         'numpy>=1.19.4',
+         'PyYAML',
+         'scipy>=1.4.0',


Home | Main Index | Thread Index | Old Index