diff --git a/srcpkgs/laditools/patches/00-python-enum34.patch b/srcpkgs/laditools/patches/00-python-enum34.patch new file mode 100644 index 00000000000..4a54ad73fb1 --- /dev/null +++ b/srcpkgs/laditools/patches/00-python-enum34.patch @@ -0,0 +1,26 @@ +commit 97b8cf3d7abb33aa664cf09aae826362730eef87 +Author: Ross Gammon +Date: Tue Mar 8 00:02:09 2016 +0100 + + Port from python-enum to python-enum34 + + Fixes Debian Bug #800805 + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800805 + +diff --git laditools/ladish.py laditools/ladish.py +index 3613149..21fc53b 100644 +--- laditools/ladish.py ++++ laditools/ladish.py +@@ -28,10 +28,8 @@ control_obj_path = "/org/ladish/Control" + studio_obj_path = "/org/ladish/Studio" + service_name = name_base + +-LadishStatusType = Enum("STUDIO_STOPPED", +- "NOT_AVAILABLE", +- "NO_STUDIO_LOADED", +- "STUDIO_RUNNING") ++LadishStatusType = Enum("LadishStatusType", ++ "STUDIO_STOPPED NOT_AVAILABLE NO_STUDIO_LOADED STUDIO_RUNNING") + + class LadishProxyError(Exception): pass + class LadishStudioException(Exception): pass diff --git a/srcpkgs/laditools/template b/srcpkgs/laditools/template new file mode 100644 index 00000000000..78eda80d0a9 --- /dev/null +++ b/srcpkgs/laditools/template @@ -0,0 +1,14 @@ +# Template file for 'laditools' +pkgname=laditools +version=1.1.0 +revision=1 +build_style=python2-module +hostmakedepends="python-distutils-extra intltool librsvg-utils" +makedepends="pygtk-devel vte3-devel" +depends="pygtk python-enum34 python-xdg vte-python" +short_desc="Linux Audio Desktop Integration Tools" +maintainer="Cameron Nemo " +license="GPL-3.0-or-later" +homepage="https://github.com/alessio/${pkgname}" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=ca99f4b6e17b7333ed87dd12a2d91da4d486e53d89dd2677edfa29170ec6efe5