2 # Copyright (C) 2007-2017 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
:=django-constance
13 PKG_LICENSE
:=BSD-3-Clause
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
>
20 include $(INCLUDE_DIR
)/package.mk
21 include ..
/python-package.mk
23 define Package
/django-constance
27 TITLE
:=Django live settings with pluggable backends
, including Redis.
28 URL
:=https
://github.com
/jazzband
/django-constance
29 DEPENDS
:=+python
+django
32 define Package
/django-constance
/description
33 Django live settings with pluggable backends
, including Redis.
37 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
40 define Package
/django-constance
/install
41 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
43 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
47 $(eval
$(call BuildPackage
,django-constance
))