File: new-numpy-version.patch

package info (click to toggle)
planetary-system-stacker 0.8.32~git20221019.66d7558-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 50,928 kB
  • sloc: python: 14,053; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: due to a recent change in numpy planetary-system-stacker does not start anylonger
             upstream fixes this with versions in setup.py :-(
Author: Thorsten Alteholz <debian@alteholz.de>
Forwarded: not-needed
Index: planetary-system-stacker-0.8.32~git20221019.66d7558/planetary_system_stacker/stack_frames.py
===================================================================
--- planetary-system-stacker-0.8.32~git20221019.66d7558.orig/planetary_system_stacker/stack_frames.py	2022-10-19 15:10:13.000000000 +0200
+++ planetary-system-stacker-0.8.32~git20221019.66d7558/planetary_system_stacker/stack_frames.py	2023-04-22 10:34:56.216304551 +0200
@@ -30,7 +30,7 @@
 matplotlib.use('Agg')
 import matplotlib.pyplot as plt
 from cv2 import FONT_HERSHEY_SIMPLEX, putText, resize, INTER_CUBIC, INTER_LINEAR
-from numpy import int as np_int
+from numpy import integer as np_int
 from numpy import ma as np_ma
 from numpy import zeros, full, empty, float32, newaxis, arange, count_nonzero, \
     sqrt, uint16, clip, minimum, mean