11 Commits

Author SHA1 Message Date
kn
4be2aeaf9f Extract the script only and write 2to3 output to new file 2022-03-14 16:46:40 +00:00
naddy
2b3700e37e drop RCS Ids 2022-03-11 19:57:10 +00:00
kn
e7411f37c1 Remove RCSIDs from ports I maintain 2022-03-10 12:03:30 +00:00
sthen
384d97056e bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:02:32 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
kn
3614615340 Convert quirky .rpm handling to regular EXTRACT_SUFX=.rpm
OK espie robert
2021-01-10 22:33:22 +00:00
kn
b2fc1e6192 Fix Python 3.8+ SyntaxWarning messages on every usage
https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-python-behavior

Polish 2to3 usage while here.
2020-12-28 04:01:48 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
kn
8cbde7a99b Fix "mdprint -p" (parsable output) for byte array values
I missed another sloppy conversion of tuples into hex encoded strings
while making this script run with Python 3.

Fix odd line break in DESCR while here.
2020-05-14 19:12:08 +00:00
kn
f4f0aa531a Extract only the script we need, use a variable 2020-05-14 19:09:32 +00:00
kn
8f15e3465c Import mdprint
Feedback OK jca

mdprint prints the contents of the provided binary sun4v MD file.

If no file is provided, the "guest MD" is read from the device file "/dev/mdesc"
which is expected to be present on all sun4v guest domains.

If no file is provided and the -P/--PRI option is used, the PRI
(physical resource inventory) MD is read from the device file
"/devices/pseudo/ds_pri@0:ds_pri" (Solaris only).

The complete PRI is only available on the "primary" domain.
2020-03-21 09:12:37 +00:00