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
@@ -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>