diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e1740e6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pydevsup (1.0) unstable; urgency=medium + + * initial + + -- Michael Davidsaver Fri, 22 Apr 2016 12:09:02 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..9de196d --- /dev/null +++ b/debian/control @@ -0,0 +1,44 @@ +Source: pydevsup +Section: libdevel +Priority: extra +Maintainer: Michael Davidsaver +Build-Depends: debhelper (>= 9), dh-python, epics-debhelper (>= 8.13~), + epics-dev, + epics-synapps-dev | epics-autosave-dev, + epics-synapps-dev | epics-iocstats-dev, + python-all-dev, python-numpy, + python3-all-dev, python3-numpy, +Standards-Version: 3.9.6 +XS-Python-Version: >= 2.7 +XS-Python3-Version: >= 3.4 +Homepage: http://mdavidsaver.github.io/pyDevSup/ +Vcs-Git: https://github.com/mdavidsaver/pyDevSup.git +Vcs-Browser: https://github.com/mdavidsaver/pyDevSup + +Package: epics-pydevsup +Architecture: any +Depends: libpydevsup1.0 (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends}, + ${epics:Depends}, +Description: EPICS device support in Python + An IOC and support module allowing device support to be written in Python + . + This package contains the softIocPy2.* executable + +Package: epics-pydevsup-dev +Architecture: any +Depends: epics-pydevsup (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends}, + ${epics:Depends}, +Description: EPICS device support in Python + An IOC and support module allowing device support to be written in Python + . + This package contains headers and libraries needed at build time. + +Package: libpydevsup1.0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, +Description: EPICS device support in Python + An IOC and support module allowing device support to be written in Python + . + This package contains runtime libraries diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f2ec6a9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pyDevSup +Upstream-Contact: Michael Davidsaver +Source: http://mdavidsaver.github.io/pyDevSup/ + +Files: * +Copyright: Copyright 2016 Michael Davidsaver +License: GPL-2 + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/epics-pydevsup-dev.install b/debian/epics-pydevsup-dev.install new file mode 100644 index 0000000..849836b --- /dev/null +++ b/debian/epics-pydevsup-dev.install @@ -0,0 +1,7 @@ +usr/lib/epics/dbd/pyDevSup.dbd +usr/lib/epics/lib/linux-*/libpyDevSup*.a +usr/lib/epics/lib/linux-*/libpyDevSup*.so +usr/lib/epics/lib/linux-*-debug/libpyDevSup*.so.* + +usr/lib/epics/configure/*_PY etc/epics/configure +usr/lib/epics/configure/os/* etc/epics/configure/os diff --git a/debian/epics-pydevsup-dev.lintian-overrides b/debian/epics-pydevsup-dev.lintian-overrides new file mode 100644 index 0000000..d766cfb --- /dev/null +++ b/debian/epics-pydevsup-dev.lintian-overrides @@ -0,0 +1,2 @@ +# -debug targets not stripped +epics-pydevsup-dev: unstripped-binary-or-object diff --git a/debian/epics-pydevsup.install b/debian/epics-pydevsup.install new file mode 100644 index 0000000..cd058a5 --- /dev/null +++ b/debian/epics-pydevsup.install @@ -0,0 +1,6 @@ +usr/lib/epics/bin/linux-*-debug/softIocPy* +usr/lib/epics/bin/linux-*/softIocPy* usr/bin +usr/lib/epics/dbd/softIocPy.dbd +usr/lib/epics/python* +usr/lib/epics/db +iocBoot/ioc* usr/share/doc/epics-pydevsup diff --git a/debian/epics-pydevsup.lintian-overrides b/debian/epics-pydevsup.lintian-overrides new file mode 100644 index 0000000..4b71e7e --- /dev/null +++ b/debian/epics-pydevsup.lintian-overrides @@ -0,0 +1,4 @@ +# -debug not stripped +epics-pydevsup: unstripped-binary-or-object +# too lazy +epics-pydevsup: binary-without-manpage diff --git a/debian/libpydevsup1.0.install b/debian/libpydevsup1.0.install new file mode 100644 index 0000000..0e5122a --- /dev/null +++ b/debian/libpydevsup1.0.install @@ -0,0 +1 @@ +usr/lib/*/libpyDevSup*.so.* diff --git a/debian/libpydevsup1.0.lintian-overrides b/debian/libpydevsup1.0.lintian-overrides new file mode 100644 index 0000000..41378d8 --- /dev/null +++ b/debian/libpydevsup1.0.lintian-overrides @@ -0,0 +1,5 @@ +# actual library names encode python ABI versions +# and I'm too lazy to make a seprate package for +# each. Changing names with SONAME changes is +# bad enough +libpydevsup1.0: package-name-doesnt-match-sonames diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d645b1c --- /dev/null +++ b/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +# Don't want to enable conditional deps. by default +# but do want to build then for packaging +EXTRA=AUTOSAVE=/usr/lib/epics + +export DH_VERBOSE=1 + +%: + dh $@ --with epics -Sepicsmake --parallel + +override_dh_auto_configure: + +# since we do special gymnastics to build for multiple python version +# just do all the work in the install phase +override_dh_auto_build: + +override_dh_auto_test: + +override_dh_auto_install: + dh_auto_build -- PY_VER=2.7 $(EXTRA) + dh_auto_install -- PY_VER=2.7 $(EXTRA) + dh_auto_clean -- PY_VER=2.7 $(EXTRA) + dh_auto_build -- PY_VER=3.4 $(EXTRA) + dh_auto_install -- PY_VER=3.4 $(EXTRA) + dh_auto_clean -- PY_VER=3.4 $(EXTRA) + rm debian/tmp/usr/lib/epics/db/test*.db + +override_dh_install: + dh_install --fail-missing + +override_dh_makeshlibs: + dh_makeshlibs -pepics-pydevsup-dev -n + dh_makeshlibs --remaining-packages diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..62d9178 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +compression-level = 9