[arch-commits] Commit in python-kiwisolver/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 19:53:43 UTC 2020


    Date: Monday, November 9, 2020 @ 19:53:43
  Author: felixonmars
Revision: 748110

archrelease: copy trunk to community-staging-x86_64

Added:
  python-kiwisolver/repos/community-staging-x86_64/
  python-kiwisolver/repos/community-staging-x86_64/PKGBUILD
    (from rev 748108, python-kiwisolver/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-kiwisolver/repos/community-staging-x86_64/PKGBUILD (from rev 748108, python-kiwisolver/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 19:53:43 UTC (rev 748110)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-kiwisolver
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="A fast implementation of the Cassowary constraint solver"
+url="https://github.com/nucleic/kiwi"
+license=('PerlArtistic')
+arch=('x86_64')
+depends=('python')
+makedepends=('python-cppy' 'python-pip')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nucleic/kiwi/archive/$pkgver.tar.gz")
+sha512sums=('0f5c1e516c334d358b8679313035dd45386381965853005271c73e3f4421fb27e3ca5a43b4f2dc85d693f4151427dae9b34d372fe72fcc1a186abd85a54a225a')
+
+build() {
+  cd kiwi-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd kiwi-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd kiwi-$pkgver/
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list