2 # Copyright (C) 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
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
18 PKG_LICENSE
:=BSD-3-Clause
19 PKG_LICENSE_FILES
:=enum
/LICENSE
20 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
22 include $(INCLUDE_DIR
)/package.mk
23 $(call include_mk
, python-package.mk
)
25 define Package
/python-enum34
30 URL
:=https
://pypi.python.org
/pypi
/enum34
/
31 DEPENDS
:=+python-light
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.
39 define PyPackage
/python-enum34
/filespec
41 -|
$(PYTHON_PKG_DIR
)/enum
/test_enum.py
45 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
48 $(eval
$(call PyPackage
,python-enum34
))
49 $(eval
$(call BuildPackage
,python-enum34
))