Date: Wednesday, February 1, 2023 @ 10:16:17
Author: felixonmars
Revision: 1391715
archrelease: copy trunk to community-x86_64
Added:
python-gdstk/repos/community-x86_64/PKGBUILD
(from rev 1391714, python-gdstk/trunk/PKGBUILD)
Deleted:
python-gdstk/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-01 10:16:05 UTC (rev 1391714)
+++ PKGBUILD 2023-02-01 10:16:17 UTC (rev 1391715)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-gdstk
-pkgver=0.9.15
-pkgrel=1
-pkgdesc="Python module for creating GDSII stream files, usually CAD layouts"
-url="https://github.com/heitzmann/gdstk"
-license=('custom:BSL')
-arch=('x86_64')
-depends=('python-numpy')
-makedepends=('python-setuptools' 'cmake')
-checkdepends=('python-pytest-runner')
-source=("https://github.com/heitzmann/gdstk/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('252e142ecb2d5a715afd6b6f8abad596b752bcc5b1738613d469788979c1ae0d1d12ef690d76feac3c2f7ba856d7ced67acd9bd6cf67f12bf85f3a7d454362b6')
-
-build() {
- cd gdstk-$pkgver
- python setup.py build
-}
-
-check() {
- cd gdstk-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd gdstk-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-gdstk/repos/community-x86_64/PKGBUILD (from rev 1391714,
python-gdstk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-01 10:16:17 UTC (rev 1391715)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-gdstk
+pkgver=0.9.16
+_commit=b3c69863d6b9ef87a7a8b78e2075f8a663c38feb
+pkgrel=1
+pkgdesc="Python module for creating GDSII stream files, usually CAD layouts"
+url="https://github.com/heitzmann/gdstk"
+license=('custom:BSL')
+arch=('x86_64')
+depends=('python-numpy')
+makedepends=('git' 'python-setuptools' 'cmake')
+checkdepends=('python-pytest-runner')
+source=("git+https://github.com/heitzmann/gdstk.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd gdstk
+ python setup.py build
+}
+
+check() {
+ cd gdstk
+ python setup.py pytest
+}
+
+package() {
+ cd gdstk
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}