python3 add new package and fix

This commit is contained in:
alihanozturk
2016-06-07 00:15:28 +03:00
parent 74e4a469fc
commit 7fafc28402
19 changed files with 500 additions and 0 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE*", "MANIFEST*", "PKG-INFO", "NEWS*", "README*")
@@ -0,0 +1,39 @@
<PISI>
<Source>
<Name>python3-argparse</Name>
<Homepage>https://pypi.python.org/pypi/argparse</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>apache</License>
<IsA>app:console</IsA>
<Summary>Python command-line parsing library</Summary>
<Description>The argparse module makes it easy to write user friendly command line interfaces.</Description>
<Archive sha1sum="50f36429b2989461ee541093e7229257ee950c07" type="targz">https://pypi.python.org/packages/18/dd/e617cfc3f6210ae183374cd9f6a26b20514bbb5a792af97949c5aacddf0f/argparse-1.4.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-argparse</Name>
<Summary>Python command-line parsing library</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-06</Date>
<Version>1.4.0</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -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/copyleft/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("CHANGELOG*", "LICENSE*", "MANIFEST*", "PKG-INFO", "README*")
@@ -0,0 +1,38 @@
<PISI>
<Source>
<Name>python3-colorama</Name>
<Homepage>https://pypi.python.org/pypi/colorama</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>app:console</IsA>
<Summary>Cross-platform colored terminal text.</Summary>
<Description>Python API for cross-platform colored terminal text.</Description>
<Archive type="targz" sha1sum="7310d6ddf680c524ad6b16f673a77a9defb5766e">https://pypi.python.org/packages/f0/d0/21c6449df0ca9da74859edc40208b3a57df9aca7323118c913e58d442030/colorama-0.3.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-colorama</Name>
<Summary>Cross-platform colored terminal text.</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-06</Date>
<Version>0.3.7</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -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/copyleft/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("CONTRIBUTING*", "LICENSE", "MAINTAINERS", "MANIFEST*", "README*")
@@ -0,0 +1,45 @@
<PISI>
<Source>
<Name>python3-docker-py</Name>
<Homepage>https://github.com/dotcloud/docker-py</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>apache</License>
<IsA>app:console</IsA>
<Summary>Python client for Docker.</Summary>
<Description>A Python library for the Docker Remote API. It does everything the docker command does, but from within Python run containers, manage them, pull/push images, etc.</Description>
<Archive sha1sum="f20e51eae6f39762d6c1d8f3349785507d140f28" type="targz">https://github.com/docker/docker-py/archive/1.8.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-websocket-client</Dependency>
<Dependency>python3-six</Dependency>
<Dependency>python3-requests</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-docker-py</Name>
<Summary>Python client for Docker.</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency>python3-websocket-client</Dependency>
<Dependency>python3-six</Dependency>
<Dependency>python3-requests</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-06</Date>
<Version>1.8.1</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,33 @@
#!/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
WorkDir = "nose-%s" % get.srcVERSION()
examples = "%s/%s/" % (get.docDIR(), get.srcNAME())
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
def setup():
shelltools.system("sed -i -e 's:man/man1:share/man/man1:g' setup.py")
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.rename("/usr/bin/nosetests", "nosetests3")
pisitools.removeDir("/usr/share/man")
pisitools.dohtml("doc/*")
shelltools.chmod("examples/*", 0644)
pisitools.insinto(examples, "examples/*")
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
<Source>
<Name>python3-nose</Name>
<Homepage>http://somethingaboutorange.com/mrl/projects/nose/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>A unittest extension offering automatic test suite discovery and easy test authoring</Summary>
<Description>python-nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic.</Description>
<Archive sha1sum="97f2a04c9d43b29ddf4794a1a1d1ba803f1074c6" type="targz">https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-nose</Name>
<RuntimeDependencies>
<Dependency>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>2015-08-04</Date>
<Version>1.3.7</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-nose</Name>
<Summary xml:lang="tr">Python için unittest genişlemesi</Summary>
<Description xml:lang="tr">python-nose alternatif test tanıtma ve keşif kitaplığı.</Description>
</Source>
</PISI>
@@ -0,0 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE", "README.rst", "INSTALL.rst")
@@ -0,0 +1,41 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-psutil</Name>
<Homepage>https://github.com/giampaolo/psutil</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>A cross-platform process utilities module for Python</Summary>
<Description>python3-psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory) in a portable way by using Python, implementing many functionalities offered by command line tools like ps, top, kill, lsof and netstat.</Description>
<Archive sha1sum="a00dd7259a104d47659075a862afdef84b826296" type="targz">https://github.com/giampaolo/psutil/archive/release-4.0.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-psutil</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-06</Date>
<Version>4.0.0</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-psutil</Name>
<Summary xml:lang="tr">Platform bağımsız, süreçler hakkında bilgi sağlayan bir Python modülü</Summary>
<Description xml:lang="tr">python3-psutil, bütün çalışan süreçler ve sistem kullanımı (MİB - Merkezi İşlem Birim(CPU) ve hafıza gibi) hakkında bilgilere erişimek için arayüz sunan bir Python modülüdür. ps, top, kill, lsof, netstat gibi bir çok komut satırı araçlarının sunduğu işlevselliği sağlamaktadır.</Description>
</Source>
</PISI>
@@ -0,0 +1,14 @@
#!/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
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
@@ -0,0 +1,40 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-requests</Name>
<Homepage>http://www.python-requests.org/</Homepage>
<Packager>
<Name>Ergün Salman</Name>
<Email>ergunsalman@hotmail.com</Email>
</Packager>
<Summary>Requests is an Apache2 Licensed HTTP library, written in Python, for human beings.</Summary>
<Description>Pythons standard urllib2 module provides most of the HTTP capabilities you need</Description>
<License>MIT</License>
<Archive sha1sum="17f01c47a0d7c676f6291608ef2f43db3fa74095" type="targz">https://pypi.python.org/packages/source/r/requests/requests-2.9.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-requests</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-06</Date>
<Version>2.9.1</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,17 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.removeDir("/usr/lib/*/site-packages/six-1.9.0*egg-info*")
pisitools.remove("/usr/lib/*/site-packages/*egg-info*")
@@ -0,0 +1,48 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-six</Name>
<Homepage>http://pypi.python.org/pypi/six/</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>app:console</IsA>
<Summary>Python 2 and 3 compatibility utilities.</Summary>
<Description>python-six provides simple utilities for wrapping over differences between Python 2 and Python 3.</Description>
<Archive sha1sum="d168e6d01f0900875c6ecebc97da72d0fda31129" type="targz">http://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-six</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2016-06-06</Date>
<Version>1.9.0</Version>
<Comment>Rebuild</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="1">
<Date>2016-05-08</Date>
<Version>1.9.0</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,7 @@
<PISI>
<Source>
<Name>python3-six</Name>
<Summary xml:lang="tr">Python2 ve python3 uyumluluk programı.</Summary>
<Description xml:lang="tr">python3-six, python2 ile python3 arasındaki farklılıkların aşılmasına yardımcı olan basit araçlar sağlar.</Description>
</Source>
</PISI>
@@ -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/copyleft/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("MANIFEST*", "ChangeLog", "README*", "LICENSE")
@@ -0,0 +1,40 @@
<PISI>
<Source>
<Name>python3-websocket-client</Name>
<Homepage>https://github.com/liris/websocket-client</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>app:console</IsA>
<Summary>WebSocket client library for Python</Summary>
<Description>websocket-client module is WebSocket client for python. This provide the low level APIs for WebSocket. All APIs are the synchronous functions.</Description>
<Archive sha1sum="1ae08f0a73671ae24261a71b48a2eb40ab4269a9" type="targz">https://github.com/liris/websocket-client/archive/v0.37.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-websocket-client</Name>
<Summary>WebSocket client library for Python</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-06</Date>
<Version>0.37.0</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>