File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed
Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 44VERSION_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
1010URL_zeroconf=https://pypi.python.org/packages/source/z/zeroconf/zeroconf-$VERSION_zeroconf .tar.gz
You can’t perform that action at this time.
0 commit comments