Package: pyferret
Version: 7.1.1.beta-1
Hello,
In Ubuntu, we currently have a delta that makes the package stop
assuming we are building for Python 3.5 in debian/rules, but instead
grabs the version number from py3versions, this is attached. I thought
you might find it useful.
Thanks!
diff -Nru pyferret-7.1.1.beta/debian/rules pyferret-7.1.1.beta/debian/rules
--- pyferret-7.1.1.beta/debian/rules 2017-06-25 05:05:57.000000000 -0500
+++ pyferret-7.1.1.beta/debian/rules 2017-07-21 13:47:31.000000000 -0500
@@ -17,6 +17,7 @@
PY2:=$(shell pyversions -d)
PY3:=$(shell py3versions -d)
+PY3nodot:=$(shell py3versions -dv | tr -d '.')
override_dh_auto_build:
cp debian/platform_specific.mk.debian .
@@ -34,7 +35,7 @@
mkdir -p $(INSTALLDIR)/lib/$(PY3)
ln -s
$(CURDIR)/install/lib/$(PY2)/site-packages/pyferret/libpyferret.so \
$(INSTALLDIR)/lib/$(PY2)/libpyferret.so
- ln -s
$(CURDIR)/install/lib/$(PY3)/site-packages//pyferret/libpyferret.cpython-35m-$(ARCH).so
\
+ ln -s
$(CURDIR)/install/lib/$(PY3)/site-packages//pyferret/libpyferret.cpython-$(PY3nodot)m-$(ARCH).so
\
$(INSTALLDIR)/lib/$(PY3)/libpyferret.so
# Build and install
# Horrible hack breaks The Debian Way. I'm doing the build in the
'install' phase, as i'm installing into debian/tmp