author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-03-02 10:21:46 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-03-02 10:21:46 UTC |
parent | 2b08f05e0ba4b6d30db911644fa46df15d5c5993 |
.SRCINFO | +1 | -2 |
.gitignore | +2 | -0 |
PKGBUILD | +7 | -7 |
diff --git a/.SRCINFO b/.SRCINFO index b6d83ad..722a2c4 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -4,9 +4,8 @@ pkgbase = pyalpm pkgrel = 2 url = https://gitlab.archlinux.org/archlinux/pyalpm arch = x86_64 + arch = armv7h license = GPL-3.0-or-later - checkdepends = python-pytest - checkdepends = python-pytest-pacman makedepends = git makedepends = python-setuptools makedepends = python-pkgconfig 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 e2e4848..8e10f2d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,12 +4,12 @@ pkgname=pyalpm pkgver=0.10.10 pkgrel=2 pkgdesc="Python 3 bindings for libalpm" -arch=('x86_64') +arch=('x86_64' 'armv7h') url="https://gitlab.archlinux.org/archlinux/pyalpm" license=('GPL-3.0-or-later') depends=('python' 'pacman') makedepends=('git' 'python-setuptools' 'python-pkgconfig' 'python-build' 'python-installer' 'python-wheel') -checkdepends=('python-pytest' 'python-pytest-pacman') +#checkdepends=('python-pytest' 'python-pytest-pacman') source=("git+https://gitlab.archlinux.org/archlinux/pyalpm.git#tag=$pkgver") validpgpkeys=('E499C79F53C96A54E572FEE1C06086337C50773E') sha512sums=('f44b94c099697f8a9fa043c2030680545493c5a55b4da4e9c5ec5009cc9d7c5b3825f9ebddbe30343421af756b6c93d453a3f9596527718e3bd7d5db0f42f1ca') @@ -23,11 +23,11 @@ build() { python -m build --wheel --no-isolation } -check() { - cd "${pkgname}" - local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))') - PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" pytest -} +#check() { +# cd "${pkgname}" +# local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))') +# PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" pytest +#} package() { cd "${pkgname}"