2 # Copyright (C) 2008-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_HASH
:=68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2
17 PKG_MAINTAINER
:=Josef Schlehofer
<pepe.schlehofer@gmail.com
>
19 PKG_LICENSE_FILES
:=LICENSE
20 PKG_CPE_ID
:=cpe
:/a
:pyyaml_project
:pyyaml
22 PKG_BUILD_DEPENDS
:=python-cython
/host
25 include $(INCLUDE_DIR
)/package.mk
26 include ..
/python3-package.mk
28 define Package
/python3-yaml
32 TITLE
:=YAML parser and emitter for Python
33 URL
:=https
://github.com
/yaml
/pyyaml
34 DEPENDS
:=+libyaml
+python3-light
37 define Package
/python3-yaml
/description
38 PyYAML is a YAML parser and emitter for the Python programming language.
41 PYTHON3_PKG_BUILD_VARS
:=PYYAML_FORCE_LIBYAML
=1
43 $(eval
$(call Py3Package
,python3-yaml
))
44 $(eval
$(call BuildPackage
,python3-yaml
))
45 $(eval
$(call BuildPackage
,python3-yaml-src
))