xezat 0.0.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) 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 +31 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +17 -18
  10. data/README.md +11 -233
  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/bump.rb +30 -161
  17. data/lib/xezat/command/bump/changelog.rb +29 -0
  18. data/lib/xezat/command/bump/compiler.rb +28 -0
  19. data/lib/xezat/command/bump/cygport_dep.rb +25 -0
  20. data/lib/xezat/command/bump/development_package.rb +22 -0
  21. data/lib/xezat/command/bump/file.rb +37 -0
  22. data/lib/xezat/command/bump/language.rb +30 -0
  23. data/lib/xezat/command/bump/runtime_package.rb +17 -0
  24. data/lib/xezat/command/bump/src_uri.rb +21 -0
  25. data/lib/xezat/command/bump/tool.rb +13 -0
  26. data/lib/xezat/command/debug.rb +13 -20
  27. data/lib/xezat/command/doctor.rb +11 -19
  28. data/lib/xezat/command/generate.rb +9 -113
  29. data/lib/xezat/command/init.rb +81 -0
  30. data/lib/xezat/command/port.rb +33 -42
  31. data/lib/xezat/command/validate.rb +26 -30
  32. data/lib/xezat/config.rb +16 -0
  33. data/lib/xezat/cygchangelog.rb +29 -22
  34. data/lib/xezat/cygclasses.rb +12 -14
  35. data/lib/xezat/cygversion.rb +7 -6
  36. data/lib/xezat/debugger/linguist.rb +35 -0
  37. data/lib/xezat/debugger/variable.rb +20 -0
  38. data/lib/xezat/detector/autoconf.rb +3 -4
  39. data/lib/xezat/detector/automake.rb +4 -5
  40. data/lib/xezat/detector/boost.m4.rb +7 -8
  41. data/lib/xezat/detector/cmake.rb +3 -4
  42. data/lib/xezat/detector/gengetopt.rb +4 -5
  43. data/lib/xezat/detector/gnulib.rb +16 -0
  44. data/lib/xezat/detector/gobject-introspection.rb +3 -11
  45. data/lib/xezat/detector/halibut.rb +16 -0
  46. data/lib/xezat/detector/libQt5Core-devel.rb +3 -12
  47. data/lib/xezat/detector/libtool.rb +11 -4
  48. data/lib/xezat/detector/make.rb +5 -6
  49. data/lib/xezat/detector/meson.rb +11 -0
  50. data/lib/xezat/detector/ninja.rb +18 -0
  51. data/lib/xezat/detector/python27.rb +24 -0
  52. data/lib/xezat/detector/python36-docutils.rb +20 -0
  53. data/lib/xezat/detector/python36.rb +13 -0
  54. data/lib/xezat/detector/python37.rb +13 -0
  55. data/lib/xezat/detector/roundup.rb +16 -0
  56. data/lib/xezat/detector/waf.rb +17 -0
  57. data/lib/xezat/detectors.rb +23 -24
  58. data/lib/xezat/ext/linguist/file_blob.rb +15 -0
  59. data/lib/xezat/ext/string.rb +7 -0
  60. data/lib/xezat/generator/pkgconfig.rb +93 -0
  61. data/lib/xezat/main.rb +67 -9
  62. data/lib/xezat/packages.rb +13 -15
  63. data/lib/xezat/variables.rb +25 -31
  64. data/lib/xezat/version.rb +3 -1
  65. data/share/xezat/compilers.json +26 -1
  66. data/share/xezat/languages.json +12 -0
  67. data/share/xezat/repository/bitbucket.json +3 -3
  68. data/share/xezat/repository/github.json +3 -3
  69. data/share/xezat/repository/savannah.json +1 -1
  70. data/share/xezat/repository/sourceforge.json +1 -1
  71. data/share/xezat/template/cmake.erb +7 -0
  72. data/share/xezat/template/cygport.erb +12 -12
  73. data/share/xezat/template/pkgconfig.erb +1 -1
  74. data/xezat.gemspec +32 -21
  75. metadata +167 -159
  76. data/bin/xezat +0 -14
  77. data/lib/xezat/command/create.rb +0 -105
  78. data/lib/xezat/commands.rb +0 -32
  79. data/lib/xezat/detector/python-docutils.rb +0 -21
  80. data/lib/xezat/refine/linguist/file_blob.rb +0 -14
  81. data/lib/xezat/validator/m4.rb +0 -31
  82. data/lib/xezat/validator/pkgconfig.rb +0 -36
  83. data/lib/xezat/validators.rb +0 -38
  84. data/share/xezat/repository/google.json +0 -7
  85. data/share/xezat/show_cygport_description.sh +0 -8
  86. data/share/xezat/template/pkgconfig.cmake +0 -8
  87. data/share/xezat/template/setup.erb +0 -17
  88. data/test/test.rb +0 -18
  89. data/test/xezat/command/fixture/doctor/a.lst.gz +0 -0
  90. data/test/xezat/command/fixture/doctor/b1.lst.gz +0 -0
  91. data/test/xezat/command/fixture/doctor/b2.lst.gz +0 -0
  92. data/test/xezat/command/test_bump.rb +0 -25
  93. data/test/xezat/command/test_create.rb +0 -48
  94. data/test/xezat/command/test_doctor.rb +0 -17
  95. data/test/xezat/detector/fixture/autoconf/no/configure.scan +0 -1
  96. data/test/xezat/detector/fixture/autoconf/yes_root/configure.ac +0 -1
  97. data/test/xezat/detector/fixture/autoconf/yes_subdir/subdir/configure.ac +0 -1
  98. data/test/xezat/detector/fixture/automake/no/Makefile.in +0 -1
  99. data/test/xezat/detector/fixture/automake/yes_root/Makefile.am +0 -1
  100. data/test/xezat/detector/fixture/automake/yes_subdir/subdir/Makefile.am +0 -1
  101. data/test/xezat/detector/fixture/boost.m4/no/configure.ac +0 -1
  102. data/test/xezat/detector/fixture/boost.m4/yes/configure.ac +0 -1
  103. data/test/xezat/detector/fixture/cmake/no/CMakeList.txt +0 -1
  104. data/test/xezat/detector/fixture/cmake/yes_root/CMakeLists.txt +0 -1
  105. data/test/xezat/detector/fixture/cmake/yes_subdir/subdir/CMakeLists.txt +0 -1
  106. data/test/xezat/detector/fixture/gengetopt/no/xezat.log +0 -1
  107. data/test/xezat/detector/fixture/gengetopt/yes_root/xezat.ggo +0 -1
  108. data/test/xezat/detector/fixture/gengetopt/yes_subdir/subdir/xezat.ggo +0 -1
  109. data/test/xezat/detector/fixture/gobject-introspection/no/configure.ac +0 -1
  110. data/test/xezat/detector/fixture/gobject-introspection/yes/configure.ac +0 -1
  111. data/test/xezat/detector/fixture/libQt5Core-devel/no/foo.cygport +0 -1
  112. data/test/xezat/detector/fixture/libQt5Core-devel/yes_cygport/foo.cygport +0 -1
  113. data/test/xezat/detector/fixture/libQt5Core-devel/yes_dir/foo.cygport +0 -1
  114. data/test/xezat/detector/fixture/libQt5Core-devel/yes_dir/foo.pro +0 -1
  115. data/test/xezat/detector/fixture/python-docutils/no/configure.ac +0 -1
  116. data/test/xezat/detector/fixture/python-docutils/yes/configure.ac +0 -1
  117. data/test/xezat/detector/test_autoconf.rb +0 -24
  118. data/test/xezat/detector/test_automake.rb +0 -24
  119. data/test/xezat/detector/test_boost.m4.rb +0 -20
  120. data/test/xezat/detector/test_cmake.rb +0 -24
  121. data/test/xezat/detector/test_gengetopt.rb +0 -24
  122. data/test/xezat/detector/test_gobject-introspection.rb +0 -20
  123. data/test/xezat/detector/test_libQt5Core-devel.rb +0 -30
  124. data/test/xezat/detector/test_python-docutils.rb +0 -20
  125. data/test/xezat/test_cygchangelog.rb +0 -26
  126. data/test/xezat/test_cygclasses.rb +0 -32
  127. data/test/xezat/test_cygversion.rb +0 -47
  128. data/test/xezat/test_variables.rb +0 -16
  129. data/test/xezat/validator/fixture/m4/no/usr/share/aclocal/.gitkeep +0 -0
  130. data/test/xezat/validator/fixture/m4/yes/usr/share/aclocal/test.m4 +0 -1
  131. data/test/xezat/validator/fixture/pkgconfig/no_at/usr/lib/pkgconfig/xezat.pc +0 -11
  132. data/test/xezat/validator/fixture/pkgconfig/no_link/usr/lib/pkgconfig/xezat.pc +0 -11
  133. data/test/xezat/validator/fixture/pkgconfig/skip/usr/lib/pkgconfig/.gitkeep +0 -0
  134. data/test/xezat/validator/fixture/pkgconfig/yes/usr/lib/pkgconfig/xezat.pc +0 -10
  135. data/test/xezat/validator/test_m4.rb +0 -24
  136. data/test/xezat/validator/test_pkgconfig.rb +0 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7de08390192ad439d253b0e258cc6806abe83216
4
- data.tar.gz: d31409ca3dcf5ac73cc2c7219a07571f7899890b
2
+ SHA256:
3
+ metadata.gz: 5ce894f06157cf37deb9e4e97f41da557c51a0a4af3b6c81caede3ee88f2f018
4
+ data.tar.gz: 5dba5ffae008660e41e8f2ec9c0e8940f05e5d1b7be432d013be58b84439627d
5
5
  SHA512:
6
- metadata.gz: 751491bedd995a89a7d4c1d0ee9042f2068a5533bbaa92f4b7ed74ea8d5bb0b908f4653b85a01c291579d04def51fb9f2a32341a93087953f967fb4bed2430e8
7
- data.tar.gz: 48c13d941d5f12231c2edca2eddded3f972d0b977cf16417bf5e8676737c01390af98551db7f43c92245fab9e997c4af3a8d7d556521fbe05dca0c82b8db434c
6
+ metadata.gz: 1bb76ee8cc4c1a9717f6f07403c741eb9d09e819db8f08505a34f55a04374834bf1f0b45d724b968450f9d48a3c772214305f036fe5b39400d02338fe5207ae3
7
+ data.tar.gz: 4eb4b364e0e5baf15de4a9c5b486494c8efe84c4ffa71624b55a78c30cd34d224a66c9beb8ae759c7b688347d75eb9a4d5d0ad615bcbad5167551ea8326e9a64
@@ -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
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
@@ -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
@@ -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
@@ -0,0 +1,31 @@
1
+ require: rubocop-performance
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.6
5
+ Exclude:
6
+ - 'spec/cygport/**/*'
7
+ - 'vendor/**/*'
8
+
9
+ Layout/LineLength:
10
+ Max: 160
11
+
12
+ Metrics/AbcSize:
13
+ Max: 40
14
+ Metrics/BlockLength:
15
+ Exclude:
16
+ - '*.gemspec'
17
+ - 'spec/**/*'
18
+ Metrics/CyclomaticComplexity:
19
+ Max: 10
20
+ Metrics/MethodLength:
21
+ Max: 35
22
+ Metrics/ParameterLists:
23
+ Max: 8
24
+ Metrics/PerceivedComplexity:
25
+ Max: 12
26
+
27
+ Naming/FileName:
28
+ Enabled: false
29
+
30
+ Style/Documentation:
31
+ 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
@@ -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,6 +1,8 @@
1
1
  # Xezat
2
2
 
3
- 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.
4
6
 
5
7
  ## Installation
6
8
 
@@ -20,242 +22,18 @@ Or install it yourself as:
20
22
 
21
23
  ## Usage
22
24
 
23
- xezat 0.0.3 -- Xezat is the complement of cygport
24
-
25
- Usage:
26
-
27
- xezat <subcommand> [options]
28
-
29
- Options:
30
- -h, --help Show this message
31
- -v, --version Print the name and version
32
- -t, --trace Show the full backtrace when an error occurs
33
-
34
- Subcommands:
35
- bump update CYGWIN-PATCHES/README
36
- create create new cygport
37
- debug show cygport variables
38
- doctor diagnose installed packages
39
- generate generate additional files
40
- port copy cygport to git repository
41
- validate validate package contents
42
-
43
-
44
- ### create
45
-
46
- xezat create -- create new cygport
47
-
48
- Usage:
49
-
50
- xezat create [options] cygport
51
-
52
- Options:
53
- -a, --app-only application only
54
- -c, --category category specify category
55
- -d, --description description specify description
56
- -i, --inherit cygclass inherit cygclasses
57
- -o, --overwrite overwrite cygport
58
- -r, --repository repository specify repository (github, google, sourceforge)
59
- -s, --summary summary specify summary
60
- -h, --help Show this message
61
- -v, --version Print the name and version
62
- -t, --trace Show the full backtrace when an error occurs
63
-
64
- Example.1
65
-
66
- % xezat create xezat-0.0.3-1bl1.cygport
67
- % cat xezat-0.0.3-1bl1.cygport
68
-
69
- ```bash
70
- HOMEPAGE=""
71
- SRC_URI=""
72
-
73
- CATEGORY=""
74
- SUMMARY=""
75
- DESCRIPTION=""
76
-
77
- PKG_NAMES="
78
- ${PN}
79
- lib${PN}0
80
- lib${PN}-devel
81
- "
82
- xezat_CONTENTS="
83
- usr/bin/*.exe
84
- usr/share
85
- "
86
- libxezat0_CONTENTS="
87
- usr/bin/*.dll
88
- "
89
- libxezat_devel_CONTENTS="
90
- usr/include
91
- usr/lib
92
- "
93
- xezat_SUMMARY="${SUMMARY} (licensing & readmes)"
94
- libxezat0_SUMMARY="${SUMMARY} (runtime)"
95
- libxezat_devel_SUMMARY="${SUMMARY} (development)"
96
- ```
97
-
98
- Example.2
99
-
100
- % xezat create -a -c Libs -i git --repository=github -s 'Complement of Cygport' -o xezat-0.0.3-1bl1.cygport
101
- % cat xezat-0.0.3-1bl1.cygport
102
-
103
- ```bash
104
- HOMEPAGE="https://github.com/fd00/${PN}"
105
- GIT_URI="https://github.com/fd00/${PN}.git"
106
-
107
- CATEGORY="Libs"
108
- SUMMARY="Complement of Cygport"
109
- DESCRIPTION=""
110
-
111
- inherit git
112
- ```
113
-
114
- ### debug
115
-
116
- xezat debug -- show cygport variables
117
-
118
- Usage:
119
-
120
- xezat debug cygport
121
-
122
- Options:
123
- -h, --help Show this message
124
- -v, --version Print the name and version
125
- -t, --trace Show the full backtrace when an error occurs
126
-
127
- Example.1
128
-
129
- % xezat debug xezat-0.0.3-1bl1.cygport
130
- #<Xezat::VariableManager:0x000006011ba808
131
- @variables=
132
- {:AR=>"ar",
133
- :ARCH=>"x86_64",
134
- :ARCH_x86_64=>"1",
135
- :B=>"/usr/src/xezat-0.0.3-1bl1.x86_64/build",
136
- :BASH=>"/usr/bin/bash",
137
- (snip)
138
- :mirror_apache=>"http://www.apache.org/dist",
139
- :mirror_berlios=>"http://download.berlios.de http://download2.berlios.de",
140
- :mirror_cpan=>"http://search.cpan.org/CPAN",
141
- :mirror_cran=>"http://cran.r-project.org",
142
- :mirror_ctan=>"http://mirror.ctan.org/",
143
- (snip)
144
- :src_patchfile=>"xezat-0.0.3-1bl1.src.patch",
145
- :srcdir=>"/usr/src/xezat-0.0.3-1bl1.x86_64/src",
146
- :top=>"/usr/src",
147
- :workdir=>"/usr/src/xezat-0.0.3-1bl1.x86_64"}>
148
- %
149
-
150
- ### doctor
151
-
152
- xezat doctor -- diagnose installed packages
153
-
154
- Usage:
155
-
156
- xezat doctor
157
-
158
- Options:
159
- -h, --help Show this message
160
- -v, --version Print the name and version
161
- -t, --trace Show the full backtrace when an error occurs
162
-
163
- Example.1
164
-
165
- % xezat doctor
166
- xezat doctor | Warn: usr/include/attr/xattr.h is in multiple packages: [:"cygwin-devel", :"libattr-devel"]
167
- xezat doctor | Warn: usr/share/man/man1/sha.1.gz is in multiple packages: [:openssl, :sha]
168
- xezat doctor | Warn: usr/share/man/man3/Socket.3pm.gz is in multiple packages: [:"perl-Socket", :perl]
169
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
170
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Big5.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
171
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.GB2312.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
172
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.JISX0208.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
173
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Korean.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
174
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Pinyin.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
175
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.CJK.Stroke.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
176
- xezat doctor | Warn: usr/share/man/man3/Unicode.Collate.Locale.3pm.gz is in multiple packages: [:"perl-Unicode-Collate", :perl]
177
- %
178
-
179
- ### generate
180
-
181
- xezat generate -- generate additional files
182
-
183
- Usage:
184
-
185
- xezat generate [options] cygport
186
-
187
- Options:
188
- -o, --overwrite overwrite file
189
- -p, --pkg-config generate *.pc
190
- -h, --help Show this message
191
- -v, --version Print the name and version
192
- -t, --trace Show the full backtrace when an error occurs
193
-
194
- Example.1
195
-
196
- % xezat generate xezat-0.0.3-1bl1.cygport -p
197
- % cat xezat-0.0.3-1bl1.x86_64/src/xezat-0.0.3/xezat.pc
198
- prefix=@prefix@
199
- exec_prefix=@exec_prefix@
200
- libdir=@libdir@
201
- includedir=@includedir@
202
-
203
- Name: xezat
204
- Description: Complement of cygport
205
- Version: @VERSION@
206
- Libs: -L${libdir} -lxezat
207
- Cflags: -I${includedir}
208
- %
209
-
210
- ### validate
211
-
212
- xezat validate -- validate package contents
213
-
214
- Usage:
215
-
216
- xezat validate [options] cygport
217
-
218
- Options:
219
- -h, --help Show this message
220
- -v, --version Print the name and version
221
- -t, --trace Show the full backtrace when an error occurs
222
-
223
- ### bump
224
-
225
- xezat bump -- update CYGWIN-PATCHES/README
226
-
227
- Usage:
228
-
229
- xezat bump cygport
230
-
231
- Options:
232
- -h, --help Show this message
233
- -v, --version Print the name and version
234
- -t, --trace Show the full backtrace when an error occurs
25
+ TODO: Write usage instructions here
235
26
 
236
- ### port
27
+ ## Development
237
28
 
238
- 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.
239
30
 
240
- 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).
241
32
 
242
- xezat port cygport
33
+ ## Contributing
243
34
 
244
- Options:
245
- -V, --verbose print the results verbosely
246
- -n, --no-operation print the results without actually copying any files
247
- -i, --inifile *.ini specify inifile
248
- -t, --target portdir specify git repository directory
249
- -h, --help Show this message
250
- -v, --version Print the name and version
251
- -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.
252
36
 
253
- Example.1
37
+ ## License
254
38
 
255
- % cat ~/.xezat
256
- [xezat]
257
- distdir = /cygdrive/e/dist
258
- portdir = /cygdrive/e/yacp
259
- % xezat port xezat-0.0.3-1bl1.cygport
260
- % ls /cygdrive/e/yacp/xezat
261
- 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).