p11-kit: Update to 0.23.16.1
[feed/packages.git] / lang / python / django-constance / Makefile
1 #
2 # Copyright (C) 2007-2017 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:=django-constance
11 PKG_VERSION:=2.3.1
12 PKG_RELEASE:=2
13 PKG_LICENSE:=BSD-3-Clause
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/django-constance
17 PKG_HASH:=a49735063b2c30015d2e52a90609ea9798da722ed070f091de51714758a5d018
18 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
19
20 include $(INCLUDE_DIR)/package.mk
21 include ../python-package.mk
22
23 define Package/django-constance
24 SUBMENU:=Python
25 SECTION:=lang
26 CATEGORY:=Languages
27 TITLE:=Django live settings with pluggable backends, including Redis.
28 URL:=https://github.com/jazzband/django-constance
29 DEPENDS:=+python +django
30 endef
31
32 define Package/django-constance/description
33 Django live settings with pluggable backends, including Redis.
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
38 endef
39
40 define Package/django-constance/install
41 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
42 $(CP) \
43 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
44 $(1)$(PYTHON_PKG_DIR)
45 endef
46
47 $(eval $(call BuildPackage,django-constance))