python-cryptography:moved from contrib
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
pythonmodules.install()
|
||||||
|
|
||||||
|
for dirs in ["vectors"]:
|
||||||
|
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python-cryptography</Name>
|
||||||
|
<Homepage>https://cryptography.io/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<PartOf>programming.language.python</PartOf>
|
||||||
|
<License>Apache</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Cryptographic recipes for Python</Summary>
|
||||||
|
<Description>A package designed to expose cryptographic recipes and primitives to Python developers</Description>
|
||||||
|
<Archive sha1sum="93d4e9d58f911d342c68973a75542375ef8021ab" type="targz">https://github.com/pyca/cryptography/archive/2.8.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>python-setuptools</Dependency>
|
||||||
|
<Dependency>python-devel</Dependency>
|
||||||
|
<Dependency>openssl-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python-cryptography</Name>
|
||||||
|
<Summary>Cryptographic recipes for Python</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>python-cffi</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/python2*</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/python-cryptography</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2019-11-06</Date>
|
||||||
|
<Version>2.8</Version>
|
||||||
|
<Comment>First pisi release</Comment>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python-cryptography</Name>
|
||||||
|
<Summary xml:lang="tr">Python için kriptografik tarifler</Summary>
|
||||||
|
<Description xml:lang="tr">python-cryptography, Python geliştiricileri icin kriptografik tarifler ve ilkeler sunan bir pakettir.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user