django-restframework: bump to version 3.15.1
[feed/packages.git] / lang / python / python-yaml / Makefile
1 #
2 # Copyright (C) 2008-2015 OpenWrt.org
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-yaml
11 PKG_VERSION:=6.0.1
12 PKG_RELEASE:=2
13
14 PYPI_NAME:=PyYAML
15 PKG_HASH:=bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43
16
17 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
18 PKG_LICENSE:=MIT
19 PKG_LICENSE_FILES:=LICENSE
20 PKG_CPE_ID:=cpe:/a:pyyaml:pyyaml
21
22 PKG_BUILD_DEPENDS:=python-cython/host
23
24 include ../pypi.mk
25 include $(INCLUDE_DIR)/package.mk
26 include ../python3-package.mk
27
28 define Package/python3-yaml
29 SECTION:=lang
30 CATEGORY:=Languages
31 SUBMENU:=Python
32 TITLE:=YAML parser and emitter
33 URL:=https://github.com/yaml/pyyaml
34 DEPENDS:=+libyaml +python3-light
35 endef
36
37 define Package/python3-yaml/description
38 PyYAML is a YAML parser and emitter for the Python programming language.
39 endef
40
41 PYTHON3_PKG_BUILD_VARS:=PYYAML_FORCE_LIBYAML=1
42
43 $(eval $(call Py3Package,python3-yaml))
44 $(eval $(call BuildPackage,python3-yaml))
45 $(eval $(call BuildPackage,python3-yaml-src))