[med-svn] [Git][med-team/libedlib][master] 2 commits: Fix build of Python bindings

Andreas Tille gitlab at salsa.debian.org
Mon Dec 17 08:16:41 GMT 2018


Andreas Tille pushed to branch master at Debian Med / libedlib


Commits:
0a1b5638 by Dmitry Shachnev at 2018-12-17T07:58:56Z
Fix build of Python bindings

- - - - -
e27bd1da by Andreas Tille at 2018-12-17T08:14:22Z
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,9 @@
-libedlib (1.2.3-4) UNRELEASED; urgency=medium
+libedlib (1.2.3-4) unstable; urgency=medium
 
   * Make sure the executable is found in test
   * Add Python3 bindings
 
- -- Andreas Tille <tille at debian.org>  Tue, 11 Dec 2018 09:52:41 +0100
+ -- Andreas Tille <tille at debian.org>  Mon, 17 Dec 2018 08:59:56 +0100
 
 libedlib (1.2.3-3) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 11~),
                d-shlibs,
                rename,
                cython3,
-               python3-dev,
+               python3-all-dev,
                python3-setuptools
 Standards-Version: 4.2.1
 Vcs-Browser: https://salsa.debian.org/med-team/libedlib


=====================================
debian/rules
=====================================
@@ -9,7 +9,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 DEB_CMAKE_EXTRA_FLAGS = -DCMAKE_BUILD_TYPE=Release
 
 %:
-	dh $@ --buildsystem=pybuild
+	dh $@ --with python3
 
 override_dh_auto_configure:
 	dh_auto_configure --buildsystem=cmake -- $(DEB_CMAKE_EXTRA_FLAGS)
@@ -17,12 +17,13 @@ override_dh_auto_configure:
 override_dh_auto_build:
 	dh_auto_build --buildsystem=cmake
 	# $(MAKE) --directory=bindings/python
-	dh_auto_build -O--buildsystem=pybuild -O--source-directory=bindings/python
+	$(MAKE) --directory=bindings/python edlib pyedlib.bycython.cpp
+	dh_auto_build --buildsystem=pybuild -- --dir bindings/python
 
 override_dh_auto_install:
 	dh_auto_install --buildsystem=cmake
 #	$(MAKE) install --directory=bindings/python
-	dh_auto_install --buildsystem=pybuild -O--source-directory=bindings/python
+	dh_auto_install --buildsystem=pybuild -- --dir bindings/python
 
 override_dh_install:
 	dh_install



View it on GitLab: https://salsa.debian.org/med-team/libedlib/compare/91091344f9685d5d5099858ebcc91b3fcae2e6fb...e27bd1da2e088f52a42007831b4de3f8b9fe27d6

-- 
View it on GitLab: https://salsa.debian.org/med-team/libedlib/compare/91091344f9685d5d5099858ebcc91b3fcae2e6fb...e27bd1da2e088f52a42007831b4de3f8b9fe27d6
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/20181217/237d6dd0/attachment-0001.html>


More information about the debian-med-commit mailing list