mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03: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
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-fs
|
|
_pkgname=fs
|
|
pkgver=2.4.16
|
|
pkgrel=1
|
|
pkgdesc="Python's filesystem abstraction layer"
|
|
options="!check" # Tests fail on builder
|
|
url="https://pypi.org/project/fs/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
replaces="py-fs" # for backwards compatibility
|
|
provides="py-fs=$pkgver-r$pkgrel" # for backwards compatibility
|
|
depends="python3 py3-appdirs py3-six py3-tz"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-mock py3-nose py3-openssl py3-psutil py3-pyftpdlib"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
7d9a03b5a782cce048189a7ff527757e60ef6fbb99925713b0179dc9c483f63b54fb1911f39bf2230366c789c526a1b8927863ce93e13a0f71fd8734a7fdb9df fs-2.4.16.tar.gz
|
|
"
|