Skip to content

Commit 3569e9a

Browse files
authored
Use robotmode from npm, Add SeleniumScreenshots (#10)
* stop building robotmode, add seleniumscreenshots * bump to slss 0.9.4 * renaming * some minor changes to force ci
1 parent a6c0f38 commit 3569e9a

File tree

9 files changed

+414
-14
lines changed

9 files changed

+414
-14
lines changed

LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2018, Nick Bollweg
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# RobotLab: Building the _Robots from Jupyter_ Workshop Installer
1+
# RobotLab
2+
3+
> Building the _Robots from Jupyter_ Workshop Installer
4+
25

36
## Build It
47
Get [Miniconda][]. Install [anaconda-project][].

ci/steps.common.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ steps:
1010
robotframework
1111
robotframework-lint
1212
robotframework-seleniumlibrary
13+
robotframework-seleniumscreenshots
1314
robotframework-jupyterlibrary
1415
robotkernel
1516
robotlab

constructor/construct.yaml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ specs:
2020
- robotframework-jupyterlibrary
2121
- robotframework-lint
2222
- robotframework-seleniumlibrary
23+
- robotframework-seleniumscreenshots
2324
- robotkernel =={{ version }}
2425
- robotlab =={{ version }}
2526

recipes/robotframework-jupyterlibrary/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ about:
3434
license_family: BSD
3535
license_file: LICENSE
3636
summary: A Robot Framework library for automating (testing of) Jupyter end-user applications and extensions
37-
dev_url: https://github.com/bollwyvl/robotframework-jupyterlibrary
37+
dev_url: https://github.com/robots-from-jupyter/robotframework-jupyterlibrary

recipes/robotframework-seleniumscreenshots/gpl-2.0.txt

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{% set name = "robotframework-seleniumscreenshots" %}
2+
{% set version = "0.9.4" %}
3+
4+
package:
5+
name: {{ name }}
6+
version: {{ version }}
7+
8+
source:
9+
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
10+
sha256: 1d71d5fdea0d6e7c729517ba06607217a8c371f05a953693014455dcbaf8d754
11+
12+
build:
13+
number: 0
14+
script: {{ PYTHON }} -m pip install --no-deps --ignore-installed --no-cache-dir -vvv .
15+
16+
requirements:
17+
build:
18+
- pip
19+
- python
20+
run:
21+
- python
22+
- robotframework >=3.0.2
23+
- robotframework-SeleniumLibrary>=3.2.0
24+
25+
test:
26+
imports:
27+
- SeleniumScreenshots
28+
29+
about:
30+
home: https://github.com/datakurre/robotframework-seleniumscreenshots
31+
license: Apache-2.0
32+
license_family: Apache
33+
license_file: {{ environ["RECIPE_DIR"] }}/gpl-2.0.txt
34+
summary: Robot Framework keyword library for capturing annotated screenshots with SeleniumLibrary
35+
doc_url: https://datakurre.github.io/robotframework-seleniumscreenshots

recipes/robotlab/meta.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set extensions = "@jupyterlab/[email protected] @jupyter-widgets/[email protected]" %}
1+
{% set extensions = "@jupyterlab/[email protected] @jupyter-widgets/[email protected] [email protected]" %}
22
{% set lab_min = "0.35.4" %}
33
{% set lab_max = "0.36" %}
44

@@ -14,7 +14,7 @@ source:
1414
folder: robotkernel
1515

1616
build:
17-
number: 0
17+
number: 1
1818
entry_points:
1919
- robotlab = robotlab.labapp:main
2020
- robotlab-extension = robotlab.labextensionapp:main
@@ -24,14 +24,6 @@ build:
2424
- {{ PYTHON }} -m pip install --no-deps --ignore-installed --no-cache-dir -vvv .
2525
- {{ PYTHON }} -m robotlab.labextensionapp install {{ extensions }} --no-build
2626
- {{ PYTHON }} -m robotlab.labextensionapp list
27-
- cd {{ SRC_DIR }}
28-
- cd robotkernel
29-
- cd src
30-
- cd jupyterlab_robotmode
31-
- jlpm pack .
32-
- mv *.tgz {{ PREFIX }}/share/jupyter/robotlab/extensions/ # [unix]
33-
- move *.tgz {{ PREFIX }}\\share\\jupyter\\robotlab\\extensions\\ # [win]
34-
- {{ PYTHON }} -m robotlab.labextensionapp list
3527
- {{ PYTHON }} -m robotlab.labapp build
3628
- rm -rf {{ PREFIX }}/share/jupyter/robotlab/staging # [unix]
3729
- rd /s /q {{ PREFIX }}\\share\\jupyter\\robotlab\\staging # [win]
@@ -64,7 +56,7 @@ test:
6456
- robotlab-examples
6557

6658
about:
67-
home: https://github.com/datakurre/robotkernel
59+
home: https://github.com/robots-from-jupyter/robotlab
6860
license: BSD-3-Clause
6961
license_family: BSD
7062
license_file: robotlab/LICENSE

robotlab/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = robotlab
33
version = 0.9.0
44
description = A pre-configured JupyterLab for demonstrating robotkernel
55
long_description = file: README.md
6-
url = https://github.com/bollwyvl/robotlab
6+
url = https://github.com/robots-from-jupyter/robotlab
77
author = Nick Bollweg
88
author_email = [email protected]
99
license = BSD-3-Clause

0 commit comments

Comments
 (0)