python-libraries: Force old build process
[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
12 PKG_RELEASE:=2
13
14 PYPI_NAME:=PyYAML
15 PKG_HASH:=68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2
16
17 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
18 PKG_LICENSE:=MIT
19 PKG_LICENSE_FILES:=LICENSE
20 PKG_CPE_ID:=cpe:/a:pyyaml_project:pyyaml
21
22 PKG_BUILD_DEPENDS:=python-cython/host
23
24 PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1
25
26 include ../pypi.mk
27 include $(INCLUDE_DIR)/package.mk
28 include ../python3-package.mk
29
30 define Package/python3-yaml
31 SECTION:=lang
32 CATEGORY:=Languages
33 SUBMENU:=Python
34 TITLE:=YAML parser and emitter for Python
35 URL:=https://github.com/yaml/pyyaml
36 DEPENDS:=+libyaml +python3-light
37 endef
38
39 define Package/python3-yaml/description
40 PyYAML is a YAML parser and emitter for the Python programming language.
41 endef
42
43 PYTHON3_PKG_SETUP_GLOBAL_ARGS:=--with-libyaml
44 PYTHON3_PKG_SETUP_ARGS:=
45
46 $(eval $(call Py3Package,python3-yaml))
47 $(eval $(call BuildPackage,python3-yaml))
48 $(eval $(call BuildPackage,python3-yaml-src))