From bb0e10411a3ad1c65b1bf90c5a3ede61072803d5 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:26:45 +0300 Subject: [PATCH 01/18] mpdecimal move to core --- .../language/python3/mpdecimal/actions.py | 20 +++++++ .../language/python3/mpdecimal/pspec.xml | 57 +++++++++++++++++++ .../python3/mpdecimal/translations.xml | 15 +++++ 3 files changed, 92 insertions(+) create mode 100644 programming/language/python3/mpdecimal/actions.py create mode 100644 programming/language/python3/mpdecimal/pspec.xml create mode 100644 programming/language/python3/mpdecimal/translations.xml diff --git a/programming/language/python3/mpdecimal/actions.py b/programming/language/python3/mpdecimal/actions.py new file mode 100644 index 00000000..c1955007 --- /dev/null +++ b/programming/language/python3/mpdecimal/actions.py @@ -0,0 +1,20 @@ +#!/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 pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--prefix=/usr/") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall('DESTDIR=%s' % get.installDIR()) + + pisitools.dodoc("LICENSE.txt", "README.txt") \ No newline at end of file diff --git a/programming/language/python3/mpdecimal/pspec.xml b/programming/language/python3/mpdecimal/pspec.xml new file mode 100644 index 00000000..5e09935a --- /dev/null +++ b/programming/language/python3/mpdecimal/pspec.xml @@ -0,0 +1,57 @@ + + + + + mpdecimal + http://www.bytereef.org/mpdecimal/index.html + + Kamil Atlı + suvari@pisilinux.org + + custom + app:console + Package for correctly-rounded arbitrary precision decimal floating point arithmetic + mpdecimal is a package for correctly-rounded arbitrary precision decimal floating point arithmetic. + http://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.4.2.tar.gz + + glibc-devel + + + + + mpdecimal + + /usr/lib + /usr/share/doc + + + + + mpdecimal-devel + Development files for mpdecimal + + mpdecimal + + + /usr/lib/pkgconfig + /usr/include + + + + + + 2018-07-31 + 2.4.2 + First release + Kamil Atlı + suvari@pisilinux.org + + + 2018-01-31 + 2.4.2 + First release + Kamil Atlı + suvari@pisilinux.org + + + diff --git a/programming/language/python3/mpdecimal/translations.xml b/programming/language/python3/mpdecimal/translations.xml new file mode 100644 index 00000000..9c7b6615 --- /dev/null +++ b/programming/language/python3/mpdecimal/translations.xml @@ -0,0 +1,15 @@ + + + + mpdecimal + Package for correctly-rounded arbitrary precision decimal floating point arithmetic + Degiskenler icin karsilaştirma islemini yapan bir modul + mpdecimal is a package for correctly-rounded arbitrary precision decimal floating point arithmetic. + + + + mpdecimal-devel + Development files for mpdecimal + mpdecimal için geliştirme dosyaları + + \ No newline at end of file From c309a5486b79053ebcf8c16a6e50a53c8f4268bd Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:27:09 +0300 Subject: [PATCH 02/18] python3-packaging move to core --- .../python3/python3-packaging/actions.py | 17 ++++++ .../python3/python3-packaging/pspec.xml | 55 +++++++++++++++++++ .../python3-packaging/translations.xml | 7 +++ 3 files changed, 79 insertions(+) create mode 100644 programming/language/python3/python3-packaging/actions.py create mode 100644 programming/language/python3/python3-packaging/pspec.xml create mode 100644 programming/language/python3/python3-packaging/translations.xml diff --git a/programming/language/python3/python3-packaging/actions.py b/programming/language/python3/python3-packaging/actions.py new file mode 100644 index 00000000..477128ff --- /dev/null +++ b/programming/language/python3/python3-packaging/actions.py @@ -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*") diff --git a/programming/language/python3/python3-packaging/pspec.xml b/programming/language/python3/python3-packaging/pspec.xml new file mode 100644 index 00000000..cbdf52f4 --- /dev/null +++ b/programming/language/python3/python3-packaging/pspec.xml @@ -0,0 +1,55 @@ + + + + + python3-packaging + http://pypi.python.org/pypi/six/ + + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + Apache + app:console + Core utilities for Python packages + Core utilities for Python packages + https://github.com/pypa/packaging/archive/19.2.tar.gz + + python3-devel + + + + + python3-packaging + + python3 + + + /usr/lib + /usr/share/doc + + + + + + 2019-12-10 + 19.2 + Version bump + Idris Kalp + idriskalp@gmail.com + + + 2018-08-30 + 16.8 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + + + 2017-02-01 + 16.8 + First Release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python3/python3-packaging/translations.xml b/programming/language/python3/python3-packaging/translations.xml new file mode 100644 index 00000000..97abbd2c --- /dev/null +++ b/programming/language/python3/python3-packaging/translations.xml @@ -0,0 +1,7 @@ + + + python3-six + Python3 paketleri için çekirdek uygulama. + Python3 paketleri için çekirdek uygulama. + + From add8fb2034e80919af2928b7c5ca8927eb66fc47 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:27:35 +0300 Subject: [PATCH 03/18] python3-setuptools move to core --- .../python3/python3-setuptools/actions.py | 22 ++++ .../python3/python3-setuptools/pspec.xml | 111 ++++++++++++++++++ .../python3-setuptools/translations.xml | 8 ++ 3 files changed, 141 insertions(+) create mode 100644 programming/language/python3/python3-setuptools/actions.py create mode 100644 programming/language/python3/python3-setuptools/pspec.xml create mode 100644 programming/language/python3/python3-setuptools/translations.xml diff --git a/programming/language/python3/python3-setuptools/actions.py b/programming/language/python3/python3-setuptools/actions.py new file mode 100644 index 00000000..ed8ed302 --- /dev/null +++ b/programming/language/python3/python3-setuptools/actions.py @@ -0,0 +1,22 @@ +# -*- 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 +from pisi.actionsapi import shelltools + +WorkDir="setuptools-%s" % get.srcVERSION() + + +def install(): + pisitools.dosed("setuptools/command/easy_install.py", "env python", "env python3") + + pythonmodules.run("bootstrap.py", pyVer="3") + pythonmodules.install(pyVer = "3") + pisitools.rename("/usr/bin/easy_install", "py3easy-install") + + #avoid python-setuptools conflict + #pisitools.removeDir("/usr/share") diff --git a/programming/language/python3/python3-setuptools/pspec.xml b/programming/language/python3/python3-setuptools/pspec.xml new file mode 100644 index 00000000..94bb5996 --- /dev/null +++ b/programming/language/python3/python3-setuptools/pspec.xml @@ -0,0 +1,111 @@ + + + + + python3-setuptools + http://pypi.python.org/pypi/setuptools + + PisiLinux Community + admins@pisilinux.org + + PSF-2.2 + library + Python setuptools + python-setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. + https://github.com/pypa/setuptools/archive/v42.0.2.tar.gz + + python3-devel + + python3-packaging + + + + + python3-setuptools + + /usr/bin + /usr/lib/python3* + /usr/share/doc + + + + + + 2019-12-10 + 42.0.2 + Version Bump + Idris Kalp + idriskalp@gmail.com + + + 2019-04-09 + 40.6.3 + Version Bump + Mustafa Cinasl + muscnsl@gmail.com + + + 2018-08-05 + 39.2.0 + Version Bump + Mustafa Cinasl + muscnsl@gmail.com + + + 2018-01-24 + 38.2.5 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2017-02-01 + 32.1.3 + Version bump. + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-06-09 + 19.6.1 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-06 + 19.6.1 + Release bump. + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2016-05-26 + 19.6.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2016-05-26 + 19.6.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2016-05-26 + 19.6.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2016-05-26 + 19.6.1 + First release. + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/programming/language/python3/python3-setuptools/translations.xml b/programming/language/python3/python3-setuptools/translations.xml new file mode 100644 index 00000000..c6ed4100 --- /dev/null +++ b/programming/language/python3/python3-setuptools/translations.xml @@ -0,0 +1,8 @@ + + + + python-setuptools + Python kurulum araçları + python-setuptools, Python distutils'e yapılan, özellikle başka paketlere bağımlılığı olan Python paketlerini daha kolay oluşturmaya ve dağıtmaya yarayan iyileştirmeler koleksiyonudur. + + From 83edd48aa339dc6c61a3f16425f03a46aef4214a Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:27:49 +0300 Subject: [PATCH 04/18] component.xml add --- programming/language/python3/component.xml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 programming/language/python3/component.xml 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 + From 2dda25348b82747ed550a3bb8408e6ecd4187a24 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:28:33 +0300 Subject: [PATCH 05/18] meson move to core --- system/devel/meson/actions.py | 23 +++++ system/devel/meson/files/212a05b8.patch | 91 ++++++++++++++++++++ system/devel/meson/files/fix-tests.patch | 24 ++++++ system/devel/meson/pspec.xml | 105 +++++++++++++++++++++++ system/devel/meson/translations.xml | 8 ++ 5 files changed, 251 insertions(+) create mode 100755 system/devel/meson/actions.py create mode 100644 system/devel/meson/files/212a05b8.patch create mode 100644 system/devel/meson/files/fix-tests.patch create mode 100755 system/devel/meson/pspec.xml create mode 100755 system/devel/meson/translations.xml diff --git a/system/devel/meson/actions.py b/system/devel/meson/actions.py new file mode 100755 index 00000000..834470cc --- /dev/null +++ b/system/devel/meson/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/env 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 shelltools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + pythonmodules.compile(pyVer="3") + +def install(): + pythonmodules.install(pyVer="3") + + pisitools.insinto("/usr/share/vim/vimfiles", "data/syntax-highlighting/vim/*") + pisitools.insinto("/usr/share/emacs/site-lisp", "data/syntax-highlighting/emacs/*") + pisitools.insinto("/usr/share/zsh/site-functions", "data/shell-completions/zsh/*") + pisitools.remove("/usr/share/vim/vimfiles/README") + + pisitools.dodoc("COPYING", "README*") diff --git a/system/devel/meson/files/212a05b8.patch b/system/devel/meson/files/212a05b8.patch new file mode 100644 index 00000000..d78775dd --- /dev/null +++ b/system/devel/meson/files/212a05b8.patch @@ -0,0 +1,91 @@ +From 212a05b87ed34f921dfd07142305389dbfa9bb7d Mon Sep 17 00:00:00 2001 +From: Xavier Claessens +Date: Fri, 11 Oct 2019 11:01:22 -0400 +Subject: [PATCH] Remove duplicated object files in static libraries + +When a static library link_whole to a bunch of other static libraries, +we have to extract all their objects recursively. But that could +introduce duplicated objects. ar is dumb enough to allow this without +error, but once the resulting static library is linked into an +executable or shared library, the linker will complain about duplicated +symbols. +--- + mesonbuild/backend/backends.py | 3 ++- + test cases/unit/69 static link/lib/func17.c | 4 ++++ + test cases/unit/69 static link/lib/func18.c | 6 ++++++ + test cases/unit/69 static link/lib/func19.c | 7 +++++++ + test cases/unit/69 static link/lib/meson.build | 12 ++++++++++++ + 5 files changed, 31 insertions(+), 1 deletion(-) + create mode 100644 test cases/unit/69 static link/lib/func17.c + create mode 100644 test cases/unit/69 static link/lib/func18.c + create mode 100644 test cases/unit/69 static link/lib/func19.c + +diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py +index 947be1cbef..e54809657f 100644 +--- a/mesonbuild/backend/backends.py ++++ b/mesonbuild/backend/backends.py +@@ -281,7 +281,8 @@ def relpath(self, todir, fromdir): + os.path.join('dummyprefixdir', fromdir)) + + def flatten_object_list(self, target, proj_dir_to_build_root=''): +- return self._flatten_object_list(target, target.get_objects(), proj_dir_to_build_root) ++ obj_list = self._flatten_object_list(target, target.get_objects(), proj_dir_to_build_root) ++ return list(dict.fromkeys(obj_list)) + + def _flatten_object_list(self, target, objects, proj_dir_to_build_root): + obj_list = [] +diff --git a/test cases/unit/69 static link/lib/func17.c b/test cases/unit/69 static link/lib/func17.c +new file mode 100644 +index 0000000000..d1d8ec498c +--- /dev/null ++++ b/test cases/unit/69 static link/lib/func17.c +@@ -0,0 +1,4 @@ ++int func17() ++{ ++ return 1; ++} +diff --git a/test cases/unit/69 static link/lib/func18.c b/test cases/unit/69 static link/lib/func18.c +new file mode 100644 +index 0000000000..c149085ba4 +--- /dev/null ++++ b/test cases/unit/69 static link/lib/func18.c +@@ -0,0 +1,6 @@ ++int func17(); ++ ++int func18() ++{ ++ return func17() + 1; ++} +diff --git a/test cases/unit/69 static link/lib/func19.c b/test cases/unit/69 static link/lib/func19.c +new file mode 100644 +index 0000000000..69120e4bf8 +--- /dev/null ++++ b/test cases/unit/69 static link/lib/func19.c +@@ -0,0 +1,7 @@ ++int func17(); ++int func18(); ++ ++int func19() ++{ ++ return func17() + func18(); ++} +diff --git a/test cases/unit/69 static link/lib/meson.build b/test cases/unit/69 static link/lib/meson.build +index 5f04aab6a1..8f95fc4546 100644 +--- a/test cases/unit/69 static link/lib/meson.build ++++ b/test cases/unit/69 static link/lib/meson.build +@@ -66,3 +66,15 @@ libfunc15 = static_library('func15', 'func15.c', + libfunc16 = static_library('func16', 'func16.c', + link_with : libfunc15, + install : true) ++ ++# Verify func17.c.o gets included only once into libfunc19, otherwise ++# func19-shared would failed with duplicated symbol. ++libfunc17 = static_library('func17', 'func17.c', ++ install : false) ++libfunc18 = static_library('func18', 'func18.c', ++ link_with : libfunc17, ++ install : false) ++libfunc19 = static_library('func19', 'func19.c', ++ link_whole : [libfunc17, libfunc18], ++ install : false) ++shared_library('func19-shared', link_whole : [libfunc19]) diff --git a/system/devel/meson/files/fix-tests.patch b/system/devel/meson/files/fix-tests.patch new file mode 100644 index 00000000..60845e3f --- /dev/null +++ b/system/devel/meson/files/fix-tests.patch @@ -0,0 +1,24 @@ +diff -Nuar "a/test cases/frameworks/15 llvm/meson.build" "b/test cases/frameworks/15 llvm/meson.build" +--- "a/test cases/frameworks/15 llvm/meson.build" 2017-10-08 22:22:05.000000000 +0300 ++++ "b/test cases/frameworks/15 llvm/meson.build" 2017-12-07 18:31:23.786683687 +0300 +@@ -17,5 +17,5 @@ + llvm_dep, + dependency('zlib'), + meson.get_compiler('c').find_library('dl', required : false), +- dependency('tinfo'), ++ dependency('ncursesw'), + ]) +diff -Nuar "a/test cases/frameworks/4 qt/meson.build" "b/test cases/frameworks/4 qt/meson.build" +--- "a/test cases/frameworks/4 qt/meson.build" 2017-10-08 21:47:57.000000000 +0300 ++++ "b/test cases/frameworks/4 qt/meson.build" 2017-12-07 18:33:49.091673203 +0300 +@@ -77,8 +77,9 @@ + moc_headers : 'plugin/plugin.h', + include_directories : plugin_includes + ) +- plugin = library('plugin', 'plugin/plugin.cpp', pluginpreprocess, ++ plugin = library(qt + 'plugin', 'plugin/plugin.cpp', pluginpreprocess, + include_directories : plugin_includes, + dependencies : qtcore) ++ endif + endif + endforeach diff --git a/system/devel/meson/pspec.xml b/system/devel/meson/pspec.xml new file mode 100755 index 00000000..40402d92 --- /dev/null +++ b/system/devel/meson/pspec.xml @@ -0,0 +1,105 @@ + + + + + meson + http://mesonbuild.com/ + + PisiLinux Community + admins@pisilinux.org + + Apache + app:console + High productivity build system + Yüksek verimli üretme sistemi + https://github.com/mesonbuild/meson/releases/download/0.52.1/meson-0.52.1.tar.gz + + python3-devel + python3-setuptools + + + 212a05b8.patch + + + + meson + + python3-setuptools + python3 + ninja + + + /usr/bin + /usr/lib + /usr/share + /usr/share/man + /usr/share/vim + /usr/share/doc + + + + + 2019-12.10 + 0.52.1 + Version bump. + Idris Kalp + idriskalp@gmail.com + + + 2019-11-17 + 0.52.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-10-06 + 0.51.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2018-11-09 + 0.48.2 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + + + 2018-07-31 + 0.47.0 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + + + 2018-05-13 + 0.46.0 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + + + 2018-04-08 + 0.45.1 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + + + 2018-02-22 + 0.44.1 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + + + 2017-12-07 + 0.43.0 + First release. + PisiLinux Community + admins@pisilinux.org + + + diff --git a/system/devel/meson/translations.xml b/system/devel/meson/translations.xml new file mode 100755 index 00000000..aa3ba686 --- /dev/null +++ b/system/devel/meson/translations.xml @@ -0,0 +1,8 @@ + + + + meson + High productivity build system + Yüksek verimli üretme sistemi + + From 2410ebdc91610cc0172ecd7bfa1122cd6ebab3e3 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:28:56 +0300 Subject: [PATCH 06/18] component.xml add --- programming/language/component.xml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 programming/language/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 + From a185d79d7d1a8e82119c1f09275045d81294c276 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:29:26 +0300 Subject: [PATCH 07/18] python-pytz move to core --- .../language/python/python-pytz/actions.py | 16 ++++++ .../language/python/python-pytz/pspec.xml | 57 +++++++++++++++++++ .../python/python-pytz/translations.xml | 8 +++ 3 files changed, 81 insertions(+) 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 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. + + From 7a5fd9c12e8ae33f869c0cd505dfb533c3a6c05a Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:30:13 +0300 Subject: [PATCH 08/18] python-Babel move to core --- .../language/python/python-Babel/actions.py | 28 ++++++++ .../language/python/python-Babel/pspec.xml | 67 +++++++++++++++++++ .../python/python-Babel/translations.xml | 8 +++ 3 files changed, 103 insertions(+) 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 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ü. + + From ba9dde345132866b9dd4348066687d0e6973676b Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:30:40 +0300 Subject: [PATCH 09/18] python-six mpve to core --- .../language/python/python-six/actions.py | 14 ++++ .../language/python/python-six/pspec.xml | 83 +++++++++++++++++++ .../python/python-six/translations.xml | 7 ++ 3 files changed, 104 insertions(+) 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 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. + + From 2f4530c9fc45c75fbe55c627577895befa09749b Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:30:58 +0300 Subject: [PATCH 10/18] python-imagesize move to core --- .../python/python-imagesize/actions.py | 19 +++++++ .../python/python-imagesize/pspec.xml | 57 +++++++++++++++++++ .../python/python-imagesize/translations.xml | 8 +++ 3 files changed, 84 insertions(+) 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 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. + + From f60fa2697edfc9969012feb1d5727d8ed0bf7b05 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:31:22 +0300 Subject: [PATCH 11/18] python-MarkupSafe move to core --- .../python/python-MarkupSafe/actions.py | 23 ++++++ .../python/python-MarkupSafe/pspec.xml | 73 +++++++++++++++++++ .../python/python-MarkupSafe/translations.xml | 8 ++ 3 files changed, 104 insertions(+) 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 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. + + From cc55f789bcda320735f82e8f138f7bcd22d4175c Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:31:42 +0300 Subject: [PATCH 12/18] python-Jinja2 move to core --- .../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 +++ 4 files changed, 144 insertions(+) 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 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ı + + From 0165bfc3cc0c45edc6b41a0ae05964700578a37b Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:32:04 +0300 Subject: [PATCH 13/18] python-Pygments move to core --- .../python/python-Pygments/actions.py | 22 ++++++ .../language/python/python-Pygments/pspec.xml | 75 +++++++++++++++++++ .../python/python-Pygments/translations.xml | 13 ++++ 3 files changed, 110 insertions(+) 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 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ı + + From 93683a8963ff36995b30c644cf2c6a3dcda0c6ba Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:32:25 +0300 Subject: [PATCH 14/18] python-requests move to core --- .../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 +++++++++++++++++++ 5 files changed, 200 insertions(+) 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 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 + + + From 4e5399aa8eff2a820212ab95a6315c5dfdd02036 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:33:07 +0300 Subject: [PATCH 15/18] python-sphinx move to core --- .../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 +++ 4 files changed, 144 insertions(+) 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 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ı + + From 6fc4d6ccd4270e6ca976f7514226930a2478d999 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:33:22 +0300 Subject: [PATCH 16/18] python-sphinx-alabaster-theme move to core --- .../python-sphinx-alabaster-theme/actions.py | 19 ++++++ .../python-sphinx-alabaster-theme/pspec.xml | 64 +++++++++++++++++++ .../translations.xml | 8 +++ 3 files changed, 91 insertions(+) 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 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. + + From e1361d48f365da112e15a0f85f8a9a895ee81c78 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:33:40 +0300 Subject: [PATCH 17/18] component.xml add --- programming/language/python/component.xml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 programming/language/python/component.xml 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 + From 63f89ea6af0fc14884cbb77c70c71465c535a862 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Tue, 10 Dec 2019 19:34:26 +0300 Subject: [PATCH 18/18] glibc fix --- system/base/glibc/actions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/system/base/glibc/actions.py b/system/base/glibc/actions.py index fd518fca..b83549bf 100644 --- a/system/base/glibc/actions.py +++ b/system/base/glibc/actions.py @@ -34,7 +34,6 @@ ldconf32bit = """/lib32 """ def setup(): - shelltools.system("gcc --version") shelltools.export("LANGUAGE","C") shelltools.export("LANG","C") shelltools.export("LC_ALL","C")