|
@@ -51,87 +51,86 @@ endef
|
51
|
51
|
|
52
|
52
|
define Package/python
|
53
|
53
|
$(call Package/python/Default)
|
54
|
|
- TITLE+= (full)
|
55
|
|
- DEPENDS:=+libpthread +zlib +libffi +python-mini
|
|
54
|
+ DEPENDS:=+libpthread +zlib +libffi
|
56
|
55
|
endef
|
57
|
56
|
|
58
|
57
|
define Package/python/description
|
59
|
58
|
$(call Package/python/Default/description)
|
60
|
|
- .
|
61
|
|
- This package contains the full Python install.
|
|
59
|
+ .
|
|
60
|
+ This package contains only a minimal Python install.
|
62
|
61
|
endef
|
63
|
62
|
|
64
|
|
-define Package/python-mini
|
|
63
|
+define Package/python-full
|
65
|
64
|
$(call Package/python/Default)
|
66
|
|
- TITLE+= (minimal)
|
67
|
|
- DEPENDS:=+libpthread +zlib
|
|
65
|
+ TITLE+= (full)
|
|
66
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python
|
68
|
67
|
endef
|
69
|
68
|
|
70
|
|
-define Package/python-mini/description
|
|
69
|
+define Package/python-full/description
|
71
|
70
|
$(call Package/python/Default/description)
|
72
|
|
- .
|
73
|
|
- This package contains only a minimal Python install.
|
|
71
|
+ .
|
|
72
|
+ This package contains the full Python install.
|
74
|
73
|
endef
|
75
|
74
|
|
76
|
75
|
define Package/python-doc
|
77
|
76
|
$(call Package/python/Default)
|
78
|
77
|
TITLE:=Python interactive documentation
|
79
|
|
- DEPENDS+=+python-mini
|
|
78
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python
|
80
|
79
|
endef
|
81
|
80
|
|
82
|
81
|
define Package/python-bzip2
|
83
|
82
|
$(call Package/python/Default)
|
84
|
83
|
TITLE:=Python support for Bzip2
|
85
|
|
- DEPENDS+=+python-mini +libbz2
|
|
84
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libbz2
|
86
|
85
|
endef
|
87
|
86
|
|
88
|
87
|
define Package/python-expat
|
89
|
88
|
$(call Package/python/Default)
|
90
|
89
|
TITLE:=Python support for expat
|
91
|
|
- DEPENDS+=+python-mini +libexpat
|
|
90
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libexpat
|
92
|
91
|
endef
|
93
|
92
|
|
94
|
93
|
define Package/python-gzip
|
95
|
94
|
$(call Package/python/Default)
|
96
|
95
|
TITLE:=Python support for gzip
|
97
|
|
- DEPENDS+=+python-mini
|
|
96
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python
|
98
|
97
|
endef
|
99
|
98
|
|
100
|
99
|
define Package/python-openssl
|
101
|
100
|
$(call Package/python/Default)
|
102
|
101
|
TITLE:=Python support for OpenSSL
|
103
|
|
- DEPENDS+=+python-mini +libopenssl
|
|
102
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libopenssl
|
104
|
103
|
endef
|
105
|
104
|
|
106
|
105
|
define Package/python-shutil
|
107
|
106
|
$(call Package/python/Default)
|
108
|
107
|
TITLE:=Python support for shutil
|
109
|
|
- DEPENDS+=+python-mini
|
|
108
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python
|
110
|
109
|
endef
|
111
|
110
|
|
112
|
111
|
# Needs datetime
|
113
|
112
|
define Package/python-sqlite3
|
114
|
113
|
$(call Package/python/Default)
|
115
|
114
|
TITLE:=Python support for sqlite3
|
116
|
|
- DEPENDS+=+python +libsqlite3
|
|
115
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libsqlite3
|
117
|
116
|
endef
|
118
|
117
|
|
119
|
118
|
define Package/python-gdbm
|
120
|
119
|
$(call Package/python/Default)
|
121
|
120
|
TITLE:=Python support for gdbm
|
122
|
|
- DEPENDS+=+python-mini +libgdbm
|
|
121
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libgdbm
|
123
|
122
|
endef
|
124
|
123
|
|
125
|
124
|
define Package/python-readline
|
126
|
125
|
$(call Package/python/Default)
|
127
|
126
|
TITLE:=Python support for readline
|
128
|
|
- DEPENDS+=+python-mini +libreadline +libncurses @BROKEN
|
|
127
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libreadline +libncurses @BROKEN
|
129
|
128
|
endef
|
130
|
129
|
|
131
|
130
|
define Package/python-ncurses
|
132
|
131
|
$(call Package/python/Default)
|
133
|
132
|
TITLE:=Python support for readline
|
134
|
|
- DEPENDS+=+python-mini +libncurses
|
|
133
|
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libncurses
|
135
|
134
|
endef
|
136
|
135
|
|
137
|
136
|
MAKE_FLAGS:=\
|
|
@@ -203,7 +202,7 @@ define Build/InstallDev
|
203
|
202
|
ln -sf python$(PYTHON_VERSION)-config python-config;)
|
204
|
203
|
endef
|
205
|
204
|
|
206
|
|
-define PyPackage/python/filespec
|
|
205
|
+define PyPackage/python-full/filespec
|
207
|
206
|
+|/usr/lib/python$(PYTHON_VERSION)
|
208
|
207
|
-|/usr/lib/python$(PYTHON_VERSION)/bsddb/test
|
209
|
208
|
-|/usr/lib/python$(PYTHON_VERSION)/config
|
|
@@ -318,7 +317,7 @@ define PyPackage/python/filespec
|
318
|
317
|
-|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/_bisect.so
|
319
|
318
|
endef
|
320
|
319
|
|
321
|
|
-define PyPackage/python-mini/filespec
|
|
320
|
+define PyPackage/python/filespec
|
322
|
321
|
+|/usr/bin/python$(PYTHON_VERSION)
|
323
|
322
|
+|/usr/lib/python$(PYTHON_VERSION)/__future__.py
|
324
|
323
|
+|/usr/lib/python$(PYTHON_VERSION)/_abcoll.py
|
|
@@ -408,7 +407,7 @@ define PyPackage/python-mini/filespec
|
408
|
407
|
+|/usr/include/python$(PYTHON_VERSION)/pyconfig.h
|
409
|
408
|
endef
|
410
|
409
|
|
411
|
|
-define PyPackage/python-mini/install
|
|
410
|
+define PyPackage/python/install
|
412
|
411
|
ln -sf python$(PYTHON_VERSION) $(1)/usr/bin/python
|
413
|
412
|
endef
|
414
|
413
|
|
|
@@ -486,7 +485,7 @@ endef
|
486
|
485
|
$(eval $(call HostBuild))
|
487
|
486
|
|
488
|
487
|
$(eval $(call PyPackage,python))
|
489
|
|
-$(eval $(call PyPackage,python-mini))
|
|
488
|
+$(eval $(call PyPackage,python-full))
|
490
|
489
|
$(eval $(call PyPackage,python-doc))
|
491
|
490
|
$(eval $(call PyPackage,python-bzip2))
|
492
|
491
|
$(eval $(call PyPackage,python-expat))
|
|
@@ -499,7 +498,7 @@ $(eval $(call PyPackage,python-readline))
|
499
|
498
|
$(eval $(call PyPackage,python-ncurses))
|
500
|
499
|
|
501
|
500
|
$(eval $(call BuildPackage,python))
|
502
|
|
-$(eval $(call BuildPackage,python-mini))
|
|
501
|
+$(eval $(call BuildPackage,python-full))
|
503
|
502
|
$(eval $(call BuildPackage,python-doc))
|
504
|
503
|
$(eval $(call BuildPackage,python-bzip2))
|
505
|
504
|
$(eval $(call BuildPackage,python-expat))
|