Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools.PkgConfig: expose version #7534

Merged
merged 1 commit into from Aug 27, 2020
Merged

tools.PkgConfig: expose version #7534

merged 1 commit into from Aug 27, 2020

Conversation

ericLemanissier
Copy link
Contributor

@ericLemanissier ericLemanissier commented Aug 10, 2020

Changelog: Feature: PkgConfig tools now exposes the packages's version as property.
Docs: conan-io/docs#1820

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

@ericLemanissier ericLemanissier marked this pull request as ready for review August 10, 2020 16:51
@memsharded memsharded added this to the 1.29 milestone Aug 23, 2020
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, lets merge it for Conan 1.29.

Please update the docs: https://docs.conan.io/en/latest/reference/tools.html?#tools-pkgconfig

Copy link
Contributor

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for docs 👍

@@ -57,6 +57,8 @@ def test_pc(self):
self.assertEqual(frozenset(pkg_config.libs_only_other), frozenset(['-Wl,--whole-archive']))

self.assertEqual(pkg_config.variables['prefix'], '/usr/local')

self.assertEqual(frozenset(pkg_config.version), frozenset(['6.6.6']))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants