Lines 30-36
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
Link Here
|
30 |
|
30 |
|
31 |
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0" |
31 |
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0" |
32 |
SLOT="0" |
32 |
SLOT="0" |
33 |
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice |
33 |
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice |
34 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )" |
34 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )" |
35 |
|
35 |
|
36 |
# net-misc/pps-tools oncore,pps |
36 |
# net-misc/pps-tools oncore,pps |
Lines 61-66
PATCHES=(
Link Here
|
61 |
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch" |
61 |
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch" |
62 |
"${FILESDIR}/${PN}-1.2.1-seccomp-rollup.patch" |
62 |
"${FILESDIR}/${PN}-1.2.1-seccomp-rollup.patch" |
63 |
"${FILESDIR}/${PN}-1.2.1-seccomp-rseq-glibc-2.35.patch" |
63 |
"${FILESDIR}/${PN}-1.2.1-seccomp-rseq-glibc-2.35.patch" |
|
|
64 |
"${FILESDIR}/${PN}-1.2.1-build-notests.patch" |
65 |
"${FILESDIR}/${PN}-py3-test-clarify.patch" |
64 |
) |
66 |
) |
65 |
|
67 |
|
66 |
WAF_BINARY="${S}/waf" |
68 |
WAF_BINARY="${S}/waf" |
Lines 94-99
src_configure() {
Link Here
|
94 |
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`" |
96 |
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`" |
95 |
|
97 |
|
96 |
local myconf=( |
98 |
local myconf=( |
|
|
99 |
--notests |
97 |
--nopyc |
100 |
--nopyc |
98 |
--nopyo |
101 |
--nopyo |
99 |
--enable-pylib ext |
102 |
--enable-pylib ext |
Lines 105-111
src_configure() {
Link Here
|
105 |
$(use samba && echo "--enable-mssntp") |
108 |
$(use samba && echo "--enable-mssntp") |
106 |
$(use seccomp && echo "--enable-seccomp") |
109 |
$(use seccomp && echo "--enable-seccomp") |
107 |
$(use smear && echo "--enable-leap-smear") |
110 |
$(use smear && echo "--enable-leap-smear") |
108 |
$(use tests && echo "--alltests") |
|
|
109 |
$(use debug && echo "--enable-debug") |
111 |
$(use debug && echo "--enable-debug") |
110 |
) |
112 |
) |
111 |
|
113 |
|
Lines 118-124
src_configure() {
Link Here
|
118 |
src_compile() { |
120 |
src_compile() { |
119 |
unset MAKEOPTS |
121 |
unset MAKEOPTS |
120 |
python_compile() { |
122 |
python_compile() { |
121 |
waf-utils_src_compile |
123 |
waf-utils_src_compile --notests |
|
|
124 |
} |
125 |
python_foreach_impl run_in_build_dir python_compile |
126 |
} |
127 |
|
128 |
src_test() { |
129 |
debug-print-function ${FUNCNAME} "$@" |
130 |
python_compile() { |
131 |
waf-utils_src_compile check |
122 |
} |
132 |
} |
123 |
python_foreach_impl run_in_build_dir python_compile |
133 |
python_foreach_impl run_in_build_dir python_compile |
124 |
} |
134 |
} |