Skip to content

Commit 4a33d5e

Browse files
kivykivy
authored andcommitted
added recipes for python-redmine & py-trello
1 parent ce41723 commit 4a33d5e

2 files changed

Lines changed: 62 additions & 0 deletions

File tree

recipes/redmine/recipe.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
VERSION_redmine=${VERSION_redmine:-0.9.0}
4+
URL_redmine=https://pypi.python.org/packages/source/p/python-redmine/python-redmine-$VERSION_redmine.tar.gz
5+
DEPS_redmine=()
6+
MD5_redmine=0eff9a334d25f807b6b87a552f75d9d2
7+
BUILD_redmine=$BUILD_PATH/redmine/$(get_directory $URL_redmine)
8+
RECIPE_redmine=$RECIPES_PATH/redmine
9+
10+
11+
function prebuild_redmine() {
12+
true
13+
}
14+
15+
function shouldbuild_redmine() {
16+
if [ -f "$BUILD_redmine/redmine" ]; then
17+
DO_BUILD=0
18+
fi
19+
}
20+
21+
function build_redmine() {
22+
cd $BUILD_redmine
23+
24+
push_arm
25+
26+
pop_arm
27+
}
28+
29+
function postbuild_redmine() {
30+
true
31+
}

recipes/trello/recipe.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
VERSION_trello=${VERSION_trello:-0.1.6}
4+
URL_trello=https://pypi.python.org/packages/source/p/py-trello/py-trello-$VERSION_trello.tar.gz
5+
DEPS_trello=()
6+
MD5_trello=d5cdb37d7fe57f330d23fc5f087f5eff
7+
BUILD_trello=$BUILD_PATH/trello/$(get_directory $URL_trello)
8+
RECIPE_trello=$RECIPES_PATH/trello
9+
10+
11+
function prebuild_trello() {
12+
true
13+
}
14+
15+
function shouldbuild_trello() {
16+
if [ -f "$BUILD_trello/trello" ]; then
17+
DO_BUILD=0
18+
fi
19+
}
20+
21+
function build_trello() {
22+
cd $BUILD_trello
23+
24+
push_arm
25+
26+
pop_arm
27+
}
28+
29+
function postbuild_trello() {
30+
true
31+
}

0 commit comments

Comments
 (0)