You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
py-pylzma: update to 0.6.0, add py314 subport
- enable tests
This commit is contained in:
@@ -4,12 +4,12 @@ PortSystem 1.0
|
||||
PortGroup python 1.0
|
||||
|
||||
name py-pylzma
|
||||
version 0.5.0
|
||||
version 0.6.0
|
||||
revision 0
|
||||
categories-append archivers
|
||||
license LGPL-2.1+
|
||||
|
||||
python.versions 310 311 312 313
|
||||
python.versions 310 311 312 313 314
|
||||
|
||||
maintainers {stromnov @stromnov} openmaintainer
|
||||
|
||||
@@ -18,16 +18,15 @@ long_description {*}${description}
|
||||
|
||||
homepage https://www.joachim-bauch.de/projects/pylzma/
|
||||
|
||||
checksums rmd160 24fc0c2d1e1c8957df99bbe00d125b80502e4ddd \
|
||||
sha256 b874172afbf37770e643bf2dc9d9b6b03eb95d8f8162e157145b3fe9e1b68a1c \
|
||||
size 4215481
|
||||
|
||||
# error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion]
|
||||
patchfiles-append patch-int-conversion.patch
|
||||
checksums rmd160 14f379123ece506788574e9b8e968c8295af113d \
|
||||
sha256 3b00a789228d05a06fa995cd2b41ff4a965784aa1948a06d84b3ca6b873041f0 \
|
||||
size 4296839
|
||||
|
||||
if {${name} ne ${subport}} {
|
||||
post-destroot {
|
||||
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md doc/USAGE.md \
|
||||
${destroot}${prefix}/share/doc/${subport}
|
||||
}
|
||||
|
||||
test.run yes
|
||||
}
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
diff -u -ruN /Users/Admin/Downloads/New Folder With Items/pylzma_aes.c /opt/local/var/macports/build/_Users_Admin_Developer_Ports_python_py-pylzma/py312-pylzma/work/pylzma-0.5.0/src/pylzma/pylzma_aes.c
|
||||
--- src/pylzma/pylzma_aes.c.orig 2024-08-30 15:52:01
|
||||
+++ src/pylzma/pylzma_aes.c 2024-08-30 15:52:08
|
||||
@@ -155,7 +155,7 @@
|
||||
sizeof(CAESDecryptObject), /* int tp_basicsize; */
|
||||
0, /* int tp_itemsize; // not used much */
|
||||
NULL, /* destructor tp_dealloc; */
|
||||
- NULL, /* printfunc tp_print; */
|
||||
+ 0, /* printfunc tp_print; */
|
||||
NULL, /* getattrfunc tp_getattr; // __getattr__ */
|
||||
NULL, /* setattrfunc tp_setattr; // __setattr__ */
|
||||
NULL, /* cmpfunc tp_compare; // __cmp__ */
|
||||
diff -u -ruN /Users/Admin/Downloads/New Folder With Items/pylzma_compressfile.c /opt/local/var/macports/build/_Users_Admin_Developer_Ports_python_py-pylzma/py312-pylzma/work/pylzma-0.5.0/src/pylzma/pylzma_compressfile.c
|
||||
--- src/pylzma/pylzma_compressfile.c.orig 2018-09-26 14:37:47
|
||||
+++ src/pylzma/pylzma_compressfile.c 2024-08-30 15:54:09
|
||||
@@ -231,7 +231,7 @@
|
||||
sizeof(CCompressionFileObject), /* int tp_basicsize; */
|
||||
0, /* int tp_itemsize; // not used much */
|
||||
(destructor)pylzma_compfile_dealloc, /* destructor tp_dealloc; */
|
||||
- NULL, /* printfunc tp_print; */
|
||||
+ 0, /* printfunc tp_print; */
|
||||
NULL, /* getattrfunc tp_getattr; // __getattr__ */
|
||||
NULL, /* setattrfunc tp_setattr; // __setattr__ */
|
||||
NULL, /* cmpfunc tp_compare; // __cmp__ */
|
||||
diff -u -ruN /Users/Admin/Downloads/New Folder With Items/pylzma_decompressobj.c /opt/local/var/macports/build/_Users_Admin_Developer_Ports_python_py-pylzma/py312-pylzma/work/pylzma-0.5.0/src/pylzma/pylzma_decompressobj.c
|
||||
--- src/pylzma/pylzma_decompressobj.c.orig 2018-09-26 14:37:47
|
||||
+++ src/pylzma/pylzma_decompressobj.c 2024-08-30 15:55:16
|
||||
@@ -382,7 +382,7 @@
|
||||
sizeof(CDecompressionObject), /* int tp_basicsize; */
|
||||
0, /* int tp_itemsize; // not used much */
|
||||
(destructor)pylzma_decomp_dealloc, /* destructor tp_dealloc; */
|
||||
- NULL, /* printfunc tp_print; */
|
||||
+ 0, /* printfunc tp_print; */
|
||||
NULL, /* getattrfunc tp_getattr; // __getattr__ */
|
||||
NULL, /* setattrfunc tp_setattr; // __setattr__ */
|
||||
NULL, /* cmpfunc tp_compare; // __cmp__ */
|
||||
diff -u -ruN /Users/Admin/Downloads/New Folder With Items/pylzma_decompressobj_compat.c /opt/local/var/macports/build/_Users_Admin_Developer_Ports_python_py-pylzma/py312-pylzma/work/pylzma-0.5.0/src/pylzma/pylzma_decompressobj_compat.c
|
||||
--- src/pylzma/pylzma_decompressobj_compat.c.orig 2018-09-26 14:37:47
|
||||
+++ src/pylzma/pylzma_decompressobj_compat.c 2024-08-30 15:56:20
|
||||
@@ -202,7 +202,7 @@
|
||||
sizeof(CCompatDecompressionObject), /* int tp_basicsize; */
|
||||
0, /* int tp_itemsize; // not used much */
|
||||
(destructor)pylzma_decomp_dealloc, /* destructor tp_dealloc; */
|
||||
- NULL, /* printfunc tp_print; */
|
||||
+ 0, /* printfunc tp_print; */
|
||||
NULL, /* getattrfunc tp_getattr; // __getattr__ */
|
||||
NULL, /* setattrfunc tp_setattr; // __setattr__ */
|
||||
NULL, /* cmpfunc tp_compare; // __cmp__ */
|
||||
Reference in New Issue
Block a user