mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	🥔 install biplist for ci tests
biplist is an optional python dependency required for processing iOS apps. (.ipa files)
This commit is contained in:
		
							parent
							
								
									7211e9f9b4
								
							
						
					
					
						commit
						881943a0db
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
					@ -20,7 +20,7 @@ buildserver run-tests:
 | 
				
			||||||
  image: registry.gitlab.com/fdroid/fdroidserver:buildserver
 | 
					  image: registry.gitlab.com/fdroid/fdroidserver:buildserver
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - apt-get update
 | 
					    - apt-get update
 | 
				
			||||||
    - apt-get install gnupg-agent python3-babel python3-clint python3-pycountry
 | 
					    - apt-get install gnupg-agent python3-babel python3-biplist python3-clint python3-pycountry
 | 
				
			||||||
    - ./tests/run-tests
 | 
					    - ./tests/run-tests
 | 
				
			||||||
    # make sure that translations do not cause stacktraces
 | 
					    # make sure that translations do not cause stacktraces
 | 
				
			||||||
    - cd $CI_PROJECT_DIR/locale
 | 
					    - cd $CI_PROJECT_DIR/locale
 | 
				
			||||||
| 
						 | 
					@ -154,8 +154,8 @@ ubuntu_jammy_pip:
 | 
				
			||||||
    - $pip install sdkmanager
 | 
					    - $pip install sdkmanager
 | 
				
			||||||
    - sdkmanager 'build-tools;33.0.0'
 | 
					    - sdkmanager 'build-tools;33.0.0'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # pycountry is only for linting config/mirrors.yml, so its not in setup.py
 | 
					    # Install extras_require.optional from setup.py
 | 
				
			||||||
    - $pip install pycountry
 | 
					    - $pip install biplist pycountry
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - $pip install dist/fdroidserver-*.tar.gz
 | 
					    - $pip install dist/fdroidserver-*.tar.gz
 | 
				
			||||||
    - tar xzf dist/fdroidserver-*.tar.gz
 | 
					    - tar xzf dist/fdroidserver-*.tar.gz
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										4
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
					@ -108,7 +108,11 @@ setup(
 | 
				
			||||||
        'sdkmanager >= 0.6.4',
 | 
					        'sdkmanager >= 0.6.4',
 | 
				
			||||||
        'yamllint',
 | 
					        'yamllint',
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
 | 
					    # Some requires are only needed for very limited cases:
 | 
				
			||||||
 | 
					    # * biplist is only used for parsing Apple .ipa files
 | 
				
			||||||
 | 
					    # * pycountry is only for linting config/mirrors.yml
 | 
				
			||||||
    extras_require={
 | 
					    extras_require={
 | 
				
			||||||
 | 
					        'optional': ['biplist', 'pycountry'],
 | 
				
			||||||
        'test': ['pyjks', 'html5print'],
 | 
					        'test': ['pyjks', 'html5print'],
 | 
				
			||||||
        'docs': [
 | 
					        'docs': [
 | 
				
			||||||
            'sphinx',
 | 
					            'sphinx',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue