New package: laditools-1.1.0

This commit is contained in:
Cameron Nemo 2018-10-16 19:05:08 -07:00 committed by maxice8
parent 5c19f81079
commit 73e18080b0
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,26 @@
commit 97b8cf3d7abb33aa664cf09aae826362730eef87
Author: Ross Gammon <rossgammon@mail.dk>
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

View File

@ -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 <camerontnorman@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/alessio/${pkgname}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=ca99f4b6e17b7333ed87dd12a2d91da4d486e53d89dd2677edfa29170ec6efe5