<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e76dfda03e31c3040c84d4ff7d4b9c7da6f671d6">https://github.com/macports/macports-ports/commit/e76dfda03e31c3040c84d4ff7d4b9c7da6f671d6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e76dfda03e31c3040c84d4ff7d4b9c7da6f671d6
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Tue Feb 4 21:16:17 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-kcs11: update to 1.5.7, add py3[78]
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - switch to GitHub
</span>---
python/py-kcs11/Portfile | 19 ++++++++-----------
.../py-kcs11/files/patch-setup.py-no-usr-local.diff | 12 ++++++------
2 files changed, 14 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-kcs11/Portfile b/python/py-kcs11/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0f4dc79..60d0349 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-kcs11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-kcs11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,10 +2,12 @@
</span>
PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup LudovicRousseau PyKCS11 1.5.7
</span> name py-kcs11
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.5.3
</span> revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> license GPL-2+
platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,20 +17,17 @@ long_description PyKCS11 let you access to almost all PKCS#11 functions and d
</span> using any PKCS#11 library, such as the various modules supplied by \
smartcard vendors.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://github.com/LudovicRousseau/PyKCS11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:project/pkcs11wrap/pykcs11/pykcs11-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname PyKCS11-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 bf81c9c628ee2b827045fdc20436ab5cdc1dcae5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 02352a6645c42d6503d43a2951a45bbc628f033e3cdf4d1ef176719dad994a2c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 65645
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 04ab479229c74ea871aade0b60bfe335c47bc8ac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a669af699a444e171b77e3ef09538fc129c2cbcf7a83bd803d01f0cc97eceb2a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 74223
</span>
patchfiles patch-setup.py-no-usr-local.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 37 38
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools \
</span> port:swig-python
post-destroot {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,6 +38,4 @@ if {${name} ne ${subport}} {
</span> }
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex /pykcs11-(\[0-9.\]+)${extract.suffix}
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-kcs11/files/patch-setup.py-no-usr-local.diff b/python/py-kcs11/files/patch-setup.py-no-usr-local.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 89624a5..22b89ec 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-kcs11/files/patch-setup.py-no-usr-local.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-kcs11/files/patch-setup.py-no-usr-local.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig 2014-03-12 22:34:55.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py 2014-03-12 22:35:00.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -29,10 +29,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2019-12-18 11:48:21.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2020-02-04 22:29:28.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,10 +33,6 @@
</span>
lib_dirs = []
inc_dirs = ["src"]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,6 +8,6 @@
</span> -if path.exists("/usr/local"):
- lib_dirs.append("/usr/local/lib")
- inc_dirs.append("/usr/local/include")
<span style='display:block; white-space:pre;background:#ffe0e0;'>- source_files = ["src/ck_attribute_smart.cpp",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "src/pkcs11lib.cpp",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "src/pykcs11string.cpp",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ source_files = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "src/ck_attribute_smart.cpp",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "src/pkcs11lib.cpp",
</span></pre><pre style='margin:0'>
</pre>