summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Caldas2023-08-26 10:52:42 +0100
committerRenato Caldas2023-08-26 10:52:42 +0100
commitfab4c5ad208f81c23c2acbfa6932f3479dea90fd (patch)
tree6958fcf0b3700dcddcf40c6f03f7b39ab3012696
parente1bb14428d6826ef4bd286ae4ddf52ed46255b7e (diff)
downloadaur-python-fenics-ffcx-git.tar.gz
Remove python cache files after install
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 652fc1e7631c..a8d75c4c596e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-fenics-ffcx-git
pkgdesc = Next generation FEniCS Form Compiler for finite element forms
- pkgver = 0.7.0.dev0_r7060.5b3dbec
- pkgrel = 2
+ pkgver = 0.7.0.dev0_r7061.4572bec
+ pkgrel = 1
url = https://fenicsproject.org
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index ab8fffef1012..863a7dad6bdf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
pkgname=('python-fenics-ffcx-git')
pkgdesc='Next generation FEniCS Form Compiler for finite element forms'
-pkgver=0.7.0.dev0_r7060.5b3dbec
-pkgrel=2
+pkgver=0.7.0.dev0_r7061.4572bec
+pkgrel=1
arch=('any')
url='https://fenicsproject.org'
license=('MIT')
@@ -33,5 +33,6 @@ build() {
package() {
cd "$srcdir/ffcx"
python -m installer --destdir="$pkgdir" dist/*.whl
+ find "$pkgdir" -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgbase/LICENSE"
}