Date: Tuesday, January 31, 2023 @ 19:51:29
Author: felixonmars
Revision: 1391491
archrelease: copy trunk to community-x86_64
Added:
python-kiwisolver/repos/community-x86_64/PKGBUILD
(from rev 1391490, python-kiwisolver/trunk/PKGBUILD)
Deleted:
python-kiwisolver/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 19:51:14 UTC (rev 1391490)
+++ PKGBUILD 2023-01-31 19:51:29 UTC (rev 1391491)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-kiwisolver
-pkgver=1.4.4
-pkgrel=1
-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-setuptools-scm' 'python-wheel')
-checkdepends=('python-pytest-runner')
-source=("https://github.com/nucleic/kiwi/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('9a7ed487bb28f8c430543dc21ea59156078c129fd29b1382f1578368e72f312f4e813eb4501e4c9387647b42b085b93d4bd27d0e846f1396fa4ce68fd9e9ba5f')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd kiwi-$pkgver
- python setup.py build
-}
-
-check() {
- cd kiwi-$pkgver
- PYTHONPATH="$PWD"/py \
- python setup.py pytest
-}
-
-package() {
- cd kiwi-$pkgver
- python3 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-kiwisolver/repos/community-x86_64/PKGBUILD (from rev 1391490,
python-kiwisolver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 19:51:29 UTC (rev 1391491)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-kiwisolver
+pkgver=1.4.4
+_commit=55205cebe20fdd02dfdf15fe7fbc23a2c486997d
+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=('git' 'python-cppy' 'python-setuptools-scm' 'python-wheel')
+checkdepends=('python-pytest-runner')
+source=("git+https://github.com/nucleic/kiwi.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd kiwi
+ python setup.py build
+}
+
+check() {
+ cd kiwi
+ PYTHONPATH="$PWD"/py \
+ python setup.py pytest
+}
+
+package() {
+ cd kiwi
+ python setup.py install --root="$pkgdir" --optimize=1
+}