Merge pull request #8685 from blue-devil/master

cryptography module updated
This commit is contained in:
Blue DeviL
2020-08-30 01:21:11 +02:00
committed by GitHub
4 changed files with 27 additions and 12 deletions
@@ -4,14 +4,14 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
def build(): def build():
# suppress compiler warnings # 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") pisitools.cflags.add("-Wno-stringop-truncation -Wno-deprecated-declarations -Wno-incompatible-pointer-types -Wno-discarded-qualifiers -Wno-sign-conversion -Wno-sign-compare -Wno-unused-function")
# fix unused direct dependency analysis # 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") 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() pythonmodules.compile()
@@ -13,7 +13,7 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Cryptographic recipes for Python</Summary> <Summary>Cryptographic recipes for Python</Summary>
<Description>A package designed to expose cryptographic recipes and primitives to Python developers</Description> <Description>A package designed to expose cryptographic recipes and primitives to Python developers</Description>
<Archive sha1sum="bb3313bda2ef9b379a2acc17845fcf2ec87e02da" type="targz">https://github.com/pyca/cryptography/archive/2.9.2.tar.gz</Archive> <Archive sha1sum="f91574c82901daf736f2760d6af3ed60878a19ac" type="targz">https://github.com/pyca/cryptography/archive/3.1.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python-cffi</Dependency> <Dependency>python-cffi</Dependency>
<Dependency>python-devel</Dependency> <Dependency>python-devel</Dependency>
@@ -43,8 +43,8 @@
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib/python2*</Path> <Path fileType="library">/usr/lib/python2*</Path>
<Path fileType="doc">/usr/share/doc/python-cryptography/README.rst</Path>
<Path fileType="doc">/usr/share/doc/python-cryptography/LICENSE</Path> <Path fileType="doc">/usr/share/doc/python-cryptography/LICENSE</Path>
<Path fileType="doc">/usr/share/doc/python-cryptography/README.rst</Path>
</Files> </Files>
</Package> </Package>
<!-- <!--
@@ -60,6 +60,13 @@
</Package> </Package>
--> -->
<History> <History>
<Update release="5">
<Date>2020-08-30</Date>
<Version>3.1</Version>
<Comment>Major version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="4"> <Update release="4">
<Date>2020-05-18</Date> <Date>2020-05-18</Date>
<Version>2.9.2</Version> <Version>2.9.2</Version>
@@ -4,14 +4,14 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
def build(): def build():
# suppress compiler warnings # 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") pisitools.cflags.add("-Wno-stringop-truncation -Wno-deprecated-declarations -Wno-incompatible-pointer-types -Wno-discarded-qualifiers -Wno-sign-conversion -Wno-sign-compare -Wno-unused-function")
# fix unused direct dependency analysis # 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") 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") pythonmodules.compile(pyVer="3")
@@ -13,13 +13,14 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Cryptographic recipes for Python3</Summary> <Summary>Cryptographic recipes for Python3</Summary>
<Description>A package designed to expose cryptographic recipes and primitives to Python developers</Description> <Description>A package designed to expose cryptographic recipes and primitives to Python developers</Description>
<Archive sha1sum="bb3313bda2ef9b379a2acc17845fcf2ec87e02da" type="targz">https://github.com/pyca/cryptography/archive/2.9.2.tar.gz</Archive> <Archive sha1sum="f91574c82901daf736f2760d6af3ed60878a19ac" type="targz">https://github.com/pyca/cryptography/archive/3.1.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>openssl-devel</Dependency> <Dependency>openssl-devel</Dependency>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-setuptools</Dependency>
<!-- documentation dependencies --> <!-- documentation dependencies -->
<Dependency>python3-sphinx</Dependency> <Dependency>python3-sphinx</Dependency>
<Dependency>python3-sphinx_rtd_theme</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -27,13 +28,13 @@
<Name>python3-cryptography</Name> <Name>python3-cryptography</Name>
<Summary>Cryptographic recipes for Python3</Summary> <Summary>Cryptographic recipes for Python3</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>python3-cffi</Dependency>
<Dependency>python3</Dependency> <Dependency>python3</Dependency>
<Dependency>python3-cffi</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="doc">/usr/share/doc/python3-cryptography/README.rst</Path>
<Path fileType="doc">/usr/share/doc/python3-cryptography/LICENSE</Path>
<Path fileType="library">/usr/lib/python3*</Path> <Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-cryptography/LICENSE</Path>
<Path fileType="doc">/usr/share/doc/python3-cryptography/README.rst</Path>
</Files> </Files>
</Package> </Package>
@@ -49,6 +50,13 @@
</Package> </Package>
<History> <History>
<Update release="5">
<Date>2020-08-30</Date>
<Version>3.1</Version>
<Comment>Major version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="4"> <Update release="4">
<Date>2020-05-16</Date> <Date>2020-05-16</Date>
<Version>2.9.2</Version> <Version>2.9.2</Version>