mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 | |
| # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 | |
| pkgname=py3-librtmp
 | |
| _pkgname=python-librtmp
 | |
| pkgver=0.3.0
 | |
| pkgrel=4
 | |
| pkgdesc="Python bindings for librtmp, built with cffi"
 | |
| url="https://github.com/chrippa/python-librtmp"
 | |
| arch="all"
 | |
| license="BSD-2-Clause"
 | |
| depends="py3-cffi"
 | |
| makedepends="python3-dev py3-setuptools rtmpdump-dev"
 | |
| checkdepends="py3-pytest"
 | |
| source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
 | |
| builddir="$srcdir"/$_pkgname-$pkgver
 | |
| 
 | |
| replaces="py-librtmp" # Backwards compatibility
 | |
| provides="py-librtmp=$pkgver-r$pkgrel" # Backwards compatibility
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	PYTHONPATH="$(echo $PWD/build/lib.*)" py.test-3 tests
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="1fa529f5c68341f225849061cbcf6883f80e48a492fae8319336ea1e17c22070d5bd204f768b2561b0ef8dfdf29b38789673fab3d3386290143eb94d2b51b8fe  python-librtmp-0.3.0.tar.gz"
 |