python-itsdangerous: ignore pre-releases, drop noarch

This commit is contained in:
Andrew J. Hesford 2020-09-09 22:58:26 -04:00
parent 35b2d84dce
commit d2f15b4061
2 changed files with 2 additions and 3 deletions

View file

@ -1,8 +1,7 @@
# Template file for 'python-itsdangerous' # Template file for 'python-itsdangerous'
pkgname=python-itsdangerous pkgname=python-itsdangerous
version=1.1.0 version=1.1.0
revision=1 revision=2
archs=noarch
wrksrc="${pkgname#*-}-${version}" wrksrc="${pkgname#*-}-${version}"
build_style=python-module build_style=python-module
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
@ -20,7 +19,6 @@ post_install() {
} }
python3-itsdangerous_package() { python3-itsdangerous_package() {
archs=noarch
depends="python3" depends="python3"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {

View file

@ -0,0 +1 @@
pattern="itsdangerous-\K[0-9.]+(?=.tar.gz)"