python3-sanic packed
This commit is contained in:
@@ -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
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
|
||||||
|
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*","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-sanic</Name>
|
||||||
|
<Homepage></Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>codebreaker</Name>
|
||||||
|
<Email>-</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>MIT</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<IsA>app:console</IsA>
|
||||||
|
<Summary>A microframework based on uvloop, httptools, and learnings of flask</Summary>
|
||||||
|
<Description>Sanic is a Flask-like Python 3.5+ web server that’s written to go fast. It’s based on the work done by the amazing folks at magicstack</Description>
|
||||||
|
<Archive sha1sum="3414b034921ffb4438fc852a6910a4afdc1805d5" type="targz">https://pypi.python.org/packages/d5/38/65c654c8c412984fc78a9460cf9add5cbd3a6ee87788160eecaa1ec90529/sanic-0.6.0.tar.gz#md5=4fce620187338405bb84a3de109b57b9</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency versionFrom="3.6.0">python3-devel</Dependency>
|
||||||
|
<Dependency versionFrom="19.6.1">python3-setuptools</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python3-sanic</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.6.0</Version>
|
||||||
|
<Comment>First Release</Comment>
|
||||||
|
<Name>codebreaker</Name>
|
||||||
|
<Email>-</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user