mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +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.3.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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
3d2431509db8367f963c0e810002efa7ee15f0b0ac8f5ca52cd5ebabfcd94ee9f62771dc0574e14c3195b9868e119e3bd1eef01459d69b6a0d1c6f23915f9b57 portalocker-2.3.0.tar.gz
|
|
"
|