pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-olm



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Jan 25 12:59:39 UTC 2022

Added Files:
        pkgsrc/security/py-olm: DESCR Makefile PLIST distinfo
        pkgsrc/security/py-olm/patches: patch-setup.py

Log Message:
security/py-olm: import py39-olm-3.2.10

Python bindings for Olm.

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-olm/DESCR \
    pkgsrc/security/py-olm/Makefile pkgsrc/security/py-olm/PLIST \
    pkgsrc/security/py-olm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-olm/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/security/py-olm/DESCR
diff -u /dev/null pkgsrc/security/py-olm/DESCR:1.1
--- /dev/null   Tue Jan 25 12:59:39 2022
+++ pkgsrc/security/py-olm/DESCR        Tue Jan 25 12:59:39 2022
@@ -0,0 +1 @@
+Python bindings for Olm.
Index: pkgsrc/security/py-olm/Makefile
diff -u /dev/null pkgsrc/security/py-olm/Makefile:1.1
--- /dev/null   Tue Jan 25 12:59:39 2022
+++ pkgsrc/security/py-olm/Makefile     Tue Jan 25 12:59:39 2022
@@ -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"
Index: pkgsrc/security/py-olm/PLIST
diff -u /dev/null pkgsrc/security/py-olm/PLIST:1.1
--- /dev/null   Tue Jan 25 12:59:39 2022
+++ pkgsrc/security/py-olm/PLIST        Tue Jan 25 12:59:39 2022
@@ -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
Index: pkgsrc/security/py-olm/distinfo
diff -u /dev/null pkgsrc/security/py-olm/distinfo:1.1
--- /dev/null   Tue Jan 25 12:59:39 2022
+++ pkgsrc/security/py-olm/distinfo     Tue Jan 25 12:59:39 2022
@@ -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

Index: pkgsrc/security/py-olm/patches/patch-setup.py
diff -u /dev/null pkgsrc/security/py-olm/patches/patch-setup.py:1.1
--- /dev/null   Tue Jan 25 12:59:39 2022
+++ pkgsrc/security/py-olm/patches/patch-setup.py       Tue Jan 25 12:59:39 2022
@@ -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