python3-simplejson add to repo

This commit is contained in:
idriskalp
2020-02-26 14:47:52 +03:00
parent ee337ba015
commit c51d52b141
3 changed files with 68 additions and 0 deletions
@@ -0,0 +1,15 @@
#!/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
def build():
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
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-simplejson</Name>
<Homepage>https://github.com/simplejson/simplejson</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>AFL</License>
<License>MIT</License>
<IsA>library</IsA>
<Summary>Simple, fast, extensible JSON encoder/decoder for Python.</Summary>
<Description>simplejson is a simple, fast, complete, correct and extensible JSON (http://json.org) encoder and decoder for Python 3.3+ with legacy support for Python 2.5+. It is pure Python code with no dependencies, but includes an optional C extension for a serious speed boost.</Description>
<Archive sha1sum="a66affe9eafa920ab8fca973e307ad07757ae093" type="targz">https://github.com/simplejson/simplejson/archive/v3.17.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-simplejson</Name>
<Summary>Simple, fast, extensible JSON encoder/decoder for Python.</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-simplejson</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-24</Date>
<Version>3.17.0</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-simplejson</Name>
<Summary xml:lang="tr">Python için hızlı, genisletilebilir, basit bir JSON kodlayıcı/çozücü kitaplık.</Summary>
<Description xml:lang="tr">Python için hızlı, genisletilebilir, basit bir JSON kodlayıcı/çozücü kitaplık modülü sunar.</Description>
</Source>
</PISI>