* update python-fs to 2.4.16-4
This commit is contained in:
parent
a7aec5ad76
commit
6529547480
@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=python-fs
|
||||
pkgver=2.4.16
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Filesystem abstraction layer"
|
||||
arch=(any)
|
||||
license=('MIT')
|
||||
@ -12,8 +12,15 @@ depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel')
|
||||
checkdepends=('python-pytest' 'fuse2' 'python-pyftpdlib' 'python-psutil'
|
||||
'python-parameterized')
|
||||
source=("https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('24a50fdbb668916e19ef26b21feb345beb6d734e841435de2bef32672e4f6b8329a44e827b6d3bb878c2522098499dea4915adcfa381b0a3c9e20f8c4f7352bb')
|
||||
source=("https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
|
||||
'python-fs-py312-test-fix.patch::https://github.com/PyFilesystem/pyfilesystem2/pull/570.patch')
|
||||
sha512sums=('24a50fdbb668916e19ef26b21feb345beb6d734e841435de2bef32672e4f6b8329a44e827b6d3bb878c2522098499dea4915adcfa381b0a3c9e20f8c4f7352bb'
|
||||
'e48a2d7756c7a8a7ed776740397579dc79f3f2e6e5f5ec794447e3eeba73a0e94e80f4c43d362c63881d849c14a3723bd8c35bc1318d62d8e438a44f2aadc8fa')
|
||||
|
||||
prepare() {
|
||||
cd pyfilesystem2-$pkgver
|
||||
patch --forward --strip=1 --input=../python-fs-py312-test-fix.patch || true
|
||||
}
|
||||
|
||||
build() {
|
||||
cd pyfilesystem2-$pkgver
|
||||
@ -22,7 +29,8 @@ build() {
|
||||
|
||||
check() {
|
||||
cd pyfilesystem2-$pkgver
|
||||
PYTHONPATH="$PWD" pytest
|
||||
# TestFTPFS needs to be updated to use the asyncio module
|
||||
PYTHONPATH="$PWD" pytest --deselect tests/test_ftpfs.py::TestFTPFS
|
||||
}
|
||||
|
||||
package() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user