Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910009 - net-misc/ntpsec: needs to use PEP517 build (DistutilsNonPEP517Build)
Summary: net-misc/ntpsec: needs to use PEP517 build (DistutilsNonPEP517Build)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pep517-porting
  Show dependency tree
 
Reported: 2023-07-08 06:57 UTC by Michał Górny
Modified: 2024-06-14 08:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 06:57:58 UTC
This package still uses the legacy eclass code paths.  These paths are deprecated and pose a significant maintenance cost.  Please update the package to use PEP517 build mode.  For more information, please see the Python Guide, particularly; https://projects.gentoo.org/python/guide/migration.html#migrating-to-pep-517-builds
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 20:40:51 UTC
[Adding this comment en-masse, sorry for the noise, but it's important.)

1. Please take particular care to check file diffs before/after, possibly using `iwdevtools`. Keep a particular eye out for e.g. config files now missing from /etc and instead being in /usr/lib/python*/site-packages, etc.

2. Please make sure to do the migration in a new revision in ~arch, partly because of 1.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-06 15:30:19 UTC
Final ping.  Please note that we will not hesitate to last rite low profile packages over this.
Comment 3 Larry the Git Cow gentoo-dev 2024-06-14 08:03:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a550ba59e0fe463675c8602f4685ef4aad5040

commit a7a550ba59e0fe463675c8602f4685ef4aad5040
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-14 07:57:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-14 08:02:26 +0000

    net-misc/ntpsec: more idiomatic use of distutils-r1
    
    Bug: https://bugs.gentoo.org/910009
    Bug: https://bugs.gentoo.org/922819
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 20 ++++++++------------
 net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild  | 20 ++++++++------------
 net-misc/ntpsec/ntpsec-9999.ebuild      | 20 ++++++++------------
 3 files changed, 24 insertions(+), 36 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc29c8eec7c629fe1a4f40d4e7c0bea616ef589

commit cfc29c8eec7c629fe1a4f40d4e7c0bea616ef589
Author:     James Browning <JamesB.fe80@gmail.com>
AuthorDate: 2024-06-06 11:12:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-14 08:01:54 +0000

    net-misc/ntpsec: Solve conflicting modules problem
    
    gpep517 install-wheel throws a fit if run after
    waf-utils_src_install for the same Python.
    
    Bug: https://bugs.gentoo.org/910009
    Bug: https://bugs.gentoo.org/922819
    Signed-off-by: James Browning <JamesB.fe80@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 2 +-
 net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild  | 2 +-
 net-misc/ntpsec/ntpsec-9999.ebuild      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93bbffd213cf5214c4d9f6875a18bc0bdfa964cb

commit 93bbffd213cf5214c4d9f6875a18bc0bdfa964cb
Author:     James Browning <JamesB.fe80@gmail.com>
AuthorDate: 2024-06-05 14:22:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-14 08:01:50 +0000

    net-misc/ntpsec: Change to PEP517 build, finally.
    
    Bug: https://bugs.gentoo.org/910009
    Bug: https://bugs.gentoo.org/922819
    Signed-off-by: James Browning <JamesB.fe80@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 3 +--
 net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild  | 3 +--
 net-misc/ntpsec/ntpsec-9999.ebuild      | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0359d5441b73a07358be07a8bcb20d4a90373d1

commit a0359d5441b73a07358be07a8bcb20d4a90373d1
Author:     James Browning <JamesB.fe80@gmail.com>
AuthorDate: 2024-06-04 18:31:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-14 08:01:15 +0000

    net-misc/ntpsec: Replace egg-info with a Flit pyproject.toml file
    
    Bug: https://bugs.gentoo.org/910009
    Bug: https://bugs.gentoo.org/922819
    Signed-off-by: James Browning <JamesB.fe80@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/ntpsec/files/flit.toml                    | 34 +++++++++++++++++++
 .../ntpsec/files/ntpsec-1.2.3-pep517-no-egg.patch  | 38 ++++++++++++++++++++++
 net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild            |  2 ++
 net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild             |  2 ++
 net-misc/ntpsec/ntpsec-9999.ebuild                 |  2 ++
 5 files changed, 78 insertions(+)