easycompile 1.0.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of easycompile might be problematic. Click here for more details.

Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +198 -0
  3. data/bin/easycompile +7 -0
  4. data/doc/DESIGN_DECISIONS.md +34 -0
  5. data/doc/README.gen +181 -0
  6. data/easycompile.gemspec +65 -0
  7. data/lib/easycompile.rb +5 -0
  8. data/lib/easycompile/base/change_directory.rb +28 -0
  9. data/lib/easycompile/base/cmake.rb +53 -0
  10. data/lib/easycompile/base/colours.rb +88 -0
  11. data/lib/easycompile/base/commandline_arguments.rb +37 -0
  12. data/lib/easycompile/base/constants.rb +24 -0
  13. data/lib/easycompile/base/easycompile.rb +22 -0
  14. data/lib/easycompile/base/esystem.rb +59 -0
  15. data/lib/easycompile/base/gem.rb +35 -0
  16. data/lib/easycompile/base/help.rb +35 -0
  17. data/lib/easycompile/base/initialize.rb +33 -0
  18. data/lib/easycompile/base/menu.rb +140 -0
  19. data/lib/easycompile/base/meson_and_ninja.rb +36 -0
  20. data/lib/easycompile/base/misc.rb +1157 -0
  21. data/lib/easycompile/base/opn.rb +27 -0
  22. data/lib/easycompile/base/process_the_input.rb +107 -0
  23. data/lib/easycompile/base/remove.rb +77 -0
  24. data/lib/easycompile/base/reset.rb +140 -0
  25. data/lib/easycompile/base/run.rb +26 -0
  26. data/lib/easycompile/compile_as_appdir/compile_as_appdir.rb +45 -0
  27. data/lib/easycompile/constants/array_possible_archives.rb +45 -0
  28. data/lib/easycompile/constants/constants.rb +21 -0
  29. data/lib/easycompile/constants/file_and_directory_constants.rb +137 -0
  30. data/lib/easycompile/constants/misc.rb +23 -0
  31. data/lib/easycompile/constants/namespace.rb +16 -0
  32. data/lib/easycompile/constants/programs_directory.rb +46 -0
  33. data/lib/easycompile/easycompile/easycompile.rb +80 -0
  34. data/lib/easycompile/project/project.rb +29 -0
  35. data/lib/easycompile/requires/require_the_easycompile_project.rb +13 -0
  36. data/lib/easycompile/requires/require_the_toplevel_methods.rb +11 -0
  37. data/lib/easycompile/toplevel_methods/copy_file.rb +23 -0
  38. data/lib/easycompile/toplevel_methods/misc.rb +54 -0
  39. data/lib/easycompile/toplevel_methods/rinstall2.rb +29 -0
  40. data/lib/easycompile/version/version.rb +26 -0
  41. data/lib/easycompile/yaml/name_of_the_build_directory.yml +1 -0
  42. data/test/testing_easycompile.rb +29 -0
  43. metadata +144 -0
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'easycompile/toplevel_methods/rinstall2.rb'
6
+ # =========================================================================== #
7
+ module Easycompile
8
+
9
+ require 'easycompile/constants/file_and_directory_constants.rb'
10
+ require 'easycompile/toplevel_methods/copy_file.rb'
11
+
12
+ # ========================================================================= #
13
+ # === Easycompile.rinstall2
14
+ #
15
+ # How to install ruby-stuff without gems, by using good oldschool
16
+ # setup.rb.
17
+ # ========================================================================= #
18
+ def self.rinstall2
19
+ copy_file ::Easycompile::Constants::LOCATION_OF_SETUP_RB,
20
+ Dir.pwd
21
+ esystem 'ruby setup.rb --quiet config'
22
+ esystem 'ruby setup.rb --quiet setup'
23
+ esystem 'ruby setup.rb --quiet install'
24
+ File.delete('setup.rb') if File.exist? 'setup.rb'
25
+ File.delete('InstalledFiles') if File.exist? 'InstalledFiles'
26
+ File.delete('.config') if File.exist? '.config'
27
+ end
28
+
29
+ end
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'easycompile/version/version.rb'
6
+ # =========================================================================== #
7
+ module Easycompile
8
+
9
+ # ========================================================================= #
10
+ # === Easycompile::VERSION
11
+ # ========================================================================= #
12
+ VERSION = '1.0.6'
13
+
14
+ # ========================================================================= #
15
+ # === Easycompile::LAST_UPDATE
16
+ # ========================================================================= #
17
+ LAST_UPDATE = '01.07.2020'
18
+
19
+ # ========================================================================= #
20
+ # === version?
21
+ # ========================================================================= #
22
+ def self.version?
23
+ Easycompile::VERSION
24
+ end
25
+
26
+ end
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ require 'colours/colours_e_autoinclude.rb'
6
+ require 'easycompile'
7
+
8
+ # =========================================================================== #
9
+ # Denote which program to use.
10
+ # =========================================================================== #
11
+ _ = '/home/x/src/htop/htop-2.2.0.tar.xz'
12
+ _ = ARGV.first unless ARGV.empty? # Overrule if argument was given.
13
+
14
+ e
15
+ e 'Welcome to testing some components of the project called Easycompile.'
16
+ e
17
+ e 'The version in use is:'
18
+ e
19
+ e sfancy(" #{Easycompile.version?}")
20
+ e
21
+ e 'Next testing support for yaml files through '+
22
+ sfancy('Easycompile.compile("wv.yaml", :appdir)')+':'
23
+ Easycompile.compile('wv.yml', :appdir)
24
+ e 'Next testing app-dir compilation:'
25
+ Easycompile::CompileAsAppdir[_]
26
+ e "Next testing #{sfancy('Easycompile.compile(_)')}"
27
+ Easycompile.compile(_)
28
+ e 'Next testing support for yaml files:'
29
+ Easycompile.compile('wv.yml')
metadata ADDED
@@ -0,0 +1,144 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: easycompile
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.6
5
+ platform: ruby
6
+ authors:
7
+ - Robert A. Heiler
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-07-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colours
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: opn
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: extracter
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: |2+
56
+
57
+ This project is called easycompile.
58
+
59
+ It allows you to compile a given source archive, such as a file
60
+ like "php-7.2.0.tar.xz". By default this will compile into the
61
+ prefix /usr/. In order for this to work, the file at hand
62
+ has to exist; in the case above, the file php-7.2.0.tar.xz
63
+ has to exist locally.
64
+
65
+ For more documentation, have a look at the link called
66
+ Documentation on the bottom right side of this webpage.
67
+
68
+ email: shevegen@gmail.com
69
+ executables:
70
+ - easycompile
71
+ extensions: []
72
+ extra_rdoc_files: []
73
+ files:
74
+ - README.md
75
+ - bin/easycompile
76
+ - doc/DESIGN_DECISIONS.md
77
+ - doc/README.gen
78
+ - easycompile.gemspec
79
+ - lib/easycompile.rb
80
+ - lib/easycompile/base/change_directory.rb
81
+ - lib/easycompile/base/cmake.rb
82
+ - lib/easycompile/base/colours.rb
83
+ - lib/easycompile/base/commandline_arguments.rb
84
+ - lib/easycompile/base/constants.rb
85
+ - lib/easycompile/base/easycompile.rb
86
+ - lib/easycompile/base/esystem.rb
87
+ - lib/easycompile/base/gem.rb
88
+ - lib/easycompile/base/help.rb
89
+ - lib/easycompile/base/initialize.rb
90
+ - lib/easycompile/base/menu.rb
91
+ - lib/easycompile/base/meson_and_ninja.rb
92
+ - lib/easycompile/base/misc.rb
93
+ - lib/easycompile/base/opn.rb
94
+ - lib/easycompile/base/process_the_input.rb
95
+ - lib/easycompile/base/remove.rb
96
+ - lib/easycompile/base/reset.rb
97
+ - lib/easycompile/base/run.rb
98
+ - lib/easycompile/compile_as_appdir/compile_as_appdir.rb
99
+ - lib/easycompile/constants/array_possible_archives.rb
100
+ - lib/easycompile/constants/constants.rb
101
+ - lib/easycompile/constants/file_and_directory_constants.rb
102
+ - lib/easycompile/constants/misc.rb
103
+ - lib/easycompile/constants/namespace.rb
104
+ - lib/easycompile/constants/programs_directory.rb
105
+ - lib/easycompile/easycompile/easycompile.rb
106
+ - lib/easycompile/project/project.rb
107
+ - lib/easycompile/requires/require_the_easycompile_project.rb
108
+ - lib/easycompile/requires/require_the_toplevel_methods.rb
109
+ - lib/easycompile/toplevel_methods/copy_file.rb
110
+ - lib/easycompile/toplevel_methods/misc.rb
111
+ - lib/easycompile/toplevel_methods/rinstall2.rb
112
+ - lib/easycompile/version/version.rb
113
+ - lib/easycompile/yaml/name_of_the_build_directory.yml
114
+ - test/testing_easycompile.rb
115
+ homepage: http://rubygems.org/gems/easycompile
116
+ licenses:
117
+ - GPL-2.0
118
+ metadata: {}
119
+ post_install_message: "\n You can run this project by issuing:\n\n ecompile\n\n
120
+ \ on the commandline.\n \n See\n\n ecompile --help\n\n for the available
121
+ options.\n\n"
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: 2.7.1
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: 3.1.4
135
+ requirements: []
136
+ rubygems_version: 3.1.4
137
+ signing_key:
138
+ specification_version: 4
139
+ summary: This project is called easycompile. It allows you to compile a given source
140
+ archive, such as a file like "php-7.2.0.tar.xz". By default this will compile into
141
+ the prefix /usr/. In order for this to work, the file at hand has to exist; in the
142
+ case above, the file php-7.2.0.tar.xz has to exist locally. For more documentation,
143
+ have a look at the link called Documentation on the bottom right side of this webpage.
144
+ test_files: []