pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-olm security/py-olm: import py39-olm-3.2.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e6a8b6abd7a
branches:  trunk
changeset: 372481:3e6a8b6abd7a
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Jan 25 12:59:39 2022 +0000

description:
security/py-olm: import py39-olm-3.2.10

Python bindings for Olm.

Based on pkgsrc-wip/py-olm by snow flurry.

diffstat:

 security/py-olm/DESCR                  |   1 +
 security/py-olm/Makefile               |  20 +++++++++++++++++
 security/py-olm/PLIST                  |  38 ++++++++++++++++++++++++++++++++++
 security/py-olm/distinfo               |   6 +++++
 security/py-olm/patches/patch-setup.py |  16 ++++++++++++++
 5 files changed, 81 insertions(+), 0 deletions(-)

diffs (101 lines):

diff -r 3385bc389ec1 -r 3e6a8b6abd7a security/py-olm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-olm/DESCR     Tue Jan 25 12:59:39 2022 +0000
@@ -0,0 +1,1 @@
+Python bindings for Olm.
diff -r 3385bc389ec1 -r 3e6a8b6abd7a security/py-olm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-olm/Makefile  Tue Jan 25 12:59:39 2022 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2022/01/25 12:59:39 ryoon Exp $
+
+DISTNAME=      olm-3.2.10
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    security python
+MASTER_SITES=  https://gitlab.matrix.org/matrix-org/olm/-/archive/${PKGVERSION_NOREV}/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://gitlab.matrix.org/matrix-org/olm/
+COMMENT=       Olm bindings for Python
+LICENSE=       apache-2.0
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}/python
+
+DEPENDS+=      ${PYPKGPREFIX}-future>=0.18.2:../../devel/py-future
+DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
+
+.include "../../security/olm/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3385bc389ec1 -r 3e6a8b6abd7a security/py-olm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-olm/PLIST     Tue Jan 25 12:59:39 2022 +0000
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/25 12:59:39 ryoon Exp $
+${PYSITELIB}/_libolm.abi3.so
+${PYSITELIB}/olm/__init__.py
+${PYSITELIB}/olm/__init__.pyc
+${PYSITELIB}/olm/__init__.pyo
+${PYSITELIB}/olm/__version__.py
+${PYSITELIB}/olm/__version__.pyc
+${PYSITELIB}/olm/__version__.pyo
+${PYSITELIB}/olm/_compat.py
+${PYSITELIB}/olm/_compat.pyc
+${PYSITELIB}/olm/_compat.pyo
+${PYSITELIB}/olm/_finalize.py
+${PYSITELIB}/olm/_finalize.pyc
+${PYSITELIB}/olm/_finalize.pyo
+${PYSITELIB}/olm/account.py
+${PYSITELIB}/olm/account.pyc
+${PYSITELIB}/olm/account.pyo
+${PYSITELIB}/olm/group_session.py
+${PYSITELIB}/olm/group_session.pyc
+${PYSITELIB}/olm/group_session.pyo
+${PYSITELIB}/olm/pk.py
+${PYSITELIB}/olm/pk.pyc
+${PYSITELIB}/olm/pk.pyo
+${PYSITELIB}/olm/sas.py
+${PYSITELIB}/olm/sas.pyc
+${PYSITELIB}/olm/sas.pyo
+${PYSITELIB}/olm/session.py
+${PYSITELIB}/olm/session.pyc
+${PYSITELIB}/olm/session.pyo
+${PYSITELIB}/olm/utility.py
+${PYSITELIB}/olm/utility.pyc
+${PYSITELIB}/olm/utility.pyo
+${PYSITELIB}/python_${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/python_${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/python_${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/python_${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/python_${EGG_INFODIR}/requires.txt
+${PYSITELIB}/python_${EGG_INFODIR}/top_level.txt
diff -r 3385bc389ec1 -r 3e6a8b6abd7a security/py-olm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-olm/distinfo  Tue Jan 25 12:59:39 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/01/25 12:59:39 ryoon Exp $
+
+BLAKE2s (olm-3.2.10.tar.gz) = 888b76d7543eca0316cc447232836e3a2ce7e0acebf63a1ad7944c4893805e26
+SHA512 (olm-3.2.10.tar.gz) = e4b4e1a4b5afbf537780db21a7639609581f9be7f52d8bec572db38e9e2bae43138c1214aa23a87fb5c66f3ce47f566950c9689b27426ea894afa444fc3829c7
+Size (olm-3.2.10.tar.gz) = 2894343 bytes
+SHA1 (patch-setup.py) = 3ee82830e1bf0a69b455d68efc49e67b6215aada
diff -r 3385bc389ec1 -r 3e6a8b6abd7a security/py-olm/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-olm/patches/patch-setup.py    Tue Jan 25 12:59:39 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/25 12:59:39 ryoon Exp $
+
+Avoid locale-based exceptions when building for Python 3.6.
+
+--- setup.py.orig      2021-08-25 01:40:01.730815286 +0000
++++ setup.py
+@@ -4,6 +4,9 @@ import os
+ from codecs import open
+ 
+ from setuptools import setup
++import locale
++
++locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
+ 
+ here = os.path.abspath(os.path.dirname(__file__))
+ 



Home | Main Index | Thread Index | Old Index