Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3665871
build-ruamel-yaml-clib
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Oct 17 2024, 22:06
2024-10-17 22:06:14 (UTC+0)
Size
1022 B
Referenced Files
None
Subscribers
None
build-ruamel-yaml-clib
View Options
#!/bin/sh
# -------------------------------------------------------------
# Build and provision .whl for ruamel.yaml.clib
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
set
-e
PORTS_DIR
=
/usr/ports/devel/py-ruamel.yaml.clib
TARGET_DIR
=
/opt/python
# -------------------------------------------------------------
# Ensure user is root
#
# Note: POSIX shells don't always define $UID or $EUID.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if
[
"
${
EUID
:-$(
id -u
)
}
"
-ne
0
]
;
then
echo
"This command must be run as root."
>
&
2
exit
1
fi
# -------------------------------------------------------------
# Build
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cd
$PORTS_DIR
make stage
PYTHON_SUFFIX
=
$(
make -V PYTHON_SUFFIX
)
find work-py
$PYTHON_SUFFIX
-name
'*.whl'
|
xargs -I
{}
cp
{}
/opt/python/py
$PYTHON_SUFFIX
/
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2201827
Default Alt Text
build-ruamel-yaml-clib (1022 B)
Attached To
Mode
P365 build-ruamel-yaml-clib
Attached
Detach File
Event Timeline
Log In to Comment