python3-zappa in programming/python3

This commit is contained in:
ismetsezer
2017-08-16 19:28:49 +03:00
parent 2a090ec8c6
commit e6cce9e91d
2 changed files with 70 additions and 0 deletions
@@ -0,0 +1,25 @@
#!/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 pisitools
from pisi.actionsapi import shelltools
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
def setup():
shelltools.system("python3 setup.py install")
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("README*","LISENCE","PKG-INFO","MANIFEST*")
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
<Source>
<Name>python3-zappa</Name>
<Homepage></Homepage>
<Packager>
<Name>codebreaker</Name>
<Email>-</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Zappa - Serverless Python</Summary>
<Description>Server-less Python Web Services for AWS Lambda and API Gateway</Description>
<Archive sha1sum="dae82fd04acc4425476f4c8c7f9a878da1a23b7c" type="targz">https://pypi.python.org/packages/ef/e6/9ce58a86924a320b213f082c7a9d2b5c15d71aeb2df7b5bfdcb0fecc20f3/zappa-0.43.2.tar.gz#md5=47f8c177d64608bb7422444e0149d183</Archive>
<BuildDependencies>
<Dependency versionFrom="3.6.0">python3-devel</Dependency>
<Dependency versionFrom="19.6.1">python3-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-zappa</Name>
<RuntimeDependencies>
<Dependency versionFrom="3.6.0">python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-08-15</Date>
<Version>0.43.2</Version>
<Comment>First Release</Comment>
<Name>codebreaker</Name>
<Email>-</Email>
</Update>
</History>
</PISI>