mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
45 lines
1 KiB
Text
45 lines
1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-portalocker
|
|
pkgver=2.7.0
|
|
pkgrel=0
|
|
pkgdesc="An extended version of portalocker to lock files in Python using the with statement"
|
|
url="http://portalocker.readthedocs.io/en/latest/"
|
|
arch="noarch"
|
|
license="PSF-2.0"
|
|
depends="
|
|
py3-babel
|
|
py3-imagesize
|
|
py3-requests
|
|
py3-snowballstemmer
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-setuptools
|
|
py3-sphinx
|
|
"
|
|
checkdepends="
|
|
py3-docutils
|
|
py3-pytest
|
|
py3-pytest-cov
|
|
"
|
|
source="https://pypi.python.org/packages/source/p/portalocker/portalocker-$pkgver.tar.gz"
|
|
# Tests requires deprecated Python package pytest-flakes and pytest-pep8
|
|
options="!check"
|
|
builddir="$srcdir/portalocker-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9f6dc31fda36f2fcc7088134b5249c6ec4a92a1fa2e85bf55c700469f183d29ed1a1bd522b65909844c85dfe6872d83809d21b78dc89886533db2692cc709ed2 portalocker-2.7.0.tar.gz
|
|
"
|