Package Details: python-swig 4.2.1-2

Git Clone URL: https://aur.archlinux.org/python-swig.git (read-only, click to copy)
Package Base: python-swig
Description: SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
Upstream URL: https://github.com/nightlark/swig-pypi
Licenses: Apache-2.0, GPL-3.0-only
Conflicts: swig
Submitter: cqzw555
Maintainer: cqzw555
Last Packager: cqzw555
Votes: 0
Popularity: 0.000000
First Submitted: 2024-03-29 01:56 (UTC)
Last Updated: 2024-03-29 02:38 (UTC)

Latest Comments

GPereira commented on 2025-12-07 08:44 (UTC) (edited on 2025-12-07 08:44 (UTC) by GPereira)

# Maintainer: cqzw555 < cqzw555@163.com >
# Contributer: Gonçalo Pereira <goncalo_pereira@outlook.pt>

_name=swig
pkgname=python-$_name
pkgver=4.4.0
pkgrel=1
pkgdesc="SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages."
url="https://github.com/nightlark/swig-pypi"
license=('Apache-2.0' 'GPL-3.0-only')
arch=('x86_64' 'aarch64' 'i686')
makedepends=('python-installer' 'python-build' 'python-scikit-build' 'm4' 'python-setuptools-scm' 'python-scikit-build' 'python-scikit-build-core')
depends=('python')
conflicts=("swig")
source=("https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz")
sha256sums=("a0d48c94e8b97e3661e201626341e4822154592c2ff42e40ade1957a5a0f6b52")

build(){
  cd $_name-$pkgver
  python -m build --wheel --no-isolation
}

package() {
  cd $_name-$pkgver
  python -m installer --destdir="$pkgdir" dist/*.whl
}