30 lines
803 B
Bash
30 lines
803 B
Bash
# Template file for 'python-utils'
|
|
pkgname=python-utils
|
|
version=2.4.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="python-utils-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six"
|
|
short_desc="Convenient utilities not included with the standard Python2 install"
|
|
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=870b415913b380a76efa2efb1e99b174305b2a1fb4eab61a13ecc4307eccfd62
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-utils_package() {
|
|
archs=noarch
|
|
depends="python3-six"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|