From 91295b8fd790ad63e86cdb2b51c54e94e78f0613 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:05:04 +0300 Subject: [PATCH] move some packages to core --- programming/language/component.xml | 3 + programming/language/python/component.xml | 3 + .../language/python/python-Babel/actions.py | 28 ++++++ .../language/python/python-Babel/pspec.xml | 67 +++++++++++++ .../python/python-Babel/translations.xml | 8 ++ .../language/python/python-Jinja2/actions.py | 30 ++++++ .../drop_next_import_from_docs-jinjaext.patch | 15 +++ .../language/python/python-Jinja2/pspec.xml | 86 +++++++++++++++++ .../python/python-Jinja2/translations.xml | 13 +++ .../python/python-MarkupSafe/actions.py | 23 +++++ .../python/python-MarkupSafe/pspec.xml | 73 ++++++++++++++ .../python/python-MarkupSafe/translations.xml | 8 ++ .../python/python-Pygments/actions.py | 22 +++++ .../language/python/python-Pygments/pspec.xml | 75 +++++++++++++++ .../python/python-Pygments/translations.xml | 13 +++ .../python/python-imagesize/actions.py | 19 ++++ .../python/python-imagesize/pspec.xml | 57 +++++++++++ .../python/python-imagesize/translations.xml | 8 ++ .../language/python/python-pytz/actions.py | 16 ++++ .../language/python/python-pytz/pspec.xml | 57 +++++++++++ .../python/python-pytz/translations.xml | 8 ++ .../python/python-requests/actions.py | 14 +++ .../python/python-requests/files/certs.patch | 14 +++ ...dont-import-OrderedDict-from-urllib3.patch | 28 ++++++ ...certs.py-to-use-the-system-CA-bundle.patch | 49 ++++++++++ .../language/python/python-requests/pspec.xml | 95 +++++++++++++++++++ .../language/python/python-six/actions.py | 14 +++ .../language/python/python-six/pspec.xml | 83 ++++++++++++++++ .../python/python-six/translations.xml | 7 ++ .../python-sphinx-alabaster-theme/actions.py | 19 ++++ .../python-sphinx-alabaster-theme/pspec.xml | 64 +++++++++++++ .../translations.xml | 8 ++ .../language/python/python-sphinx/actions.py | 28 ++++++ .../python-sphinx/files/remove_docutils.patch | 12 +++ .../language/python/python-sphinx/pspec.xml | 91 ++++++++++++++++++ .../python/python-sphinx/translations.xml | 13 +++ programming/language/python3/component.xml | 3 + 37 files changed, 1174 insertions(+) create mode 100644 programming/language/component.xml create mode 100644 programming/language/python/component.xml create mode 100755 programming/language/python/python-Babel/actions.py create mode 100755 programming/language/python/python-Babel/pspec.xml create mode 100755 programming/language/python/python-Babel/translations.xml create mode 100755 programming/language/python/python-Jinja2/actions.py create mode 100755 programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch create mode 100755 programming/language/python/python-Jinja2/pspec.xml create mode 100755 programming/language/python/python-Jinja2/translations.xml create mode 100755 programming/language/python/python-MarkupSafe/actions.py create mode 100755 programming/language/python/python-MarkupSafe/pspec.xml create mode 100755 programming/language/python/python-MarkupSafe/translations.xml create mode 100755 programming/language/python/python-Pygments/actions.py create mode 100755 programming/language/python/python-Pygments/pspec.xml create mode 100755 programming/language/python/python-Pygments/translations.xml create mode 100755 programming/language/python/python-imagesize/actions.py create mode 100755 programming/language/python/python-imagesize/pspec.xml create mode 100755 programming/language/python/python-imagesize/translations.xml create mode 100755 programming/language/python/python-pytz/actions.py create mode 100755 programming/language/python/python-pytz/pspec.xml create mode 100755 programming/language/python/python-pytz/translations.xml create mode 100755 programming/language/python/python-requests/actions.py create mode 100644 programming/language/python/python-requests/files/certs.patch create mode 100755 programming/language/python/python-requests/files/dont-import-OrderedDict-from-urllib3.patch create mode 100755 programming/language/python/python-requests/files/patch-requests-certs.py-to-use-the-system-CA-bundle.patch create mode 100755 programming/language/python/python-requests/pspec.xml create mode 100755 programming/language/python/python-six/actions.py create mode 100755 programming/language/python/python-six/pspec.xml create mode 100755 programming/language/python/python-six/translations.xml create mode 100755 programming/language/python/python-sphinx-alabaster-theme/actions.py create mode 100755 programming/language/python/python-sphinx-alabaster-theme/pspec.xml create mode 100755 programming/language/python/python-sphinx-alabaster-theme/translations.xml create mode 100755 programming/language/python/python-sphinx/actions.py create mode 100755 programming/language/python/python-sphinx/files/remove_docutils.patch create mode 100755 programming/language/python/python-sphinx/pspec.xml create mode 100755 programming/language/python/python-sphinx/translations.xml create mode 100644 programming/language/python3/component.xml diff --git a/programming/language/component.xml b/programming/language/component.xml new file mode 100644 index 00000000..71e3f075 --- /dev/null +++ b/programming/language/component.xml @@ -0,0 +1,3 @@ + + programming.language + diff --git a/programming/language/python/component.xml b/programming/language/python/component.xml new file mode 100644 index 00000000..c9532592 --- /dev/null +++ b/programming/language/python/component.xml @@ -0,0 +1,3 @@ + + programming.language.python + diff --git a/programming/language/python/python-Babel/actions.py b/programming/language/python/python-Babel/actions.py new file mode 100755 index 00000000..e8b59416 --- /dev/null +++ b/programming/language/python/python-Babel/actions.py @@ -0,0 +1,28 @@ +#!/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 pisitools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +WorkDir = "Babel-%s" % get.srcVERSION() + +htmltxt = "%s/%s/html" % (get.docDIR(), get.srcNAME()) + +def build(): + shelltools.system("mkdir -p cldr") + shelltools.system("cp core.zip cldr/cldr-core-35.1.zip") + shelltools.system("python setup.py import_cldr") + shelltools.system("python setup.py build") + #pythonmodules.compile() + +def install(): + pythonmodules.install() + + pisitools.dohtml("docs/") + #pisitools.insinto(htmltxt, "docs/*.txt") + pisitools.dodoc("LICENSE","AUTHORS","README*") diff --git a/programming/language/python/python-Babel/pspec.xml b/programming/language/python/python-Babel/pspec.xml new file mode 100755 index 00000000..bc0b1a94 --- /dev/null +++ b/programming/language/python/python-Babel/pspec.xml @@ -0,0 +1,67 @@ + + + + + python-Babel + http://babel.pocoo.org + + PisiLinux Community + admins@pisilinux.org + + BSD + library + A collection of tools for internationalizing Python applications + Babel is composed of two major parts: 1) tools to build and work with gettext message catalogs , 2) a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc. + https://github.com/python-babel/babel/releases/download/v2.7.0/Babel-2.7.0.tar.gz + https://www.unicode.org/Public/cldr/35.1/core.zip + + python-devel + python-pytz + python-setuptools + + + + + python-Babel + + python-pytz + python-setuptools + + + /usr/bin + /usr/lib + /usr/share/doc/python-Babel + + + + + + 2019-10-03 + 2.7.0 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-08-15 + 2.6.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2018-02-26 + 2.5.3 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-29 + 2.3.4 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/language/python/python-Babel/translations.xml b/programming/language/python/python-Babel/translations.xml new file mode 100755 index 00000000..461674a0 --- /dev/null +++ b/programming/language/python/python-Babel/translations.xml @@ -0,0 +1,8 @@ + + + + python-Babel + Python uygulamalarını uluslararasılaştırmak için bir takım koleksiyonu + Babel temelde iki parçadan oluşur: 1) gettext mesaj kataloglarıyla çalışmak ve onları derlemek için araçlar 2) CLDR(Common Locale Data Repository), Genel Yerel Veri Deposuna, çeşitli yerel gösterim isimlerine ulaşımı sağlamak, yerelleştirilmiş numara ve tarih biçimlerini desteklemek gibi özellikler sağlayan bir python arayüzü. + + diff --git a/programming/language/python/python-Jinja2/actions.py b/programming/language/python/python-Jinja2/actions.py new file mode 100755 index 00000000..4043724f --- /dev/null +++ b/programming/language/python/python-Jinja2/actions.py @@ -0,0 +1,30 @@ +#!/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 autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +examples = "%s/%s/examples" % (get.docDIR(), get.srcNAME()) + +WorkDir = "Jinja2-%s" % get.srcVERSION() + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + pisitools.insinto(examples, "examples/*") + + #Create docs with python-Sphinx + #shelltools.cd("docs") + #autotools.make("html") + #shelltools.cd("..") + #pisitools.dohtml("Jinja2-%s/docs/_build/html/*" % get.srcVERSION()) + pisitools.dodoc("CHANGES*", "README*") diff --git a/programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch b/programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch new file mode 100755 index 00000000..c078b06c --- /dev/null +++ b/programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch @@ -0,0 +1,15 @@ +Description: drop next import from docs/jinjaext.py + next is not available in jinja2/utils.py and all Python versions supported by + Jessie already support this function, no need for backwards compatible wrapper +Author: Piotr Ożarowski +--- jinja2-2.7.orig/docs/jinjaext.py ++++ jinja2-2.7/docs/jinjaext.py +@@ -23,7 +23,7 @@ from pygments.style import Style + from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic + from jinja2 import Environment, FileSystemLoader +-from jinja2.utils import next ++#from jinja2.utils import next + + + def parse_rst(state, content_offset, doc): diff --git a/programming/language/python/python-Jinja2/pspec.xml b/programming/language/python/python-Jinja2/pspec.xml new file mode 100755 index 00000000..23b40ed5 --- /dev/null +++ b/programming/language/python/python-Jinja2/pspec.xml @@ -0,0 +1,86 @@ + + + + + python-Jinja2 + http://jinja.pocoo.org/2/ + + PisiLinux Community + admins@pisilinux.org + + as-is + app:console + A small but fast and easy to use stand-alone template engine written in pure python + Jinja2 is the rewritten version of Jinja, sandboxed template engine written in pure Python. It provides a Django like non-XML syntax and compiles templates into executable python code. It's basically a combination of Django templates and python code. + https://files.pythonhosted.org/packages/93/ea/d884a06f8c7f9b7afbc8138b762e80479fb17aedbbe2b06515a12de9378d/Jinja2-2.10.1.tar.gz + + + + python-setuptools + python-MarkupSafe + + + + + + + + python-Jinja2 + + /usr/lib/python* + /usr/share/doc/python-Jinja2/LICENSE + + + + + python-Jinja2-docs + + /usr/share/doc/python-Jinja2 + + + + + + 2019-10-03 + 2.10.1 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-08-15 + 2.10 + Rebuild. + Pisi Linux Community + admin@pisilinux.org + + + 2018-02-26 + 2.10 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-29 + 2.9.5 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 2.7.2 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2014-02-27 + 2.7.2 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + diff --git a/programming/language/python/python-Jinja2/translations.xml b/programming/language/python/python-Jinja2/translations.xml new file mode 100755 index 00000000..e318cb96 --- /dev/null +++ b/programming/language/python/python-Jinja2/translations.xml @@ -0,0 +1,13 @@ + + + + python-Jinja2 + Küçük, hızlı ve kullanımı kolay, sadece python ile yazılmış bir bağımsız şablon üreteci + Jinja2, sadece python ile yazılmış bir şablon üreteci olan Jinja'nın yeniden yazılmış bir versiyonudur. Django benzeri XML-olmayan bir sözdizimi sağlar ve şablonları derleyip çalıştırılabilir python programları haline getirir. Temel olarak Django şablonları ve python kodunun birleşimi bir programdır. + + + + python-Jinja2-docs + python-Jinja2 için belgelendirme dosyaları + + diff --git a/programming/language/python/python-MarkupSafe/actions.py b/programming/language/python/python-MarkupSafe/actions.py new file mode 100755 index 00000000..106a43f8 --- /dev/null +++ b/programming/language/python/python-MarkupSafe/actions.py @@ -0,0 +1,23 @@ +#!/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 get +from pisi.actionsapi import shelltools + +shelltools.export("PYTHONDONTWRITEBYTECODE", "1") + +WorkDir = "MarkupSafe-%s" % get.srcVERSION() + +def build(): + pythonmodules.compile() + +def check(): + pythonmodules.compile("test") + +def install(): + pythonmodules.install() + diff --git a/programming/language/python/python-MarkupSafe/pspec.xml b/programming/language/python/python-MarkupSafe/pspec.xml new file mode 100755 index 00000000..f0c0fd8f --- /dev/null +++ b/programming/language/python/python-MarkupSafe/pspec.xml @@ -0,0 +1,73 @@ + + + + + python-MarkupSafe + http://pypi.python.org/pypi/MarkupSafe + + PisiLinux Community + admins@pisilinux.org + + BSD + library + Implements a XML/HTML/XHTML Markup safe string for Python + python-MarkupSafe, implements a unicode subclass that supports HTML strings. + https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz + + python-setuptools + + + + + python-MarkupSafe + + /usr/lib/python2.* + /usr/share/doc + + + + + + 2019-10-03 + 1.1.1 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-08-15 + 1.0 + Rebuild + Pisi Linux Community + admin@pisilinux.org + + + 2018-02-26 + 1.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-25 + 0.23 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 0.23 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2014-05-29 + 0.23 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/programming/language/python/python-MarkupSafe/translations.xml b/programming/language/python/python-MarkupSafe/translations.xml new file mode 100755 index 00000000..3f5732b9 --- /dev/null +++ b/programming/language/python/python-MarkupSafe/translations.xml @@ -0,0 +1,8 @@ + + + + python-MarkupSafe + XML/HTML/XHTML markup dilleri için güvenli python karakter dizeleri gerçekleştirimi + python-MarkupSafe, HTML karakter dizeleri için unicode bir alt sınıf gerçekleştirimi sağlar. + + diff --git a/programming/language/python/python-Pygments/actions.py b/programming/language/python/python-Pygments/actions.py new file mode 100755 index 00000000..6860f613 --- /dev/null +++ b/programming/language/python/python-Pygments/actions.py @@ -0,0 +1,22 @@ +#!/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 pisitools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import get + +WorkDir="%s-%s" % (get.srcNAME().split("-")[1], get.srcVERSION()) + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + #pisitools.dohtml("docs/build/*") + #pisitools.insinto("/usr/share/doc/%s/src/" % get.srcNAME(),"docs/src/*") + pisitools.doman("doc/pygmentize.1") + diff --git a/programming/language/python/python-Pygments/pspec.xml b/programming/language/python/python-Pygments/pspec.xml new file mode 100755 index 00000000..851cbe9f --- /dev/null +++ b/programming/language/python/python-Pygments/pspec.xml @@ -0,0 +1,75 @@ + + + + + python-Pygments + http://pygments.org/ + + PisiLinux Community + admins@pisilinux.org + + BSD + library + A syntax highlighting package written in Python + python-Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. + https://files.pythonhosted.org/packages/7e/ae/26808275fc76bf2832deb10d3a3ed3107bc4de01b85dcccbe525f2cd6d1e/Pygments-2.4.2.tar.gz + + + + python-Pygments + + python-setuptools + + + /usr/bin + /usr/lib/python* + /usr/share/man + + + + + python-Pygments-docs + Documentation files for python-Pygments + + /usr/share/doc/python-Pygments + + + + + + 2019-10-03 + 2.4.2 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-08-15 + 2.2.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-25 + 2.2.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 1.6 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2013-12-07 + 1.6 + First release + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + diff --git a/programming/language/python/python-Pygments/translations.xml b/programming/language/python/python-Pygments/translations.xml new file mode 100755 index 00000000..edaadf41 --- /dev/null +++ b/programming/language/python/python-Pygments/translations.xml @@ -0,0 +1,13 @@ + + + + python-Pygments + Python dilinde yazılmış bir sözdizimi belirtme aracı + python-Pygments, kaynak kodunu güzelleştirmek ihtiyacı duyulan forum sistemleri, wikiler ve diğer uygulamalar gibi her çeşit yazılımda kullanılmak için yazılmış olan genel bir sözdizimi belirtme aracıdır. + + + + python-Pygments-docs + python-Pygments için belgelendirme dosyaları + + diff --git a/programming/language/python/python-imagesize/actions.py b/programming/language/python/python-imagesize/actions.py new file mode 100755 index 00000000..661334e1 --- /dev/null +++ b/programming/language/python/python-imagesize/actions.py @@ -0,0 +1,19 @@ +#!/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 pisitools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + pisitools.dodoc("LICENSE*", "README*") diff --git a/programming/language/python/python-imagesize/pspec.xml b/programming/language/python/python-imagesize/pspec.xml new file mode 100755 index 00000000..0027f339 --- /dev/null +++ b/programming/language/python/python-imagesize/pspec.xml @@ -0,0 +1,57 @@ + + + + + python-imagesize + https://github.com/shibukawa/imagesize_py + + PisiLinux Community + admins@pisilinux.org + + BSD + library + Getting image size from png/jpeg/jpeg2000/gif file. + This module analyzes jpeg/jpeg2000/png/gif image header and return image size. + https://files.pythonhosted.org/packages/41/f5/3cf63735d54aa9974e544aa25858d8f9670ac5b4da51020bbfc6aaade741/imagesize-1.1.0.tar.gz + + python-devel + python-setuptools + + + + + python-imagesize + + python-setuptools + + + /usr/bin + /usr/lib + /usr/share/doc + + + + + + 2019-10-03 + 1.1.0 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-08-15 + 1.0.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-29 + 0.7.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/language/python/python-imagesize/translations.xml b/programming/language/python/python-imagesize/translations.xml new file mode 100755 index 00000000..e42a92dd --- /dev/null +++ b/programming/language/python/python-imagesize/translations.xml @@ -0,0 +1,8 @@ + + + + python-imagesize + Png / jpeg / jpeg2000 / gif dosyasından görüntü boyutu elde etme. + Bu modül jpeg / jpeg2000 / png / gif resim başlığını ve dönüş resim boyutunu analiz eder. + + diff --git a/programming/language/python/python-pytz/actions.py b/programming/language/python/python-pytz/actions.py new file mode 100755 index 00000000..13d86cb3 --- /dev/null +++ b/programming/language/python/python-pytz/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/licenses/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import pythonmodules + +def setup(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + pisitools.dodoc("LICENSE.txt", "README.txt") diff --git a/programming/language/python/python-pytz/pspec.xml b/programming/language/python/python-pytz/pspec.xml new file mode 100755 index 00000000..fac167b0 --- /dev/null +++ b/programming/language/python/python-pytz/pspec.xml @@ -0,0 +1,57 @@ + + + + + python-pytz + http://pytz.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + MIT + ZPL + library + World Timezone Definitions for Python + python-pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python. It also solves the issue of ambiguous times at the end of daylight savings, which you can read more about in the Python Library Reference (datetime.tzinfo).Almost all (over 540) of the Olson timezones are supported. + https://files.pythonhosted.org/packages/27/c0/fbd352ca76050952a03db776d241959d5a2ee1abddfeb9e2a53fdb489be4/pytz-2019.2.tar.gz + + + + python-pytz + + /usr/lib + /usr/share/doc/python-pytz + + + + + + 2019-10-03 + 2019.2 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-05-15 + 2018.4 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2018-02-26 + 2018.3 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-29 + 2016.10 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/programming/language/python/python-pytz/translations.xml b/programming/language/python/python-pytz/translations.xml new file mode 100755 index 00000000..07463956 --- /dev/null +++ b/programming/language/python/python-pytz/translations.xml @@ -0,0 +1,8 @@ + + + + python-pytz + Python için Dünya Saat Dilimi(World Time Zone) tanımları + python-pytz, Olson tz veritabanını Python'a taşımaktadır. Bu kütüphane Python kullanarak doğru ve farklı platformlar üzerinde hesaplamalar yapmayı sağlar. Aynı zamanda gün ışığından kazanmak için saat ayarlama ile ilgili belirsizlikleri de çözmektedir. Bu konuda Python Library Reference (datetime.tzinfo) kısmında ayrıntılı bilgi bulabilirsiniz. 540'a yakın Olson zaman dilimi desteklenmektedir. + + diff --git a/programming/language/python/python-requests/actions.py b/programming/language/python/python-requests/actions.py new file mode 100755 index 00000000..5daac7d9 --- /dev/null +++ b/programming/language/python/python-requests/actions.py @@ -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() + +def install(): + pythonmodules.install() diff --git a/programming/language/python/python-requests/files/certs.patch b/programming/language/python/python-requests/files/certs.patch new file mode 100644 index 00000000..47a32f38 --- /dev/null +++ b/programming/language/python/python-requests/files/certs.patch @@ -0,0 +1,14 @@ +diff --git a/requests/certs.py b/requests/certs.py +index d1a378d7..4e0bffd4 100644 +--- a/requests/certs.py ++++ b/requests/certs.py +@@ -12,7 +12,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed + environment, you can change the definition of where() to return a separately + packaged CA bundle. + """ +-from certifi import where ++def where(): ++ return "/etc/ssl/certs/ca-certificates.crt" + + if __name__ == '__main__': + print(where()) diff --git a/programming/language/python/python-requests/files/dont-import-OrderedDict-from-urllib3.patch b/programming/language/python/python-requests/files/dont-import-OrderedDict-from-urllib3.patch new file mode 100755 index 00000000..d42d2e35 --- /dev/null +++ b/programming/language/python/python-requests/files/dont-import-OrderedDict-from-urllib3.patch @@ -0,0 +1,28 @@ +From 152550287d6538e5cc7649bcf685a5a0b35058dd Mon Sep 17 00:00:00 2001 +From: Jeremy Cline +Date: Tue, 12 Jun 2018 14:06:00 -0400 +Subject: [PATCH] Don't import OrderedDict from urllib3 + +We unbundle urllib3, just use collections (py2.7+) + +Signed-off-by: Jeremy Cline +--- + requests/compat.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/requests/compat.py b/requests/compat.py +index 6b9c6fac..6ba6e460 100644 +--- a/requests/compat.py ++++ b/requests/compat.py +@@ -45,7 +45,7 @@ if is_py2: + from StringIO import StringIO + from collections import Callable, Mapping, MutableMapping + +- from urllib3.packages.ordered_dict import OrderedDict ++ from collections import OrderedDict # py2.7+ + + builtin_str = str + bytes = str +-- +2.17.1 + diff --git a/programming/language/python/python-requests/files/patch-requests-certs.py-to-use-the-system-CA-bundle.patch b/programming/language/python/python-requests/files/patch-requests-certs.py-to-use-the-system-CA-bundle.patch new file mode 100755 index 00000000..21626f87 --- /dev/null +++ b/programming/language/python/python-requests/files/patch-requests-certs.py-to-use-the-system-CA-bundle.patch @@ -0,0 +1,49 @@ +rom fd9ab446d8479360d2c1c8252508d97d58ed3e0e Mon Sep 17 00:00:00 2001 +From: Jeremy Cline +Date: Mon, 19 Jun 2017 16:09:02 -0400 +Subject: [PATCH] Patch requests/certs.py to use the system CA bundle + +Signed-off-by: Jeremy Cline +--- + requests/certs.py | 11 ++++++++++- + setup.py | 1 - + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/requests/certs.py b/requests/certs.py +index d1a378d..7b103ba 100644 +--- a/requests/certs.py ++++ b/requests/certs.py +@@ -11,8 +11,17 @@ only one — the one from the certifi package. + If you are packaging Requests, e.g., for a Linux distribution or a managed + environment, you can change the definition of where() to return a separately + packaged CA bundle. ++ ++This Fedora-patched package returns "/etc/ssl/certs/ca-certificates.crt" provided ++by the ca-certificates RPM package. + """ +-from certifi import where ++try: ++ from certifi import where ++except ImportError: ++ def where(): ++ """Return the absolute path to the system CA bundle.""" ++ return '/etc/ssl/certs/ca-certificates.crt' ++ + + if __name__ == '__main__': + print(where()) +diff --git a/setup.py b/setup.py +index 93a8507..2db9569 100755 +--- a/setup.py ++++ b/setup.py +@@ -45,7 +45,6 @@ requires = [ + 'chardet>=3.0.2,<3.1.0', + 'idna>=2.5,<2.8', + 'urllib3>=1.21.1,<1.24', +- 'certifi>=2017.4.17' + + ] + test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0'] +-- +2.9.4 + diff --git a/programming/language/python/python-requests/pspec.xml b/programming/language/python/python-requests/pspec.xml new file mode 100755 index 00000000..2337684d --- /dev/null +++ b/programming/language/python/python-requests/pspec.xml @@ -0,0 +1,95 @@ + + + + + python-requests + http://www.python-requests.org/ + + Ergün Salman + ergunsalman@hotmail.com + + Requests is an Apache2 Licensed HTTP library, written in Python, for human beings. + Python’s standard urllib2 module provides most of the HTTP capabilities you need + MIT + https://files.pythonhosted.org/packages/01/62/ddcf76d1d19885e8579acb1b1df26a852b03472c0e46d2b959a714c90608/requests-2.22.0.tar.gz + + python-devel + python-setuptools + + + + + certs.patch + + + + + python-requests + + + /usr/lib + /usr/share/doc + + + + + + 2019-10-03 + 2.22.0 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-09-21 + 2.19.1 + Rebuild certifi. + Pisi Linux Community + admin@pisilinux.org + + + 2018-08-15 + 2.19.1 + Version Bump. + Pisi Linux Community + admin@pisilinux.org + + + 2017-09-04 + 2.13.0 + remove unneeded runtime dep. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2017-01-25 + 2.13.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 2.9.1 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-06 + 2.9.1 + Rebuild + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-05-08 + 2.9.1 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python/python-six/actions.py b/programming/language/python/python-six/actions.py new file mode 100755 index 00000000..2e91ef96 --- /dev/null +++ b/programming/language/python/python-six/actions.py @@ -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/copyleft/gpl.txt + +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import pisitools + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() diff --git a/programming/language/python/python-six/pspec.xml b/programming/language/python/python-six/pspec.xml new file mode 100755 index 00000000..d6b4b2a6 --- /dev/null +++ b/programming/language/python/python-six/pspec.xml @@ -0,0 +1,83 @@ + + + + + python-six + http://pypi.python.org/pypi/six/ + + Alihan Öztürk + alihan@pisilinux.org + + MIT + app:console + Python 2 and 3 compatibility utilities. + python-six provides simple utilities for wrapping over differences between Python 2 and Python 3. + https://pypi.io/packages/source/s/six/six-1.12.0.tar.gz + + python-devel + + + + python-six + + python + + + /usr/lib + /usr/share/doc + + + + + + + 2019-10-03 + 1.12.0 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-07-27 + 1.11.0 + Rebuild with new toolchain. + Pisi Linux Community + admin@pisilinux.org + + + 2018-01-29 + 1.11.0 + Version Bump. + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-25 + 1.10.0 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-10 + 1.9.0 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-06 + 1.9.0 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2016-05-08 + 1.9.0 + First release + Ertuğrul Erata + ertugrulerata@gmail.com + + + diff --git a/programming/language/python/python-six/translations.xml b/programming/language/python/python-six/translations.xml new file mode 100755 index 00000000..990f909a --- /dev/null +++ b/programming/language/python/python-six/translations.xml @@ -0,0 +1,7 @@ + + + python-six + Python2 ve python3 uyumluluk programı. + python-six, python2 ile python3 arasındaki farklılıkların aşılmasına yardımcı olan basit araçlar sağlar. + + diff --git a/programming/language/python/python-sphinx-alabaster-theme/actions.py b/programming/language/python/python-sphinx-alabaster-theme/actions.py new file mode 100755 index 00000000..661334e1 --- /dev/null +++ b/programming/language/python/python-sphinx-alabaster-theme/actions.py @@ -0,0 +1,19 @@ +#!/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 pisitools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + pisitools.dodoc("LICENSE*", "README*") diff --git a/programming/language/python/python-sphinx-alabaster-theme/pspec.xml b/programming/language/python/python-sphinx-alabaster-theme/pspec.xml new file mode 100755 index 00000000..95aafedd --- /dev/null +++ b/programming/language/python/python-sphinx-alabaster-theme/pspec.xml @@ -0,0 +1,64 @@ + + + + + python-sphinx-alabaster-theme + https://github.com/shibukawa/imagesize_py + + PisiLinux Community + admins@pisilinux.org + + BSD + library + Sphinx default theme. + Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx documentation system. It is Python 2+3 compatible. + https://github.com/bitprophet/alabaster/archive/0.7.12.tar.gz + + python-devel + python-setuptools + + + + + python-sphinx-alabaster-theme + + python-setuptools + + + /usr/bin + /usr/lib + /usr/share/doc + + + + + + 2019-10-03 + 0.7.12 + Version bump + idris Kalp + idriskalp@gmail.com + + + 2018-08-15 + 0.7.11 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2018-02-25 + 0.7.10 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2017-01-29 + 0.7.9 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/language/python/python-sphinx-alabaster-theme/translations.xml b/programming/language/python/python-sphinx-alabaster-theme/translations.xml new file mode 100755 index 00000000..f9370a09 --- /dev/null +++ b/programming/language/python/python-sphinx-alabaster-theme/translations.xml @@ -0,0 +1,8 @@ + + + + python-sphinx-alabaster-theme + Sphinx varsayılan teması. + Alabaster, Sphinx dokümantasyon sistemi için görsel (c) yalın, duyarlı, yapılandırılabilir bir temadır. Python 2 + 3 uyumludur. + + diff --git a/programming/language/python/python-sphinx/actions.py b/programming/language/python/python-sphinx/actions.py new file mode 100755 index 00000000..b9ca3a4a --- /dev/null +++ b/programming/language/python/python-sphinx/actions.py @@ -0,0 +1,28 @@ +#!/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 get + +#WorkDir = "Sphinx-%s" % get.srcVERSION() + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + # Generating the Grammar pickle to avoid on the fly generation causing sandbox violations + pythonmodules.run("-c \"from sphinx.pycode.pgen2.driver import load_grammar ; \ +load_grammar('%s/usr/lib/%s/site-packages/sphinx/pycode/Grammar-py2.txt')\"" %(get.installDIR(), get.curPYTHON(), ) ) + + # create sphinx documentation using itself + #pythonmodules.run("sphinx-build.py doc doc/_build/html") + #pisitools.dohtml("doc/_build/html/*") + + pisitools.dodoc("CHANGES", "EXAMPLES") + diff --git a/programming/language/python/python-sphinx/files/remove_docutils.patch b/programming/language/python/python-sphinx/files/remove_docutils.patch new file mode 100755 index 00000000..18ace796 --- /dev/null +++ b/programming/language/python/python-sphinx/files/remove_docutils.patch @@ -0,0 +1,12 @@ +diff -Nuar a/setup.py b/setup.py +--- a/setup.py 2014-01-19 18:46:09.000000000 +0200 ++++ b/setup.py 2014-02-27 01:54:23.829755482 +0200 +@@ -44,7 +44,7 @@ + `_. + ''' + +-requires = ['Pygments>=1.2', 'docutils>=0.7'] ++requires = ['Pygments>=1.2'] + + if sys.version_info[:3] >= (3, 3, 0): + requires[1] = 'docutils>=0.10' diff --git a/programming/language/python/python-sphinx/pspec.xml b/programming/language/python/python-sphinx/pspec.xml new file mode 100755 index 00000000..30e47e39 --- /dev/null +++ b/programming/language/python/python-sphinx/pspec.xml @@ -0,0 +1,91 @@ + + + + + python-sphinx + http://sphinx.pocoo.org + + PisiLinux Community + admins@pisilinux.org + + as-is + app:console + Python documentation generator. It can generate HTML or Latex outputs + It's a very common documentation generator especially using for python based documentation.It can generate HTML or PDF, Ps outputs with Latex output support. + https://files.pythonhosted.org/packages/8b/7e/b188d9a3b9c938e736e02a74c1363c2888e095d770df2c72b4c312f9fdcb/Sphinx-1.6.5.tar.gz + + docutils + python-six + python-requests + python-sphinx-alabaster-theme + python-Babel + python-imagesize + python-Pygments + python-Jinja2 + python-MarkupSafe + + + + + + + + python-sphinx + + docutils + python-Pygments + python-Jinja2 + + + /usr/bin + /usr/lib/python* + /usr/share/doc/python-sphinx/LICENSE + + + + + python-sphinx-docs + Documentation files for python-sphinx + + /usr/share/doc/python-sphinx + + + + + + 2019-10-03 + 1.6.5 + Rebuild + idris Kalp + idriskalp@gmail.com + + + 2018-09-22 + 1.6.5 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-29 + 1.5.2 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 1.3.1 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2015-07-27 + 1.3.1 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python/python-sphinx/translations.xml b/programming/language/python/python-sphinx/translations.xml new file mode 100755 index 00000000..ddcd1ea2 --- /dev/null +++ b/programming/language/python/python-sphinx/translations.xml @@ -0,0 +1,13 @@ + + + + python-sphinx + Python için döküman üreticisi. HTML, Latex gibi çıktılar üretebiliyor + Özellikle python için hazırlanan dökümanları yorumlamak için kullanılan yaygın bir döoküman üreticisi. Başta HTML olmak üzere Latex ile birlikte PDF, Ps gibi doküman çıktıları üretebiliyor. + + + + python-sphinx-docs + python-sphinx için belgelendirme dosyaları + + diff --git a/programming/language/python3/component.xml b/programming/language/python3/component.xml new file mode 100644 index 00000000..071f6104 --- /dev/null +++ b/programming/language/python3/component.xml @@ -0,0 +1,3 @@ + + programming.language.python3 +