packages/lang/python/python-referencing/Makefile
Jeffery To 728aac31bb python-referencing: Add new package
From the README:

An implementation-agnostic implementation of JSON reference resolution.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-11-30 12:57:27 +08:00

47 lines
1.1 KiB
Makefile

#
# Copyright (C) 2023 Jeffery To
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-referencing
PKG_VERSION:=0.30.2
PKG_RELEASE:=1
PYPI_NAME:=referencing
PKG_HASH:=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-referencing
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=JSON Referencing + Python
URL:=https://github.com/python-jsonschema/referencing
DEPENDS:= \
+python3-light \
+python3-email \
+python3-urllib \
+python3-attrs \
+python3-rpds-py
endef
define Package/python3-referencing/description
An implementation-agnostic implementation of JSON reference resolution.
endef
$(eval $(call Py3Package,python3-referencing))
$(eval $(call BuildPackage,python3-referencing))
$(eval $(call BuildPackage,python3-referencing-src))