mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
Major release update with many bugfixes, enhancements and some new features [1] [1] https://github.com/brandon-rhodes/pyephem/compare/v3.7.7.1...4.0.0 - Upgrade project to MIT license - Use Python>=3.7, because of UnicodeDecodeError in ascii.py - Generalize post-install target - Removed now unneeded files/patch-setup.py - Patch deprecated functions in test_satellity.py and _libastro.c All 160 tests run ok. Reported by: Repology
9 lines
205 B
C
9 lines
205 B
C
--- extensions/_libastro.c.orig 2021-06-12 19:13:26 UTC
|
|
+++ extensions/_libastro.c
|
|
@@ -1,5 +1,6 @@
|
|
/* Python header files. */
|
|
|
|
+#define PY_SSIZE_T_CLEAN
|
|
#include "Python.h"
|
|
|
|
#if PY_MAJOR_VERSION == 2
|