[arch-commits] Commit in (python-gdspy python-gdstk python-gdstk/trunk/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Aug 1 03:03:37 UTC 2021
Date: Sunday, August 1, 2021 @ 03:03:37
Author: felixonmars
Revision: 991859
addpkg: python-gdstk 0.6.1-1 (replace python-gdspy)
Added:
python-gdstk/
Modified:
python-gdstk/trunk/PKGBUILD
Deleted:
python-gdspy/
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: python-gdstk/trunk/PKGBUILD
===================================================================
--- python-gdspy/trunk/PKGBUILD 2021-08-01 02:35:48 UTC (rev 991858)
+++ python-gdstk/trunk/PKGBUILD 2021-08-01 03:03:37 UTC (rev 991859)
@@ -1,30 +1,30 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgname=python-gdspy
-pkgver=1.6.7
+pkgname=python-gdstk
+pkgver=0.6.1
pkgrel=1
pkgdesc="Python module for creating GDSII stream files, usually CAD layouts"
-url="https://github.com/heitzmann/gdspy"
+url="https://github.com/heitzmann/gdstk"
license=('custom:BSL')
arch=('x86_64')
depends=('python-numpy')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'cmake')
checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/heitzmann/gdspy/archive/v$pkgver.tar.gz")
-sha512sums=('829c12a59227df41c8a6add5b86920df8d8fb9b15c6ac50ad15dc73d4554f2ce01e0ebe212ff8709977b7dfb2a1b82e3097af0a8e15b527f514c7e4b34141504')
+source=("https://github.com/heitzmann/gdstk/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('549301755ed0f0964a3b08ad46b0516abc2e274b22897f747c04bf35877e6f173acac3fe79d25d8b9a1d11509f6936e5dfd384f584201ce559ac92fe41f1a7c4')
build() {
- cd gdspy-$pkgver
+ cd gdstk-$pkgver
python setup.py build
}
check() {
- cd gdspy-$pkgver
+ cd gdstk-$pkgver
python setup.py pytest
}
package() {
- cd gdspy-$pkgver
+ cd gdstk-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
More information about the arch-commits
mailing list