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
		
	
	
		
			902 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			902 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Danilo Falcão <danilo@falcao.org>
 | |
| # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
 | |
| pkgname=py3-mongo
 | |
| _pkgname=pymongo
 | |
| pkgver=3.12.1
 | |
| pkgrel=2
 | |
| pkgdesc="Python3 driver for MongoDB"
 | |
| url="https://github.com/mongodb/mongo-python-driver"
 | |
| arch="all"
 | |
| license="Apache-2.0"
 | |
| makedepends="python3-dev py3-setuptools"
 | |
| source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
 | |
| builddir="$srcdir"/$_pkgname-$pkgver
 | |
| 
 | |
| replaces="py-mongo" # Backwards  compatibility
 | |
| provides="py-mongo=$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="
 | |
| 36294f9437c91e5ea744452e0dc1049be65706dced61a296dfae09d32e31aae0276da2bb059a5548569e6cde62f66b935f2a422f297a3eabf0b928cfee07d060  pymongo-3.12.1.tar.gz
 | |
| "
 |