mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 06:35:19 +02:00
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>
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
diff --git a/pylib/ntp-in.egg-info b/pylib/ntp-in.egg-info
|
|
deleted file mode 100644
|
|
index b672a8431..000000000
|
|
--- a/pylib/ntp-in.egg-info
|
|
+++ /dev/null
|
|
@@ -1,12 +0,0 @@
|
|
-Metadata-Version: 1.0
|
|
-Name: ntpsec
|
|
-Version: @NTPSEC_VERSION_EXTENDED@
|
|
-Platform: POSIX
|
|
-Summary: The NTP reference implementation, refactored
|
|
-Home-page: https://ntpsec.org/
|
|
-License: Beerware, BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, CC-BY-4.0, ISC, MIT, NTP
|
|
-Description:
|
|
- The Network Time Protocol suite, refactored
|
|
-Author: the NTPsec project
|
|
-Author-email: devel@ntpsec.org
|
|
-Keywords:
|
|
\ No newline at end of file
|
|
diff --git a/pylib/wscript b/pylib/wscript
|
|
index e285b768b..1137fb814 100644
|
|
--- a/pylib/wscript
|
|
+++ b/pylib/wscript
|
|
@@ -96,11 +96,9 @@ def build(ctx):
|
|
install_path='${PYTHONARCHDIR}/ntp'
|
|
)
|
|
|
|
- # pep241 lay an egg
|
|
- egg = ['ntp-%s.egg-info' % ctx.env.NTPSEC_VERSION]
|
|
+ # pep517 pyproject.toml
|
|
ctx(
|
|
features="subst",
|
|
- source=['ntp-in.egg-info'],
|
|
- target=egg
|
|
+ source=['pyproject.toml'],
|
|
+ target=['../pyproject.toml']
|
|
)
|
|
- ctx.install_files(ctx.env.PYTHONARCHDIR, egg)
|