2020-09-20 14:10:53 +00:00
|
|
|
# Template file for 'python3-natsort'
|
|
|
|
pkgname=python3-natsort
|
|
|
|
version=6.0.0
|
2020-10-07 13:55:51 +00:00
|
|
|
revision=4
|
2020-09-20 14:10:53 +00:00
|
|
|
wrksrc="natsort-${version}"
|
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools"
|
|
|
|
depends="python3-setuptools"
|
|
|
|
checkdepends="python3-pytest-mock python3-hypothesis"
|
|
|
|
short_desc="Simple yet flexible natural sorting in Python3"
|
|
|
|
maintainer="Michal Koutenský <koutak.m@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/SethMMorton/natsort"
|
|
|
|
distfiles="${PYPI_SITE}/n/natsort/natsort-${version}.tar.gz"
|
|
|
|
checksum=ff3effb5618232866de8d26e5af4081a4daa9bb0dfed49ac65170e28e45f2776
|
|
|
|
conflicts="python-natsort>=0"
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
python3 -m pytest
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|