Date: Saturday, October 29, 2022 @ 18:04:29
  Author: felixonmars
Revision: 459540

upgpkg: python-automat 22.10.0-1

Modified:
  python-automat/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++-------------------
 1 file changed, 6 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-29 17:40:04 UTC (rev 459539)
+++ PKGBUILD    2022-10-29 18:04:29 UTC (rev 459540)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-automat
-pkgver=20.2.0
-pkgrel=10
+pkgver=22.10.0
+pkgrel=1
 arch=('any')
 license=('MIT')
 pkgdesc="Self-service finite-state machines for the programmer on the go."
@@ -9,27 +9,14 @@
 url="https://github.com/glyph/automat";
 depends=('python-attrs' 'python-six')
 makedepends=('python-setuptools-scm' 'python-wheel')
-checkdepends=('python-pytest' 'python-twisted' 'python-graphviz')
+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";
-        
$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')
+source=("https://github.com/glyph/automat/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('16caea66a8621b7d50e68e94007085218ec40ae0f57599d5076ed1915d4a2ebabd2da66659ba70acb9c6d30bc354bcd6126f913af0c0a005db305ca0c203481d')
 
 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
@@ -37,7 +24,7 @@
 
 check() {
   cd automat-$pkgver
-  python -m pytest --deselect benchmark
+  pytest
 }
 
 package() {

Reply via email to