[arch-commits] Commit in python-cairo/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Mar 12 21:34:17 UTC 2022
Date: Saturday, March 12, 2022 @ 21:34:17
Author: arojas
Revision: 439482
archrelease: copy trunk to extra-x86_64
Added:
python-cairo/repos/extra-x86_64/PKGBUILD
(from rev 439481, python-cairo/trunk/PKGBUILD)
Deleted:
python-cairo/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 62 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 32 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-12 21:34:08 UTC (rev 439481)
+++ PKGBUILD 2022-03-12 21:34:17 UTC (rev 439482)
@@ -1,30 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=python-cairo
-pkgver=1.20.1
-pkgrel=3
-pkgdesc="Python bindings for the cairo graphics library"
-arch=('x86_64')
-url="https://pycairo.readthedocs.io/en/latest/"
-license=('LGPL2.1' 'MPL')
-depends=(cairo python)
-makedepends=(git)
-_commit=320b22711fcc55b0158c156e2aab19a2df0c2898
-source=("git+https://github.com/pygobject/pycairo/#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd pycairo
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-build() {
- cd pycairo
- python setup.py build
-}
-
-package() {
- cd pycairo
- python setup.py install --skip-build --root="${pkgdir}" --optimize='1'
-}
Copied: python-cairo/repos/extra-x86_64/PKGBUILD (from rev 439481, python-cairo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-12 21:34:17 UTC (rev 439482)
@@ -0,0 +1,32 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=python-cairo
+pkgver=1.21.0
+pkgrel=1
+pkgdesc="Python bindings for the cairo graphics library"
+arch=('x86_64')
+url="https://pycairo.readthedocs.io/en/latest/"
+license=('LGPL2.1' 'MPL')
+depends=(cairo python)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+source=(https://github.com/pygobject/pycairo/releases/download/v$pkgver/pycairo-$pkgver.tar.gz{,.sig})
+sha256sums=('251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b'
+ 'SKIP')
+validpgpkeys=(0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC) # Christoph Reiter <reiter.christoph at gmail.com>
+
+build() {
+ cd pycairo-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pycairo-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd pycairo-$pkgver
+ python setup.py install --root="$pkgdir" --skip-build --optimize=1
+}
More information about the arch-commits
mailing list