[Pkg-puppet-devel] [facter] 119/352: (FACT-186) Express windows specific gem dependencies
Stig Sandbeck Mathisen
ssm at debian.org
Sun Apr 6 22:21:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository facter.
commit 521ead9096db1f9a87bd82138ea5a770aae99886
Author: Josh Cooper <josh at puppetlabs.com>
Date: Fri Jan 3 13:45:08 2014 -0800
(FACT-186) Express windows specific gem dependencies
Previously, if a ruby module on windows tried to use facter as a
library, the calling module had to know about facter's platform specific
dependencies. This comes up when trying to develop and test puppet
modules on windows.
This commit adds the windows specific gems (which mirror the Gemfile) to
project_data.yaml. The build pipeline will automatically create an
x86-mingw32 gem in addition to the generic one.
---
ext/project_data.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/ext/project_data.yaml b/ext/project_data.yaml
index 65d59bc..60fbffc 100644
--- a/ext/project_data.yaml
+++ b/ext/project_data.yaml
@@ -13,3 +13,13 @@ gem_require_path: 'lib'
gem_test_files: 'spec/**/*'
gem_executables: 'facter'
gem_default_executables: 'facter'
+gem_platform_dependencies:
+ x86-mingw32:
+ gem_runtime_dependencies:
+ ffi: '~> 1.9.0'
+ sys-admin: '~> 1.5.6'
+ win32-api: '~> 1.4.8'
+ win32-dir: '~> 0.4.3'
+ windows-api: '~> 0.4.2'
+ windows-pr: '~> 1.2.2'
+ win32console: '~> 1.3.2'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git
More information about the Pkg-puppet-devel
mailing list