mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 10:21:36 +01:00 
			
		
		
		
	testing/pithos: rebuild against py3.11
This commit is contained in:
		
							parent
							
								
									94be381253
								
							
						
					
					
						commit
						b87c6f43b5
					
				@ -2,7 +2,7 @@
 | 
				
			|||||||
# Maintainer: Adam Plumb <adamplumb@gmail.com>
 | 
					# Maintainer: Adam Plumb <adamplumb@gmail.com>
 | 
				
			||||||
pkgname=pithos
 | 
					pkgname=pithos
 | 
				
			||||||
pkgver=1.5.1
 | 
					pkgver=1.5.1
 | 
				
			||||||
pkgrel=0
 | 
					pkgrel=1
 | 
				
			||||||
pkgdesc="GTK+ player for pandora web radio"
 | 
					pkgdesc="GTK+ player for pandora web radio"
 | 
				
			||||||
url="https://pithos.github.io/"
 | 
					url="https://pithos.github.io/"
 | 
				
			||||||
arch="noarch"
 | 
					arch="noarch"
 | 
				
			||||||
@ -22,6 +22,7 @@ subpackages="$pkgname-doc"
 | 
				
			|||||||
source="https://github.com/pithos/pithos/releases/download/$pkgver/pithos-$pkgver.tar.xz
 | 
					source="https://github.com/pithos/pithos/releases/download/$pkgver/pithos-$pkgver.tar.xz
 | 
				
			||||||
	0001-Do-not-fail-if-locale-attributes-are-not-present.patch
 | 
						0001-Do-not-fail-if-locale-attributes-are-not-present.patch
 | 
				
			||||||
	0001-ui-Make-fit-on-small-mobile-screens.patch
 | 
						0001-ui-Make-fit-on-small-mobile-screens.patch
 | 
				
			||||||
 | 
						no-optimise.patch
 | 
				
			||||||
	"
 | 
						"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build() {
 | 
					build() {
 | 
				
			||||||
@ -37,4 +38,5 @@ sha512sums="
 | 
				
			|||||||
9791badb2fcb05aaa7a81f0e221a4800b5c9c8f7f37d1642db441a473d10d4b49a4aa44a0b8530c9e8508b393b8769aa335918d2d7de6c30b87c108d1cfde564  pithos-1.5.1.tar.xz
 | 
					9791badb2fcb05aaa7a81f0e221a4800b5c9c8f7f37d1642db441a473d10d4b49a4aa44a0b8530c9e8508b393b8769aa335918d2d7de6c30b87c108d1cfde564  pithos-1.5.1.tar.xz
 | 
				
			||||||
093390c35dc12ae05e75f1e168bd8bd2fd08d046d647978875df0e2ae0e14d2540b60875f303a0b6dd88527a820164a0e04342c9d928265b1d05d2818f147489  0001-Do-not-fail-if-locale-attributes-are-not-present.patch
 | 
					093390c35dc12ae05e75f1e168bd8bd2fd08d046d647978875df0e2ae0e14d2540b60875f303a0b6dd88527a820164a0e04342c9d928265b1d05d2818f147489  0001-Do-not-fail-if-locale-attributes-are-not-present.patch
 | 
				
			||||||
dac08931d54fdd861b59e7cf20306b6e3ba7486e333afa6c0d34e417ce5aeebe6bdec5a20c7e97393272e36c4b7a0ddd350d911fa0433e6a690957be13b6cf0b  0001-ui-Make-fit-on-small-mobile-screens.patch
 | 
					dac08931d54fdd861b59e7cf20306b6e3ba7486e333afa6c0d34e417ce5aeebe6bdec5a20c7e97393272e36c4b7a0ddd350d911fa0433e6a690957be13b6cf0b  0001-ui-Make-fit-on-small-mobile-screens.patch
 | 
				
			||||||
 | 
					d80de0beb0e856d5020f7d4a275abb00404bbd5875f1639a324a8f21f58208594a0962b73e7b0bda765ef74649db5e10e8a2a02e57f18d7d55212be51655c436  no-optimise.patch
 | 
				
			||||||
"
 | 
					"
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								testing/pithos/no-optimise.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								testing/pithos/no-optimise.patch
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					diff --git a/meson_post_install.py b/meson_post_install.py
 | 
				
			||||||
 | 
					index 17b4f2a..caf1c33 100644
 | 
				
			||||||
 | 
					--- a/meson_post_install.py
 | 
				
			||||||
 | 
					+++ b/meson_post_install.py
 | 
				
			||||||
 | 
					@@ -18,4 +18,4 @@ if not destdir:
 | 
				
			||||||
 | 
					     call(['glib-compile-schemas', path.join(datadir, 'glib-2.0', 'schemas')])
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 print('Compiling python bytecode...')
 | 
				
			||||||
 | 
					-compile_dir(destdir + path.join(datadir, 'pithos', 'pithos'), optimize=2)
 | 
				
			||||||
 | 
					+compile_dir(destdir + path.join(datadir, 'pithos', 'pithos'))
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user