Makefile
changeset 30 1def008491ba
parent 29 503b0ef635cc
child 34 0a8caba627ac
equal deleted inserted replaced
29:503b0ef635cc 30:1def008491ba
   152 	
   152 	
   153 	# WxPython 2.8 (needs running inno unpacker in wine)
   153 	# WxPython 2.8 (needs running inno unpacker in wine)
   154 	$(call get_src_sf,innounp/innounp/innounp%200.36,innounp036.rar)\
   154 	$(call get_src_sf,innounp/innounp/innounp%200.36,innounp036.rar)\
   155 	unrar e $$dld innounp.exe $(tmp)
   155 	unrar e $$dld innounp.exe $(tmp)
   156 	$(call get_src_sf,wxpython/wxPython/2.8.12.1,wxPython2.8-win32-unicode-2.8.12.1-py27.exe)\
   156 	$(call get_src_sf,wxpython/wxPython/2.8.12.1,wxPython2.8-win32-unicode-2.8.12.1-py27.exe)\
   157 	$(wine) $(tmp)/innounp.exe -d$(tmp) -x $$dld
   157 	$(wine) $(tmp)/innounp.exe -d$(tmp)/wx28 -x $$dld
   158 	cp -R $(tmp)/\{code_GetPythonDir\}/* $(pydir)
   158 	cp -R $(tmp)/wx28/\{code_GetPythonDir\}/* $(pydir)
   159 	cp -R $(tmp)/\{app\}/* $(pysite)
   159 	cp -R $(tmp)/wx28/\{app\}/* $(pysite)
   160 	
   160 	
   161 	# WxPython 3.0 (needs running inno unpacker in wine)
   161 	# WxPython 3.0 (needs running inno unpacker in wine)
   162 	$(call get_src_sf,wxpython/wxPython/3.0.2.0,wxPython3.0-win32-3.0.2.0-py27.exe)\
   162 	$(call get_src_sf,wxpython/wxPython/3.0.2.0,wxPython3.0-win32-3.0.2.0-py27.exe)\
   163 	$(wine) $(tmp)/innounp.exe -d$(tmp) -x $$dld
   163 	$(wine) $(tmp)/innounp.exe -d$(tmp)/wx30 -x $$dld
   164 	cp -R $(tmp)/\{code_GetPythonDir\}/* $(pydir)
   164 	cp -R $(tmp)/wx30/\{code_GetPythonDir\}/* $(pydir)
   165 	cp -R $(tmp)/\{app\}/* $(pysite)
   165 	cp -R $(tmp)/wx30/\{app\}/* $(pysite)
   166 	
   166 	
   167 	# wxPython fails if VC9.0 bullshit is not fully here.
   167 	# wxPython fails if VC9.0 bullshit is not fully here.
   168 	$(call get_src_http,http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140,vcredist_x86.exe)\
   168 	$(call get_src_http,http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140,vcredist_x86.exe)\
   169 	cp $$dld $(tmp)
   169 	cp $$dld $(tmp)
   170 	$(wine) $(tmp)/vcredist_x86.exe /qn /a
   170 	$(wine) $(tmp)/vcredist_x86.exe /qn /a
   179 	$(call get_src_sf,pywin32/pywin32/Build216,pywin32-216.win32-py2.7.exe)\
   179 	$(call get_src_sf,pywin32/pywin32/Build216,pywin32-216.win32-py2.7.exe)\
   180 	unzip -d $(tmp)/pw32 $$dld ; [ $$? -eq 1 ] #silence error unziping .exe
   180 	unzip -d $(tmp)/pw32 $$dld ; [ $$? -eq 1 ] #silence error unziping .exe
   181 	cp -R $(tmp)/pw32/PLATLIB/* $(pysite)
   181 	cp -R $(tmp)/pw32/PLATLIB/* $(pysite)
   182 	
   182 	
   183 	# zope.interface (twisted prereq)
   183 	# zope.interface (twisted prereq)
   184 	$(call get_src_pypi,2.7/z/zope.interface,zope.interface-4.3.2-py2.7-win32.egg)\
   184 	$(call get_src_pypi,9d/2d/beb32519c0bd19bda4ac38c34db417d563ee698518e582f951d0b9e5898b,zope.interface-4.3.2-py2.7-win32.egg)\
   185 	unzip -d $(tmp) $$dld
   185 	unzip -d $(tmp) $$dld
   186 	cp -R $(tmp)/zope $(pysite)
   186 	cp -R $(tmp)/zope $(pysite)
   187 	
   187 	
   188 	# six (pyopenssl prereq)
   188 	# six (pyopenssl prereq)
   189 	$(call get_src_pypi,py2.py3/s/six,six-1.11.0-py2.py3-none-any.whl)\
   189 	$(call get_src_pypi,67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a,six-1.11.0-py2.py3-none-any.whl)\
   190 	unzip -d $(tmp) $$dld 
   190 	unzip -d $(tmp) $$dld 
   191 	cp -R $(tmp)/six.py $(pysite)
   191 	cp -R $(tmp)/six.py $(pysite)
   192 	
   192 	
   193 	# enum34 (cryptography prereq)
   193 	# enum34 (cryptography prereq)
   194 	$(call get_src_pypi,source/e/enum34,enum34-1.1.6.tar.gz)\
   194 	$(call get_src_pypi,bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876,enum34-1.1.6.tar.gz)\
   195 	tar -C $(tmp) -xzf $$dld
   195 	tar -C $(tmp) -xzf $$dld
   196 	cp -R $(tmp)/enum34-1.1.6/enum $(pysite)
   196 	cp -R $(tmp)/enum34-1.1.6/enum $(pysite)
   197 	
   197 	
   198 	# cryptography (pyopenssl prereq)
   198 	# cryptography (pyopenssl prereq)
   199 	$(call get_src_pypi,cp27/c/cryptography,cryptography-1.0.2-cp27-none-win32.whl)\
   199 	$(call get_src_pypi,17/08/04dc376411968ac21f2e11a8d7d70e936a654172567672fa79710a137bd9,cryptography-2.1.4-cp27-cp27m-win32.whl)\
   200 	unzip -d $(tmp) $$dld 
   200 	unzip -d $(tmp) $$dld 
   201 	cp -R $(tmp)/cryptography $(pysite)
   201 	cp -R $(tmp)/cryptography $(pysite)
   202 	
   202 	
   203 	# pyopenssl (twisted/ssl prereq)
   203 	# pyopenssl (twisted/ssl prereq)
   204 	$(call get_src_pypi,py2.py3/p/pyOpenSSL,pyOpenSSL-0.15.1-py2.py3-none-any.whl)\
   204 	$(call get_src_pypi,79/db/7c0cfe4aa8341a5fab4638952520d8db6ab85ff84505e12c00ea311c3516,pyOpenSSL-17.5.0-py2.py3-none-any.whl)\
   205 	unzip -d $(tmp) $$dld 
   205 	unzip -d $(tmp) $$dld 
   206 	cp -R $(tmp)/OpenSSL $(pysite)
   206 	cp -R $(tmp)/OpenSSL $(pysite)
   207 	
   207 	
   208 	# pyasn1 (service identity prereq)
   208 	# pyasn1 (service identity prereq)
   209 	$(call get_src_pypi,source/p/pyasn1,pyasn1-0.1.9.tar.gz)\
   209 	$(call get_src_pypi,eb/3d/b7d0fdf4a882e26674c68c20f40682491377c4db1439870f5b6f862f76ed,pyasn1-0.4.2.tar.gz)\
   210 	tar -C $(tmp) -xzf $$dld
   210 	tar -C $(tmp) -xzf $$dld
   211 	cp -R $(tmp)/pyasn1-0.1.9/pyasn1 $(pysite)
   211 	cp -R $(tmp)/pyasn1-0.4.2/pyasn1 $(pysite)
   212 	
   212 	
   213 	# pyasn1-modules (service identity prereq)
   213 	# pyasn1-modules (service identity prereq)
   214 	$(call get_src_pypi,source/p/pyasn1-modules,pyasn1-modules-0.0.8.tar.gz)\
   214 	$(call get_src_pypi,ab/76/36ab0e099e6bd27ed95b70c2c86c326d3affa59b9b535c63a2f892ac9f45,pyasn1-modules-0.2.1.tar.gz)\
   215 	tar -C $(tmp) -xzf $$dld
   215 	tar -C $(tmp) -xzf $$dld
   216 	cp -R $(tmp)/pyasn1-modules-0.0.8/pyasn1_modules $(pysite)
   216 	cp -R $(tmp)/pyasn1-modules-0.2.1/pyasn1_modules $(pysite)
   217 	
   217 	
   218 	# characteristic (service identity prereq)
   218 	# characteristic (service identity prereq)
   219 	$(call get_src_pypi,source/c/characteristic,characteristic-14.3.0.tar.gz)\
   219 	$(call get_src_pypi,dc/66/54b7a4758ea44fbc93895c7745060005272560fb2c356f2a6f7448ef9a80,characteristic-14.3.0.tar.gz)\
   220 	tar -C $(tmp) -xzf $$dld
   220 	tar -C $(tmp) -xzf $$dld
   221 	cp -R $(tmp)/characteristic-14.3.0/characteristic.py $(pysite)
   221 	cp -R $(tmp)/characteristic-14.3.0/characteristic.py $(pysite)
   222 	
   222 	
   223 	# service identity (twisted prereq)
   223 	# service identity (twisted prereq)
   224 	$(call get_src_pypi,source/s/service_identity,service_identity-14.0.0.tar.gz)\
   224 	$(call get_src_pypi,de/2a/cab6e30be82c8fcd2339ef618036720eda954cf05daef514e386661c9221,service_identity-17.0.0.tar.gz)\
   225 	tar -C $(tmp) -xzf $$dld
   225 	tar -C $(tmp) -xzf $$dld
   226 	cp -R $(tmp)/service_identity-14.0.0/service_identity $(pysite)
   226 	cp -R $(tmp)/service_identity-17.0.0/src/service_identity $(pysite)
   227 	
   227 	
   228 	# txaio (autobahn prereq)
   228 	# txaio (autobahn prereq)
   229 	$(call get_src_pypi,source/t/txaio,txaio-2.6.0.tar.gz)\
   229 	$(call get_src_pypi,d6/95/d0c67304515f352342bc8fd14e5a3e7ca924134608acb730916073b18464,txaio-2.8.2.tar.gz)\
   230 	tar -C $(tmp) -xzf $$dld
   230 	tar -C $(tmp) -xzf $$dld
   231 	cp -R $(tmp)/txaio-2.6.0/txaio $(pysite)
   231 	cp -R $(tmp)/txaio-2.8.2/txaio $(pysite)
   232 	
   232 	
   233 	# python-msgpack (autobahn prereq)
   233 	# python-msgpack (autobahn prereq)
   234 	$(call get_src_pypi,cp27/m/msgpack-python,msgpack_python-0.4.8-cp27-cp27m-win32.whl)\
   234 	$(call get_src_pypi,59/ca/b8048e184a2edb5b3cd46f38be130e87cbce77f4168ed62344bc33df3e1b,msgpack_python-0.4.8-cp27-cp27m-win32.whl)\
   235 	unzip -d $(tmp) $$dld 
   235 	unzip -d $(tmp) $$dld 
   236 	cp -R $(tmp)/msgpack $(pysite)
   236 	cp -R $(tmp)/msgpack $(pysite)
   237 	
   237 	
   238 	# u-msgpack-python (autobahn prereq)
   238 	# u-msgpack-python (autobahn prereq)
   239 	$(call get_src_pypi,source/u/u-msgpack-python,u-msgpack-python-2.3.0.tar.gz)\
   239 	$(call get_src_pypi,b8/ff/5730f61767d5acecac103343d66ebf631ebd672fa14e50472f05545749c2,u-msgpack-python-2.4.1.tar.gz)\
   240 	tar -C $(tmp) -xzf $$dld
   240 	tar -C $(tmp) -xzf $$dld
   241 	cp -R $(tmp)/u-msgpack-python-2.3.0/umsgpack.py $(pysite)
   241 	cp -R $(tmp)/u-msgpack-python-2.4.1/umsgpack.py $(pysite)
   242 	
   242 	
   243 	# cffi (cryptography prereq)
   243 	# cffi (cryptography prereq)
   244 	$(call get_src_pypi,cp27/c/cffi,cffi-1.2.1-cp27-none-win32.whl)\
   244 	$(call get_src_pypi,5e/67/01ae6ae50d168d3b92f2a80bf62e07537171d0a1938c8bceb7e64d36829f,cffi-1.11.2-cp27-cp27m-win32.whl)\
   245 	unzip -d $(tmp) $$dld 
   245 	unzip -d $(tmp) $$dld 
   246 	cp -R $(tmp)/cffi $(tmp)/_cffi_backend.pyd $(pysite)
   246 	cp -R $(tmp)/cffi $(tmp)/_cffi_backend.pyd $(pysite)
   247 	
   247 	
   248 	# Twisted
   248 	# Twisted
   249 	$(call get_src_pypi,cp27/T/Twisted,Twisted-15.4.0-cp27-none-win32.whl)\
   249 	$(call get_src_pypi,fe/cb/97504d68c2f4300fb121f700cc2fae10e1856ba043e964acfab02e120835,Twisted-17.9.0-cp27-cp27m-win32.whl)\
   250 	unzip -d $(tmp) $$dld 
   250 	unzip -d $(tmp) $$dld 
   251 	cp -R $(tmp)/twisted $(pysite)
   251 	cp -R $(tmp)/twisted $(pysite)
   252 	
   252 	
   253 	# Autobahn
   253 	# Autobahn
   254 	$(call get_src_pypi,source/a/autobahn,autobahn-17.6.1.tar.gz)\
   254 	$(call get_src_pypi,e4/2e/01a64212b1eb580d601fa20f146c962235e3493795f46e3b254597ec635d,autobahn-17.10.1.tar.gz)\
   255 	tar -C $(tmp) -xzf $$dld
   255 	tar -C $(tmp) -xzf $$dld
   256 	for i in autobahn twisted; do cp -R $(tmp)/autobahn-17.6.1/$$i $(pysite); done
   256 	cp -R $(tmp)/autobahn-17.10.1/autobahn $(pysite)
   257 	
   257 	
   258 	# Nevow
   258 	# Nevow
   259 	$(call get_src_pypi,source/N/Nevow,Nevow-0.10.0.tar.gz)\
   259 	$(call get_src_pypi,source/N/Nevow,Nevow-0.10.0.tar.gz)\
   260 	tar -C $(tmp) -xzf $$dld
   260 	tar -C $(tmp) -xzf $$dld
   261 	for i in nevow formless twisted; do cp -R $(tmp)/Nevow-0.10.0/$$i $(pysite); done
   261 	for i in nevow formless twisted; do cp -R $(tmp)/Nevow-0.10.0/$$i $(pysite); done
   262 	
   262 	
   263 	# Numpy
   263 	# Numpy
   264 	$(call get_src_pypi,2.7/n/numpy,numpy-1.6.1.win32-py2.7.exe)\
   264 	$(call get_src_pypi,fd/32/196073188f5b8b464e0fabb470f971fa5dcd91b55726a43b40b008212358,numpy-1.13.3-2-cp27-none-win32.whl)\
   265 	unzip -d $(tmp)/np $$dld ; [ $$? -eq 1 ] #silence error unziping .exe
   265 	unzip -d $(tmp) $$dld
   266 	cp -R $(tmp)/np/PLATLIB/* $(pysite)
   266 	cp -R $(tmp)/numpy/* $(pysite)
   267 	
   267 	
   268 	# SimpleJson
   268 	# SimpleJson
   269 	$(call get_src_pypi,source/s/simplejson,simplejson-2.2.1.tar.gz)\
   269 	$(call get_src_pypi,source/s/simplejson,simplejson-2.2.1.tar.gz)\
   270 	tar -C $(tmp) -xzf $$dld
   270 	tar -C $(tmp) -xzf $$dld
   271 	cp -R $(tmp)/simplejson-2.2.1/simplejson/ $(pysite)
   271 	cp -R $(tmp)/simplejson-2.2.1/simplejson/ $(pysite)
   284 	$(call get_src_http,https://bitbucket.org/wxglade/wxglade/get,034d891cc947.zip)\
   284 	$(call get_src_http,https://bitbucket.org/wxglade/wxglade/get,034d891cc947.zip)\
   285 	unzip -d $(tmp) $$dld
   285 	unzip -d $(tmp) $$dld
   286 	mv $(tmp)/wxglade-wxglade-034d891cc947 $(pysite)/wxglade
   286 	mv $(tmp)/wxglade-wxglade-034d891cc947 $(pysite)/wxglade
   287 	
   287 	
   288 	# Pyro
   288 	# Pyro
   289 	$(call get_src_pypi,source/P/Pyro,Pyro-3.9.1.tar.gz)\
   289 	$(call get_src_pypi,61/68/0978adae315261b87acd216517c2c7f00780396e4d1426c5412458c6a28f,Pyro-3.16.tar.gz)\
   290 	tar -C $(tmp) -xzf $$dld
   290 	tar -C $(tmp) -xzf $$dld
   291 	mv $(tmp)/Pyro-3.9.1/Pyro $(pysite)
   291 	mv $(tmp)/Pyro-3.16/Pyro $(pysite)
       
   292 	
       
   293 	# Lxml
       
   294 	$(call get_src_pypi,c7/e6/26a600d9828554ca9de35d3d1daf3779028bea37025f3dd25e9d58d63bac,lxml-4.1.1-cp27-cp27m-win32.whl)\
       
   295 	unzip -d $(tmp) $$dld
       
   296 	cp -R $(tmp)/lxml/* $(pysite)
   292 	
   297 	
   293 	# Build Openssl
   298 	# Build Openssl
   294 	$(call get_src_http,https://openssl.org/source,$(OSSLVER).tar.gz)\
   299 	$(call get_src_http,https://openssl.org/source,$(OSSLVER).tar.gz)\
   295 	tar -C $(tmp) -xzf $$dld
   300 	tar -C $(tmp) -xzf $$dld
   296 	cd $(tmp)/$(OSSLVER); \
   301 	cd $(tmp)/$(OSSLVER); \
   311 	# Copy openssl dlls directly in M2Crypto package directory
   316 	# Copy openssl dlls directly in M2Crypto package directory
   312 	cp -a $(tmp)/$(OSSLVER)/*.dll $(tmp)/$(M2CRVER)/build/lib.win32-2.7/M2Crypto 
   317 	cp -a $(tmp)/$(OSSLVER)/*.dll $(tmp)/$(M2CRVER)/build/lib.win32-2.7/M2Crypto 
   313 	
   318 	
   314 	# Move result into python site packages
   319 	# Move result into python site packages
   315 	mv $(tmp)/$(M2CRVER)/build/lib.win32-2.7/M2Crypto $(pysite)
   320 	mv $(tmp)/$(M2CRVER)/build/lib.win32-2.7/M2Crypto $(pysite)
   316 	
       
   317 	# Lxml
       
   318 	$(call get_src_pypi,2.7/l/lxml,lxml-3.2.3.win32-py2.7.exe)\
       
   319 	unzip -d $(tmp)/lxml $$dld ; [ $$? -eq 1 ] #silence error unziping .exe
       
   320 	cp -R $(tmp)/lxml/PLATLIB/* $(pysite)
       
   321 	
   321 	
   322 	touch $@
   322 	touch $@
   323 
   323 
   324 matiecdir = build/matiec
   324 matiecdir = build/matiec
   325 matiec: |build
   325 matiec: |build