[arch-commits] Commit in brial/trunk (PKGBUILD brial-imp.patch)
Antonio Rojas
arojas at archlinux.org
Fri Dec 13 10:22:08 UTC 2019
Date: Friday, December 13, 2019 @ 10:22:08
Author: arojas
Revision: 537510
Update to 1.2.6
Modified:
brial/trunk/PKGBUILD
Deleted:
brial/trunk/brial-imp.patch
-----------------+
PKGBUILD | 17 ++++-------------
brial-imp.patch | 20 --------------------
2 files changed, 4 insertions(+), 33 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-13 09:50:00 UTC (rev 537509)
+++ PKGBUILD 2019-12-13 10:22:08 UTC (rev 537510)
@@ -1,8 +1,8 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=brial
-pkgver=1.2.5
-pkgrel=6
+pkgver=1.2.6
+pkgrel=1
pkgdesc="Library for polynomials over boolean rings"
arch=(x86_64)
url="https://github.com/BRiAl/BRiAl"
@@ -10,20 +10,11 @@
depends=(m4ri)
makedepends=(boost python python2)
optdepends=('python: Python 3 bindings' 'python2: Python 2 bindings')
-source=("https://github.com/BRiAl/BRiAl/releases/download/$pkgver/brial-$pkgver.tar.bz2"
- brial-imp.patch
- brial-python-3.8.patch::"https://github.com/BRiAl/BRiAl/commit/74d86170.patch")
-sha256sums=('c4921d5008ac9122452e6f93abb696ef21ceac8e7170008ea7c7b05508da8d34'
- '2f16ac32f905980ea49e2a4cdc7d44a3eec4d794e4cbde24a583a8d1045df2f8'
- 'c5edcecdaa68a1fcb8e0215db439ecfb66e33b588e15d32dceb4c78f16ec59da')
+source=("https://github.com/BRiAl/BRiAl/releases/download/$pkgver/brial-$pkgver.tar.bz2")
+sha256sums=('a8185e7b17b90f20d4babdc9c65ae0d543100410ab05f6ba62704f1df4936d18')
prepare() {
cp -r $pkgname-$pkgver/sage-brial{,-py2}
-
- cd $pkgname-$pkgver
- patch -p1 -i ../brial-python-3.8.patch # Port away from deprecated python API
- cd sage-brial
- patch -p1 -i "$srcdir"/brial-imp.patch # For away from deprecated imp module
}
build() {
Deleted: brial-imp.patch
===================================================================
--- brial-imp.patch 2019-12-13 09:50:00 UTC (rev 537509)
+++ brial-imp.patch 2019-12-13 10:22:08 UTC (rev 537510)
@@ -1,20 +0,0 @@
---- sage-brial/brial/gbrefs.py.orig 2019-09-01 22:09:29.585226434 +0000
-+++ sage-brial/brial/gbrefs.py 2019-09-01 22:10:49.416270516 +0000
-@@ -6,7 +6,7 @@
- from io import StringIO
- import uu
- import re
--import imp
-+import types
- from .PyPolyBoRi import *
- AUTO = "auto"
- SINGLE = "single"
-@@ -118,7 +118,7 @@
-
-
- def dyn_generate(content, name):
-- module = imp.new_module(name)
-+ module = types.ModuleType(name)
- import_header = """from .PyPolyBoRi import Variable,Monomial, Polynomial, Ring, OrderCode
- from itertools import chain
- from .blocks import AlternatingBlock,Block,AdderBlock,if_then,HigherOrderBlock,declare_ring as orig_declare_ring,declare_block_scheme,MacroBlock\n
More information about the arch-commits
mailing list