[arch-commits] Commit in pynac/repos/community-staging-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 11 10:32:25 UTC 2020
Date: Wednesday, November 11, 2020 @ 10:32:25
Author: felixonmars
Revision: 750081
archrelease: copy trunk to community-staging-x86_64
Added:
pynac/repos/community-staging-x86_64/PKGBUILD
(from rev 750077, pynac/trunk/PKGBUILD)
pynac/repos/community-staging-x86_64/pynac-python-3.8.patch
(from rev 750077, pynac/trunk/pynac-python-3.8.patch)
Deleted:
pynac/repos/community-staging-x86_64/PKGBUILD
pynac/repos/community-staging-x86_64/pynac-python-3.8.patch
------------------------+
PKGBUILD | 66 +++++++++++++++++++++++------------------------
pynac-python-3.8.patch | 48 +++++++++++++++++-----------------
2 files changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 10:32:24 UTC (rev 750080)
+++ PKGBUILD 2020-11-11 10:32:25 UTC (rev 750081)
@@ -1,33 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=pynac
-pkgver=0.7.26
-pkgrel=6
-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/releases/download/pynac-$pkgver/pynac-$pkgver.tar.bz2"
- pynac-python-3.8.patch)
-sha256sums=('cc124ae9757355e3434ff864aeca6503184faf0642d26bc2f7bca6f3f2c9b50f'
- 'a5b6de6521d33d4b7e4d06e841dbfc45d71b9ded09fc38ac2e5c7b7a8564f3bd')
-
-prepare() {
- patch -d $pkgname-$pkgver -p1 -i ../pynac-python-3.8.patch # Define PY_SSIZE_T_CLEAN as required by python 3.8
-}
-
-build() {
- cd 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-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: pynac/repos/community-staging-x86_64/PKGBUILD (from rev 750077, pynac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 10:32:25 UTC (rev 750081)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=pynac
+pkgver=0.7.26
+pkgrel=7
+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/releases/download/pynac-$pkgver/pynac-$pkgver.tar.bz2"
+ pynac-python-3.8.patch)
+sha256sums=('cc124ae9757355e3434ff864aeca6503184faf0642d26bc2f7bca6f3f2c9b50f'
+ 'a5b6de6521d33d4b7e4d06e841dbfc45d71b9ded09fc38ac2e5c7b7a8564f3bd')
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 -i ../pynac-python-3.8.patch # Define PY_SSIZE_T_CLEAN as required by python 3.8
+}
+
+build() {
+ cd 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-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Deleted: pynac-python-3.8.patch
===================================================================
--- pynac-python-3.8.patch 2020-11-11 10:32:24 UTC (rev 750080)
+++ pynac-python-3.8.patch 2020-11-11 10:32:25 UTC (rev 750081)
@@ -1,24 +0,0 @@
-diff --git a/ginac/function.cpp b/ginac/function.cpp
-index c158723..689e2b8 100644
---- a/ginac/function.cpp
-+++ b/ginac/function.cpp
-@@ -21,6 +21,7 @@
- */
-
- #define register
-+#define PY_SSIZE_T_CLEAN
- #include <Python.h>
- #include "py_funcs.h"
- #include "function.h"
-diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp
-index 276d86c..b463806 100644
---- a/ginac/numeric.cpp
-+++ b/ginac/numeric.cpp
-@@ -50,6 +50,7 @@
- */
-
- #define register
-+#define PY_SSIZE_T_CLEAN
- #include <Python.h>
- #include <longintrepr.h>
- #include "flint/fmpz.h"
Copied: pynac/repos/community-staging-x86_64/pynac-python-3.8.patch (from rev 750077, pynac/trunk/pynac-python-3.8.patch)
===================================================================
--- pynac-python-3.8.patch (rev 0)
+++ pynac-python-3.8.patch 2020-11-11 10:32:25 UTC (rev 750081)
@@ -0,0 +1,24 @@
+diff --git a/ginac/function.cpp b/ginac/function.cpp
+index c158723..689e2b8 100644
+--- a/ginac/function.cpp
++++ b/ginac/function.cpp
+@@ -21,6 +21,7 @@
+ */
+
+ #define register
++#define PY_SSIZE_T_CLEAN
+ #include <Python.h>
+ #include "py_funcs.h"
+ #include "function.h"
+diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp
+index 276d86c..b463806 100644
+--- a/ginac/numeric.cpp
++++ b/ginac/numeric.cpp
+@@ -50,6 +50,7 @@
+ */
+
+ #define register
++#define PY_SSIZE_T_CLEAN
+ #include <Python.h>
+ #include <longintrepr.h>
+ #include "flint/fmpz.h"
More information about the arch-commits
mailing list