31 lines
881 B
Bash
31 lines
881 B
Bash
# Template file for 'python-utils'
|
|
pkgname=python-utils
|
|
version=2.2.0
|
|
revision=1
|
|
build_style=python-module
|
|
wrksrc="python-utils-${version}"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
depends="python-six"
|
|
pycompile_module="python_utils"
|
|
short_desc="Convenient utilities not included with the standard Python install "
|
|
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
|
license="3-Clause-BSD"
|
|
homepage="https://github.com/WoLpH/python-utils"
|
|
distfiles="https://github.com/WoLpH/python-utils/archive/v${version}.tar.gz"
|
|
checksum=5ee886412312adf91756be6b69090fb21fe55c0305910d5459c954430cdd1acc
|
|
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-utils_package() {
|
|
depends="python3-six"
|
|
pycompile_module="python_utils"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|