2 # Copyright (C) 2007-2018 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
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://files.pythonhosted.org
/packages
/source
/p
/pytz
17 PKG_HASH
:=642253af8eae734d1509fc6ac9c1aee5e5b69d76392660889979b9870610a46b
19 include $(INCLUDE_DIR
)/package.mk
20 include ..
/python-package.mk
26 MAINTAINER
:=Gergely Kiss
<mail.gery@gmail.com
>
27 TITLE
:=World timezone definitions
, modern and historical
28 URL
:=https
://sourceforge.net
/projects
/pytz
/
32 define Package
/pytz
/description
33 World timezone definitions
, modern and historical
37 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
40 define Package
/pytz
/InstallDev
41 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
43 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
47 define Package
/pytz
/install
48 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
50 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
54 $(eval
$(call BuildPackage
,pytz
))