[hfst] 01/01: SWIG part no longer supports Python2; Let autotools generate files
Tino Didriksen
tinodidriksen-guest at moszumanska.debian.org
Wed Feb 10 08:36:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
tinodidriksen-guest pushed a commit to branch master
in repository hfst.
commit 165543a5897e8bffcff39a94547fd24145b4c6ee
Author: Tino Didriksen <tino at didriksen.cc>
Date: Wed Feb 10 08:36:29 2016 +0000
SWIG part no longer supports Python2; Let autotools generate files
---
debian/rules | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 83da7f3..4b023e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,11 +20,9 @@ override_dh_auto_configure:
dh_auto_configure -- --disable-static --with-unicode-handler=ICU --enable-all-tools
override_dh_auto_build:
- ./scripts/generate-cc-files.sh
$(MAKE) -j$(NUMJOBS) || $(MAKE) -j$(NUMJOBS) || $(MAKE)
- cd $(CURDIR)/python && python setup.py build_ext
set -e && for i in $(build3vers); do \
- cd $(CURDIR)/python&&i setup.py build_ext && strip --strip-unneeded build/*/*.so
+ cd $(CURDIR)/python && python$$i setup.py build_ext && strip --strip-unneeded build/*/*.so \
done
override_dh_auto_test:
@@ -32,9 +30,8 @@ override_dh_auto_test:
override_dh_auto_install:
dh_auto_install
- cd $(CURDIR)/python && python setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp
set -e && for i in $(build3vers); do \
- cd $(CURDIR)/python && python$$i setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp; \
+ cd $(CURDIR)/python && python$$i setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp; \
done
find $(CURDIR) -type f -name '*.pyc' -exec rm -f '{}' \;
find $(CURDIR) -type f -name '*.pyo' -exec rm -f '{}' \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hfst.git
More information about the debian-science-commits
mailing list