Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
python-clevercsv
Commits:
d492a735 by Jelle van der Waa at 2024-01-03T00:13:41+01:00
Drop python-pytest-runner and use pytest directly
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
pkgbase = python-clevercsv
pkgdesc = A Python package for handling messy CSV files
pkgver = 0.8.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/alan-turing-institute/CleverCSV
arch = x86_64
license = MIT
- checkdepends = python-pytest-runner
+ checkdepends = python-pytest
checkdepends = python-pandas
checkdepends = python-tabview
checkdepends = python-wilderness
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=python-clevercsv
pkgver=0.8.0
_commit=25d696a0adb94e875bad7887ad34ac4be4bd6d3f
-pkgrel=1
+pkgrel=2
pkgdesc="A Python package for handling messy CSV files"
url="https://github.com/alan-turing-institute/CleverCSV"
license=('MIT')
@@ -11,7 +11,7 @@ arch=('x86_64')
depends=('python-chardet' 'python-regex' 'python-packaging')
makedepends=('git' 'python-setuptools')
optdepends=('python-pandas' 'python-tabview' 'python-wilderness'
'python-cchardet')
-checkdepends=('python-pytest-runner' 'python-pandas' 'python-tabview'
'python-wilderness'
+checkdepends=('python-pytest' 'python-pandas' 'python-tabview'
'python-wilderness'
'python-faust-cchardet' 'python-termcolor')
source=("git+https://github.com/alan-turing-institute/CleverCSV.git#commit=$_commit")
sha512sums=('SKIP')
@@ -23,7 +23,8 @@ build() {
check() {
cd CleverCSV
- PYTHONPATH="$PWD"/build/lib.linux-$CARCH-3.10 python setup.py pytest
+ local python_version=$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
+ PYTHONPATH="build/lib.linux-x86_64-cpython-${python_version}" pytest
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-clevercsv/-/commit/d492a7352cb70701d579a74660ce3f87430380d6
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-clevercsv/-/commit/d492a7352cb70701d579a74660ce3f87430380d6
You're receiving this email because of your account on gitlab.archlinux.org.