Merge pull request #22645 from yggdrasil-openwrt/yggdrasil-2023-11-11
[feed/packages.git] / lang / python / python-referencing / Makefile
1 #
2 # Copyright (C) 2023 Jeffery To
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-referencing
11 PKG_VERSION:=0.30.2
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=referencing
15 PKG_HASH:=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
16
17 PKG_LICENSE:=MIT
18 PKG_LICENSE_FILES:=COPYING
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21 PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host
22
23 include ../pypi.mk
24 include $(INCLUDE_DIR)/package.mk
25 include ../python3-package.mk
26
27 define Package/python3-referencing
28 SECTION:=lang
29 CATEGORY:=Languages
30 SUBMENU:=Python
31 TITLE:=JSON Referencing + Python
32 URL:=https://github.com/python-jsonschema/referencing
33 DEPENDS:= \
34 +python3-light \
35 +python3-email \
36 +python3-urllib \
37 +python3-attrs \
38 +python3-rpds-py
39 endef
40
41 define Package/python3-referencing/description
42 An implementation-agnostic implementation of JSON reference resolution.
43 endef
44
45 $(eval $(call Py3Package,python3-referencing))
46 $(eval $(call BuildPackage,python3-referencing))
47 $(eval $(call BuildPackage,python3-referencing-src))