mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +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
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Clayton Craft <clayton@craftyguy.net>
 | |
| # Maintainer: Clayton Craft <clayton@craftyguy.net>
 | |
| pkgname=py3-keyutils
 | |
| pkgver=0.6
 | |
| pkgrel=3
 | |
| pkgdesc="python bindings for keyutils"
 | |
| url="https://github.com/sassoftware/python-keyutils"
 | |
| arch="all"
 | |
| license="Apache-2.0"
 | |
| depends="python3 keyutils"
 | |
| makedepends="cython gettext keyutils-dev py3-setuptools python3-dev py3-pytest-runner"
 | |
| checkdepends="py3-pytest"
 | |
| source="$pkgname-$pkgver.tar.gz::https://github.com/sassoftware/python-keyutils/archive/$pkgver.tar.gz"
 | |
| builddir="$srcdir/python-keyutils-$pkgver"
 | |
| 
 | |
| # https://github.com/sassoftware/python-keyutils/issues/30
 | |
| options="!check"
 | |
| 
 | |
| prepare() {
 | |
| 	default_prepare
 | |
| 
 | |
| 	# fix python3 build by deleting stale .c file
 | |
| 	rm keyutils/_keyutils.c
 | |
| }
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| e282d553a644d9b38c6256e027ee553a123bf21e4222491e22699ca5bc5041dedc4e9a9a8c1bafa44985f3b1d5fafd85ded9ed5332b6d94d6c62f3fa6bcb6d0d  py3-keyutils-0.6.tar.gz
 | |
| "
 |