pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/playitslowly



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jan 25 19:00:56 UTC 2022

Modified Files:
        pkgsrc/audio/playitslowly: distinfo
Added Files:
        pkgsrc/audio/playitslowly/patches: patch-setup.py

Log Message:
playitslowly: fix packaging with python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/audio/playitslowly/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/playitslowly/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/playitslowly/distinfo
diff -u pkgsrc/audio/playitslowly/distinfo:1.6 pkgsrc/audio/playitslowly/distinfo:1.7
--- pkgsrc/audio/playitslowly/distinfo:1.6      Tue Oct 26 09:59:23 2021
+++ pkgsrc/audio/playitslowly/distinfo  Tue Jan 25 19:00:56 2022
@@ -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

Added files:

Index: pkgsrc/audio/playitslowly/patches/patch-setup.py
diff -u /dev/null pkgsrc/audio/playitslowly/patches/patch-setup.py:1.1
--- /dev/null   Tue Jan 25 19:00:56 2022
+++ pkgsrc/audio/playitslowly/patches/patch-setup.py    Tue Jan 25 19:00:56 2022
@@ -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