Python module mismatch

James Browning jamesb.fe80 at gmail.com
Fri Feb 1 04:15:53 UTC 2019


On 1/31/19, Gary E. Miller via devel <devel at ntpsec.org> wrote:
> Yes.  But not done.  It likely broke the current Gentoo NTPsec ebuild
> for git head.

I have a patch for that.


--- a/net-misc/ntpsec/ntpsec-1.1.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.2.ebuild
@@ -28,11 +28,11 @@ NTPSEC_REFCLOCK=(
        shm pps hpgps zyfer arbiter nmea neoclock modem
        local)

-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/+rclock_}

 LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
 SLOT="0"
@@ -74,7 +74,6 @@ src_configure() {
        is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin

        local string_127=""
-       local rclocks="";
        local CLOCKSTRING=""

        for refclock in ${NTPSEC_REFCLOCK[@]} ; do
@@ -83,8 +82,10 @@ src_configure() {
                fi
        done
        CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+       local epoch="`date +%s`"

        local myconf=(
+               --build-epoch="${epoch}"
                --refclock="${CLOCKSTRING}"
                $(use doc       && echo "--enable-doc")
                $(use early     && echo "--enable-early-droproot")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntpsec-pyver.patch
Type: application/octet-stream
Size: 603 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190131/92741444/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntpsec-refclock.patch
Type: application/octet-stream
Size: 607 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190131/92741444/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntpsec-useless.patch
Type: application/octet-stream
Size: 452 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190131/92741444/attachment-0002.obj>


More information about the devel mailing list