Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / python-fs
Commits: 6a9405cc by Rafael Fontenelle at 2024-02-28T15:59:40-03:00 Remove pytest-runner, use SPDX license, use pypa build and installer - - - - - d59e7379 by Daniel M. Capella at 2024-02-28T19:10:31-05:00 Actual license is MIT - - - - - a4e76241 by Daniel M. Capella at 2024-02-28T19:10:46-05:00 Bump SRCINFO - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,12 +4,15 @@ pkgbase = python-fs pkgrel = 3 url = https://pypi.python.org/pypi/fs/ arch = any - license = BSD - checkdepends = python-pytest-runner + license = MIT + checkdepends = python-pytest checkdepends = fuse2 checkdepends = python-pyftpdlib checkdepends = python-psutil checkdepends = python-parameterized + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel depends = python-appdirs depends = python-pytz depends = python-setuptools ===================================== PKGBUILD ===================================== @@ -5,28 +5,27 @@ pkgver=2.4.16 pkgrel=3 pkgdesc="Filesystem abstraction layer" arch=('any') -license=('BSD') +license=('MIT') url="https://pypi.python.org/pypi/fs/" depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six') -checkdepends=('python-pytest-runner' 'fuse2' 'python-pyftpdlib' 'python-psutil' +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') build() { cd pyfilesystem2-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { cd pyfilesystem2-$pkgver - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install$site_packages:$PYTHONPATH" python setup.py pytest + PYTHONPATH="$PWD" pytest } package() { cd pyfilesystem2-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-fs/-/compare/4f7d5a01e54b9d8d807ef622fe4a8d8ba262c548...a4e762418597fb43124f9425b05125d5a9ab61e3 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-fs/-/compare/4f7d5a01e54b9d8d807ef622fe4a8d8ba262c548...a4e762418597fb43124f9425b05125d5a9ab61e3 You're receiving this email because of your account on gitlab.archlinux.org.