blob: 7b5c3df90540460f516c5a519a8c9de77ecd5ec3 (
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
|
# Maintainer: Jiuyang Liu <liujiuyang1994@gmail.com>
# Contributor: Lucas H. Gabrielli <heitzmann@gmail.com>
_pkgname=gdspy
pkgname=python-gdspy-git
pkgver=r461.d440538
pkgrel=1
pkgdesc="Python module for creating GDSII stream files, usually CAD layouts."
url="https://github.com/heitzmann/gdspy"
arch=('x86_64')
license=('GPL3')
depends=('python' 'python-numpy')
makedepends=('python-setuptools')
replaces=('python-gdspy')
provides=('python-gdspy')
source=("git+https://github.com/heitzmann/gdspy")
md5sums=('SKIP')
pkgver() {
cd $srcdir/$_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $srcdir/$_pkgname
python setup.py build
}
package() {
cd $srcdir/$_pkgname
python setup.py install --root=${pkgdir}
}
|