Date: Saturday, December 3, 2022 @ 22:31:55
  Author: arojas
Revision: 462978

archrelease: copy trunk to extra-x86_64

Added:
  python-cairo/repos/extra-x86_64/PKGBUILD
    (from rev 462977, python-cairo/trunk/PKGBUILD)
  python-cairo/repos/extra-x86_64/keys/
Deleted:
  python-cairo/repos/extra-x86_64/PKGBUILD
  python-cairo/repos/extra-x86_64/keys/

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 36 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-03 22:31:41 UTC (rev 462977)
+++ PKGBUILD    2022-12-03 22:31:55 UTC (rev 462978)
@@ -1,32 +0,0 @@
-# Maintainer: Angel Velasquez <[email protected]>  
-# Maintainer: Jan de Groot <[email protected]>
-
-pkgname=python-cairo
-pkgver=1.23.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=(meson)
-checkdepends=(python-pytest)
-source=(https://github.com/pygobject/pycairo/releases/download/v$pkgver/pycairo-$pkgver.tar.gz{,.sig})
-sha256sums=('9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c'
-            'SKIP')
-validpgpkeys=(0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC) # Christoph Reiter 
<[email protected]>
-
-build() {
-  meson build pycairo-$pkgver \
-    --prefix=/usr
-  meson compile -C build
-}
-
-check() {
-  cd build
-  pytest -v
-}
-
-package() {
-  meson install -C build --destdir="$pkgdir"
-}

Copied: python-cairo/repos/extra-x86_64/PKGBUILD (from rev 462977, 
python-cairo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-03 22:31:55 UTC (rev 462978)
@@ -0,0 +1,36 @@
+# Maintainer: Angel Velasquez <[email protected]>  
+# Maintainer: Jan de Groot <[email protected]>
+
+pkgname=python-cairo
+pkgver=1.23.0
+pkgrel=2
+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=(meson)
+checkdepends=(python-pytest)
+source=(https://github.com/pygobject/pycairo/releases/download/v$pkgver/pycairo-$pkgver.tar.gz{,.sig})
+sha256sums=('9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c'
+            'SKIP')
+validpgpkeys=(0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC) # Christoph Reiter 
<[email protected]>
+
+build() {
+  meson build pycairo-$pkgver \
+    --prefix=/usr
+  meson compile -C build
+}
+
+check() {
+  cd build
+  pytest -v
+}
+
+package() {
+  meson install -C build --destdir="$pkgdir"
+
+  # compile Python bytecode
+  python -m compileall -d / "$pkgdir"/usr/lib
+  python -O -m compileall -d / "$pkgdir"/usr/lib
+}

Reply via email to