pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/playitslowly playitslowly: fix packaging with py...
details: https://anonhg.NetBSD.org/pkgsrc/rev/60035d7538d6
branches: trunk
changeset: 372499:60035d7538d6
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Jan 25 19:00:56 2022 +0000
description:
playitslowly: fix packaging with python 3.10
diffstat:
audio/playitslowly/distinfo | 3 ++-
audio/playitslowly/patches/patch-setup.py | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 234949ca858e -r 60035d7538d6 audio/playitslowly/distinfo
--- a/audio/playitslowly/distinfo Tue Jan 25 18:57:29 2022 +0000
+++ b/audio/playitslowly/distinfo Tue Jan 25 19:00:56 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 09:59:23 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/01/25 19:00:56 wiz Exp $
BLAKE2s (playitslowly-1.5.1.tar.gz) = 57744721afc5be0acf27d17d60ff784d4bd51304fc838a1d3b5ced3736556273
SHA512 (playitslowly-1.5.1.tar.gz) = eaa512c05ca9cc85463542cca7251eda0058baaf9073cfd891b99e0bdc0f0ab4242bd7c5adf9a1fcdacb6e7958501f7d6dc1db834f224bb656acb80b119ba436
Size (playitslowly-1.5.1.tar.gz) = 40255 bytes
+SHA1 (patch-setup.py) = 7bfc369e71bddb1d2831bd16e5458ff6b851a8db
diff -r 234949ca858e -r 60035d7538d6 audio/playitslowly/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/playitslowly/patches/patch-setup.py Tue Jan 25 19:00:56 2022 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/25 19:00:56 wiz Exp $
+
+Support python 3.10.
+
+--- setup.py.orig 2016-05-21 20:57:51.000000000 +0000
++++ setup.py
+@@ -20,9 +20,10 @@ class new_install(install):
+ self.execute(os.unlink, (p, ), "Removing old file %r" % p)
+
+ # write install-info
+- basename = "%s-py%s.install-info" % (
++ basename = "%s-py%s.%s.install-info" % (
+ to_filename(safe_name(self.distribution.get_name())),
+- sys.version[:3]
++ sys.version_info.major,
++ sys.version_info.minor
+ )
+ install_info = os.path.join(self.install_libbase, basename)
+ outputs = self.get_outputs()
Home |
Main Index |
Thread Index |
Old Index