libmicrohttpd: build parallel
[feed/packages.git] / lang / python-enum34 / Makefile
1 #
2 # Copyright (C) 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:=enum34
11 PKG_VERSION:=1.1.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://pypi.python.org/packages/source/e/enum34
16 PKG_MD5SUM:=5edaf22a14ec2769fc973a0443bf02d5
17
18 PKG_LICENSE:=BSD-3-Clause
19 PKG_LICENSE_FILES:=enum/LICENSE
20 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
21
22 include $(INCLUDE_DIR)/package.mk
23 $(call include_mk, python-package.mk)
24
25 define Package/python-enum34
26 SECTION:=lang
27 CATEGORY:=Languages
28 SUBMENU:=Python
29 TITLE:=python-enum34
30 URL:=https://pypi.python.org/pypi/enum34/
31 DEPENDS:=+python-light
32 endef
33
34 define Package/python-enum34/description
35 enum34 is the new Python stdlib enum module available in Python 3.4
36 backported for previous versions of Python from 2.4 to 3.3.
37 endef
38
39 define PyPackage/python-enum34/filespec
40 +|$(PYTHON_PKG_DIR)
41 -|$(PYTHON_PKG_DIR)/enum/test_enum.py
42 endef
43
44 define Build/Compile
45 $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
46 endef
47
48 $(eval $(call PyPackage,python-enum34))
49 $(eval $(call BuildPackage,python-enum34))