[arch-commits] Commit in python-kiwisolver/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue May 12 19:54:44 UTC 2020


    Date: Tuesday, May 12, 2020 @ 19:54:43
  Author: jelle
Revision: 627219

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 19:54:34 UTC (rev 627218)
+++ PKGBUILD	2020-05-12 19:54:43 UTC (rev 627219)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-kiwisolver
-pkgname=(python-kiwisolver python2-kiwisolver)
-pkgver=1.1.0
-pkgrel=3
-pkgdesc="A fast implementation of the Cassowary constraint solver"
-url="https://github.com/nucleic/kiwi"
-license=('PerlArtistic')
-arch=('x86_64')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/nucleic/kiwi/archive/$pkgver.tar.gz")
-sha512sums=('e26a951fdba2fb221effe7ed785010d5795695b30e19fb67a30dc2ac883ee21b1daec967ad89734309c101513cd17bb5971118591270f402b8d46098178aff25')
-
-prepare() {
-  cp -a kiwi-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/kiwi-$pkgver/
-  python setup.py build
-
-  cd "$srcdir"/kiwi-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/kiwi-$pkgver/
-  python setup.py pytest
-
-  cd "$srcdir"/kiwi-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-kiwisolver() {
-  depends=('python-setuptools')
-
-  cd kiwi-$pkgver/
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-kiwisolver() {
-  depends=('python2-setuptools')
-
-  cd kiwi-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-kiwisolver/repos/community-x86_64/PKGBUILD (from rev 627218, python-kiwisolver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 19:54:43 UTC (rev 627219)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-kiwisolver
+pkgver=1.1.0
+pkgrel=4
+pkgdesc="A fast implementation of the Cassowary constraint solver"
+url="https://github.com/nucleic/kiwi"
+license=('PerlArtistic')
+arch=('x86_64')
+depends=('python-setuptools')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/nucleic/kiwi/archive/$pkgver.tar.gz")
+sha512sums=('e26a951fdba2fb221effe7ed785010d5795695b30e19fb67a30dc2ac883ee21b1daec967ad89734309c101513cd17bb5971118591270f402b8d46098178aff25')
+
+build() {
+  cd "$srcdir"/kiwi-$pkgver/
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/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