2 # Copyright (C) 2007-2016 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
10 PKG_NAME
:=python-dateutil
13 PKG_LICENSE
:=BSD-2-Clause
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://pypi.python.org
/packages
/51/fc/39a3fbde6864942e8bb24c93663734b74e281b984d1b8c4f95d64b0c21f6
/
17 PKG_MD5SUM
:=6e38f91e8c94c15a79ce22768dfeca87
18 PKG_BUILD_DEPENDS
:=python python-setuptools
20 include $(INCLUDE_DIR
)/package.mk
21 $(call include_mk
, python-package.mk
)
23 define Package
/python-dateutil
27 MAINTAINER
:=Gergely Kiss
<mail.gery@gmail.com
>
28 TITLE
:=Extensions to the standard Python datetime module
29 URL
:=https
://dateutil.readthedocs.org
/
30 DEPENDS
:=+python
+python-six
33 define Package
/python-dateutil
/description
34 Extensions to the standard Python datetime module
38 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
41 define Package
/python-dateutil
/install
42 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
44 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
48 $(eval
$(call BuildPackage
,python-dateutil
))