[arch-commits] Commit in python-occ-core/repos/community-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 18 17:29:24 UTC 2020
Date: Wednesday, November 18, 2020 @ 17:29:24
Author: foutrelis
Revision: 757140
archrelease: copy trunk to community-x86_64
Added:
python-occ-core/repos/community-x86_64/PKGBUILD
(from rev 757139, python-occ-core/trunk/PKGBUILD)
Deleted:
python-occ-core/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++++++++++--------------------------
1 file changed, 45 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-18 17:29:17 UTC (rev 757139)
+++ PKGBUILD 2020-11-18 17:29:24 UTC (rev 757140)
@@ -1,32 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=pythonocc-core
-pkgname=python-${_pkgname#python}
-pkgver=7.4.0
-pkgrel=1
-pkgdesc='Python package for 3D CAD/BIM/PLM/CAM'
-arch=('x86_64')
-url='https://github.com/tpaviot/pythonocc-core'
-license=('LGPL3')
-depends=('python' 'opencascade' 'libxmu')
-makedepends=('cmake' 'swig')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('a25705479e32f93422497f7828062188eb99ad22f679996ca35d63a57c7335cfe0d965d8b4f88967e4a44bec3ebaec2ee47572e61dce275c6c645d983e1480c7')
-
-build() {
- mkdir $_pkgname-$pkgver/build
- cd $_pkgname-$pkgver/build
-
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
-
- make
-}
-
-package() {
- cd $_pkgname-$pkgver/build
-
- make DESTDIR="$pkgdir" install
-}
-
Copied: python-occ-core/repos/community-x86_64/PKGBUILD (from rev 757139, python-occ-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-18 17:29:24 UTC (rev 757140)
@@ -0,0 +1,45 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pythonocc-core
+pkgname=python-${_pkgname#python}
+pkgver=7.4.1.r16.gfcf4e6ec
+_commit=fcf4e6ecf8518bbfb5fb7e4c55f9e79bd319eaa7
+pkgrel=1
+pkgdesc='Python package for 3D CAD/BIM/PLM/CAM'
+arch=('x86_64')
+url='https://github.com/tpaviot/pythonocc-core'
+license=('LGPL3')
+depends=('python' 'opencascade' 'libxmu' 'libxi')
+# rapidjson appears to be unused but an opencascade
+# header that references it gets dragged in somehow
+makedepends=('cmake' 'swig' 'rapidjson' 'git')
+#source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+source=("git+https://github.com/tpaviot/pythonocc-core#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname-$pkgver
+ git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ mv $_pkgname $_pkgname-$pkgver
+ mkdir $_pkgname-$pkgver/build
+}
+
+build() {
+ cd $_pkgname-$pkgver/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver/build
+
+ make DESTDIR="$pkgdir" install
+}
+
More information about the arch-commits
mailing list