python3-pycrypto:moved from contrib
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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 shelltools
|
||||||
|
from pisi.actionsapi import pythonmodules
|
||||||
|
|
||||||
|
def build():
|
||||||
|
# suppress compiler warnings
|
||||||
|
shelltools.export("CFLAGS", "-fno-strict-aliasing -Wno-discarded-array-qualifiers -Wno-unused-const-variable -Wno-bool-compare -Wno-tautological-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")
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python3-pycrypto</Name>
|
||||||
|
<Homepage>https://www.dlitz.net/software/pycrypto/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Blue DeviL</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<PartOf>programming.language.python3</PartOf>
|
||||||
|
<License>PD</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Python3 pycrypto module</Summary>
|
||||||
|
<Description>A collection of cryptographic algorithms and protocols, implemented for use from Python2.</Description>
|
||||||
|
<Archive sha1sum="077feba65e9018df81d11e1a9f703a8b03fc8ec5" type="targz">https://github.com/dlitz/pycrypto/archive/v2.7a1.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>gmp-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python3-pycrypto</Name>
|
||||||
|
<Summary>Python3 pycrypto module</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>gmp</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/python3*</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/python3-pycrypto</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2019-11-21</Date>
|
||||||
|
<Version>2.7a.1</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>python3-pycrypto</Name>
|
||||||
|
<Summary xml:lang="tr">Python3 pycrypto modülü</Summary>
|
||||||
|
<Description xml:lang="tr">python3-pycrypto, Python2 için kriptografik algoritmalar ve protokoller içeren bir kitaplıktır.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user