summaryrefslogtreecommitdiff
path: root/devel/python/modules.awk
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-07-04 16:40:31 -0700
committerMichael Forney <mforney@mforney.org>2016-07-04 16:41:18 -0700
commitedb1f3fe364d0cd06b987062204cdedffc41e894 (patch)
treef79a0b5d694dc90d3b77e898cad3cc8bbdc6cbdc /devel/python/modules.awk
parentf472829d4dbeb0daac1af5965505d082eff4afdd (diff)
Add python 3.5.2
All modules are statically linked, so dynamic extensions will not work.
Diffstat (limited to 'devel/python/modules.awk')
-rw-r--r--devel/python/modules.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/python/modules.awk b/devel/python/modules.awk
new file mode 100644
index 00000000..5e01a9d1
--- /dev/null
+++ b/devel/python/modules.awk
@@ -0,0 +1,7 @@
+$0 == "*static*" {static = 1; next}
+$0 == "*shared*" {static = 0; next}
+
+NF && !/^#/ && static {
+ for (i = 2; i <= NF; ++i)
+ print $i
+}