Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-fluidity
Commits:
3b392e48 by Felix Yan at 2026-02-10T16:26:47+08:00
upgpkg: 0.2.1-8
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = python-fluidity
pkgdesc = Fluidity: state machine implementation for Python objects
pkgver = 0.2.1
- pkgrel = 7
+ pkgrel = 8
url = https://github.com/nsi-iff/fluidity
arch = any
license = MIT
checkdepends = python-should-dsl
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
depends = python
- source =
https://github.com/nsi-iff/fluidity/archive/468627ea13ed4c3043dc67ccc1ff16089fdb7b25/python-fluidity-468627ea13ed4c3043dc67ccc1ff16089fdb7b25.tar.gz
- sha512sums =
9c80fb3480fe4167247374f4fb8f1d8d8b77cb7d485d26518485b06b628d70f7bf0d538c4b6a08bf071bccff3082c7266e446d1682984a60e447c0d090b0f899
+ source =
git+https://github.com/nsi-iff/fluidity.git#commit=468627ea13ed4c3043dc67ccc1ff16089fdb7b25
+ sha512sums =
2ff7c490c0503fd9019afe176e97524b2644d5d6b05be4a0dc49c3455212e4bf3f1bd4caa6206b4bf068fedabe7f83514d3baedcb0189449dee77074315792ef
pkgname = python-fluidity
=====================================
PKGBUILD
=====================================
@@ -3,24 +3,24 @@
pkgname=python-fluidity
pkgver=0.2.1
_commit=468627ea13ed4c3043dc67ccc1ff16089fdb7b25
-pkgrel=7
+pkgrel=8
pkgdesc="Fluidity: state machine implementation for Python objects"
url="https://github.com/nsi-iff/fluidity"
license=('MIT')
arch=('any')
depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-should-dsl')
-source=("https://github.com/nsi-iff/fluidity/archive/$_commit/$pkgname-$_commit.tar.gz")
-sha512sums=('9c80fb3480fe4167247374f4fb8f1d8d8b77cb7d485d26518485b06b628d70f7bf0d538c4b6a08bf071bccff3082c7266e446d1682984a60e447c0d090b0f899')
+source=("git+https://github.com/nsi-iff/fluidity.git#commit=$_commit")
+sha512sums=('2ff7c490c0503fd9019afe176e97524b2644d5d6b05be4a0dc49c3455212e4bf3f1bd4caa6206b4bf068fedabe7f83514d3baedcb0189449dee77074315792ef')
build() {
- cd fluidity-$_commit
+ cd fluidity
python -m build --wheel --no-isolation
}
check() {
- cd fluidity-$_commit
+ cd fluidity
(
export PYTHONPATH="$PWD"
# Copied from https://github.com/nsi-iff/fluidity/blob/master/tox.ini
@@ -40,8 +40,7 @@ check() {
}
package() {
- cd fluidity-$_commit
+ cd fluidity
python -m installer --destdir="$pkgdir" dist/*.whl
-
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fluidity/-/commit/3b392e489bd2fa98ab2a4d8b82e4d1902e6029ce
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fluidity/-/commit/3b392e489bd2fa98ab2a4d8b82e4d1902e6029ce
You're receiving this email because of your account on gitlab.archlinux.org.