python3-automat: deleted redundant dependency and fixed build

This commit is contained in:
Tim Biermann 2022-06-29 18:07:43 +02:00
parent 62f95d9e35
commit db8cfc4925
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39qs3iL5lJI7ETSWdTdszBUyVH337LUS1MJaMhwtfEF8sZafzQH/5QovM9ujcJBG7WCvl6Kdxi8Vh7LQNnpBsQA=
SHA256 (Pkgfile) = 8cb5349fbabed564afb14eeeb042b5f896e5bd810eb8bfda694f19ddeef4a27d
RWSagIOpLGJF31h1D4upwqUiQ3Q65+jnolUZ3PfraDppucQYXQGKlFW1Tnz80aijB/MCk/4QGlfIP+iPuAS8y7W9XhxEzU18fgY=
SHA256 (Pkgfile) = bab923124b294ebce3996593a3e248be5b5f2a83a018476cf3be2fbfe5fc543d
SHA256 (.footprint) = 5de9617b1a349a093e60a2d0aabb995ac66e1877f55acc7c46cab46bc822a4f9
SHA256 (Automat-20.2.0.tar.gz) = 7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33

View File

@ -1,7 +1,7 @@
# Description: Self-service finite-state machines for the programmer on the go.
# URL: https://pypi.python.org/pypi/automat
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-attrs python3-m2r python3-setuptools-scm python3-pip
# Depends on: python3-attrs python3-m2r python3-setuptools-scm
name=python3-automat
_name=python3-Automat
@ -11,6 +11,9 @@ source=(https://files.pythonhosted.org/packages/source/${_name:8:1}/${_name#*-}/
build() {
cd ${_name#*-}-$version
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1