summaryrefslogtreecommitdiffstats
path: root/audio-drivers/pyalsa
diff options
context:
space:
mode:
authorIsmael Luceno2011-09-16 00:10:44 -0300
committerIsmael Luceno2011-09-16 00:10:44 -0300
commit990b589153b5ec12fc60dcddc70cfaa5f6dbd39c (patch)
tree8902ab1fb8be220bea6b51e2707bee675908fda4 /audio-drivers/pyalsa
parent9023ab87bddca56b632ce105db17b07a518e811b (diff)
pyalsa: Use prepare_select_branch
Diffstat (limited to 'audio-drivers/pyalsa')
-rwxr-xr-xaudio-drivers/pyalsa/DETAILS4
-rw-r--r--audio-drivers/pyalsa/HISTORY3
-rwxr-xr-xaudio-drivers/pyalsa/PREPARE8
3 files changed, 7 insertions, 8 deletions
diff --git a/audio-drivers/pyalsa/DETAILS b/audio-drivers/pyalsa/DETAILS
index e98190622f..d79506a6aa 100755
--- a/audio-drivers/pyalsa/DETAILS
+++ b/audio-drivers/pyalsa/DETAILS
@@ -1,6 +1,6 @@
SPELL=pyalsa
-if [[ $PYALSA_GIT == y ]]; then
- if [[ $PYALSA_GIT_AUTOUPDATE == y ]]; then
+if [[ $PYALSA_BRANCH == scm ]]; then
+ if [[ $PYALSA_AUTOUPDATE == y ]]; then
VERSION=$(date +%Y%m%d)
else
VERSION=git
diff --git a/audio-drivers/pyalsa/HISTORY b/audio-drivers/pyalsa/HISTORY
index 0ef09acc31..18ada58147 100644
--- a/audio-drivers/pyalsa/HISTORY
+++ b/audio-drivers/pyalsa/HISTORY
@@ -1,3 +1,6 @@
+2011-09-15 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS, PREPARE: Use prepare_select_branch
+
2011-02-08 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 1.0.24
diff --git a/audio-drivers/pyalsa/PREPARE b/audio-drivers/pyalsa/PREPARE
index 6ab056e554..98d27e41ff 100755
--- a/audio-drivers/pyalsa/PREPARE
+++ b/audio-drivers/pyalsa/PREPARE
@@ -1,6 +1,2 @@
-config_query PYALSA_GIT "Build latest version from development tree?" n &&
-
-if [[ $PYALSA_GIT == y ]]; then
- config_query PYALSA_GIT_AUTOUPDATE \
- "Automatically update on every system update?" n
-fi
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm