summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2dd4639aec235500659e5f82c8c45ba3490ba2e0 (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
32
33
34
35
36
37
38
39
#
# Generated by pypi2aur from pypi package gdsfactory
# Date 2025-09-03 15:33:56
#
pkgname=python-gdsfactory
_origpkgname=gdsfactory
pkgver=9.13.3
pkgrel=1
pkgdesc="python library to generate GDS layouts"
arch=("x86_64")
url='https://pypi.org/project/gdsfactory/'
license=("None")
depends=(
	"python-toolz"
	"python-kfactory"
	"python-aenum"
	"python-networkx"
	"python-graphviz"
	"python-trimesh"
	"python-orjson"
	"python-shapely"
  )
makedepends=(
	"python-build"
	"python-installer"
	"python-wheel"
	"python-setuptools"
	"python-hatchling"
)
source=("https://files.pythonhosted.org/packages/fa/e2/99c59fdff8225f2dec32a41a828f14ac6b2faa708537811f2e2fc306d65c/gdsfactory-9.13.3.tar.gz")
sha256sums=("9d45cc9dc95b22bff26006654ffa58d583d9853a7794eedda60a01af412a42c9")
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: