[PATCH] Add package django-sslserver
Philby John
philby at celestialsys.com
Sat Oct 10 09:23:46 EDT 2015
Add django-sslserver ver 0.15 which is an SSL-enabled
development server for Django.
Signed-off-by: Philby John <philby at celestialsys.com>
Tested-by: Ashok <ashok at celestialsys.com>
---
lang/django-sslserver/Makefile | 51 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
create mode 100644 lang/django-sslserver/Makefile
diff --git a/lang/django-sslserver/Makefile b/lang/django-sslserver/Makefile
new file mode 100644
index 0000000..e9b5dbc
--- /dev/null
+++ b/lang/django-sslserver/Makefile
@@ -0,0 +1,51 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=django-sslserver
+PKG_VERSION:=0.15
+PKG_RELEASE:=1
+
+PKG_SOURCE:=django-sslserver-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://pypi.python.org/packages/source/d/django-sslserver/
+PKG_MD5SUM:=dd83049f0c50f94a1cf3acb6bc7dd6bd
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/django-sslserver-$(PKG_VERSION)
+PKG_BUILD_DEPENDS:=python python-setuptools
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/django-sslserver
+ SECTION:=language-python
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=An SSL-enabled development server for Django
+ URL:=https://www.djangoproject.com/
+ DEPENDS:=+python +python-setuptools
+endef
+
+define Package/django-sslserver/description
+ Django SSL Server ships "batteries included"
+ with a self-signed server certificate.
+endef
+
+define Build/Compile
+ $(call Build/Compile/PyMod,., \
+ install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
+ )
+endef
+
+define Package/django-sslserver/install
+ $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
+ $(CP) \
+ $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+ $(1)$(PYTHON_PKG_DIR)/
+endef
+
+$(eval $(call BuildPackage,django-sslserver))
--
1.8.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list