45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2024, Clouder Oy
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-pydantic-core
|
|
PKG_VERSION:=2.16.3
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=pydantic_core
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_MAINTAINER:=Ilkka Ollakka <ilkka.ollakka@cloudersolutions.com>
|
|
PKG_HASH:=1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad
|
|
|
|
PKG_BUILD_DEPENDS:=python-maturin/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-pydantic-core
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Pydantic-core
|
|
URL:=https://github.com/pydantic/pydantic-core
|
|
DEPENDS:= \
|
|
+python3-light \
|
|
$(RUST_ARCH_DEPENDS)
|
|
endef
|
|
|
|
define Package/python3-pydantic-core/description
|
|
This package provides the core functionality for pydantic validation and serialization.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-pydantic-core))
|
|
$(eval $(call BuildPackage,python3-pydantic-core))
|
|
$(eval $(call BuildPackage,python3-pydantic-core-src))
|