Skip to content

Commit 5c33c33

Browse files
committed
Conda/travis fixes
1 parent 996e921 commit 5c33c33

File tree

3 files changed

+62
-4
lines changed

3 files changed

+62
-4
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ addons:
1515
packages:
1616
- gcc-multilib
1717
- g++-multilib
18-
- lib32z1
18+
- lib32z1+
19+
- lsb-core
1920

2021
matrix:
2122
include:
@@ -69,7 +70,7 @@ before_install:
6970
# download/install OCE from DLR-SC channel
7071
- conda config --add channels https://conda.anaconda.org/dlr-sc
7172
# install everything required to build the receipe
72-
- conda install conda-build anaconda-client
73+
- conda install conda-build=1.20 anaconda-client
7374

7475

7576
script:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Fixes related to specific dlr-sc oce patch
2+
3+
diff --git src/SWIG_files/wrapper/GeomFill.i src/SWIG_files/wrapper/GeomFill.i
4+
index bbb7c2b..32ad950 100644
5+
--- src/SWIG_files/wrapper/GeomFill.i
6+
+++ src/SWIG_files/wrapper/GeomFill.i
7+
@@ -970,48 +970,6 @@ class GeomFill_BSplineCurves {
8+
:rtype: None
9+
") GeomFill_BSplineCurves;
10+
GeomFill_BSplineCurves (const Handle_Geom_BSplineCurve & C1,const Handle_Geom_BSplineCurve & C2,const GeomFill_FillingStyle Type);
11+
- %feature("compactdefaultargs") Init;
12+
- %feature("autodoc", " * if the curves cannot be joined
13+
-
14+
- :param C1:
15+
- :type C1: Handle_Geom_BSplineCurve &
16+
- :param C2:
17+
- :type C2: Handle_Geom_BSplineCurve &
18+
- :param C3:
19+
- :type C3: Handle_Geom_BSplineCurve &
20+
- :param C4:
21+
- :type C4: Handle_Geom_BSplineCurve &
22+
- :param Type:
23+
- :type Type: GeomFill_FillingStyle
24+
- :rtype: None
25+
-") Init;
26+
- void Init (const Handle_Geom_BSplineCurve & C1,const Handle_Geom_BSplineCurve & C2,const Handle_Geom_BSplineCurve & C3,const Handle_Geom_BSplineCurve & C4,const GeomFill_FillingStyle Type);
27+
- %feature("compactdefaultargs") Init;
28+
- %feature("autodoc", " * if the curves cannot be joined
29+
-
30+
- :param C1:
31+
- :type C1: Handle_Geom_BSplineCurve &
32+
- :param C2:
33+
- :type C2: Handle_Geom_BSplineCurve &
34+
- :param C3:
35+
- :type C3: Handle_Geom_BSplineCurve &
36+
- :param Type:
37+
- :type Type: GeomFill_FillingStyle
38+
- :rtype: None
39+
-") Init;
40+
- void Init (const Handle_Geom_BSplineCurve & C1,const Handle_Geom_BSplineCurve & C2,const Handle_Geom_BSplineCurve & C3,const GeomFill_FillingStyle Type);
41+
- %feature("compactdefaultargs") Init;
42+
- %feature("autodoc", " * Initializes or reinitializes this algorithm with two, three, or four curves - C1, C2, C3, and C4 - and Type, one of the following filling styles: - GeomFill_Stretch - the style with the flattest patch - GeomFill_Coons - a rounded style of patch with less depth than that of Curved - GeomFill_Curved - the style with the most rounded patch. Exceptions Standard_ConstructionError if the curves are not contiguous.
43+
-
44+
- :param C1:
45+
- :type C1: Handle_Geom_BSplineCurve &
46+
- :param C2:
47+
- :type C2: Handle_Geom_BSplineCurve &
48+
- :param Type:
49+
- :type Type: GeomFill_FillingStyle
50+
- :rtype: None
51+
-") Init;
52+
- void Init (const Handle_Geom_BSplineCurve & C1,const Handle_Geom_BSplineCurve & C2,const GeomFill_FillingStyle Type);
53+
%feature("compactdefaultargs") Surface;
54+
%feature("autodoc", " * Returns the BSpline surface Surface resulting from the computation performed by this algorithm.
55+
56+
--

ci/conda/meta.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ source:
66
path: ../..
77
patches:
88
- fix_graphicshr_location.patch [win]
9+
- fix_GeomFill_BSplineCurves_Init_method.patch
910

1011
build:
1112

@@ -25,7 +26,7 @@ requirements:
2526
build:
2627
- patch [win]
2728
- python
28-
- oce 0.17.*
29+
- oce ==0.17.2
2930
- cmake
3031
- ninja [win]
3132
- swig
@@ -34,7 +35,7 @@ requirements:
3435
- pyqt
3536
- wxpython [py27]
3637
- pyside [py27]
37-
- oce 0.17.*
38+
- oce ==0.17.2
3839
- python
3940

4041

0 commit comments

Comments
 (0)