From 2b6196cb3e9e0824c0a0e08ef9a3d0ef2840bb3b Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 23 Feb 2023 11:48:01 +0000 Subject: [PATCH] update modulemd etc --- README.md | 3 ++ gating.yaml | 7 +++ koschei.cfg | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++ scala.yaml | 111 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 246 insertions(+) create mode 100644 README.md create mode 100644 gating.yaml create mode 100644 koschei.cfg create mode 100644 scala.yaml diff --git a/README.md b/README.md new file mode 100644 index 0000000..8761afd --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# scala + +The scala package \ No newline at end of file diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..9f1d298 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate_modules +subject_type: redhat-module +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier1.functional} diff --git a/koschei.cfg b/koschei.cfg new file mode 100644 index 0000000..46211a1 --- /dev/null +++ b/koschei.cfg @@ -0,0 +1,125 @@ +# -*- python -*- +# vim: ft=python +config = { + "buildrequires": [ + "javapackages-tools", + ], + "requires": [ + "platform", + ], + + "bootstrap": False, + "full_refs": False, + "default_ref": "stream-scala-2.10", + "include_build_deps": False, + "closure": False, + "filter_unused": True, + "topo_sort": True, + + "api": [ + "scala", + "scala-apidoc", + "scala-swing", + ], + "profiles": { + "default": ["scala"], + }, + "filter": [ + ], + "includes": [ + ], + "excludes": [ + "javapackages-tools", + "java-1.7.0-openjdk", + "java-1.8.0-openjdk", + ], + "frozen_refs": [ + ], + "stream_override": { + "javapackages-tools": { + "2.10": "[201801]", + }, + "platform": { + "2.10": "[]", + }, + }, + + "macros": { + "_with_xmvn_javadoc": 1, + "_without_asciidoc": 1, + "_without_avalon": 1, + "_without_bouncycastle": 1, + "_without_cython": 1, + "_without_dafsa": 1, + "_without_desktop": 1, + "_without_doxygen": 1, + "_without_dtd": 1, + "_without_eclipse": 1, + "_without_ehcache": 1, + "_without_emacs": 1, + "_without_equinox": 1, + "_without_fop": 1, + "_without_ftp": 1, + "_without_gradle": 1, + "_without_groovy": 1, + "_without_hadoop": 1, + "_without_hsqldb": 1, + "_without_itext": 1, + "_without_jackson": 1, + "_without_jmh": 1, + "_without_jna": 1, + "_without_jpa": 1, + "_without_junit5": 1, + "_without_logback": 1, + "_without_markdown": 1, + "_without_memcached": 1, + "_without_memoryfilesystem": 1, + "_without_obr": 1, + "_without_python": 1, + "_without_reporting": 1, + "_without_scm": 1, + "_without_snappy": 1, + "_without_spring": 1, + "_without_ssh": 1, + "_without_testlib": 1, + }, + + "summary": "A hybrid functional/object-oriented language for the JVM", + "description": """\ + Scala is a general purpose programming language designed to express + common programming patterns in a concise, elegant, and type-safe way. + It smoothly integrates features of object-oriented and functional + languages. It is also fully interoperable with Java. + """, + + "koji_config": { + "server": "https://koji.kjnet.xyz/kojihub", + "topurl": "https://koji.kjnet.xyz/kojifiles", + "multicall_chunk_size": 1000, + "tag_name": "hybrid", + }, + "dependency": { + "repo_arch": "x86_64", + "resolve_for_arch": "x86_64", + "ignore_weak_deps": True, + "cache_l2_capacity": 2, + }, + "directories": { + "cachedir": "/tmp/maven-modulemd-gen", + }, + "logging": { + "version": 1, + "loggers": { + "": { + "level": "INFO", + "handlers": ["stderr"], + }, + }, + "handlers": { + "stderr": { + "class": "logging.StreamHandler", + "stream": "ext://sys.stderr" + }, + }, + }, +} diff --git a/scala.yaml b/scala.yaml new file mode 100644 index 0000000..b11dc8f --- /dev/null +++ b/scala.yaml @@ -0,0 +1,111 @@ +--- +document: modulemd +version: 2 +data: + summary: A hybrid functional/object-oriented language for the JVM + description: >- + Scala is a general purpose programming language designed to express common programming + patterns in a concise, elegant, and type-safe way. It smoothly integrates features + of object-oriented and functional languages. It is also fully interoperable with + Java. + license: + module: + - MIT + dependencies: + - buildrequires: + javapackages-tools: [201801] + platform: [el8] + scala: [2.10] + requires: + platform: [] + profiles: + common: + rpms: + - scala + api: + rpms: + - scala + - scala-apidoc + - scala-swing + filter: + rpms: + - ant-scala + - hawtjni + - hawtjni-javadoc + - jansi-javadoc + - jansi-native-javadoc + - jline-javadoc + - maven-hawtjni-plugin + buildopts: + rpms: + macros: | + %_with_xmvn_javadoc 1 + %_without_asciidoc 1 + %_without_avalon 1 + %_without_bouncycastle 1 + %_without_cython 1 + %_without_dafsa 1 + %_without_desktop 1 + %_without_doxygen 1 + %_without_dtd 1 + %_without_eclipse 1 + %_without_ehcache 1 + %_without_emacs 1 + %_without_equinox 1 + %_without_fop 1 + %_without_ftp 1 + %_without_gradle 1 + %_without_groovy 1 + %_without_hadoop 1 + %_without_hsqldb 1 + %_without_itext 1 + %_without_jackson 1 + %_without_jmh 1 + %_without_jna 1 + %_without_jpa 1 + %_without_junit5 1 + %_without_logback 1 + %_without_markdown 1 + %_without_memcached 1 + %_without_memoryfilesystem 1 + %_without_obr 1 + %_without_python 1 + %_without_reporting 1 + %_without_scm 1 + %_without_snappy 1 + %_without_spring 1 + %_without_ssh 1 + %_without_testlib 1 + components: + rpms: + hawtjni: + rationale: 'Runtime dependency of jansi, jansi-native. + +' + ref: stream-scala-2.10-rhel-8.8.0 + buildorder: 10 + jansi: + rationale: 'Runtime dependency of jline, scala. + +' + ref: stream-scala-2.10-rhel-8.8.0 + buildorder: 30 + jansi-native: + rationale: 'Runtime dependency of jansi. + +' + ref: stream-scala-2.10-rhel-8.8.0 + buildorder: 20 + jline: + rationale: 'Runtime dependency of scala. + +' + ref: stream-scala-2.10-rhel-8.8.0 + buildorder: 40 + scala: + rationale: 'Module API. + +' + ref: stream-scala-2.10-rhel-8.8.0 + buildorder: 50 +...