aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-sqlalchemy/APKBUILD
blob: d98818d9da87255b7bb04e6318bb7d409c7ee71b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                           
                                          
                      
             
        
                                                
                                                      
                                             
          
             
                                        
              
                                            
 

                                                                                              
 

                                                                   
 
         
                              

 
         
                         


           
                                                               

 
                                                                                                                                                                       
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-sqlalchemy
pkgver=1.3.17
pkgrel=0
pkgdesc="An object relational mapper for Python"
options="!check" # 2 failed, 8530 passed, 1009 skipped
url="https://pypi.python.org/pypi/SQLAlchemy"
arch="all"
license="MIT"
makedepends="python3-dev py3-setuptools"
checkdepends="
	py3-pytest py3-mock py3-pytest-xdist
"
source="https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"
builddir="$srcdir/SQLAlchemy-$pkgver"

replaces="py-sqlalchemy" # Backwards compatibility
provides="py-sqlalchemy=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	pytest-3 -n $JOBS
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6f6d54b9018ece6c289f28a3a41ffb1b2216206edee08c49f387e9f30740969dfe0f8272654ce4efca159a2a6619e76c41b2ad2b10c391cdd64681ac17d0bc79  SQLAlchemy-1.3.17.tar.gz"