Compare commits
No commits in common. "c8-beta" and "c8s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/Cython-0.29.32.tar.gz
|
/Cython-0.29.32.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
e754c122863d5880f48141912a4d1a60cd3912cb SOURCES/Cython-0.29.32.tar.gz
|
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
20
plan.fmf
Normal file
20
plan.fmf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
environment:
|
||||||
|
PYTHON: python3.11
|
||||||
|
discover:
|
||||||
|
- how: shell
|
||||||
|
dist-git-source: true
|
||||||
|
tests:
|
||||||
|
- name: bundled demos
|
||||||
|
require:
|
||||||
|
- python3.11-devel
|
||||||
|
- python3.11-numpy
|
||||||
|
- gcc-c++
|
||||||
|
- gcc
|
||||||
|
test: |
|
||||||
|
cd $TMT_SOURCE_DIR/cython-*/Demos &&
|
||||||
|
sed "s/\bpython\b/python3.11/" -i Makefile callback/Makefile \
|
||||||
|
embed/Makefile &&
|
||||||
|
make test
|
||||||
|
- how: fmf
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (Cython-0.29.32.tar.gz) = 55462792fa70d8edf60aa470627ab494918d7297fd7d282a7a54da76ee5a180233108404a1c8f3d79f6408f19b6e4f46b36e59fd47c38ede24f061f374437b6f
|
5
tests/helloworld.pyx
Normal file
5
tests/helloworld.pyx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html
|
||||||
|
print("Hello World")
|
||||||
|
|
||||||
|
def works():
|
||||||
|
return True
|
2
tests/main.fmf
Normal file
2
tests/main.fmf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
test: ${PYTHON:-python3} tutorial.py
|
||||||
|
|
5
tests/tutorial.py
Normal file
5
tests/tutorial.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import pyximport
|
||||||
|
pyximport.install()
|
||||||
|
|
||||||
|
import helloworld
|
||||||
|
assert helloworld.works()
|
Loading…
Reference in New Issue
Block a user