[med-svn] [Git][med-team/python-skbio][master] 2 commits: Use debian package of SIMDe instead of the snapshot in simde-sse2.h

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Sun Feb 12 10:43:24 GMT 2023



Michael R. Crusoe pushed to branch master at Debian Med / python-skbio


Commits:
5886745b by Michael R. Crusoe at 2023-02-12T11:07:38+01:00
Use debian package of SIMDe instead of the snapshot in simde-sse2.h

- - - - -
88adc7cb by Michael R. Crusoe at 2023-02-12T11:41:27+01:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/patches/series
- + debian/patches/use_packaged_simde
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+python-skbio (0.5.8-4) unstable; urgency=medium
+
+  * Team upload.
+  * Use debian package of SIMDe instead of the snapshot in simde-sse2.h
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Sun, 12 Feb 2023 11:41:27 +0100
+
 python-skbio (0.5.8-3) unstable; urgency=medium
 
   * Exclude 32bit architectures be explicitly setting architectures where


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+use_packaged_simde
 mathjax-path
 0002-use-libsww-as-library-not-embedded-src.patch
 no_privacy_breach_logo.patch


=====================================
debian/patches/use_packaged_simde
=====================================
@@ -0,0 +1,25 @@
+Author: Michael R. Crusoe <crusoe at debian.org>
+Description: Use libsimde-dev instead of the code copy
+Forwarded: not-needed
+--- python-skbio.orig/skbio/alignment/_lib/ssw.c
++++ python-skbio/skbio/alignment/_lib/ssw.c
+@@ -36,7 +36,7 @@
+  */
+ 
+ #define SIMDE_ENABLE_NATIVE_ALIASES
+-#include "simde-sse2.h"
++#include <simde/x86/sse2.h>
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+--- python-skbio.orig/skbio/alignment/_lib/ssw.h
++++ python-skbio/skbio/alignment/_lib/ssw.h
+@@ -15,7 +15,7 @@
+ #include <stdint.h>
+ #include <string.h>
+ #define SIMDE_ENABLE_NATIVE_ALIASES
+-#include "simde-sse2.h"
++#include <simde/x86/sse2.h>
+ 
+ /*! @typedef    structure of the query profile  */
+ struct _profile;


=====================================
debian/rules
=====================================
@@ -15,6 +15,7 @@ export USE_CYTHON=1
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_configure:
+	mv simde-sse2.h simde-sse2.h.orig
 	rm -f skbio/alignment/_ssw_wrapper.c skbio/diversity/_phylogenetic.c skbio/stats/__subsample.c skbio/metadata/_intersection.c
 	dh_auto_configure
 
@@ -46,6 +47,7 @@ override_dh_clean:
 	rm -rf .pybuild
 	rm -f scikit_bio.egg-info/PKG-INFO scikit_bio.egg-info/SOURCES.txt scikit_bio.egg-info/dependency_links.txt scikit_bio.egg-info/requires.txt scikit_bio.egg-info/top_level.txt
 	rm -f skbio/alignment/_ssw_wrapper.c skbio/diversity/_phylogenetic.c skbio/stats/__subsample.c skbio/metadata/_intersection.c
+	mv simde-sse2.h.orig simde-sse2.h || true
 
 
 override_dh_sphinxdoc:



View it on GitLab: https://salsa.debian.org/med-team/python-skbio/-/compare/738721ff08175fff1bff7d9779a7c7432aded48e...88adc7cb5a9f1c6561b2c40f8a3ce36ebd705b90

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-skbio/-/compare/738721ff08175fff1bff7d9779a7c7432aded48e...88adc7cb5a9f1c6561b2c40f8a3ce36ebd705b90
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/20230212/1f49f967/attachment-0001.htm>


More information about the debian-med-commit mailing list