xezat 0.0.4 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +78 -0
  3. data/.fasterer.yml +6 -0
  4. data/.gitignore +3 -5
  5. data/.gitmodules +3 -3
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +32 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +17 -18
  10. data/README.md +11 -236
  11. data/Rakefile +7 -1
  12. data/bin/console +15 -0
  13. data/bin/setup +8 -0
  14. data/exe/xezat +17 -0
  15. data/lib/xezat.rb +20 -5
  16. data/lib/xezat/command/announce.rb +22 -0
  17. data/lib/xezat/command/bump.rb +30 -162
  18. data/lib/xezat/command/bump/changelog.rb +35 -0
  19. data/lib/xezat/command/bump/compiler.rb +28 -0
  20. data/lib/xezat/command/bump/cygport_dep.rb +25 -0
  21. data/lib/xezat/command/bump/development_package.rb +22 -0
  22. data/lib/xezat/command/bump/file.rb +37 -0
  23. data/lib/xezat/command/bump/language.rb +30 -0
  24. data/lib/xezat/command/bump/runtime_package.rb +17 -0
  25. data/lib/xezat/command/bump/src_uri.rb +21 -0
  26. data/lib/xezat/command/bump/tool.rb +13 -0
  27. data/lib/xezat/command/debug.rb +13 -20
  28. data/lib/xezat/command/doctor.rb +10 -20
  29. data/lib/xezat/command/generate.rb +9 -113
  30. data/lib/xezat/command/init.rb +81 -0
  31. data/lib/xezat/command/port.rb +33 -42
  32. data/lib/xezat/command/validate.rb +86 -28
  33. data/lib/xezat/config.rb +16 -0
  34. data/lib/xezat/cygchangelog.rb +29 -20
  35. data/lib/xezat/cygclasses.rb +12 -14
  36. data/lib/xezat/cygversion.rb +12 -6
  37. data/lib/xezat/debugger/linguist.rb +35 -0
  38. data/lib/xezat/debugger/variable.rb +20 -0
  39. data/lib/xezat/detector/asciidoc.rb +20 -0
  40. data/lib/xezat/detector/autoconf.rb +4 -5
  41. data/lib/xezat/detector/automake.rb +3 -4
  42. data/lib/xezat/detector/boost.m4.rb +7 -8
  43. data/lib/xezat/detector/cmake.rb +4 -5
  44. data/lib/xezat/detector/gengetopt.rb +4 -5
  45. data/lib/xezat/detector/gnulib.rb +16 -0
  46. data/lib/xezat/detector/gobject-introspection.rb +3 -11
  47. data/lib/xezat/detector/halibut.rb +3 -4
  48. data/lib/xezat/detector/libQt5Core-devel.rb +3 -12
  49. data/lib/xezat/detector/libtool.rb +12 -5
  50. data/lib/xezat/detector/make.rb +5 -6
  51. data/lib/xezat/detector/meson.rb +11 -0
  52. data/lib/xezat/detector/nasm.rb +16 -0
  53. data/lib/xezat/detector/ninja.rb +18 -0
  54. data/lib/xezat/detector/python27.rb +24 -0
  55. data/lib/xezat/detector/python36.rb +13 -0
  56. data/lib/xezat/detector/python37.rb +13 -0
  57. data/lib/xezat/detector/python38-docutils.rb +25 -0
  58. data/lib/xezat/detector/python38.rb +13 -0
  59. data/lib/xezat/detector/roundup.rb +16 -0
  60. data/lib/xezat/detector/waf.rb +17 -0
  61. data/lib/xezat/detectors.rb +23 -24
  62. data/lib/xezat/ext/linguist/file_blob.rb +15 -0
  63. data/lib/xezat/ext/string.rb +7 -0
  64. data/lib/xezat/generator/pkgconfig.rb +93 -0
  65. data/lib/xezat/main.rb +74 -9
  66. data/lib/xezat/packages.rb +13 -15
  67. data/lib/xezat/variables.rb +26 -33
  68. data/lib/xezat/version.rb +3 -1
  69. data/share/xezat/categories.yaml +51 -0
  70. data/share/xezat/compilers.json +20 -1
  71. data/share/xezat/languages.json +12 -0
  72. data/share/xezat/repository/bitbucket.json +3 -3
  73. data/share/xezat/repository/github.json +3 -3
  74. data/share/xezat/repository/savannah.json +1 -1
  75. data/share/xezat/repository/sourceforge.json +1 -1
  76. data/share/xezat/template/announce.erb +7 -0
  77. data/share/xezat/template/cmake.erb +7 -0
  78. data/share/xezat/template/cygport.erb +12 -12
  79. data/share/xezat/template/pkgconfig.erb +1 -1
  80. data/xezat.gemspec +31 -23
  81. metadata +142 -180
  82. data/.travis.yml +0 -4
  83. data/bin/xezat +0 -14
  84. data/lib/xezat/command/create.rb +0 -105
  85. data/lib/xezat/commands.rb +0 -32
  86. data/lib/xezat/detector/python-docutils.rb +0 -21
  87. data/lib/xezat/refine/linguist/file_blob.rb +0 -14
  88. data/lib/xezat/validator/m4.rb +0 -31
  89. data/lib/xezat/validator/pkgconfig.rb +0 -36
  90. data/lib/xezat/validators.rb +0 -38
  91. data/share/xezat/repository/google.json +0 -7
  92. data/share/xezat/show_cygport_description.sh +0 -8
  93. data/share/xezat/template/pkgconfig.cmake +0 -8
  94. data/share/xezat/template/setup.erb +0 -17
  95. data/test/test.rb +0 -25
  96. data/test/xezat/command/fixture/doctor/a.lst.gz +0 -0
  97. data/test/xezat/command/fixture/doctor/b1.lst.gz +0 -0
  98. data/test/xezat/command/fixture/doctor/b2.lst.gz +0 -0
  99. data/test/xezat/command/test_bump.rb +0 -25
  100. data/test/xezat/command/test_create.rb +0 -48
  101. data/test/xezat/command/test_doctor.rb +0 -17
  102. data/test/xezat/detector/fixture/autoconf/no/configure.scan +0 -1
  103. data/test/xezat/detector/fixture/autoconf/yes_root/configure.ac +0 -1
  104. data/test/xezat/detector/fixture/autoconf/yes_subdir/subdir/configure.ac +0 -1
  105. data/test/xezat/detector/fixture/automake/no/Makefile.in +0 -1
  106. data/test/xezat/detector/fixture/automake/yes_root/Makefile.am +0 -1
  107. data/test/xezat/detector/fixture/automake/yes_subdir/subdir/Makefile.am +0 -1
  108. data/test/xezat/detector/fixture/boost.m4/no/configure.ac +0 -1
  109. data/test/xezat/detector/fixture/boost.m4/yes/configure.ac +0 -1
  110. data/test/xezat/detector/fixture/cmake/no/CMakeList.txt +0 -1
  111. data/test/xezat/detector/fixture/cmake/yes_root/CMakeLists.txt +0 -1
  112. data/test/xezat/detector/fixture/cmake/yes_subdir/subdir/CMakeLists.txt +0 -1
  113. data/test/xezat/detector/fixture/gengetopt/no/xezat.log +0 -1
  114. data/test/xezat/detector/fixture/gengetopt/yes_root/xezat.ggo +0 -1
  115. data/test/xezat/detector/fixture/gengetopt/yes_subdir/subdir/xezat.ggo +0 -1
  116. data/test/xezat/detector/fixture/gobject-introspection/no/configure.ac +0 -1
  117. data/test/xezat/detector/fixture/gobject-introspection/yes/configure.ac +0 -1
  118. data/test/xezat/detector/fixture/halibut/no/halibut.txt +0 -1
  119. data/test/xezat/detector/fixture/halibut/yes_root/halibut.but +0 -1
  120. data/test/xezat/detector/fixture/halibut/yes_subdir/subdir/halibut.but +0 -1
  121. data/test/xezat/detector/fixture/libQt5Core-devel/no/foo.cygport +0 -1
  122. data/test/xezat/detector/fixture/libQt5Core-devel/yes_cygport/foo.cygport +0 -1
  123. data/test/xezat/detector/fixture/libQt5Core-devel/yes_dir/foo.cygport +0 -1
  124. data/test/xezat/detector/fixture/libQt5Core-devel/yes_dir/foo.pro +0 -1
  125. data/test/xezat/detector/fixture/python-docutils/no/configure.ac +0 -1
  126. data/test/xezat/detector/fixture/python-docutils/yes/configure.ac +0 -1
  127. data/test/xezat/detector/test_autoconf.rb +0 -24
  128. data/test/xezat/detector/test_automake.rb +0 -24
  129. data/test/xezat/detector/test_boost.m4.rb +0 -20
  130. data/test/xezat/detector/test_cmake.rb +0 -24
  131. data/test/xezat/detector/test_gengetopt.rb +0 -24
  132. data/test/xezat/detector/test_gobject-introspection.rb +0 -20
  133. data/test/xezat/detector/test_halibut.rb +0 -24
  134. data/test/xezat/detector/test_libQt5Core-devel.rb +0 -30
  135. data/test/xezat/detector/test_python-docutils.rb +0 -20
  136. data/test/xezat/test_cygchangelog.rb +0 -26
  137. data/test/xezat/test_cygclasses.rb +0 -32
  138. data/test/xezat/test_cygversion.rb +0 -47
  139. data/test/xezat/test_variables.rb +0 -16
  140. data/test/xezat/validator/fixture/m4/no/usr/share/aclocal/.gitkeep +0 -0
  141. data/test/xezat/validator/fixture/m4/yes/usr/share/aclocal/test.m4 +0 -1
  142. data/test/xezat/validator/fixture/pkgconfig/no_at/usr/lib/pkgconfig/xezat.pc +0 -11
  143. data/test/xezat/validator/fixture/pkgconfig/no_link/usr/lib/pkgconfig/xezat.pc +0 -11
  144. data/test/xezat/validator/fixture/pkgconfig/skip/usr/lib/pkgconfig/.gitkeep +0 -0
  145. data/test/xezat/validator/fixture/pkgconfig/yes/usr/lib/pkgconfig/xezat.pc +0 -10
  146. data/test/xezat/validator/test_m4.rb +0 -24
  147. data/test/xezat/validator/test_pkgconfig.rb +0 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 37e5c3e340fd440548e19f1c141f7e98098007a4
4
- data.tar.gz: 2beec1b142223c633dc6ba867115d9eda5c20c3e
2
+ SHA256:
3
+ metadata.gz: 11d74a143e7b6c2d39ab8ee1698400adb87044e0ca8b3cfb8ef60df08641c0e6
4
+ data.tar.gz: 5f1ac17b9895d6c80aa15e27eeabd82e6678144097c92ccd9cb1021773b5c15b
5
5
  SHA512:
6
- metadata.gz: 886a4a0057fd8afb3d4ccb99f0afc2e622377b580a1b1bb571b38937520741e555797fcc71c76625ec2d5479351b88afe51c5ff7218c617fbe74b28c2ec9c074
7
- data.tar.gz: 65b2630f54a628da9158d7dabf10995b8a1cef7625e90271e2809aee5f9962c8f48a14fa9c3e09831d795b33e00fb720c3543e33d6c94626c5ef2e3c14c7f311
6
+ metadata.gz: 5b14c63cecba36080b1ad95b3669cd2d837c22389e8074c5948d56ef134d1082eca62b0c7f2f16c7fac3b6d64581bc95defe4a2777efe1240a70b6763d8a6cf0
7
+ data.tar.gz: 71ae49dc2ee4282fc949538ed2176140d81b7950edbf12e965527fb005409fed9fcde547a6255eb0c4851372c3f14e12b7bc276a509755a5d15a5ba1a6ba71bc
@@ -0,0 +1,78 @@
1
+ # Ruby CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
+ #
5
+ version: 2
6
+ jobs:
7
+ build:
8
+ docker:
9
+ # specify the version you desire here
10
+ - image: circleci/ruby:2.6
11
+
12
+ working_directory: ~/repo
13
+
14
+ steps:
15
+ - checkout
16
+
17
+ - run:
18
+ name: Init & update submodule
19
+ command: |
20
+ git submodule init
21
+ git submodule update
22
+ git submodule foreach git pull origin master
23
+
24
+ # Download and cache dependencies
25
+ - restore_cache:
26
+ keys:
27
+ - v2-dependencies-{{ .Branch }}
28
+ # fallback to using the latest cache if no exact match is found
29
+ #- v1-dependencies-
30
+
31
+ - run:
32
+ name: Show ruby version
33
+ command: |
34
+ ruby -v
35
+
36
+ - run:
37
+ name: Install native libraries
38
+ command: |
39
+ sudo apt-get install cmake libicu-dev
40
+
41
+ - run:
42
+ name: Install dependencies
43
+ command: |
44
+ bundle install --jobs=4 --retry=3 --path vendor/bundle
45
+
46
+ - save_cache:
47
+ paths:
48
+ - ./vendor/bundle
49
+ key: v2-dependencies-{{ .Branch }}
50
+
51
+ # Rubocop
52
+ - run:
53
+ name: Rubocop
54
+ command: |
55
+ bundle exec rubocop -D -c .rubocop.yml --format simple
56
+
57
+ # Fasterer
58
+ - run:
59
+ name: Fasterer
60
+ command: |
61
+ bundle exec fasterer
62
+
63
+ # Run tests
64
+ - run:
65
+ name: Run tests
66
+ command: |
67
+ mkdir /tmp/test-results
68
+ bundle exec rspec --no-color \
69
+ --format progress \
70
+ --format RspecJunitFormatter \
71
+ --out /tmp/test-results/rspec.xml
72
+
73
+ # Collect reports
74
+ - store_test_results:
75
+ path: /tmp/test-results
76
+ - store_artifacts:
77
+ path: ~/repo/coverage
78
+ destination: coverage
data/.fasterer.yml ADDED
@@ -0,0 +1,6 @@
1
+ speedups:
2
+ sort_vs_sort_by: false
3
+
4
+ exclude_paths:
5
+ - 'spec/**/*.rb'
6
+ - 'vendor/**/*.rb'
data/.gitignore CHANGED
@@ -7,8 +7,6 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.gitmodules CHANGED
@@ -1,3 +1,3 @@
1
- [submodule "test/cygport"]
2
- path = test/cygport
3
- url = git://git.code.sf.net/p/cygwin-ports/cygport
1
+ [submodule "spec/cygport"]
2
+ path = spec/cygport
3
+ url = https://github.com/cygwinports/cygport.git
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,32 @@
1
+ require: rubocop-performance
2
+
3
+ AllCops:
4
+ NewCops: enable
5
+ TargetRubyVersion: 2.6
6
+ Exclude:
7
+ - 'spec/cygport/**/*'
8
+ - 'vendor/**/*'
9
+
10
+ Layout/LineLength:
11
+ Max: 160
12
+
13
+ Metrics/AbcSize:
14
+ Max: 40
15
+ Metrics/BlockLength:
16
+ Exclude:
17
+ - '*.gemspec'
18
+ - 'spec/**/*'
19
+ Metrics/CyclomaticComplexity:
20
+ Max: 10
21
+ Metrics/MethodLength:
22
+ Max: 35
23
+ Metrics/ParameterLists:
24
+ Max: 8
25
+ Metrics/PerceivedComplexity:
26
+ Max: 12
27
+
28
+ Naming/FileName:
29
+ Enabled: false
30
+
31
+ Style/Documentation:
32
+ Enabled: false
data/Gemfile CHANGED
@@ -1,4 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
3
7
  # Specify your gem's dependencies in xezat.gemspec
4
8
  gemspec
data/LICENSE.txt CHANGED
@@ -1,22 +1,21 @@
1
- Copyright (c) 2015 fd0
1
+ The MIT License (MIT)
2
2
 
3
- MIT License
3
+ Copyright (c) 2017 Daisuke Fujimura (fd0)
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
12
11
 
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
15
14
 
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
- [![Build Status](https://travis-ci.org/fd00/xezat.svg?branch=master)](https://travis-ci.org/fd00/xezat)
2
- [![Coverage Status](https://coveralls.io/repos/fd00/xezat/badge.svg?branch=master)](https://coveralls.io/r/fd00/xezat?branch=master)
3
-
4
1
  # Xezat
5
2
 
6
- Complement of cygport
3
+ [![CircleCI](https://circleci.com/gh/fd00/xezat/tree/master.svg?style=svg)](https://circleci.com/gh/fd00/xezat/tree/master)
4
+
5
+ xezat helps you win at cygport.
7
6
 
8
7
  ## Installation
9
8
 
@@ -23,242 +22,18 @@ Or install it yourself as:
23
22
 
24
23
  ## Usage
25
24
 
26
- xezat 0.0.3 -- Xezat is the complement of cygport
27
-
28
- Usage:
29
-
30
- xezat <subcommand> [options]
31
-
32
- Options:
33
- -h, --help Show this message
34
- -v, --version Print the name and version
35
- -t, --trace Show the full backtrace when an error occurs
36
-
37
- Subcommands:
38
- bump update CYGWIN-PATCHES/README
39
- create create new cygport
40
- debug show cygport variables
41
- doctor diagnose installed packages
42
- generate generate additional files
43
- port copy cygport to git repository
44
- validate validate package contents
45
-
46
-
47
- ### create
48
-
49
- xezat create -- create new cygport
50
-
51
- Usage:
52
-
53
- xezat create [options] cygport
54
-
55
- Options:
56
- -a, --app-only application only
57
- -c, --category category specify category
58
- -d, --description description specify description
59
- -i, --inherit cygclass inherit cygclasses
60
- -o, --overwrite overwrite cygport
61
- -r, --repository repository specify repository (github, google, sourceforge)
62
- -s, --summary summary specify summary
63
- -h, --help Show this message
64
- -v, --version Print the name and version
65
- -t, --trace Show the full backtrace when an error occurs
66
-
67
- Example.1
68
-
69
- % xezat create xezat-0.0.3-1bl1.cygport
70
- % cat xezat-0.0.3-1bl1.cygport
71
-
72
- ```bash
73
- HOMEPAGE=""
74
- SRC_URI=""
75
-
76
- CATEGORY=""
77
- SUMMARY=""
78
- DESCRIPTION=""
79
-
80
- PKG_NAMES="
81
- ${PN}
82
- lib${PN}0
83
- lib${PN}-devel
84
- "
85
- xezat_CONTENTS="
86
- usr/bin/*.exe
87
- usr/share
88
- "
89
- libxezat0_CONTENTS="
90
- usr/bin/*.dll
91
- "
92
- libxezat_devel_CONTENTS="
93
- usr/include
94
- usr/lib
95
- "
96
- xezat_SUMMARY="${SUMMARY} (licensing & readmes)"
97
- libxezat0_SUMMARY="${SUMMARY} (runtime)"
98
- libxezat_devel_SUMMARY="${SUMMARY} (development)"
99
- ```
100
-
101
- Example.2
102
-
103
- % xezat create -a -c Libs -i git --repository=github -s 'Complement of Cygport' -o xezat-0.0.3-1bl1.cygport
104
- % cat xezat-0.0.3-1bl1.cygport
105
-
106
- ```bash
107
- HOMEPAGE="https://github.com/fd00/${PN}"
108
- GIT_URI="https://github.com/fd00/${PN}.git"
109
-
110
- CATEGORY="Libs"
111
- SUMMARY="Complement of Cygport"
112
- DESCRIPTION=""
113
-
114
- inherit git
115
- ```
116
-
117
- ### debug
118
-
119
- xezat debug -- show cygport variables
120
-
121
- Usage:
122
-
123
- xezat debug cygport
124
-
125
- Options:
126
- -h, --help Show this message
127
- -v, --version Print the name and version
128
- -t, --trace Show the full backtrace when an error occurs
129
-
130
- Example.1
131
-
132
- % xezat debug xezat-0.0.3-1bl1.cygport
133
- #<Xezat::VariableManager:0x000006011ba808
134
- @variables=
135
- {:AR=>"ar",
136
- :ARCH=>"x86_64",
137
- :ARCH_x86_64=>"1",
138
- :B=>"/usr/src/xezat-0.0.3-1bl1.x86_64/build",
139
- :BASH=>"/usr/bin/bash",
140
- (snip)
141
- :mirror_apache=>"http://www.apache.org/dist",
142
- :mirror_berlios=>"http://download.berlios.de http://download2.berlios.de",
143
- :mirror_cpan=>"http://search.cpan.org/CPAN",
144
- :mirror_cran=>"http://cran.r-project.org",
145
- :mirror_ctan=>"http://mirror.ctan.org/",
146
- (snip)
147
- :src_patchfile=>"xezat-0.0.3-1bl1.src.patch",
148
- :srcdir=>"/usr/src/xezat-0.0.3-1bl1.x86_64/src",
149
- :top=>"/usr/src",
150
- :workdir=>"/usr/src/xezat-0.0.3-1bl1.x86_64"}>
151
- %
152
-
153
- ### doctor
154
-
155
- xezat doctor -- diagnose installed packages
156
-
157
- Usage:
158
-
159
- xezat doctor
160
-
161
- Options:
162
- -h, --help Show this message
163
- -v, --version Print the name and version
164
- -t, --trace Show the full backtrace when an error occurs
165
-
166
- Example.1
167
-
168
- % xezat doctor
169
- xezat doctor | Warn: usr/include/attr/xattr.h is in multiple packages: [:"cygwin-devel", :"libattr-devel"]
170
- xezat doctor | Warn: usr/share/man/man1/sha.1.gz is in multiple packages: [:openssl, :sha]
171
- xezat doctor | Warn: usr/share/man/man3/Socket.3pm.gz is in multiple packages: [:"perl-Socket", :perl]
172
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
173
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Big5.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
174
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.GB2312.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
175
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.JISX0208.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
176
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Korean.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
177
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Pinyin.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
178
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Stroke.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
179
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.Locale.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
180
- %
181
-
182
- ### generate
183
-
184
- xezat generate -- generate additional files
185
-
186
- Usage:
187
-
188
- xezat generate [options] cygport
189
-
190
- Options:
191
- -o, --overwrite overwrite file
192
- -p, --pkg-config generate *.pc
193
- -h, --help Show this message
194
- -v, --version Print the name and version
195
- -t, --trace Show the full backtrace when an error occurs
196
-
197
- Example.1
198
-
199
- % xezat generate xezat-0.0.3-1bl1.cygport -p
200
- % cat xezat-0.0.3-1bl1.x86_64/src/xezat-0.0.3/xezat.pc
201
- prefix=@prefix@
202
- exec_prefix=@exec_prefix@
203
- libdir=@libdir@
204
- includedir=@includedir@
205
-
206
- Name: xezat
207
- Description: Complement of cygport
208
- Version: @VERSION@
209
- Libs: -L${libdir} -lxezat
210
- Cflags: -I${includedir}
211
- %
212
-
213
- ### validate
214
-
215
- xezat validate -- validate package contents
216
-
217
- Usage:
218
-
219
- xezat validate [options] cygport
220
-
221
- Options:
222
- -h, --help Show this message
223
- -v, --version Print the name and version
224
- -t, --trace Show the full backtrace when an error occurs
225
-
226
- ### bump
227
-
228
- xezat bump -- update CYGWIN-PATCHES/README
229
-
230
- Usage:
231
-
232
- xezat bump cygport
233
-
234
- Options:
235
- -h, --help Show this message
236
- -v, --version Print the name and version
237
- -t, --trace Show the full backtrace when an error occurs
25
+ TODO: Write usage instructions here
238
26
 
239
- ### port
27
+ ## Development
240
28
 
241
- xezat port -- copy cygport to git repository
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
242
30
 
243
- Usage:
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
244
32
 
245
- xezat port cygport
33
+ ## Contributing
246
34
 
247
- Options:
248
- -V, --verbose print the results verbosely
249
- -n, --no-operation print the results without actually copying any files
250
- -i, --inifile *.ini specify inifile
251
- -t, --target portdir specify git repository directory
252
- -h, --help Show this message
253
- -v, --version Print the name and version
254
- -t, --trace Show the full backtrace when an error occurs
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/fd00/xezat.
255
36
 
256
- Example.1
37
+ ## License
257
38
 
258
- % cat ~/.xezat
259
- [xezat]
260
- distdir = /cygdrive/e/dist
261
- portdir = /cygdrive/e/yacp
262
- % xezat port xezat-0.0.3-1bl1.cygport
263
- % ls /cygdrive/e/yacp/xezat
264
- README xezat-0.0.3-1bl1.cygport xezat-0.0.3-1bl1.src.patch
39
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).