commit
3c6835904e
@ -0,0 +1,2 @@
|
||||
*.py[oc]
|
||||
tests/generated.py
|
@ -0,0 +1,16 @@
|
||||
# A workflow with docker is still uncertain.
|
||||
# Keep watching below file and other module's situation.
|
||||
# https://github.com/container-images/container-image-template/blob/master/Dockerfile.template
|
||||
FROM registry.fedoraproject.org/f26-modular/boltron
|
||||
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
|
||||
ENV LC_CTYPE C.UTF-8
|
||||
|
||||
RUN dnf -y update
|
||||
RUN dnf -y --nodocs install \
|
||||
ruby \
|
||||
&& dnf -y clean all
|
||||
|
||||
CMD /bin/bash
|
@ -0,0 +1,14 @@
|
||||
DOCKER_IMAGE=ruby
|
||||
|
||||
default: test
|
||||
|
||||
build-docker:
|
||||
docker build -t $(DOCKER_IMAGE) .
|
||||
|
||||
test-nspawn:
|
||||
MODULE=nspawn $(MAKE) -C tests test
|
||||
|
||||
test-docker: build-docker
|
||||
MODULE=docker URL=docker=$(DOCKER_IMAGE) $(MAKE) -C tests test
|
||||
|
||||
test: test-nspawn test-docker
|
@ -0,0 +1,9 @@
|
||||
# modules/ruby
|
||||
|
||||
## Current status
|
||||
|
||||
This module is not available yet.
|
||||
|
||||
See this Bugzilla ticket to check the status.
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1490285
|
@ -0,0 +1,111 @@
|
||||
# Keep a generated ruby.yaml file URL here to follow latest configuration.
|
||||
# https://github.com/fedora-modularity/dependency-report/blob/master/modules/ruby/ruby.yaml
|
||||
document: modulemd
|
||||
version: 1
|
||||
data:
|
||||
# From ruby.spec Summary
|
||||
summary: An interpreter of object-oriented scripting language
|
||||
# From ruby.spec description
|
||||
description: >-
|
||||
Ruby is the interpreted scripting language for quick and easy
|
||||
object-oriented programming. It has many features to process text
|
||||
files and to do system management tasks (as in Perl). It is simple,
|
||||
straight-forward, and extensible.
|
||||
license:
|
||||
module:
|
||||
- MIT
|
||||
references:
|
||||
community: http://ruby-lang.org/
|
||||
documentation: https://www.ruby-lang.org/en/documentation/
|
||||
tracker: https://bugs.ruby-lang.org/
|
||||
dependencies:
|
||||
buildrequires:
|
||||
platform: el8
|
||||
requires:
|
||||
platform: el8
|
||||
components:
|
||||
# SRPMs
|
||||
rpms:
|
||||
ruby:
|
||||
# From ruby.spec Summary
|
||||
rationale: An interpreter of object-oriented scripting language
|
||||
buildorder: 101
|
||||
ref: private-jaruga-stream-ruby-2.5
|
||||
rubygem-bundler:
|
||||
# From rubygem-bundler.spec Summary
|
||||
rationale: >-
|
||||
Library and utilities to manage a Ruby application's gem
|
||||
dependencies
|
||||
buildorder: 102
|
||||
ref: private-jaruga-stream-ruby-2.5
|
||||
rubygem-mysql2:
|
||||
# From rubygem-mysql2.spec Summary
|
||||
rationale: >-
|
||||
A simple, fast Mysql library for Ruby, binding to libmysql
|
||||
buildorder: 102
|
||||
ref: private-jaruga-stream-ruby-2.5
|
||||
rubygem-pg:
|
||||
# From rubygem-pg.spec Summary
|
||||
rationale: >-
|
||||
A Ruby interface to the PostgreSQL RDBMS
|
||||
buildorder: 102
|
||||
ref: private-jaruga-stream-ruby-2.5
|
||||
rubygem-bson:
|
||||
# From rubygem-bson.spec Summary
|
||||
rationale: >-
|
||||
Ruby Implementation of the BSON specification
|
||||
buildorder: 102
|
||||
ref: private-jaruga-stream-ruby-2.5
|
||||
rubygem-mongo:
|
||||
# From rubygem-mongo.spec Summary
|
||||
rationale: >-
|
||||
Ruby driver for MongoDB
|
||||
buildorder: 103
|
||||
ref: private-jaruga-stream-ruby-2.5
|
||||
buildopts:
|
||||
rpms:
|
||||
macros: |
|
||||
%_without_rubypick 1
|
||||
%_without_systemtap 1
|
||||
%_without_git 1
|
||||
%_without_cmake 1
|
||||
api:
|
||||
# RPMs
|
||||
# From *.spec %package
|
||||
# *-doc are filtered.
|
||||
rpms:
|
||||
# From ruby.spec
|
||||
- ruby
|
||||
- ruby-devel
|
||||
# - ruby-doc
|
||||
- ruby-irb
|
||||
- ruby-libs
|
||||
- rubygems
|
||||
- rubygems-devel
|
||||
- rubygem-bigdecimal
|
||||
- rubygem-did_you_mean
|
||||
- rubygem-io-console
|
||||
- rubygem-json
|
||||
- rubygem-minitest
|
||||
- rubygem-net-telnet
|
||||
- rubygem-openssl
|
||||
- rubygem-power_assert
|
||||
- rubygem-psych
|
||||
- rubygem-rake
|
||||
- rubygem-rdoc
|
||||
- rubygem-test-unit
|
||||
- rubygem-xmlrpc
|
||||
# From rubygem-bundler.spec
|
||||
- rubygem-bundler
|
||||
# - rubygem-bundler-doc
|
||||
filter:
|
||||
# RPMs
|
||||
rpms:
|
||||
- ruby-doc
|
||||
- rubygem-bundler-doc
|
||||
# Add profiles/default as a temporary workflow,
|
||||
# because of a issue for omitted profiles element.
|
||||
profiles:
|
||||
default:
|
||||
rpms:
|
||||
- ruby
|
@ -0,0 +1,6 @@
|
||||
# Installation
|
||||
# https://meta-test-family.readthedocs.io/en/latest/installation.html#installing-mtf
|
||||
test:
|
||||
mtf-env-set
|
||||
mtf-generator
|
||||
mtf -l *.py
|
@ -0,0 +1,15 @@
|
||||
document: modularity-testing
|
||||
version: 1
|
||||
name: ruby
|
||||
modulemd-url: https://src.fedoraproject.org/cgit/modules/ruby.git/plain/ruby.yaml
|
||||
packages:
|
||||
rpms:
|
||||
- ruby
|
||||
module:
|
||||
rpm:
|
||||
url: http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/26/Everything/x86_64/os/
|
||||
docker:
|
||||
url: docker.io/centos/ruby-23-centos7
|
||||
test:
|
||||
version:
|
||||
- 'ruby -v'
|
Loading…
Reference in new issue