[arch-commits] Commit in (6 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Mar 29 07:15:16 UTC 2022
Date: Tuesday, March 29, 2022 @ 07:15:16
Author: arojas
Revision: 1177517
New jupyterlab-server checkdepends
Added:
python-openapi-core/
python-openapi-core/repos/
python-openapi-core/repos/community-x86_64/
python-openapi-core/repos/community-x86_64/PKGBUILD
python-openapi-core/trunk/
python-openapi-core/trunk/PKGBUILD
---------------------------------+
repos/community-x86_64/PKGBUILD | 26 ++++++++++++++++++++++++++
trunk/PKGBUILD | 31 +++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
Added: python-openapi-core/repos/community-x86_64/PKGBUILD
===================================================================
--- python-openapi-core/repos/community-x86_64/PKGBUILD (rev 0)
+++ python-openapi-core/repos/community-x86_64/PKGBUILD 2022-03-29 07:15:16 UTC (rev 1177517)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Fredrick Brennan <copypaste at kittens.ph>
+# Contributor: Stephan Eisvogel <eisvogel at embinet dot de>
+
+pkgname=python-pikepdf
+pkgver=5.1.0
+pkgrel=1
+pkgdesc='Read and write PDFs with Python, powered by qpdf'
+arch=(x86_64)
+url='https://github.com/pikepdf/pikepdf'
+license=(MPL2)
+makedepends=(pybind11 python-build python-installer python-wheel python-toml python-setuptools-scm-git-archive)
+depends=(python-lxml python-pillow qpdf)
+source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
+sha256sums=('559b3d502cc1a6813cbcb0766b0797fec034303f8f9b0734cf938fb1734e2b74')
+
+build() {
+ cd pikepdf-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd pikepdf-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}
Added: python-openapi-core/trunk/PKGBUILD
===================================================================
--- python-openapi-core/trunk/PKGBUILD (rev 0)
+++ python-openapi-core/trunk/PKGBUILD 2022-03-29 07:15:16 UTC (rev 1177517)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-openapi-core
+_pipname=openapi-core
+pkgver=0.14.2
+pkgrel=1
+pkgdesc='Client-side and server-side support for the OpenAPI Specification v3'
+arch=(any)
+url='https://github.com/p1c2u/openapi-core'
+license=(BSD)
+depends=(python-openapi-spec-validator python-dictpath python-werkzeug)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest-cov python-pytest-flake8 python-requests)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('62ad93c8114ce6025f25b004ff0f3674eea8bc4ae920c726e98921fdbe41b4f3')
+
+build() {
+ cd $_pipname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_pipname-$pkgver
+ pytest -vv
+}
+
+package() {
+ cd $_pipname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list