<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/199b84355e6b9c8d8e848ffd91d34b58a58292e8">https://github.com/macports/macports-ports/commit/199b84355e6b9c8d8e848ffd91d34b58a58292e8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 199b84355e6b9c8d8e848ffd91d34b58a58292e8
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Thu Apr 14 10:53:29 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-pysam: update to 0.19.0, add py3{9,10} subports
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    - use external version (i.e., MacPorts port) of htslib
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/64965
</span>---
 python/py-pysam/Portfile                           | 41 ++++++++--------------
 .../py-pysam/files/patch-pysam-remove-RPATH.diff   | 11 ------
 2 files changed, 14 insertions(+), 38 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pysam/Portfile b/python/py-pysam/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c5cbc6050ff..292e0d8ee6b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pysam/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pysam/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,8 @@ PortSystem          1.0
</span> PortGroup           python 1.0
 
 name                py-pysam
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             0.15.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             0.19.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span> 
 categories-append   science
 license             MIT BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,35 +18,22 @@ long_description    Pysam is a python module for reading and manipulating \
</span> 
 homepage            https://github.com/pysam-developers/pysam
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  9ed516489fef88f37047168aa1d126177a7f8fee \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  a535e15cbd6e27f4ab74cabca30ca1df7eea283cb91d3b536d47fe113fee066f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    1605385
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  b01dae25f1e6306788555330e52b02a07ccf0a61 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  dcc052566f9509fd93b2a2664f094a13f016fd60cdd189e05fb4eafa0c89505b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    3843661
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions     37 38
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-pysam-remove-RPATH.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions     37 38 39 310
</span> 
 if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_build       port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:py${python.version}-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-cython
</span> 
     use_parallel_build  no
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append  port:bzip2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:curl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:xz \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:zlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # Fix permissions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        fs-traverse item ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {[file isdirectory ${item}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                file attributes ${item} -permissions a+rx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            } elseif {[file isfile ${item}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                file attributes ${item} -permissions a+r
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.env       HTSLIB_MODE=shared
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append  port:htslib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.env-append    HTSLIB_MODE=external \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        HTSLIB_LIBRARY_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        HTSLIB_INCLUDE_DIR=${prefix}/include
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pysam/files/patch-pysam-remove-RPATH.diff b/python/py-pysam/files/patch-pysam-remove-RPATH.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 15069785fd2..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pysam/files/patch-pysam-remove-RPATH.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-prevent setup.py from adding RPATHs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- cy_build.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ cy_build.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -81,6 +81,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-             if not ext.extra_link_args:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                 ext.extra_link_args = []
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--            ext.extra_link_args += ['-Wl,-rpath,$ORIGIN']
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                     
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-         build_ext.build_extension(self, ext)
</span></pre><pre style='margin:0'>

</pre>