[arch-commits] Commit in python-kiwisolver/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue May 12 19:54:34 UTC 2020
Date: Tuesday, May 12, 2020 @ 19:54:34
Author: jelle
Revision: 627218
upgpkg: python-kiwisolver 1.1.0-4
Remove unused python2 module
Modified:
python-kiwisolver/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++-------------------------
1 file changed, 6 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-12 19:43:36 UTC (rev 627217)
+++ PKGBUILD 2020-05-12 19:54:34 UTC (rev 627218)
@@ -1,48 +1,29 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgbase=python-kiwisolver
-pkgname=(python-kiwisolver python2-kiwisolver)
+pkgname=python-kiwisolver
pkgver=1.1.0
-pkgrel=3
+pkgrel=4
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')
+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')
-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')
-
+package() {
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
-}
More information about the arch-commits
mailing list