[med-svn] [Git][med-team/libslow5lib][master] 7 commits: Drop B-D on python3-all. It should not B-D both on -all and -all-dev
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Sat Jan 14 22:34:09 GMT 2023
Nilesh Patra pushed to branch master at Debian Med / libslow5lib
Commits:
f3fa21aa by Nilesh Patra at 2023-01-15T02:07:04+05:30
Drop B-D on python3-all. It should not B-D both on -all and -all-dev
- - - - -
2520b214 by Nilesh Patra at 2023-01-15T03:26:59+05:30
Add a tiny script to print correct pyversion directory wherein so lib is present during build
- - - - -
4884505d by Nilesh Patra at 2023-01-15T03:28:21+05:30
Run build time test for all supported python version ensuring directory with solib corresponding to python interpreter version is selected (Closes: #1028666)
- - - - -
d21749b1 by Nilesh Patra at 2023-01-15T03:28:27+05:30
Bump Standards-Version to 4.6.2 (no changes needed)
- - - - -
51298cc2 by Nilesh Patra at 2023-01-15T03:42:35+05:30
d/rules: Remove un-needed nocheck override from test
- - - - -
b0c03ddf by Nilesh Patra at 2023-01-15T03:57:26+05:30
Hard-fail if a test fails
- - - - -
733be865 by Nilesh Patra at 2023-01-15T03:57:26+05:30
Upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/get-pyver-dir.py
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,19 @@
+libslow5lib (0.7.0+dfsg-2) unstable; urgency=medium
+
+ * Team Upload.
+ * Drop B-D on python3-all. It should not B-D both on -all and -all-dev
+ * Add a tiny script to print correct pyversion directory wherein so lib
+ is present during build
+ * Bump Standards-Version to 4.6.2 (no changes needed)
+ * d/rules:
+ + Remove un-needed nocheck override from test
+ + Hard-fail if a test fails
+ + Run build time test for all supported python version ensuring directory
+ with solib corresponding to python interpreter version is selected
+ (Closes: #1028666)
+
+ -- Nilesh Patra <nilesh at debian.org> Sun, 15 Jan 2023 03:28:31 +0530
+
libslow5lib (0.7.0+dfsg-1) unstable; urgency=medium
* New upstream version
=====================================
debian/control
=====================================
@@ -7,7 +7,6 @@ Build-Depends: debhelper-compat (= 13),
cmake,
d-shlibs,
dh-python,
- python3-all,
python3-all-dev,
libstreamvbyte-dev,
libzstd-dev,
@@ -16,7 +15,7 @@ Build-Depends: debhelper-compat (= 13),
python3-setuptools,
python3-numpy,
python3-wheel
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/med-team/libslow5lib
Vcs-Git: https://salsa.debian.org/med-team/libslow5lib.git
Homepage: https://github.com/hasindu2008/slow5lib
=====================================
debian/get-pyver-dir.py
=====================================
@@ -0,0 +1,10 @@
+import sys
+import sysconfig
+import distutils
+
+def get_pydir():
+ return 'lib.{platform}-cpython-{version[0]}{version[1]}'.\
+ format(platform=sysconfig.get_platform(), version=sys.version_info)
+
+if __name__ == '__main__':
+ print(get_pydir())
=====================================
debian/rules
=====================================
@@ -26,12 +26,16 @@ override_dh_auto_build:
done
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
mkdir -p lib
cp -a obj-$(DEB_HOST_GNU_TYPE)/libslow5_static.a lib/libslow5.a
$(MAKE) -C test zstd=1
- PYTHONPATH=$(CURDIR)/build/`basename $(CURDIR)/build/lib.$(PY_PLATFORM)-*` python3 -m unittest -v python/test.py
-endif
+ for pys in `py3versions -s`; do \
+ echo $$pys; \
+ pydir=`$$pys debian/get-pyver-dir.py`; \
+ echo $$pydir; X=0; \
+ PYTHONPATH=`pwd`/build/$$pydir $$pys -m unittest -v python/test.py || X=$$?; \
+ if [ "$X" != 0 ]; then exit $$X; fi; \
+ done
override_dh_install:
mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libslow5_static.a debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libslow5.a
View it on GitLab: https://salsa.debian.org/med-team/libslow5lib/-/compare/37f5573439220a7b29a3a50ad8f77391eff100f9...733be86587689d33b0b159ecdbe83a7727f494b1
--
View it on GitLab: https://salsa.debian.org/med-team/libslow5lib/-/compare/37f5573439220a7b29a3a50ad8f77391eff100f9...733be86587689d33b0b159ecdbe83a7727f494b1
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/20230114/18cb4fda/attachment-0001.htm>
More information about the debian-med-commit
mailing list