blob: 0cacd731eaa8d54d401ce488dd94a82d83d477ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#
# Generated by pypi2aur from pypi package klayout
# Date 2025-09-03 16:08:22
#
pkgname=python-klayout
_origpkgname=klayout
pkgver=0.30.3
pkgrel=1
pkgdesc="KLayout standalone Python package"
arch=("x86_64")
url='https://pypi.org/project/klayout/'
license=("GPL-3.0-or-later")
depends=()
makedepends=(
"python-build"
"klayout"
"python-installer"
"python-wheel"
"python-setuptools"
"python-hatchling"
)
source=("https://files.pythonhosted.org/packages/a7/d9/e10e14113b071a79773088aaceeeed97b27a439c194def9b4e214e2fe73a/klayout-0.30.3.tar.gz")
sha256sums=("cf28f9b36a478e0ae4eff97672abdcbea0af85dc61edd346eed94b346165397f")
package() {
cd "${_origpkgname}-${pkgver}" || exit
python -m build --wheel --no-isolation
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|