summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPumpkinCheshire2022-04-02 17:26:53 +0800
committerPumpkinCheshire2022-04-02 17:26:53 +0800
commit969d174c5df33a7a9ee354aa0bc35af9c7c5da22 (patch)
tree905bc3dc63fef45be3ae1881c950c6142c8efb7d
parent5f1b229c4d345d5252e533a8f81d8469701a51db (diff)
downloadaur-969d174c5df33a7a9ee354aa0bc35af9c7c5da22.tar.gz
5.5.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88b7b4d53c6..aef59adf1bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-oct2py
pkgdesc = Python to GNU Octave bridge.
- pkgver = 5.4.3
+ pkgver = 5.5.1
pkgrel = 1
url = http://github.com/blink1073/oct2py
arch = any
@@ -16,7 +16,7 @@ pkgbase = python-oct2py
optdepends = python-sphinx: documentation support
optdepends = python-sphinx-bootstrap-theme
optdepends = python-numpydoc: documentation support
- source = https://files.pythonhosted.org/packages/source/o/oct2py/oct2py-5.4.3.tar.gz
- b2sums = 0bd6b2e550f9bd2208160d1452d44a1c12ed46d20ed65646407b13604c8242b99f61e396cf7adc58d098ccbbf6f5f6a19a69b9e282dd08105196afeb1027cfca
+ source = https://files.pythonhosted.org/packages/source/o/oct2py/oct2py-5.5.1.tar.gz
+ b2sums = c0a645464b64d04137f53f3c15bcd90d1df193d7dd7e955cf1e90b5d279091cc16b3052321a1788b6a382ad8759db1619b0a20d117c627d88abe75d13aeb62e3
pkgname = python-oct2py
diff --git a/PKGBUILD b/PKGBUILD
index b006fb00f70..e028bf1942f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_name=oct2py
pkgname=python-oct2py
-pkgver=5.4.3
+pkgver=5.5.1
pkgrel=1
pkgdesc="Python to GNU Octave bridge."
arch=('any')
@@ -26,16 +26,17 @@ optdepends=(
)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-b2sums=('0bd6b2e550f9bd2208160d1452d44a1c12ed46d20ed65646407b13604c8242b99f61e396cf7adc58d098ccbbf6f5f6a19a69b9e282dd08105196afeb1027cfca')
+b2sums=('c0a645464b64d04137f53f3c15bcd90d1df193d7dd7e955cf1e90b5d279091cc16b3052321a1788b6a382ad8759db1619b0a20d117c627d88abe75d13aeb62e3')
build() {
cd "$srcdir/$_name-$pkgver" || exit
- export PYTHONHASHSEED=0
- python setup.py build
+
+ python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_name-$pkgver" || exit
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/python-$_name/LICENSE"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/python-$_name/LICENSE"
}