#1147653 Add loong64 to Architecture in debian/control

#1147653#5
Date:
2026-09-14 09:30:41 UTC
From:
To:
Dear maintainers,
  Please add loong64 to Architecture in debian/control, thanks!

1. Patch for loong64
--- python-cobra-0.31.1-ori/debian/control      2026-06-02 23:28:56.000000000 +0800
+++ python-cobra-0.31.1/debian/control  2026-09-14 17:08:43.059998009 +0800
@@ -39,7 +39,7 @@
 Homepage: https://opencobra.github.io/cobrapy/

 Package: python3-cobra
-Architecture: any-amd64 any-i386 alpha arm64 armel armhf hppa m68k mips mips64el mipsel powerpc ppc64 ppc64el sh4 sparc64 x32
+Architecture: any-amd64 any-i386 alpha arm64 armel armhf hppa loong64 m68k mips mips64el mipsel powerpc ppc64 ppc64el sh4 sparc64 x32
 Depends:
  python-cobra-data (= ${source:Version}),
  python3-numpy,


2. Tests log and Build results (dpkg-buildpackage)
   Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean
===================================================== 531 passed, 27 skipped, 10 xfailed, 1 xpassed, 5490 warnings in 700.88s (0:11:40) =====================================================
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   dh_auto_install -O--buildsystem=pybuild
I: pybuild plugin_pyproject:199: Copying package built for python3.14 to destdir
   debian/rules override_dh_install
make[1]: Entering directory '/home/test/python-cobra/python-cobra-0.31.1'
dh_install -X update_pickles.py --package=python-cobra-data
dh_install --remaining-packages
find debian -name __pycache__ | xargs rm -rf
make[1]: Leaving directory '/home/test/python-cobra/python-cobra-0.31.1'
   dh_installdocs -O--buildsystem=pybuild
   dh_installchangelogs -O--buildsystem=pybuild
   dh_python3 -O--buildsystem=pybuild
I: dh_python3 pydist:399: Cannot find package that provides python-libsbml. Please add package that provides it to Build-Depends or add "python-libsbml python3-libsbml" line to debian/py3dist-overrides or add proper dependency to Depends by hand and ignore this info.
   dh_installsystemduser -O--buildsystem=pybuild
   dh_lintian -O--buildsystem=pybuild
   dh_perl -O--buildsystem=pybuild
   dh_link -O--buildsystem=pybuild
   dh_strip_nondeterminism -O--buildsystem=pybuild
   dh_compress -O--buildsystem=pybuild
   dh_fixperms -O--buildsystem=pybuild
   dh_missing -O--buildsystem=pybuild
   dh_dwz -a -O--buildsystem=pybuild
   dh_strip -a -O--buildsystem=pybuild
   dh_makeshlibs -a -O--buildsystem=pybuild
   dh_shlibdeps -a -O--buildsystem=pybuild
   dh_installdeb -O--buildsystem=pybuild
   dh_gencontrol -O--buildsystem=pybuild
dpkg-gencontrol: warning: Depends field of package python3-cobra: substitution variable ${shlibs:Depends} used, but is not defined
   dh_md5sums -O--buildsystem=pybuild
   dh_builddeb -O--buildsystem=pybuild
dpkg-deb: building package 'python-cobra-data' in '../python-cobra-data_0.31.1-1_all.deb'.
dpkg-deb: building package 'python3-cobra' in '../python3-cobra_0.31.1-1_loong64.deb'.
 dpkg-genbuildinfo -O../python-cobra_0.31.1-1_loong64.buildinfo
 dpkg-genchanges -O../python-cobra_0.31.1-1_loong64.changes
dpkg-genchanges: info: including full source code in upload

Best regards,
  Na Zhang