Date: Monday, July 19, 2021 @ 17:35:24 Author: arojas Revision: 978873
archrelease: copy trunk to community-x86_64 Added: pynac/repos/community-x86_64/PKGBUILD (from rev 978872, pynac/trunk/PKGBUILD) Deleted: pynac/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 67 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-19 17:35:13 UTC (rev 978872) +++ PKGBUILD 2021-07-19 17:35:24 UTC (rev 978873) @@ -1,32 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Rémy Oudompheng <oudom...@clipper.ens.fr> - -pkgname=pynac -pkgver=0.7.29 -pkgrel=1 -pkgdesc='Python version of GiNaC, a C++ library for symbolic mathematical calculations' -arch=(x86_64) -url='http://pynac.org' -license=(GPL) -depends=(python singular) # giac disabled because of https://trac.sagemath.org/ticket/26427 -source=(https://github.com/pynac/pynac/archive/$pkgname-$pkgver.tar.gz) -sha256sums=('44c7628f23f48299dac538cb99a9f5e615fa730e4d48b89291fa72fda109bb64') - -prepare() { - cd pynac-pynac-$pkgver - ./bootstrap -} - -build() { - cd pynac-pynac-$pkgver - - ./configure --prefix=/usr - #https://bugzilla.gnome.org/show_bug.cgi?id=655517 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - cd pynac-pynac-$pkgver - make DESTDIR="$pkgdir" install -} Copied: pynac/repos/community-x86_64/PKGBUILD (from rev 978872, pynac/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-19 17:35:24 UTC (rev 978873) @@ -0,0 +1,35 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Rémy Oudompheng <oudom...@clipper.ens.fr> + +pkgname=pynac +pkgver=0.7.29 +pkgrel=2 +pkgdesc='Python version of GiNaC, a C++ library for symbolic mathematical calculations' +arch=(x86_64) +url='http://pynac.org' +license=(GPL) +depends=(python singular) # giac disabled because of https://trac.sagemath.org/ticket/26427 +source=(https://github.com/pynac/pynac/archive/$pkgname-$pkgver.tar.gz + https://github.com/pynac/pynac/commit/c52366ca.patch) +sha256sums=('44c7628f23f48299dac538cb99a9f5e615fa730e4d48b89291fa72fda109bb64' + '3b12ee82b3bb6478e6b59549aae6cc3ecb32d337d0fcb62cbb40965150f0c13a') + +prepare() { + cd pynac-pynac-$pkgver + patch -p1 -i ../c52366ca.patch # Fix infinite loop + ./bootstrap +} + +build() { + cd pynac-pynac-$pkgver + + ./configure --prefix=/usr + #https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd pynac-pynac-$pkgver + make DESTDIR="$pkgdir" install +}