31 lines
863 B
Bash
31 lines
863 B
Bash
# Template file for 'python-utils'
|
|
pkgname=python-utils
|
|
version=2.3.0
|
|
revision=2
|
|
noarch=yes
|
|
build_style=python-module
|
|
wrksrc="python-utils-${version}"
|
|
pycompile_module="python_utils"
|
|
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=7c1fe42afda087be7afc9145d3914ee51779a1560bf5cc070f06bca5d0879a1f
|
|
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-utils_package() {
|
|
noarch=yes
|
|
depends="python3-six"
|
|
pycompile_module="python_utils"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|