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
		
			
				
	
	
		
			35 lines
		
	
	
		
			960 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			960 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Jakub Jirutka <jakub@jirutka.cz>
 | |
| # Maintainer: Jakub Jirutka <jakub@jirutka.cz>
 | |
| pkgname=py3-ldap3
 | |
| _pkgname=ldap3
 | |
| pkgver=2.9.1
 | |
| pkgrel=1
 | |
| pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python3 client"
 | |
| url="https://github.com/cannatag/ldap3"
 | |
| arch="noarch"
 | |
| license="LGPL-3.0-or-later"
 | |
| depends="python3 py3-asn1"
 | |
| makedepends="py3-setuptools"
 | |
| source="$pkgname-$pkgver.tar.gz::https://github.com/cannatag/ldap3/archive/v$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgname-$pkgver"
 | |
| options="!check"  # tests need running LDAP server
 | |
| 
 | |
| replaces="py-ldap3" # Backwards compatibility
 | |
| provides="py-ldap3=$pkgver-r$pkgrel" # Backwards compatibility
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| bf07ebca9a53a8c225bc3106d3bd45eb26557c6e5a3d6d45a7f8c149d938ad43825eed0d406a57b93e2e675ed7aa262828f022ab82eb683f0e3029e3ad823106  py3-ldap3-2.9.1.tar.gz
 | |
| "
 |