python-utils: update to 2.4.0.

This commit is contained in:
Karl Nilsson 2020-03-03 17:08:11 -05:00 committed by Piraty
parent 0ae76e23c2
commit d66ea71ed8

View file

@ -1,11 +1,10 @@
# Template file for 'python-utils'
pkgname=python-utils
version=2.3.0
revision=3
version=2.4.0
revision=1
archs=noarch
build_style=python-module
wrksrc="python-utils-${version}"
pycompile_module="python_utils"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
short_desc="Convenient utilities not included with the standard Python2 install"
@ -13,16 +12,15 @@ maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/WoLpH/python-utils"
distfiles="https://github.com/WoLpH/python-utils/archive/v${version}.tar.gz"
checksum=7c1fe42afda087be7afc9145d3914ee51779a1560bf5cc070f06bca5d0879a1f
checksum=870b415913b380a76efa2efb1e99b174305b2a1fb4eab61a13ecc4307eccfd62
pkg_install() {
post_install() {
vlicense LICENSE
}
python3-utils_package() {
archs=noarch
depends="python3-six"
pycompile_module="python_utils"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*