* update python-automat to 22.10.0-5

This commit is contained in:
Alexander Baldeck 2024-06-25 22:48:11 +02:00
parent 33ef4d3751
commit a1fb1d0b96
2 changed files with 35 additions and 4 deletions

View File

@ -3,21 +3,29 @@
pkgname=python-automat
pkgver=22.10.0
pkgrel=4
pkgrel=5
arch=(any)
license=('MIT')
pkgdesc="Self-service finite-state machines for the programmer on the go."
url="https://github.com/glyph/automat"
depends=('python-attrs' 'python-six')
depends=('python-attrs')
makedepends=('python-setuptools-scm' 'python-wheel')
checkdepends=('python-pytest-benchmark' 'python-twisted' 'python-graphviz')
optdepends=('python-graphviz: for automat-visualize'
'python-twisted: for automat-visualize')
source=("https://github.com/glyph/automat/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('16caea66a8621b7d50e68e94007085218ec40ae0f57599d5076ed1915d4a2ebabd2da66659ba70acb9c6d30bc354bcd6126f913af0c0a005db305ca0c203481d')
source=("https://github.com/glyph/automat/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
"stop-requiring-six.patch")
sha512sums=('16caea66a8621b7d50e68e94007085218ec40ae0f57599d5076ed1915d4a2ebabd2da66659ba70acb9c6d30bc354bcd6126f913af0c0a005db305ca0c203481d'
'df960351c65cb067899f60c55fce284f65d61b06b35df699cdc75da22107b33753049f9307ff3dcba28e517fe8d6259a82489905b8e5562974b59e01b88acbad')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
prepare() {
# https://github.com/glyph/automat/pull/149
cd automat-$pkgver
patch -Np1 -i ${srcdir}/stop-requiring-six.patch
}
build() {
cd automat-$pkgver
python setup.py build

View File

@ -0,0 +1,23 @@
From aa15c14df22f342c9d324170df8b9d926b08dc52 Mon Sep 17 00:00:00 2001
From: Chris Mayo <aklhfex@gmail.com>
Date: Mon, 31 Oct 2022 19:20:53 +0000
Subject: [PATCH] Stop requiring six
Not used since:
ff3ecd5 ("start attempting to fix ci", 2022-06-11)
---
setup.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/setup.py b/setup.py
index c2f9816..13b3ec9 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,6 @@
],
install_requires=[
"attrs>=19.2.0",
- "six",
],
extras_require={
"visualize": ["graphviz>0.5.1",