Skip to content

Commit 1353f9e

Browse files
committed
Add enum34 dependency
1 parent d88d6e6 commit 1353f9e

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

recipes/enum34/recipe.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
3+
# version of your package
4+
VERSION_enum34=${VERSION_enum34:-1.0.4}
5+
6+
# dependencies of this recipe
7+
DEPS_enum34=(python)
8+
9+
# url of the package
10+
URL_enum34=https://pypi.python.org/packages/source/e/enum34/enum34-$VERSION_enum34.tar.gz
11+
12+
# md5 of the package
13+
MD5_enum34=ac80f432ac9373e7d162834b264034b6
14+
15+
# default build path
16+
BUILD_enum34=$BUILD_PATH/enum34/$(get_directory $URL_enum34)
17+
18+
# default recipe path
19+
RECIPE_enum34=$RECIPES_PATH/enum34
20+
21+
# function called for preparing source code if needed
22+
# (you can apply patch etc here.)
23+
function prebuild_enum34() {
24+
true
25+
}
26+
27+
# function called to build the source code
28+
function build_enum34() {
29+
cd $BUILD_enum34
30+
push_arm
31+
try $HOSTPYTHON setup.py install
32+
pop_arm
33+
}
34+
35+
# function called after all the compile have been done
36+
function postbuild_enum34() {
37+
true
38+
}

recipes/zeroconf/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
VERSION_zeroconf=${VERSION_zeroconf:-0.17.1}
55

66
# dependencies of this recipe
7-
DEPS_zeroconf=(python six netifaces)
7+
DEPS_zeroconf=(python six enum34 netifaces)
88

99
# url of the package
1010
URL_zeroconf=https://pypi.python.org/packages/source/z/zeroconf/zeroconf-$VERSION_zeroconf.tar.gz

0 commit comments

Comments
 (0)