diff options
author | Dmitry Romanenko <Dmitry@Romanenko.in> | 2019-03-19 19:41:04 -0400 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-03-21 10:08:48 +0000 |
commit | 4f9d421b63c04f44061610e9f529910551c2d355 (patch) | |
tree | f833a3d88c130f4b608e55f4c283ce349825cfed /community/py-sqlalchemy/APKBUILD | |
parent | 40322bfdc82afecd5b8bd9ada9076265584a4ffa (diff) | |
download | aports-4f9d421b63c04f44061610e9f529910551c2d355.tar.bz2 aports-4f9d421b63c04f44061610e9f529910551c2d355.tar.xz |
community/py-sqlalchemy: upgrade to 1.3.1, add pytest-xdist
Diffstat (limited to 'community/py-sqlalchemy/APKBUILD')
-rw-r--r-- | community/py-sqlalchemy/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/community/py-sqlalchemy/APKBUILD b/community/py-sqlalchemy/APKBUILD index 9ae9c77dcb..4fdd4bbc8b 100644 --- a/community/py-sqlalchemy/APKBUILD +++ b/community/py-sqlalchemy/APKBUILD @@ -3,21 +3,20 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=py-sqlalchemy _pkgname=SQLAlchemy -pkgver=1.3.0 +pkgver=1.3.1 pkgrel=0 pkgdesc="An object relational mapper for Python" url="https://pypi.python.org/pypi/SQLAlchemy" arch="all" license="MIT" makedepends="python2-dev py-setuptools python3-dev" -checkdepends="pytest py-mock" +checkdepends="pytest py-mock pytest-xdist" subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" prepare() { cd "$builddir" - sed -i setup.py -e 's/ *"pytest-xdist",//g' cp -r "$builddir" "$builddir"-py3 } @@ -30,9 +29,9 @@ build() { check() { cd "$builddir" - pytest-2 + pytest-2 -n $JOBS cd "$builddir"-py3 - pytest-3 + pytest-3 -n $JOBS } package() { @@ -58,4 +57,4 @@ _py() { $python setup.py install --prefix=/usr --root="$subpkgdir" } -sha512sums="031c912dc8830bab70ebb48b253d47ef949818a9a49f9b8d38a2daed21dd27b295182641158578c4a1bfe4bf065968824430b4f4bf949ffdacb12bb99dae9119 SQLAlchemy-1.3.0.tar.gz" +sha512sums="a5f9506060cce7c688be5d0b25c5a34a904a64e07447e11d9a2e546c1020849038f370f5808d817f192ec36d6df7443ad328145be1af2baaad3913dab6b4cb8d SQLAlchemy-1.3.1.tar.gz" |