new packages: python3-pikepdf, img2pdf, pdfarranger

This commit is contained in:
suvari
2024-08-14 20:32:23 +03:00
parent bd57b04d39
commit b47032be04
13 changed files with 422660 additions and 420948 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/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
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
+53
View File
@@ -0,0 +1,53 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>img2pdf</Name>
<Homepage>https://gitlab.mister-muffin.de/josch/img2pdf</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPL3</License>
<Icon>img2pdf</Icon>
<Summary>Losslessly convert raster images to PDF</Summary>
<Description>Lossless conversion of raster images to PDF. You should use img2pdf if your priorities are (in this order): always lossless, small, fast.</Description>
<Archive sha1sum="50e6af775c985495482665ed933d42c507327828" type="targz">https://gitlab.mister-muffin.de/josch/img2pdf/archive/0.5.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-wheel</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>img2pdf.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>img2pdf</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency>python3-pillow</Dependency>
<Dependency>python3-pikepdf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/python3*/site-packages</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-08-14</Date>
<Version>0.5.1</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>img2pdf</Name>
<Summary xml:lang="tr">Raster görüntüleri kayıpsız bir şekilde PDF'ye dönüştürün</Summary>
<Description xml:lang="tr">Raster görüntülerin PDF'ye kayıpsız dönüştürülmesi. Öncelikleriniz (bu sırayla) ise img2pdf kullanmalısınız: her zaman kayıpsız, küçük, hızlı.</Description>
</Source>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
#!/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
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
+81
View File
@@ -0,0 +1,81 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>pdfarranger</Name>
<Homepage>https://github.com/pdfarranger/pdfarranger</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>MPL-2.0</License>
<Icon>pdfarranger</Icon>
<Summary>Helps merge or split PDF documents and rotate, crop and rearrange pages</Summary>
<Description>PDF Arranger is a small python-gtk application, which helps the user to merge or split PDF documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface. It is a front end for pikepdf.</Description>
<Archive sha1sum="f60857d66d3a500398248a70f32e59c581ad4f61" type="targz">https://github.com/pdfarranger/pdfarranger/archive/refs/tags/1.11.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-wheel</Dependency>
<Dependency>libhandy-devel</Dependency>
<Dependency>python3-dateutil</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-packaging</Dependency>
<Dependency>poppler-glib-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-cairo-devel</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>pdfarranger.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>pdfarranger</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>img2pdf</Dependency>
<Dependency>gettext</Dependency>
<Dependency>python3</Dependency>
<Dependency>libhandy</Dependency>
<Dependency>ghostscript</Dependency>
<Dependency>python3-lxml</Dependency>
<Dependency>python3-cairo</Dependency>
<Dependency>python3-pillow</Dependency>
<Dependency>python3-pikepdf</Dependency>
<Dependency>python3-dateutil</Dependency>
<Dependency>python3-packaging</Dependency>
<Dependency>python3-pygobject3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/pdfarranger</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/metainfo</Path>
<Path fileType="library">/usr/lib/python3*/site-packages</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-08-14</Date>
<Version>1.11.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>pdfarranger</Name>
<Summary xml:lang="tr">PDF belgelerini birleştirmeye veya bölmeye, sayfaları döndürmeye, kırpmaya ve yeniden düzenlemeye yardımcı olur.</Summary>
<Description xml:lang="tr">PDF Arranger, kullanıcının PDF belgelerini birleştirmesine veya bölmesine ve sayfalarını etkileşimli ve sezgisel bir grafiksel arayüz kullanarak döndürmesine, kırpmasına ve yeniden düzenlemesine yardımcı olan küçük bir python-gtk uygulamasıdır. Pikepdf için bir ön uçtur.</Description>
</Source>
</PISI>
+422390 -420946
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
7396355e4da678d6b0fdee833737902f43be2a47
46d7a98eb3d7e09e7402885b98bbaa5cab5d3722
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
9a0d171dd176aaf9d8ecd5182fb5a6e8906dd048
4a8620869794749cb1df17a91c0fd4b247797f64
@@ -0,0 +1,19 @@
#!/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
shelltools.system("python3 -m build")
def install():
shelltools.system("PIP_CONFIG_FILE=/dev/null pip3 install --isolated --root=%s --ignore-installed --no-deps dist/*.whl" % get.installDIR())
# pisitools.dodoc("README*", "LICENSE*")
@@ -0,0 +1,65 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-pikepdf</Name>
<Homepage>https://pikepdf.readthedocs.io/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>MPL-2.0</License>
<Icon>pikepdf</Icon>
<Summary>A Python library for reading and writing PDF, powered by QPDF</Summary>
<Description>pikepdf is a Python library allowing creation, manipulation and repair of PDFs. It provides a Pythonic wrapper around the C++ PDF content transformation library, QPDF.</Description>
<Archive sha1sum="0f702f52dacf0e7cdcfd3e059c66ec733e99660d" type="targz">https://github.com/pikepdf/pikepdf/archive/refs/tags/v9.1.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>gcc</Dependency>
<Dependency>pip3</Dependency>
<Dependency>pybind11</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>qpdf-devel</Dependency>
<Dependency>python3-toml</Dependency>
<Dependency>python3-lxml</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-wheel</Dependency>
<Dependency>python3-pillow</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-packaging</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>python3-pikepdf.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>python3-pikepdf</Name>
<RuntimeDependencies>
<Dependency>qpdf</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
<Dependency>python3-lxml</Dependency>
<Dependency>python3-packaging</Dependency>
<Dependency>python3-pillow</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*/site-packages/pikepdf*</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-08-14</Date>
<Version>9.1.1</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-pikepdf</Name>
<Summary xml:lang="tr">QPDF destekli, PDF okuma ve yazma için bir Python kütüphanesi.</Summary>
<Description xml:lang="tr">pikepdf, PDF'lerin oluşturulmasına, işlenmesine ve onarılmasına olanak tanıyan bir Python kütüphanesidir. C++ PDF içerik dönüştürme kütüphanesi QPDF etrafında bir Pythonik sarmalayıcı sağlar.</Description>
</Source>
</PISI>