pkgsrc-WIP-changes archive

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

py-referencing: add incomplete package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Jul 19 13:16:45 2023 +0200
Changeset:	8eede8141d5628dfc58d09e164d10a81b7b16c20

Modified Files:
	Makefile
Added Files:
	py-referencing/DESCR
	py-referencing/Makefile
	py-referencing/PLIST
	py-referencing/TODO
	py-referencing/distinfo

Log Message:
py-referencing: add incomplete package

Needs a package for https://pypi.org/project/rpds-py/

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

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

diffstat:
 Makefile                |  6 ++++--
 py-referencing/DESCR    |  6 ++++++
 py-referencing/Makefile | 28 ++++++++++++++++++++++++++++
 py-referencing/PLIST    | 36 ++++++++++++++++++++++++++++++++++++
 py-referencing/TODO     |  1 +
 py-referencing/distinfo |  5 +++++
 6 files changed, 80 insertions(+), 2 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index a7bdccfe72..8460be725a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,6 @@
 
 COMMENT=	Work-in-progress packages
 
-
 SUBDIR+=	2048-c
 SUBDIR+=	3dsconv
 SUBDIR+=	4ti2
@@ -38,6 +37,7 @@ SUBDIR+=	PayloadsAllTheThings
 SUBDIR+=	PyBabelFish
 SUBDIR+=	Pythonol
 SUBDIR+=	Qweyboard
+SUBDIR+=	R
 SUBDIR+=	R-BiocGenerics
 SUBDIR+=	R-C50
 SUBDIR+=	R-MySQL
@@ -1099,10 +1099,10 @@ SUBDIR+=	gcc9snapshot
 SUBDIR+=	gconf-cleaner
 SUBDIR+=	gdal-docs
 SUBDIR+=	gdal-grass
-SUBDIR+=	gdb
 SUBDIR+=	gdb-git
 SUBDIR+=	gdb5
 SUBDIR+=	gdb6
+SUBDIR+=	gdb8
 SUBDIR+=	gdcm
 SUBDIR+=	gde
 SUBDIR+=	gdk-pixbuf-jxl
@@ -2370,6 +2370,7 @@ SUBDIR+=	mintotp
 SUBDIR+=	minuit2
 SUBDIR+=	miracl
 SUBDIR+=	mirage
+SUBDIR+=	mirmake
 SUBDIR+=	miro
 SUBDIR+=	mistserver
 SUBDIR+=	mixer.tk
@@ -4478,6 +4479,7 @@ SUBDIR+=	py-recordclass
 SUBDIR+=	py-redbaron
 SUBDIR+=	py-redis-cluster
 SUBDIR+=	py-reducer
+SUBDIR+=	py-referencing
 SUBDIR+=	py-registry
 SUBDIR+=	py-releases
 SUBDIR+=	py-remctl
diff --git a/py-referencing/DESCR b/py-referencing/DESCR
new file mode 100644
index 0000000000..51b27a6337
--- /dev/null
+++ b/py-referencing/DESCR
@@ -0,0 +1,6 @@
+An implementation-agnostic implementation of JSON reference
+resolution.
+
+In other words, a way for e.g. JSON Schema tooling to resolve the
+``$ref`` keyword across all drafts without needing to implement
+support themselves.
diff --git a/py-referencing/Makefile b/py-referencing/Makefile
new file mode 100644
index 0000000000..23cb4ebaec
--- /dev/null
+++ b/py-referencing/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	referencing-0.30.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_PYPI:=r/referencing/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/python-jsonschema/referencing
+COMMENT=	JSON Referencing in Python
+LICENSE=	mit
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
+DEPENDS+=	${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs
+#TODO: needs packaging
+#DEPENDS+=	${PYPKGPREFIX}-rpds>=0.7.0:../../devel/py-rpds
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-referencing/PLIST b/py-referencing/PLIST
new file mode 100644
index 0000000000..f1e7ec6467
--- /dev/null
+++ b/py-referencing/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING
+${PYSITELIB}/referencing/__init__.py
+${PYSITELIB}/referencing/__init__.pyc
+${PYSITELIB}/referencing/_attrs.py
+${PYSITELIB}/referencing/_attrs.pyc
+${PYSITELIB}/referencing/_attrs.pyi
+${PYSITELIB}/referencing/_core.py
+${PYSITELIB}/referencing/_core.pyc
+${PYSITELIB}/referencing/exceptions.py
+${PYSITELIB}/referencing/exceptions.pyc
+${PYSITELIB}/referencing/jsonschema.py
+${PYSITELIB}/referencing/jsonschema.pyc
+${PYSITELIB}/referencing/py.typed
+${PYSITELIB}/referencing/retrieval.py
+${PYSITELIB}/referencing/retrieval.pyc
+${PYSITELIB}/referencing/tests/__init__.py
+${PYSITELIB}/referencing/tests/__init__.pyc
+${PYSITELIB}/referencing/tests/test_core.py
+${PYSITELIB}/referencing/tests/test_core.pyc
+${PYSITELIB}/referencing/tests/test_exceptions.py
+${PYSITELIB}/referencing/tests/test_exceptions.pyc
+${PYSITELIB}/referencing/tests/test_jsonschema.py
+${PYSITELIB}/referencing/tests/test_jsonschema.pyc
+${PYSITELIB}/referencing/tests/test_referencing_suite.py
+${PYSITELIB}/referencing/tests/test_referencing_suite.pyc
+${PYSITELIB}/referencing/tests/test_retrieval.py
+${PYSITELIB}/referencing/tests/test_retrieval.pyc
+${PYSITELIB}/referencing/typing.py
+${PYSITELIB}/referencing/typing.pyc
diff --git a/py-referencing/TODO b/py-referencing/TODO
new file mode 100644
index 0000000000..79dbcfb239
--- /dev/null
+++ b/py-referencing/TODO
@@ -0,0 +1 @@
+Depends on https://pypi.org/project/rpds-py/ which is not yet packaged.
diff --git a/py-referencing/distinfo b/py-referencing/distinfo
new file mode 100644
index 0000000000..7cf520f072
--- /dev/null
+++ b/py-referencing/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (referencing-0.30.0.tar.gz) = fa61ec3b450beb327c0023e41274b618feb5cebac299e5fc8b559fbe5a2926c0
+SHA512 (referencing-0.30.0.tar.gz) = afc709140706f37a6baad5e2293fe3e7f4e214867020ac962e1ee1282777d4e6864037d6d545a0429dd11fd1eb2f91b633192cb0752f4ad4b8d138897ba2a573
+Size (referencing-0.30.0.tar.gz) = 35259 bytes


Home | Main Index | Thread Index | Old Index