Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
obitools
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Med
obitools
Compare revisions
695747eb6703d11dc62ff0a66bd26baa6abd0e1d to fd4fb6a94c0e9e62a89be1f41fc68c7be7c93d1e
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
med-team/obitools
Select target project
No results found
fd4fb6a94c0e9e62a89be1f41fc68c7be7c93d1e
Select Git revision
Swap
Target
med-team/obitools
Select target project
med-team/obitools
1 result
695747eb6703d11dc62ff0a66bd26baa6abd0e1d
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
qsort.patch: new: replace heapsort by qsort.
· fb6053e4
Étienne Mollier
authored
7 months ago
Closes: #1066369
fb6053e4
d/control: declare compliance to standards version 4.7.0.
· dfb043ab
Étienne Mollier
authored
7 months ago
dfb043ab
ready to upload to unstable.
· fd4fb6a9
Étienne Mollier
authored
7 months ago
fd4fb6a9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
debian/changelog
+8
-0
8 additions, 0 deletions
debian/changelog
debian/control
+1
-1
1 addition, 1 deletion
debian/control
debian/patches/qsort.patch
+34
-0
34 additions, 0 deletions
debian/patches/qsort.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
44 additions
and
1 deletion
debian/changelog
View file @
fd4fb6a9
obitools (1.2.13+dfsg-8) unstable; urgency=medium
* Team upload.
* qsort.patch: new: replace heapsort by qsort. (Closes: #1066369)
* d/control: declare compliance to standards version 4.7.0.
-- Étienne Mollier <emollier@debian.org> Sat, 20 Apr 2024 10:41:15 +0200
obitools (1.2.13+dfsg-7) unstable; urgency=medium
* Drop cython3 dependency from binary package
...
...
This diff is collapsed.
Click to expand it.
debian/control
View file @
fd4fb6a9
...
...
@@ -12,7 +12,7 @@ Build-Depends: debhelper-compat (= 13),
ipython3,
python3-wheel,
python3-virtualenv
Standards-Version: 4.
6.2
Standards-Version: 4.
7.0
Vcs-Browser: https://salsa.debian.org/med-team/obitools
Vcs-Git: https://salsa.debian.org/med-team/obitools.git
Homepage: https://pypi.python.org/pypi/OBITools
...
...
This diff is collapsed.
Click to expand it.
debian/patches/qsort.patch
0 → 100644
View file @
fd4fb6a9
Description: Replace heapsort call by qsort.
heapsort is a Berkeley function not available by default in Debian libc.
This patch implements a change to call qsort instead of heapsort in obitools
where needed.
.
Note that this possibly trades a performance pattern provided by heapsort for
the one of qsort: probably increased stack memory consumption according to the
manual. This also makes the sorting result more reproducible when two entries
sort equal.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066369
Forwarded: no
Last-Update: 2024-04-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- obitools.orig/src/obitools/word/_readindex.pyx
+++ obitools/src/obitools/word/_readindex.pyx
@@ -56,7 +56,6 @@
ctypedef void* pconstvoid "const void*"
cdef extern from "stdlib.h":
- void heapsort(void *base, size_t nel, size_t width, int (*compar)(pconstvoid, pconstvoid))
void qsort(void *base, size_t nel, size_t width, int (*compar)(pconstvoid, pconstvoid))
void* bsearch(pconstvoid key, pconstvoid base, size_t nel, size_t width, int (*compar) (pconstvoid, pconstvoid))
@@ -505,7 +504,7 @@
cmpwordlengthLock.acquire()
self._globalwordlength[0]=lword
- heapsort(self._wordlist,i,sizeof(pobinuc),cmpwords)
+ qsort(self._wordlist,i,sizeof(pobinuc),cmpwords)
cmpwordlengthLock.release()
self._lindex=6 if lword >=6 else lword
This diff is collapsed.
Click to expand it.
debian/patches/series
View file @
fd4fb6a9
...
...
@@ -4,3 +4,4 @@ fix_path_interpreter
port_python3.patch
deocde-bytes-to-str.patch
no_cython_in_binary_package.patch
qsort.patch
This diff is collapsed.
Click to expand it.