summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bershatsky2024-05-07 12:56:30 +0300
committerDaniel Bershatsky2024-05-07 12:56:30 +0300
commite8e99936590f4b58351674db4df0edad60ec8472 (patch)
tree09ad96b6e89bf98facf02b3995b9c79c0443cd42
parent1cdfb8475ffff9d280b17f817b776a32011b17a5 (diff)
downloadaur-python-transformers.tar.gz
Fix check stage
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c50f9a528f61..1c941b1609f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-transformers
pkgdesc = State-of-the-art Natural Language Processing for Jax, PyTorch and TensorFlow
pkgver = 4.40.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/huggingface/transformers
arch = any
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index bf3fecc8312f..a0bf73999bd6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=python-transformers
_pkgname=${pkgname#python-}
pkgver=4.40.2
-pkgrel=1
+pkgrel=2
pkgdesc="State-of-the-art Natural Language Processing for Jax, PyTorch and TensorFlow"
arch=('any')
url='https://github.com/huggingface/transformers'
@@ -41,8 +41,7 @@ build() {
check() {
cd "transformers-$pkgver"
- PYTHONPATH=$PWD/src
- python -c 'import transformers'
+ PYTHONPATH=$PWD/src python -c 'import transformers'
}
package() {