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
		
			
				
	
	
		
			30 lines
		
	
	
		
			804 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			804 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
 | |
| # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
 | |
| pkgname=py3-psycopg2
 | |
| pkgver=2.9.5
 | |
| pkgrel=1
 | |
| pkgdesc="PostgreSQL adapter for python"
 | |
| options="!check" # Requires running database
 | |
| url="http://initd.org/psycopg"
 | |
| arch="all"
 | |
| license="LGPL-2.0-or-later"
 | |
| makedepends="libpq-dev python3-dev py3-setuptools"
 | |
| source="https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-$pkgver.tar.gz"
 | |
| builddir="$srcdir/psycopg2-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	make check
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 61e431ceeba0830597b6a02882d670fef216d3d5ee5c6c1ce7a6ecdd13a8e04ee6637f7cb2ee39517b465f1ad014c48ddbba44154bd1dfc7f3fd08bd9ea82e43  psycopg2-2.9.5.tar.gz
 | |
| "
 |