2015-04-18 06:21:20 +00: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 07:56:01 +00:00
|
|
|
PKG_NAME:=python-yaml
|
2020-01-20 18:52:16 +00:00
|
|
|
PKG_VERSION:=5.3
|
2015-04-18 06:21:20 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=PyYAML
|
2020-01-20 18:52:16 +00:00
|
|
|
PKG_HASH:=e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615
|
2015-04-18 06:21:20 +00:00
|
|
|
|
2019-03-24 16:32:07 +00:00
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
|
2015-04-18 06:21:20 +00:00
|
|
|
PKG_LICENSE:=MIT
|
2019-03-24 16:32:07 +00:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_CPE_ID:=cpe:/a:pyyaml_project:pyyaml
|
2015-04-18 06:21:20 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2015-04-18 06:21:20 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 07:56:52 +00:00
|
|
|
include ../python3-package.mk
|
2015-04-18 06:21:20 +00:00
|
|
|
|
2017-07-02 17:41:45 +00:00
|
|
|
define Package/python-yaml/Default
|
2015-04-18 06:21:20 +00:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
2019-07-03 19:19:49 +00:00
|
|
|
SUBMENU:=Python
|
2019-03-24 16:32:07 +00:00
|
|
|
TITLE:=YAML parser and emitter for Python
|
|
|
|
URL:=https://github.com/yaml/pyyaml
|
2017-07-02 17:41:45 +00:00
|
|
|
DEPENDS:=+libyaml
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-yaml
|
|
|
|
$(call Package/python-yaml/Default)
|
|
|
|
DEPENDS+=+PACKAGE_python3-yaml:python3-light
|
|
|
|
VARIANT:=python3
|
|
|
|
endef
|
|
|
|
|
2019-03-24 16:32:07 +00:00
|
|
|
define Package/python3-yaml/description
|
2020-04-01 14:21:16 +00:00
|
|
|
PyYAML is a YAML parser and emitter for the Python programming language.
|
2019-03-24 16:32:07 +00:00
|
|
|
.
|
|
|
|
(Variant for Python3)
|
2017-07-02 17:41:45 +00:00
|
|
|
endef
|
|
|
|
|
2019-03-24 16:32:07 +00:00
|
|
|
PYTHON3_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml
|
|
|
|
PYTHON3_PKG_SETUP_ARGS:=
|
|
|
|
|
2017-07-02 17:41:45 +00:00
|
|
|
$(eval $(call Py3Package,python3-yaml))
|
|
|
|
$(eval $(call BuildPackage,python3-yaml))
|
2019-03-24 16:32:07 +00:00
|
|
|
$(eval $(call BuildPackage,python3-yaml-src))
|