Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406539 - dev-python/platinfo-0.15.0: Stabilize
Summary: dev-python/platinfo-0.15.0: Stabilize
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL: http://code.google.com/p/platinfo/
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2012-03-02 08:19 UTC by Amadeusz Żołnowski (RETIRED)
Modified: 2012-04-04 20:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-03-02 08:19:29 UTC
"This is a small Python module that determines and returns standardized names for platforms [...]"

It's very simple. Here goes how it works:

In [1]: from platinfo import PlatInfo

In [2]: pi = PlatInfo()

In [3]: pi.os
Out[3]: 'linux'

In [4]: pi.arch
Out[4]: 'x86_64'

In [7]: pi.name()
Out[7]: 'linux-x86_64'


Reproducible: Always
Comment 1 Agostino Sarubbo gentoo-dev 2012-03-20 09:02:23 UTC
amd64 stable
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-03-22 14:20:01 UTC
Please use exact CPV values so that it can be parsed by automated tools.
Comment 3 Jeff (JD) Horelick (RETIRED) gentoo-dev 2012-04-04 20:42:01 UTC
x86 stable