summarylogtreecommitdiffstats
path: root/test-optional.patch
diff options
context:
space:
mode:
authorAntonio Rojas2021-11-19 08:45:08 +0100
committerAntonio Rojas2021-11-19 08:45:08 +0100
commitf4470a5378f4975a655a4e30ea9ff958b7c45b35 (patch)
tree359f2e4ccc3613ba21619b048efb483e935bc7e2 /test-optional.patch
parent044ff8541f9cf7ce37235679f9fdf554268d1904 (diff)
downloadaur-f4470a5378f4975a655a4e30ea9ff958b7c45b35.tar.gz
Fix build with singular 4.2.1.p2, rebase patches
Diffstat (limited to 'test-optional.patch')
-rw-r--r--test-optional.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-optional.patch b/test-optional.patch
index 74d084c40020..60901a3f5679 100644
--- a/test-optional.patch
+++ b/test-optional.patch
@@ -8,8 +8,8 @@ index 2d93841e50..937e20cd2e 100644
options.optional.discard('optional')
- from sage.misc.package import list_packages
- for pkg in list_packages('optional', local=True).values():
-- if pkg['installed'] and pkg['installed_version'] == pkg['remote_version']:
-- options.optional.add(pkg['name'])
+- if pkg.is_installed() and pkg.installed_version == pkg.remote_version:
+- options.optional.add(pkg.name)
-
from sage.features import package_systems
options.optional.update(system.name for system in package_systems())