|
@@ -40,38 +40,104 @@ endef
|
40
|
40
|
PKG_BUILD_DEPENDS:=python-setuptools
|
41
|
41
|
PYTHONPATH:=$(PYTHONPATH):$(PKG_BUILD_DIR)/thirdpart
|
42
|
42
|
|
|
43
|
+define Download/django
|
|
44
|
+ FILE=Django-1.5.8.tar.gz
|
|
45
|
+ URL=https://www.djangoproject.com/m/releases/1.5/
|
|
46
|
+ MD5SUM:=675fc736e2c29090f005e217ccf90b5b
|
|
47
|
+endef
|
|
48
|
+
|
|
49
|
+define Download/djblets
|
|
50
|
+ PROTO=git
|
|
51
|
+ URL=https://github.com/djblets/djblets.git
|
|
52
|
+ SUBDIR=djblets-0.6.14
|
|
53
|
+ FILE=djblets-0.6.14.tar.gz
|
|
54
|
+ VERSION=58c09bae9b71ac164f78c76746fd2e545aae6c68
|
|
55
|
+endef
|
|
56
|
+
|
|
57
|
+define Download/gunicorn
|
|
58
|
+ FILE=gunicorn-0.16.1.tar.gz
|
|
59
|
+ URL=https://pypi.python.org/packages/source/g/gunicorn/
|
|
60
|
+ MD5SUM:=d53d5d04d941f2a3089e814e753a218f
|
|
61
|
+endef
|
|
62
|
+
|
|
63
|
+define Download/six
|
|
64
|
+ FILE=six-1.4.1.tar.gz
|
|
65
|
+ URL=https://pypi.python.org/packages/source/s/six/
|
|
66
|
+ MD5SUM:=bdbb9e12d3336c198695aa4cf3a61d62
|
|
67
|
+endef
|
|
68
|
+
|
|
69
|
+define Download/chardet
|
|
70
|
+ FILE=chardet-2.1.1.tar.gz
|
|
71
|
+ URL=https://pypi.python.org/packages/source/c/chardet/
|
|
72
|
+ MD5SUM:=295367fd210d20f3febda615a88e1ef0
|
|
73
|
+endef
|
|
74
|
+
|
|
75
|
+define Download/flup
|
|
76
|
+ FILE=flup-1.0.2-py2.6.egg
|
|
77
|
+ URL=https://pypi.python.org/packages/2.6/f/flup/
|
|
78
|
+ MD5SUM:=93ec6e3baeee3e5649a8456105178d4e
|
|
79
|
+endef
|
|
80
|
+
|
|
81
|
+define Download/lockfile
|
|
82
|
+ FILE=lockfile-0.9.1.tar.gz
|
|
83
|
+ URL=https://pypi.python.org/packages/source/l/lockfile/
|
|
84
|
+ MD5SUM:=ce61468d4c1263e3005737bbed2641f0
|
|
85
|
+endef
|
|
86
|
+
|
|
87
|
+define Download/python-daemon
|
|
88
|
+ FILE=python-daemon-1.5.5.tar.gz
|
|
89
|
+ URL=https://pypi.python.org/packages/source/p/python-daemon/
|
|
90
|
+ MD5SUM:=1f6cd41473c2e201021a0aeef395b2b1
|
|
91
|
+endef
|
|
92
|
+
|
|
93
|
+define Download/python-dateutil
|
|
94
|
+ FILE=python-dateutil-1.5.tar.gz
|
|
95
|
+ URL=https://pypi.python.org/packages/source/p/python-dateutil/
|
|
96
|
+ MD5SUM:=0dcb1de5e5cad69490a3b6ab63f0cfa5
|
|
97
|
+endef
|
|
98
|
+
|
43
|
99
|
define Build/Configure
|
44
|
100
|
endef
|
45
|
101
|
|
46
|
102
|
define Build/Compile
|
|
103
|
+ # Download python dependencies
|
|
104
|
+ $(eval $(call Download,django))
|
|
105
|
+ $(eval $(call Download,djblets))
|
|
106
|
+ $(eval $(call Download,gunicorn))
|
|
107
|
+ $(eval $(call Download,six))
|
|
108
|
+ $(eval $(call Download,chardet))
|
|
109
|
+ $(eval $(call Download,flup))
|
|
110
|
+ $(eval $(call Download,lockfile))
|
|
111
|
+ $(eval $(call Download,python-daemon))
|
|
112
|
+ $(eval $(call Download,python-dateutil))
|
47
|
113
|
# Install python dependencies
|
48
|
114
|
$(call HostPython,, \
|
49
|
115
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
50
|
|
- https://www.djangoproject.com/m/releases/1.5/Django-1.5.8.tar.gz)
|
|
116
|
+ $(DL_DIR)/Django-1.5.8.tar.gz)
|
51
|
117
|
$(call HostPython,, \
|
52
|
118
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
53
|
|
- https://github.com/djblets/djblets/archive/release-0.6.14.tar.gz)
|
|
119
|
+ $(DL_DIR)/djblets-0.6.14.tar.gz)
|
54
|
120
|
$(call HostPython,, \
|
55
|
121
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
56
|
|
- https://pypi.python.org/packages/source/g/gunicorn/gunicorn-0.16.1.tar.gz)
|
|
122
|
+ $(DL_DIR)/gunicorn-0.16.1.tar.gz)
|
57
|
123
|
$(call HostPython,, \
|
58
|
124
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
59
|
|
- https://pypi.python.org/packages/source/s/six/six-1.4.1.tar.gz)
|
|
125
|
+ $(DL_DIR)/six-1.4.1.tar.gz)
|
60
|
126
|
$(call HostPython,, \
|
61
|
127
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
62
|
|
- https://pypi.python.org/packages/source/c/chardet/chardet-2.1.1.tar.gz)
|
|
128
|
+ $(DL_DIR)/chardet-2.1.1.tar.gz)
|
63
|
129
|
$(call HostPython,, \
|
64
|
130
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
65
|
|
- https://pypi.python.org/packages/2.6/f/flup/flup-1.0.2-py2.6.egg)
|
|
131
|
+ $(DL_DIR)/flup-1.0.2-py2.6.egg)
|
66
|
132
|
$(call HostPython,, \
|
67
|
133
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
68
|
|
- https://pypi.python.org/packages/source/l/lockfile/lockfile-0.9.1.tar.gz)
|
|
134
|
+ $(DL_DIR)/lockfile-0.9.1.tar.gz)
|
69
|
135
|
$(call HostPython,, \
|
70
|
136
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
71
|
|
- https://pypi.python.org/packages/source/p/python-daemon/python-daemon-1.5.5.tar.gz)
|
|
137
|
+ $(DL_DIR)/python-daemon-1.5.5.tar.gz)
|
72
|
138
|
$(call HostPython,, \
|
73
|
139
|
$(STAGING_DIR_ROOT)/usr/bin/easy_install -d $(PKG_BUILD_DIR)/thirdpart -Z -N \
|
74
|
|
- https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-1.5.tar.gz)
|
|
140
|
+ $(DL_DIR)/python-dateutil-1.5.tar.gz)
|
75
|
141
|
endef
|
76
|
142
|
|
77
|
143
|
define Package/seafile-seahub/install
|