Skip to content

Commit

Permalink
Convert to using PLIST_TRANSFORM to DRY-ish the PLIST version
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenandpork committed Jan 4, 2019
1 parent 4a7a616 commit a037093
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions cross/python3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ COMPILE_TARGET = python3_custom_compile
INSTALL_TARGET = python3_custom_install
POST_INSTALL_TARGET = python3_post_install

PLIST_TRANSFORM = sed -e 's%@PKG_SHORT_VERS@%$(PKG_VERS_MAJOR).$(PKG_VERS_MINOR)%'

include ../../mk/spksrc.cross-cc.mk

HOST_ARCH = $(shell uname -m)
Expand Down
20 changes: 10 additions & 10 deletions cross/python3/PLIST
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
lnk:bin/2to3
bin:bin/2to3-3.6
bin:bin/2to3-@PKG_SHORT_VERS@
lnk:bin/idle3
bin:bin/idle3.6
bin:bin/idle@PKG_SHORT_VERS@
lnk:bin/pydoc3
bin:bin/pydoc3.6
bin:bin/pydoc@PKG_SHORT_VERS@
lnk:bin/python3
bin:bin/python3.6
bin:bin/python3.6m
bin:bin/python@PKG_SHORT_VERS@
bin:bin/python@PKG_SHORT_VERS@m
lnk:bin/pyvenv
bin:bin/pyvenv-3.6
bin:bin/pyvenv-@PKG_SHORT_VERS@
rsc:etc/mime.types
rsc:include/python3.6m/pyconfig.h
lnk:lib/libpython3.6m.so
lib:lib/libpython3.6m.so.1.0
rsc:include/python@PKG_SHORT_VERS@m/pyconfig.h
lnk:lib/libpython@PKG_SHORT_VERS@m.so
lib:lib/libpython@PKG_SHORT_VERS@m.so.1.0
lib:lib/libpython3.so
rsc:lib/python3.6
rsc:lib/python@PKG_SHORT_VERS@

0 comments on commit a037093

Please sign in to comment.