Package Details: python-slycot-git 292.2f31897-1

Git Clone URL: https://aur.archlinux.org/python-slycot-git.git (read-only)
Package Base: python-slycot-git
Description: Python wrapper for selected SLICOT routines, notably including solvers for Riccati, Lyapunov and Sylvester equations.
Upstream URL: http://github.com/python-control/Slycot
Licenses: GPL2
Conflicts: python-slycot
Provides: python-slycot
Submitter: calcmogul
Maintainer: calcmogul
Last Packager: calcmogul
Votes: 3
Popularity: 0.004215
First Submitted: 2015-09-08 01:05
Last Updated: 2019-09-29 03:27

Required by (8)

Sources (1)

Latest Comments

Anonymous comment on 2015-10-31 15:28

Thanks.

calcmogul commented on 2015-10-31 10:24

I originally got this package from the AUR mirror after it was abandoned during the AUR4 upgrade; I didn't change much, including the source URL. I changed the URL and pkgver() function based on your suggestions.

Anonymous comment on 2015-10-31 09:57

Thanks for uploading the PKGBUILD. A couple comments if you don't mind:

1) pkgver() is not listing the appropriate commit (it needs to checkout something other than the current commit if it is going to use a tag). It would be best not to checkout a tag with a known segfault anyway. Below I have pasted a diff that will list the master branch sha.

2) It appears that the latest code is available from here (https://github.com/jgoppert/Slycot). The current git url hasn't had any updates since 2014. The jgoppert also is the link from the python-control website.

Here is the diff:

diff --git a/PKGBUILD b/PKGBUILD
index 7ff8d82..e8d0e07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,25 @@

pkgname=python-slycot-git
_gitname=Slycot
-pkgver=tb04ad_segfault.r72.g7b674d1
+pkgver=9bec0d28fae09a188f9d93f5851e7e2f045a1440
pkgrel=1
pkgdesc="Python wrapper for selected SLICOT routines, notably including solvers for Riccati, Lyapunov and Sylvester equations."
arch=('i686' 'x86_64')
-url="http://github.com/johannes-scharlach/Slycot"
+url="http://github.com/jgoppert/Slycot"
license=('GPL2')
depends=('python-numpy')
makedepends=('git' 'gcc-fortran')
optdepends=()
provides=('python-slycot')
conflicts=('python-slycot')
-source=(git+https://github.com/johannes-scharlach/Slycot.git)
+source=(git+https://github.com/jgoppert/Slycot.git)
md5sums=('SKIP')

pkgver() {
cd "$srcdir/$_gitname"
# Use the tag of the last commit
- git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+ git checkout master > /dev/null
+ git log -1 --format=%H
}