author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-05-11 08:10:31 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-05-11 08:10:31 UTC |
parent | 8e6d2340a27a4e9e89542236a72f814dcf6b1d86 |
.SRCINFO | +0 | -1 |
.gitignore | +2 | -0 |
PKGBUILD | +0 | -8 |
diff --git a/.SRCINFO b/.SRCINFO index e687376..d9b4bf5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -5,7 +5,6 @@ pkgbase = python-toml url = https://github.com/uiri/toml arch = any license = MIT - checkdepends = python-pytest makedepends = python-build makedepends = python-installer makedepends = python-setuptools diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a43258a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/src/ +/pkg/ diff --git a/PKGBUILD b/PKGBUILD index 1e31727..76f58f3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -12,7 +12,6 @@ license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') -checkdepends=('python-pytest') source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz" "${pkgname}-0.10.1-install_type_hints.patch") sha256sums=('b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f' @@ -31,13 +30,6 @@ build() { python -m build --wheel --skip-dependency-check --no-isolation } -check() { - cd "$pkgname-$pkgver" - export PYTHONPATH="../build/lib/:${PYTHONPATH}" - # disable useless tests - pytest -v tests -k 'not test_invalid_tests and not test_valid_tests' -} - package() { cd "$pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl