File tree 4 files changed +132
-0
lines changed 4 files changed +132
-0
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
1
+ #! /bin/bash
2
+
3
+ # version of your package
4
+ VERSION_six=${VERSION_six:- 1.9.0}
5
+
6
+ # dependencies of this recipe
7
+ DEPS_six=(python)
8
+
9
+ # url of the package
10
+ URL_six=https://pypi.python.org/packages/source/s/six/six-$VERSION_six .tar.gz
11
+
12
+ # md5 of the package
13
+ MD5_six=476881ef4012262dfc8adc645ee786c4
14
+
15
+ # default build path
16
+ BUILD_six=$BUILD_PATH /six/$( get_directory $URL_six )
17
+
18
+ # default recipe path
19
+ RECIPE_six=$RECIPES_PATH /six
20
+
21
+ # function called for preparing source code if needed
22
+ # (you can apply patch etc here.)
23
+ function prebuild_six() {
24
+ true
25
+ }
26
+
27
+ # function called to build the source code
28
+ function build_six() {
29
+ cd $BUILD_six
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_six() {
37
+ true
38
+ }
Original file line number Diff line number Diff line change
1
+ diff -Nur zeroconf-0.17.1.orig/setup.py zeroconf-0.17.1/setup.py
2
+ --- zeroconf-0.17.1.orig/setup.py 2015-04-30 22:21:46.000000000 +0600
3
+ +++ zeroconf-0.17.1/setup.py 2015-04-30 22:21:58.215207238 +0600
4
+ @@ -3,7 +3,7 @@
5
+
6
+ from os.path import abspath, dirname, join
7
+
8
+ - from setuptools import setup
9
+ + from distutils.core import setup
10
+
11
+ PROJECT_ROOT = abspath(dirname(__file__))
12
+ with open(join(PROJECT_ROOT, 'README.rst')) as f:
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # version of your package
4
+ VERSION_zeroconf=${VERSION_zeroconf:- 0.17.1}
5
+
6
+ # dependencies of this recipe
7
+ DEPS_zeroconf=(python six enum34 netifaces)
8
+
9
+ # url of the package
10
+ URL_zeroconf=https://pypi.python.org/packages/source/z/zeroconf/zeroconf-$VERSION_zeroconf .tar.gz
11
+
12
+ # md5 of the package
13
+ MD5_zeroconf=ec8a97fc803a49c96079f36a29e6133c
14
+
15
+ # default build path
16
+ BUILD_zeroconf=$BUILD_PATH /zeroconf/$( get_directory $URL_zeroconf )
17
+
18
+ # default recipe path
19
+ RECIPE_zeroconf=$RECIPES_PATH /zeroconf
20
+
21
+ # function called for preparing source code if needed
22
+ # (you can apply patch etc here.)
23
+ function prebuild_zeroconf() {
24
+ cd $BUILD_zeroconf
25
+ if [ -f .patched ]; then
26
+ return
27
+ fi
28
+ try patch -p1 < $RECIPE_zeroconf /patches/no_ctypes_fix.patch
29
+ touch .patched
30
+ }
31
+
32
+ # function called to build the source code
33
+ function build_zeroconf() {
34
+ cd $BUILD_zeroconf
35
+
36
+ push_arm
37
+ try $HOSTPYTHON setup.py install -O2
38
+ pop_arm
39
+ }
40
+
41
+ # function called after all the compile have been done
42
+ function postbuild_zeroconf() {
43
+ true
44
+ }
You can’t perform that action at this time.
0 commit comments