mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +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
		
			
				
	
	
		
			31 lines
		
	
	
		
			826 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			826 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Daniel Everett <deverett@gmail.com>
 | |
| # Maintainer: Daniel Everett <deverett@gmail.com>
 | |
| pkgname=py3-pyscard
 | |
| _pkgname=pyscard
 | |
| pkgver=2.0.5
 | |
| pkgrel=0
 | |
| pkgdesc="pyscard smartcard library for python"
 | |
| url="https://github.com/LudovicRousseau/pyscard"
 | |
| arch="all"
 | |
| license="LGPL-2.1-only"
 | |
| depends="pcsc-lite"
 | |
| makedepends="python3-dev py3-setuptools swig pcsc-lite-dev"
 | |
| source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
 | |
| builddir="$srcdir"/$_pkgname-$pkgver
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py test
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| bb2ef725e7dccefa640fe1568d1fee016bc5c639769d1b0d099067108e1369b8f7ccd3e48f985d657c5c7c33730eae891624f2c0ee2deaed491826b8c0eae2a5  pyscard-2.0.5.tar.gz
 | |
| "
 |