diff --git a/programming/language/python/python-argparse/actions.py b/programming/language/python/python-argparse/actions.py new file mode 100644 index 0000000000..28315724ac --- /dev/null +++ b/programming/language/python/python-argparse/actions.py @@ -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*") \ No newline at end of file diff --git a/programming/language/python/python-argparse/pspec.xml b/programming/language/python/python-argparse/pspec.xml new file mode 100644 index 0000000000..36fd7a1eeb --- /dev/null +++ b/programming/language/python/python-argparse/pspec.xml @@ -0,0 +1,41 @@ + + + python-argparse + https://pypi.python.org/pypi/argparse + + Alihan Öztürk + alihan@pisilinux.org + + apache + app:console + Python command-line parsing library + The argparse module makes it easy to write user friendly command line interfaces. + https://pypi.python.org/packages/18/dd/e617cfc3f6210ae183374cd9f6a26b20514bbb5a792af97949c5aacddf0f/argparse-1.4.0.tar.gz + + python-devel + python-setuptools + + + + + python-argparse + Python command-line parsing library + + python + + + /usr/lib + /usr/share/doc + + + + + + 2016-06-06 + 1.4.0 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/programming/language/python/python-colorama/actions.py b/programming/language/python/python-colorama/actions.py new file mode 100644 index 0000000000..712f32ea27 --- /dev/null +++ b/programming/language/python/python-colorama/actions.py @@ -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*") diff --git a/programming/language/python/python-colorama/pspec.xml b/programming/language/python/python-colorama/pspec.xml new file mode 100644 index 0000000000..f3a5da2112 --- /dev/null +++ b/programming/language/python/python-colorama/pspec.xml @@ -0,0 +1,40 @@ + + + python-colorama + https://pypi.python.org/pypi/colorama + + Alihan Öztürk + alihan@pisilinux.org + + BSD + app:console + Cross-platform colored terminal text. + Python API for cross-platform colored terminal text. + https://pypi.python.org/packages/f0/d0/21c6449df0ca9da74859edc40208b3a57df9aca7323118c913e58d442030/colorama-0.3.7.tar.gz + + python-devel + + + + + python-colorama + Cross-platform colored terminal text. + + python + + + /usr/lib + /usr/share/doc + + + + + + 2016-06-06 + 0.3.7 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/programming/language/python/python-docker-py/actions.py b/programming/language/python/python-docker-py/actions.py new file mode 100644 index 0000000000..cc6e31fe03 --- /dev/null +++ b/programming/language/python/python-docker-py/actions.py @@ -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*") \ No newline at end of file diff --git a/programming/language/python/python-docker-py/pspec.xml b/programming/language/python/python-docker-py/pspec.xml new file mode 100644 index 0000000000..52fa7f4a3b --- /dev/null +++ b/programming/language/python/python-docker-py/pspec.xml @@ -0,0 +1,45 @@ + + + python-docker-py + https://github.com/dotcloud/docker-py + + Alihan Öztürk + alihan@pisilinux.org + + apache + app:console + Python client for Docker. + 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. + https://github.com/docker/docker-py/archive/1.8.1.tar.gz + + python-devel + python-setuptools + python-websocket-client + python-six + python-requests + + + + python-docker-py + Python client for Docker. + + python + python-websocket-client + python-six + python-requests + + + /usr/lib + /usr/share/doc + + + + + 2016-06-06 + 1.8.1 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/programming/language/python/python-nose/actions.py b/programming/language/python/python-nose/actions.py index b999c99f2c..c18bd8f2f5 100644 --- a/programming/language/python/python-nose/actions.py +++ b/programming/language/python/python-nose/actions.py @@ -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/*") diff --git a/programming/language/python/python-nose/pspec.xml b/programming/language/python/python-nose/pspec.xml index 4b14d2c8b1..bb3655a1a5 100644 --- a/programming/language/python/python-nose/pspec.xml +++ b/programming/language/python/python-nose/pspec.xml @@ -15,10 +15,16 @@ A unittest extension offering automatic test suite discovery and easy test authoring 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. https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz + + python-devel + python-nose + + python + /usr/lib /usr/share/man diff --git a/programming/language/python/python-nose/translations.xml b/programming/language/python/python-nose/translations.xml index 79c6cc2f02..1f3a7a33ea 100644 --- a/programming/language/python/python-nose/translations.xml +++ b/programming/language/python/python-nose/translations.xml @@ -1,8 +1,8 @@ - python-nose + python3-nose Python için unittest genişlemesi - python-nose alternatif test tanıtma ve keşif kitaplığı. + python3-nose alternatif test tanıtma ve keşif kitaplığı. diff --git a/programming/language/python/python-requests/actions.py b/programming/language/python/python-requests/actions.py index aa52b69750..5daac7d9e4 100644 --- a/programming/language/python/python-requests/actions.py +++ b/programming/language/python/python-requests/actions.py @@ -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") diff --git a/programming/language/python/python-requests/pspec.xml b/programming/language/python/python-requests/pspec.xml index 9ba63cc239..68d9150e4f 100644 --- a/programming/language/python/python-requests/pspec.xml +++ b/programming/language/python/python-requests/pspec.xml @@ -12,35 +12,29 @@ Python’s standard urllib2 module provides most of the HTTP capabilities you need MIT https://pypi.python.org/packages/source/r/requests/requests-2.9.1.tar.gz - - python - python3-devel + python-devel python-requests + + python-devel + - /usr/lib/python2* + /usr/lib /usr/share/doc - - python3-requests - - /usr/lib/python3* - - - - 2016-05-08 + 2016-06-06 2.9.1 First release Ayhan Yalçınsoy ayhanyalcinsoy@pisilinux.org - \ No newline at end of file + diff --git a/programming/language/python/python-six/actions.py b/programming/language/python/python-six/actions.py index a0c38b6fc3..21cc717adb 100644 --- a/programming/language/python/python-six/actions.py +++ b/programming/language/python/python-six/actions.py @@ -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*") \ No newline at end of file + pisitools.remove("/usr/lib/*/site-packages/*egg-info*") diff --git a/programming/language/python/python-six/pspec.xml b/programming/language/python/python-six/pspec.xml index 6a64f0a406..25c630d1dd 100644 --- a/programming/language/python/python-six/pspec.xml +++ b/programming/language/python/python-six/pspec.xml @@ -12,27 +12,31 @@ app:console Python 2 and 3 compatibility utilities. python-six provides simple utilities for wrapping over differences between Python 2 and Python 3. - - python3-devel - http://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz + + python-devel + python-six + + python-devel + - /usr/lib/python2* + /usr/lib /usr/share/doc - - python3-six - - /usr/lib/python3* - - + + 2016-06-06 + 1.9.0 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + 2016-05-08 1.9.0 @@ -41,4 +45,4 @@ ertugrulerata@gmail.com - \ No newline at end of file + diff --git a/programming/language/python/python-websocket-client/actions.py b/programming/language/python/python-websocket-client/actions.py new file mode 100644 index 0000000000..57462fac6f --- /dev/null +++ b/programming/language/python/python-websocket-client/actions.py @@ -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") \ No newline at end of file diff --git a/programming/language/python/python-websocket-client/pspec.xml b/programming/language/python/python-websocket-client/pspec.xml new file mode 100644 index 0000000000..efe3c38274 --- /dev/null +++ b/programming/language/python/python-websocket-client/pspec.xml @@ -0,0 +1,42 @@ + + + python-websocket-client + https://github.com/liris/websocket-client + + Alihan Öztürk + alihan@pisilinux.org + + LGPLv2 + app:console + WebSocket client library for Python + websocket-client module is WebSocket client for python. This provide the low level APIs for WebSocket. All APIs are the synchronous functions. + https://github.com/liris/websocket-client/archive/v0.37.0.tar.gz + + python-devel + python-setuptools + + + + + python-websocket-client + WebSocket client library for Python + + python + + + /usr/bin + /usr/lib + /usr/share/doc + + + + + + 2016-06-06 + 0.37.0 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/programming/language/python/python3-cairo/actions.py b/programming/language/python/python3-cairo/actions.py deleted file mode 100755 index 2a81c8075d..0000000000 --- a/programming/language/python/python3-cairo/actions.py +++ /dev/null @@ -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*") \ No newline at end of file diff --git a/programming/language/python/python3-cairo/files/pycairo-1.10.0-waf-python3.4.patch b/programming/language/python/python3-cairo/files/pycairo-1.10.0-waf-python3.4.patch deleted file mode 100755 index a7d17bb5db..0000000000 Binary files a/programming/language/python/python3-cairo/files/pycairo-1.10.0-waf-python3.4.patch and /dev/null differ diff --git a/programming/language/python/python3-cairo/pspec.xml b/programming/language/python/python3-cairo/pspec.xml deleted file mode 100755 index 2362f02f68..0000000000 --- a/programming/language/python/python3-cairo/pspec.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - python3-cairo - http://cairographics.org/pycairo - - PisiLinux Community - admins@pisilinux.org - - GPLv2 - library - Python3 wrapper for cairo graphics library - Pycairo is set of Python3 bindings for the cairo graphics library. - http://cairographics.org/releases/pycairo-1.10.0.tar.bz2 - - python3-devel - cairo-devel - - - pycairo-1.10.0-waf-python3.4.patch - - - - - python3-cairo - - python3 - cairo - - - /usr/lib - /usr/share/doc - - - - - python3-cairo-devel - Development files for python3-cairo - - python3-cairo - cairo-devel - - - /usr/include - /usr/lib/pkgconfig - - - - - - 2016-05-08 - 1.10.0 - First release - Alihan Öztürk - alihan@pisilinux.org - - - \ No newline at end of file diff --git a/programming/language/python/python3-cairo/translations.xml b/programming/language/python/python3-cairo/translations.xml deleted file mode 100755 index 4210a6d984..0000000000 --- a/programming/language/python/python3-cairo/translations.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - python3-cairo - Cairo vektörel grafik kitaplığı için Python3 bağlayıcıları - wrapper (version enrobée) Python3 de la librairie de graphisme vectoriel cairo. - - - - python3-cairo-devel - python3-cairo için geliştirme dosyaları - - \ No newline at end of file