python add new package and fix
This commit is contained in:
@@ -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()
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
pisitools.dodoc("LICENSE*", "MANIFEST*", "PKG-INFO", "NEWS*", "README*")
|
||||
@@ -0,0 +1,41 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-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>python-devel</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-argparse</Name>
|
||||
<Summary>Python command-line parsing library</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python</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,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()
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
pisitools.dodoc("CHANGELOG*", "LICENSE*", "MANIFEST*", "PKG-INFO", "README*")
|
||||
@@ -0,0 +1,40 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-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>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-colorama</Name>
|
||||
<Summary>Cross-platform colored terminal text.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python</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()
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
pisitools.dodoc("CONTRIBUTING*", "LICENSE", "MAINTAINERS", "MANIFEST*", "README*")
|
||||
@@ -0,0 +1,45 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-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>python-devel</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
<Dependency>python-websocket-client</Dependency>
|
||||
<Dependency>python-six</Dependency>
|
||||
<Dependency>python-requests</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>python-docker-py</Name>
|
||||
<Summary>Python client for Docker.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python</Dependency>
|
||||
<Dependency>python-websocket-client</Dependency>
|
||||
<Dependency>python-six</Dependency>
|
||||
<Dependency>python-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>
|
||||
@@ -15,9 +15,14 @@ examples = "%s/%s/" % (get.docDIR(), get.srcNAME())
|
||||
|
||||
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
|
||||
|
||||
def install():
|
||||
pisitools.dosed("setup.py", "man/man1", "share/man/man1")
|
||||
def setup():
|
||||
shelltools.system("sed -i -e 's:man/man1:share/man/man1:g' setup.py")
|
||||
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
pisitools.dohtml("doc/*")
|
||||
|
||||
@@ -15,10 +15,16 @@
|
||||
<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>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-nose</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-nose</Name>
|
||||
<Name>python3-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>
|
||||
<Description xml:lang="tr">python3-nose alternatif test tanıtma ve keşif kitaplığı.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
|
||||
@@ -6,14 +6,9 @@
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="requests-%s" % get.srcVERSION()
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
def install():
|
||||
shelltools.makedirs("python3")
|
||||
shelltools.copytree("../requests-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
|
||||
pythonmodules.install()
|
||||
shelltools.cd("%s/python3" % get.workDIR())
|
||||
pythonmodules.install(pyVer = "3")
|
||||
|
||||
@@ -12,35 +12,29 @@
|
||||
<Description>Python’s 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>python</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-requests</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/python2*</Path>
|
||||
<Path fileType="data">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python3-requests</Name>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/python3*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2016-05-08</Date>
|
||||
<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>
|
||||
</PISI>
|
||||
|
||||
@@ -6,28 +6,12 @@
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="six-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
shelltools.cd("..")
|
||||
shelltools.makedirs("build_python3")
|
||||
shelltools.copytree("./%s" % WorkDir, "build_python3")
|
||||
shelltools.cd(WorkDir)
|
||||
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
||||
pythonmodules.compile(pyVer="3.4")
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
||||
pythonmodules.install(pyVer="3.4")
|
||||
|
||||
pisitools.removeDir("/usr/lib/*/site-packages/six-1.9.0*egg-info*")
|
||||
pisitools.remove("/usr/lib/*/site-packages/*egg-info*")
|
||||
pisitools.remove("/usr/lib/*/site-packages/*egg-info*")
|
||||
|
||||
@@ -12,27 +12,31 @@
|
||||
<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>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="d168e6d01f0900875c6ecebc97da72d0fda31129" type="targz">http://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>python-six</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python2*</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python3-six</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3*</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>
|
||||
@@ -41,4 +45,4 @@
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</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()
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
pisitools.dodoc("MANIFEST*", "ChangeLog", "README*", "LICENSE")
|
||||
@@ -0,0 +1,42 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-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>python-devel</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-websocket-client</Name>
|
||||
<Summary>WebSocket client library for Python</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python</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>
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
|
||||
|
||||
def setup():
|
||||
shelltools.export("PYTHON","/usr/bin/python3")
|
||||
shelltools.system("python3 ./waf configure --prefix=/usr --libdir=/usr/lib")
|
||||
|
||||
def build():
|
||||
shelltools.system("python3 waf build -v")
|
||||
|
||||
def install():
|
||||
shelltools.system("DESTDIR=%s python3 waf install" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README","COPYING*")
|
||||
Binary file not shown.
@@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python3-cairo</Name>
|
||||
<Homepage>http://cairographics.org/pycairo</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python3 wrapper for cairo graphics library</Summary>
|
||||
<Description>Pycairo is set of Python3 bindings for the cairo graphics library.</Description>
|
||||
<Archive sha1sum="b4283aa1cc9aafd12fd72ad371303a486da1d014" type="tarbz2">http://cairographics.org/releases/pycairo-1.10.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>pycairo-1.10.0-waf-python3.4.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python3-cairo</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python3-cairo-devel</Name>
|
||||
<Summary>Development files for python3-cairo</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">python3-cairo</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2016-05-08</Date>
|
||||
<Version>1.10.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python3-cairo</Name>
|
||||
<Summary xml:lang="tr">Cairo vektörel grafik kitaplığı için Python3 bağlayıcıları</Summary>
|
||||
<Summary xml:lang="fr">wrapper (version enrobée) Python3 de la librairie de graphisme vectoriel cairo.</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python3-cairo-devel</Name>
|
||||
<Summary xml:lang="tr">python3-cairo için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user