2015-04-18 08:21:20 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008-2015 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2019-09-01 09:56:01 +02:00
|
|
|
PKG_NAME:=python-yaml
|
2023-09-04 23:29:19 +02:00
|
|
|
PKG_VERSION:=6.0.1
|
2024-02-20 12:49:43 +01:00
|
|
|
PKG_RELEASE:=2
|
2015-04-18 08:21:20 +02:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=PyYAML
|
2023-09-04 23:29:19 +02:00
|
|
|
PKG_HASH:=bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43
|
2015-04-18 08:21:20 +02:00
|
|
|
|
2023-09-04 11:00:32 +02:00
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2015-04-18 08:21:20 +02:00
|
|
|
PKG_LICENSE:=MIT
|
2019-03-24 17:32:07 +01:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2024-02-02 18:24:43 +01:00
|
|
|
PKG_CPE_ID:=cpe:/a:pyyaml:pyyaml
|
2015-04-18 08:21:20 +02:00
|
|
|
|
2023-02-25 12:49:25 +01:00
|
|
|
PKG_BUILD_DEPENDS:=python-cython/host
|
2021-11-17 09:49:33 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2015-04-18 08:21:20 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 08:56:52 +01:00
|
|
|
include ../python3-package.mk
|
2015-04-18 08:21:20 +02:00
|
|
|
|
2020-04-21 19:27:50 +02:00
|
|
|
define Package/python3-yaml
|
2015-04-18 08:21:20 +02:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
2019-07-03 21:19:49 +02:00
|
|
|
SUBMENU:=Python
|
2023-09-04 23:29:19 +02:00
|
|
|
TITLE:=YAML parser and emitter
|
2019-03-24 17:32:07 +01:00
|
|
|
URL:=https://github.com/yaml/pyyaml
|
2020-04-21 19:27:50 +02:00
|
|
|
DEPENDS:=+libyaml +python3-light
|
2017-07-02 19:41:45 +02:00
|
|
|
endef
|
|
|
|
|
2019-03-24 17:32:07 +01:00
|
|
|
define Package/python3-yaml/description
|
2020-04-01 16:21:16 +02:00
|
|
|
PyYAML is a YAML parser and emitter for the Python programming language.
|
2017-07-02 19:41:45 +02:00
|
|
|
endef
|
|
|
|
|
2023-03-06 04:54:02 +01:00
|
|
|
PYTHON3_PKG_BUILD_VARS:=PYYAML_FORCE_LIBYAML=1
|
2019-03-24 17:32:07 +01:00
|
|
|
|
2017-07-02 19:41:45 +02:00
|
|
|
$(eval $(call Py3Package,python3-yaml))
|
|
|
|
$(eval $(call BuildPackage,python3-yaml))
|
2019-03-24 17:32:07 +01:00
|
|
|
$(eval $(call BuildPackage,python3-yaml-src))
|