[arch-commits] Commit in python-cairocffi/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 18:30:03 UTC 2020
Date: Monday, November 9, 2020 @ 18:30:02
Author: foutrelis
Revision: 748016
archrelease: copy trunk to community-staging-any
Added:
python-cairocffi/repos/community-staging-any/
python-cairocffi/repos/community-staging-any/PKGBUILD
(from rev 748014, python-cairocffi/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-cairocffi/repos/community-staging-any/PKGBUILD (from rev 748014, python-cairocffi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 18:30:02 UTC (rev 748016)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Marti Raudsepp <marti at juffo.org>
+# Contributor: Florijan Hamzic <florijanh at gmail.com>
+
+pkgname=python-cairocffi
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo."
+arch=('any')
+url="https://cairocffi.readthedocs.io/"
+license=('BSD')
+depends=('python-cffi' 'cairo' 'python-xcffib')
+makedepends=('python-setuptools' 'gdk-pixbuf2')
+checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-pytest-flake8'
+ 'python-pytest-isort' 'python-numpy')
+optdepends=('gdk-pixbuf2: for cairocffi.pixbuf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/cairocffi/archive/v${pkgver}.tar.gz")
+sha512sums=('06741670d0e10be6d762fa4d85c8dfb4d26827f5e2c5863ca6301ea3feeacb52bb0f2c86fcf095894f99523a22624142e05ce6035ad07ec07555b18a38f7a79f')
+
+
+build() {
+ cd cairocffi-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd cairocffi-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd cairocffi-$pkgver
+ python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list