[arch-commits] Commit in python-automat/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Aug 29 14:06:19 UTC 2022
Date: Monday, August 29, 2022 @ 14:06:19
Author: felixonmars
Revision: 454689
upgpkg: python-automat 20.2.0-10: drop dependency on m2r and add optdepends
Modified:
python-automat/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 10:45:48 UTC (rev 454688)
+++ PKGBUILD 2022-08-29 14:06:19 UTC (rev 454689)
@@ -2,19 +2,34 @@
pkgname=python-automat
pkgver=20.2.0
-pkgrel=9
+pkgrel=10
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')
-makedepends=('python-setuptools-scm' 'm2r')
+makedepends=('python-setuptools-scm' 'python-wheel')
checkdepends=('python-pytest' 'python-twisted' 'python-graphviz')
-source=("https://github.com/glyph/automat/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('ccba3e82f589fedb1f83dfb37a6a42b51a78d8c3e6fea22c9518135ff194f5f70e2f9c5f0eab50b6e116dae92c94754aac8dbf0e670a59015c916991736b4076')
+optdepends=('python-graphviz: for automat-visualize'
+ 'python-twisted: for automat-visualize')
+source=("https://github.com/glyph/automat/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+ $pkgname-setup-modernize-1.patch::https://github.com/glyph/automat/commit/0b740ea1b1f7e9532175db23193edfb3e83f49a6.patch
+ $pkgname-setup-modernize-2.patch::https://github.com/glyph/automat/commit/1a687e23fef2895c8acf2f012d77a0f598d28642.patch
+ $pkgname-setup-modernize-3.patch::https://github.com/glyph/automat/commit/2562fa4ddeba5b5945d9482baa4c26a414f5e831.patch)
+sha512sums=('ccba3e82f589fedb1f83dfb37a6a42b51a78d8c3e6fea22c9518135ff194f5f70e2f9c5f0eab50b6e116dae92c94754aac8dbf0e670a59015c916991736b4076'
+ '913c5aad41af2d3c248bebff30c78b055a9b15514546dc157172d8d393a13425fe8fc60e5ec20c41304e932a7fa86d1c908a84027086db49d10b8a9ed2a106bd'
+ '4485c482ff204a5dd064be3d62705c7b1af5fa2bcd1f2ad53ee5dabfed5d1f44ac0a9178b84faad27a179cf7bd813925ddb89b7288df608ec94ada790b0bf020'
+ 'ad2f101c48031e9587f78ade804880e5465b1199021c855cdf52faafa06eb8d83416eaf802eeb4731fcdddde4b0baa4869cfa2c5a2a07958d59f853600b6aa3d')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+prepare() {
+ cd automat-$pkgver
+ patch -p1 -i ../$pkgname-setup-modernize-1.patch
+ patch -p1 -i ../$pkgname-setup-modernize-2.patch
+ patch -p1 -i ../$pkgname-setup-modernize-3.patch
+}
+
build() {
cd automat-$pkgver
python setup.py build
More information about the arch-commits
mailing list