Skip to content

Commit

Permalink
addpatch: jupymake
Browse files Browse the repository at this point in the history
See the [upstreamed PR](sebasguts/JuPyMake#5) for more context.
  • Loading branch information
kxxt committed May 3, 2023
1 parent c18a7b4 commit cbf33f7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions jupymake/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- PKGBUILD
+++ PKGBUILD
@@ -11,9 +11,15 @@ url='https://github.com/sebasguts/JuPyMake'
license=(GPL2)
depends=(python polymake)
makedepends=(python-build python-installer python-setuptools python-wheel)
-source=(https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz)
+source=(https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz
+ jupymake-fix-compiler-cmdline.patch::https://patch-diff.githubusercontent.com/raw/sebasguts/JuPyMake/pull/5.patch)
sha256sums=('4c756cd6a6056a20cd71f7b5e463c79dad0257241bbd32a40b750882fafdb545')

+prepare() {
+ cd $_name-$pkgver
+ patch -Np1 -i ../jupymake-fix-compiler-cmdline.patch
+}
+
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation

0 comments on commit cbf33f7

Please sign in to comment.