[med-svn] [Git][med-team/libvcflib][master] 2 commits: d/rules: Get tests running, do not install py so
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Mon Feb 6 18:02:36 GMT 2023
Nilesh Patra pushed to branch master at Debian Med / libvcflib
Commits:
519c8b96 by Nilesh Patra at 2023-02-06T23:32:18+05:30
d/rules: Get tests running, do not install py so
- - - - -
e3759ed5 by Nilesh Patra at 2023-02-06T23:32:32+05:30
[ci skip] copyr fix
- - - - -
2 changed files:
- debian/copyright
- debian/rules
Changes:
=====================================
debian/copyright
=====================================
@@ -26,7 +26,7 @@ Files: debian/*
Copyright: © 2015 Andreas Tille <tille at debian.org>
License: MIT
-Files: debian/ext/filevercmp/*
+Files: debian/ext/intervaltree/*
debian/ext/multichoose/*
Copyright: Erik Garrison <erik.garrison at gmail.com>
License: MIT
=====================================
debian/rules
=====================================
@@ -14,7 +14,7 @@ export GIT_VERSION=$(DEB_VERSION)
override_dh_clean:
dh_clean
find . -name "*.o" -delete
- rm -f README.html
+ rm -f README.html build/
rm -rf contrib/filevercmp contrib/multichoose contrib/intervaltree
override_dh_auto_clean:
@@ -32,15 +32,20 @@ endif
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- export LD_LIBRARY_PATH=$(CURDIR)/obj-${DEB_HOST_GNU_TYPE}/:$$LD_LIBRARY_PATH && cd test && $(MAKE)
+ cp obj-${DEB_HOST_GNU_TYPE}/CTestTestfile.cmake test/
+ ln -sf obj-${DEB_HOST_GNU_TYPE}/ build
+ cd test && ctest .
+ cd .. && rm -f build
endif
override_dh_install:
dh_install
- find debian -name filevercmp.h -delete
- cp -a filevercmp/filevercmp.h debian/libvcflib-dev/usr/include/vcflib/
+ find debian/lib* -name filevercmp.h -delete
+ cp -a debian/ext/filevercmp/filevercmp.h debian/libvcflib-dev/usr/include/vcflib/
mkdir -p debian/libvcflib-dev/usr/include/intervaltree
mv debian/libvcflib-dev/usr/include/vcflib/IntervalTree.h debian/libvcflib-dev/usr/include/intervaltree
+ # Remove un-needed py so, install in separate binary package when needed
+ find debian/ -name 'pyvcflib.cpython*.so' -delete
# install pkg-config file
mkdir -p $(CURDIR)/debian/libvcflib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
mv libvcflib.pc $(CURDIR)/debian/libvcflib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
View it on GitLab: https://salsa.debian.org/med-team/libvcflib/-/compare/5958c078d4e544b104e1ac1e11264c0efda3713b...e3759ed5be57a1e865ce0010d7bd0c77be11f1df
--
View it on GitLab: https://salsa.debian.org/med-team/libvcflib/-/compare/5958c078d4e544b104e1ac1e11264c0efda3713b...e3759ed5be57a1e865ce0010d7bd0c77be11f1df
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/20230206/ee62b1c4/attachment-0001.htm>
More information about the debian-med-commit
mailing list