From beab843d83748647feb18b548407c7365dfbdc76 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 26 Jan 2023 00:46:01 +0300 Subject: [PATCH 1/5] pybind11. --- multimedia/misc/pybind11/actions.py | 24 +++++++++++--------- multimedia/misc/pybind11/pspec.xml | 35 +++++++++++++++++++++-------- 2 files changed, 40 insertions(+), 19 deletions(-) diff --git a/multimedia/misc/pybind11/actions.py b/multimedia/misc/pybind11/actions.py index 1db063b5e7..8d684a620d 100644 --- a/multimedia/misc/pybind11/actions.py +++ b/multimedia/misc/pybind11/actions.py @@ -1,20 +1,24 @@ -#!/usr/bin/env python +#!/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 +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import cmaketools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import pythonmodules, cmaketools + +j = ''.join([ + ' -DPYBIND11_FINDPYTHON=ON', + ' -DUSE_PYTHON_INCLUDE_DIR=OFF', + ' -B_build -L ' + ]) def setup(): - cmaketools.configure() + cmaketools.configure(j) def build(): - cmaketools.make() + cmaketools.make("-C _build") + pythonmodules.compile(pyVer = "3") def install(): - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodoc("LICENSE") + cmaketools.install("-C _build") + pythonmodules.install(pyVer = "3") diff --git a/multimedia/misc/pybind11/pspec.xml b/multimedia/misc/pybind11/pspec.xml index 2039ef52df..8f318ffbb0 100644 --- a/multimedia/misc/pybind11/pspec.xml +++ b/multimedia/misc/pybind11/pspec.xml @@ -1,5 +1,5 @@ - + pybind11 @@ -12,33 +12,50 @@ app Seamless operability between C++11 and Python Seamless operability between C++11 and Python - https://github.com/pybind/pybind11/archive/v2.6.2.tar.gz + + + https://github.com/pybind/pybind11/archive/refs/tags/v2.10.3.tar.gz + cmake boost-devel python3-devel + + python3-setuptools - python3-pytest + python3-importlib_metadata - - --> pybind11 + - /usr/include - /usr/share + /usr/include/pybind11 + /usr/share/cmake/pybind11 + /usr/share/pkgconfig/pybind11.pc + /usr/bin/pybind11-config + /usr/lib/python3.9/site-packages/pybind11/include + /usr/lib/python3.9 + /usr/lib/python3.9/site-packages/pybind11/share/cmake + /usr/lib/python3.9/site-packages/pybind11/share/pkgconfig + /usr/share/doc/pybind11 + + 2023-01-26 + 2.10.3 + Version bump. + fury + uglyside@yandex.ru + 2021-03-10 2.6.2 From caa1411c79e49adf9ffb004277ce1f51da660c53 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 26 Jan 2023 00:47:24 +0300 Subject: [PATCH 2/5] add py3 contourpy. --- .../python3/python3-contourpy/actions.py | 16 ++++++ .../python3/python3-contourpy/pspec.xml | 53 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 programming/language/python3/python3-contourpy/actions.py create mode 100644 programming/language/python3/python3-contourpy/pspec.xml diff --git a/programming/language/python3/python3-contourpy/actions.py b/programming/language/python3/python3-contourpy/actions.py new file mode 100644 index 0000000000..4b0a017f14 --- /dev/null +++ b/programming/language/python3/python3-contourpy/actions.py @@ -0,0 +1,16 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import pythonmodules + +def setup(): + pass + +def build(): + pythonmodules.compile(pyVer = "3") + +def install(): + pythonmodules.install(pyVer = "3") diff --git a/programming/language/python3/python3-contourpy/pspec.xml b/programming/language/python3/python3-contourpy/pspec.xml new file mode 100644 index 0000000000..4223e5524f --- /dev/null +++ b/programming/language/python3/python3-contourpy/pspec.xml @@ -0,0 +1,53 @@ + + + + + python3-contourpy + https://github.com/contourpy/contourpy + + fury + uglyside@yandex.ru + + BSD-3-Clause + library + programming.language.python3 + Python library for calculating contours in 2D quadrilateral grids. + + ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11. + + + https://files.pythonhosted.org/packages/source/c/contourpy/contourpy-1.0.7.tar.gz + + + pybind11 + python3-devel + python3-setuptools + python3-importlib_metadata + + + + + + + + python3-contourpy + + python3 + + + /usr/bin + /usr/lib/python3.9 + /usr/share + + + + + + 2023-01-26 + 1.0.7 + First build. + fury + uglyside@yandex.ru + + + From 610131e070c9c6231b27ffa607e1fae2c8dd0247 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 26 Jan 2023 00:48:08 +0300 Subject: [PATCH 3/5] add py3 fonttools. --- .../python3/python3-fonttools/actions.py | 18 ++++++ .../python3/python3-fonttools/pspec.xml | 55 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 programming/language/python3/python3-fonttools/actions.py create mode 100644 programming/language/python3/python3-fonttools/pspec.xml diff --git a/programming/language/python3/python3-fonttools/actions.py b/programming/language/python3/python3-fonttools/actions.py new file mode 100644 index 0000000000..a8c7e9168a --- /dev/null +++ b/programming/language/python3/python3-fonttools/actions.py @@ -0,0 +1,18 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import pythonmodules, pisitools + +def setup(): + pass + +def build(): + pythonmodules.compile(pyVer = "3") + +def install(): + pythonmodules.install(pyVer = "3") + + pisitools.dodoc("NEWS.rst") diff --git a/programming/language/python3/python3-fonttools/pspec.xml b/programming/language/python3/python3-fonttools/pspec.xml new file mode 100644 index 0000000000..d2aedbffbe --- /dev/null +++ b/programming/language/python3/python3-fonttools/pspec.xml @@ -0,0 +1,55 @@ + + + + + python3-fonttools + https://github.com/fonttools/fonttools + + fury + uglyside@yandex.ru + + MIT + library + programming.language.python3 + A library to manipulate font files from Python. + + The project includes the TTX tool, that can convert TrueType and OpenType fonts to and from an XML text format, which is also called TTX. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats. + + + https://github.com/fonttools/fonttools/archive/refs/tags/4.38.0.tar.gz + + + cython3 + python3-devel + python3-setuptools + python3-importlib_metadata + + + + + + + + python3-fonttools + + python3 + python3-importlib_metadata + + + /usr/bin + /usr/lib/python3.9 + /usr/share/man/man1 + /usr/share/doc + + + + + + 2023-01-26 + 4.38.0 + First build. + fury + uglyside@yandex.ru + + + From fbef7841233a27a707c0d24a35e9e5b400845d41 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 26 Jan 2023 00:49:40 +0300 Subject: [PATCH 4/5] matplotlib version bump. --- .../python3/python3-matplotlib/actions.py | 13 ++++++------- .../python3/python3-matplotlib/pspec.xml | 18 ++++++++++++++++-- .../python3-matplotlib/translations.xml | 2 +- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/programming/language/python3/python3-matplotlib/actions.py b/programming/language/python3/python3-matplotlib/actions.py index 74ddb2af39..6616b69a9f 100644 --- a/programming/language/python3/python3-matplotlib/actions.py +++ b/programming/language/python3/python3-matplotlib/actions.py @@ -2,23 +2,22 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import get -from pisi.actionsapi import pisitools -from pisi.actionsapi import shelltools -from pisi.actionsapi import pythonmodules +from pisi.actionsapi import pythonmodules, shelltools, pisitools def setup(): + pass # dodoc method cannot move LICENSE named dir, so i delete the directory shelltools.unlinkDir("LICENSE") + pisitools.dosed("setupext.py", "LICENSE", deleteLine = True) def build(): # suppress compiler warnings: pisitools.cflags.add("-Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-stringop-truncation -Wno-unused-function") # fix unused direct dependency analysis shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -lbz2") - pythonmodules.compile(pyVer="3") + pythonmodules.compile(pyVer = "3") def install(): - pythonmodules.install(pyVer="3") \ No newline at end of file + pythonmodules.install(pyVer = "3") diff --git a/programming/language/python3/python3-matplotlib/pspec.xml b/programming/language/python3/python3-matplotlib/pspec.xml index fd84346eaf..be1293797c 100644 --- a/programming/language/python3/python3-matplotlib/pspec.xml +++ b/programming/language/python3/python3-matplotlib/pspec.xml @@ -1,5 +1,5 @@ - + python3-matplotlib @@ -13,9 +13,12 @@ library matplotlib: plotting with Python. Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. - https://github.com/matplotlib/matplotlib/archive/v3.3.1.tar.gz + + https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-3.6.3.tar.gz + pip3 + python3-wheel python3-devel python3-numpy freetype-devel @@ -32,7 +35,11 @@ freetype python3-numpy python3-cycler + python3-pillow python3-dateutil + python3-fonttools + python3-contourpy + python3-packaging python3-pyparsing python3-kiwisolver @@ -43,6 +50,13 @@ + + 2023-01-26 + 3.6.3 + Version bump. + fury + uglyside@yandex.ru + 2023-01-23 3.3.1 diff --git a/programming/language/python3/python3-matplotlib/translations.xml b/programming/language/python3/python3-matplotlib/translations.xml index 08fe1522cc..cffb65473d 100644 --- a/programming/language/python3/python3-matplotlib/translations.xml +++ b/programming/language/python3/python3-matplotlib/translations.xml @@ -5,4 +5,4 @@ matplotlib: python grafik çizim kitaplığı. python3-matplotlib, python ile hareketli, durağan ve etkileşimli çizgeler yapılmasını sağlayan kapsamlı bir python kitaplığı sunar. - \ No newline at end of file + From 8cf9a6a25934bd1ba905a68ba197acf3fc59511c Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 26 Jan 2023 00:55:41 +0300 Subject: [PATCH 5/5] no pass. --- programming/language/python3/python3-matplotlib/actions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/programming/language/python3/python3-matplotlib/actions.py b/programming/language/python3/python3-matplotlib/actions.py index 6616b69a9f..ff8d1cee5b 100644 --- a/programming/language/python3/python3-matplotlib/actions.py +++ b/programming/language/python3/python3-matplotlib/actions.py @@ -7,7 +7,6 @@ from pisi.actionsapi import pythonmodules, shelltools, pisitools def setup(): - pass # dodoc method cannot move LICENSE named dir, so i delete the directory shelltools.unlinkDir("LICENSE") pisitools.dosed("setupext.py", "LICENSE", deleteLine = True)