[med-svn] [Git][med-team/python-cobra][master] 2 commits: Add patch to fix build

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Thu Nov 24 04:23:05 GMT 2022



Nilesh Patra pushed to branch master at Debian Med / python-cobra


Commits:
c4d86b0b by Nilesh Patra at 2022-11-24T04:07:48+00:00
Add patch to fix build

- - - - -
c5c0a5e5 by Nilesh Patra at 2022-11-24T04:08:19+00:00
Interim d/ch

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/do-not-seek-for-name.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -10,7 +10,10 @@ python-cobra (0.26.0-1) UNRELEASED; urgency=medium
   * Ignore tests accessing remote locations
   * Fix watch file
 
- -- Étienne Mollier <emollier at debian.org>  Wed, 04 May 2022 21:27:29 +0200
+  [ Nilesh Patra ]
+  * Add patch to fix build
+
+ -- Nilesh Patra <nilesh at debian.org>  Thu, 24 Nov 2022 04:07:51 +0000
 
 python-cobra (0.23.0-1) unstable; urgency=medium
 


=====================================
debian/patches/do-not-seek-for-name.patch
=====================================
@@ -0,0 +1,11 @@
+--- a/src/cobra/io/sbml.py
++++ b/src/cobra/io/sbml.py
+@@ -1081,7 +1081,7 @@
+                     if f_replace and F_REACTION in f_replace:
+                         obj_id = f_replace[F_REACTION](obj_id)
+                     cobra_member = cobra_model.reactions.get_by_id(obj_id)
+-                    cobra_member.subsystem = group.name
++                    cobra_member.subsystem = group.getName()
+                 elif typecode == libsbml.SBML_FBC_GENEPRODUCT:
+                     if f_replace and F_GENE in f_replace:
+                         obj_id = f_replace[F_GENE](obj_id)


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 mathjax.patch
 xfail_test_show_versions.patch
 ignore_tests.patch
+do-not-seek-for-name.patch



View it on GitLab: https://salsa.debian.org/med-team/python-cobra/-/compare/18d06e55a83360d9a5c0bb91ca23dc28237e7a07...c5c0a5e53941c4bf30da0c5aad39a7f52870b528

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-cobra/-/compare/18d06e55a83360d9a5c0bb91ca23dc28237e7a07...c5c0a5e53941c4bf30da0c5aad39a7f52870b528
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221124/5dbe7028/attachment-0001.htm>


More information about the debian-med-commit mailing list