From 783066c66d04f93a8f6fccde735a920606363a16 Mon Sep 17 00:00:00 2001 From: blue-devil Date: Sat, 22 Feb 2020 02:30:17 +0300 Subject: [PATCH] python3-cryptography:moved from contrib --- .../python3/python3-cryptography/actions.py | 23 ++++++++++ .../python3/python3-cryptography/pspec.xml | 45 +++++++++++++++++++ .../python3-cryptography/translations.xml | 8 ++++ 3 files changed, 76 insertions(+) create mode 100644 programming/language/python3/python3-cryptography/actions.py create mode 100644 programming/language/python3/python3-cryptography/pspec.xml create mode 100644 programming/language/python3/python3-cryptography/translations.xml diff --git a/programming/language/python3/python3-cryptography/actions.py b/programming/language/python3/python3-cryptography/actions.py new file mode 100644 index 0000000000..954e469871 --- /dev/null +++ b/programming/language/python3/python3-cryptography/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + # suppress compiler warnings + pisitools.cflags.add("-Wno-stringop-truncation -Wno-deprecated-declarations -Wno-incompatible-pointer-types -Wno-discarded-qualifiers -Wno-sign-conversion -Wno-sign-compare") + # fix unused direct dependency analysis + shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common") + pythonmodules.compile(pyVer="3") + +def install(): + pythonmodules.install(pyVer="3") + + for dirs in ["vectors"]: + pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs) \ No newline at end of file diff --git a/programming/language/python3/python3-cryptography/pspec.xml b/programming/language/python3/python3-cryptography/pspec.xml new file mode 100644 index 0000000000..1e7d753108 --- /dev/null +++ b/programming/language/python3/python3-cryptography/pspec.xml @@ -0,0 +1,45 @@ + + + + + python3-cryptography + https://cryptography.io/ + + Blue Devil + bluedevil@sctzine.com + + programming.language.python3 + Apache + library + Cryptographic recipes for Python3 + A package designed to expose cryptographic recipes and primitives to Python developers + https://github.com/pyca/cryptography/archive/2.8.tar.gz + + python3-setuptools + python3-devel + openssl-devel + + + + + python3-cryptography + Cryptographic recipes for Python3 + + python3-cffi + python3 + + + /usr/lib/python3* + /usr/share/doc/python3-cryptography + + + + + 2019-11-06 + 2.8 + First pisi release + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/language/python3/python3-cryptography/translations.xml b/programming/language/python3/python3-cryptography/translations.xml new file mode 100644 index 0000000000..f48df81ced --- /dev/null +++ b/programming/language/python3/python3-cryptography/translations.xml @@ -0,0 +1,8 @@ + + + + python3-cryptography + Python için kriptografik tarifler. + python-cryptography, Python geliştiricileri icin kriptografik tarifler ve ilkeler sunan bir pakettir. + + \ No newline at end of file