2019-12-20 17:54:50 +00:00
|
|
|
# Template file for 'python3-jaraco.functools'
|
|
|
|
pkgname=python3-jaraco.functools
|
2020-04-29 16:38:08 +00:00
|
|
|
version=3.0.1
|
2019-12-20 17:54:50 +00:00
|
|
|
revision=1
|
|
|
|
archs=noarch
|
|
|
|
wrksrc="jaraco.functools-${version}"
|
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools"
|
|
|
|
depends="python3-more-itertools python3-jaraco"
|
2020-04-29 16:38:08 +00:00
|
|
|
checkdepends="${depends} python3-pytest python3-jaraco.classes"
|
2019-12-20 17:54:50 +00:00
|
|
|
short_desc="Functools like those found in stdlib (Python3)"
|
|
|
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/jaraco/jaraco.functools"
|
|
|
|
changelog="https://raw.githubusercontent.com/jaraco/jaraco.functools/master/CHANGES.rst"
|
|
|
|
distfiles="${PYPI_SITE}/j/jaraco.functools/jaraco.functools-${version}.tar.gz"
|
2020-04-29 16:38:08 +00:00
|
|
|
checksum=9fedc4be3117512ca3e03e1b2ffa7a6a6ffa589bfb7d02bfb324e55d493b94f4
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
pytest -vv --override-ini="addopts=--doctest-modules"
|
|
|
|
}
|
2019-12-20 17:54:50 +00:00
|
|
|
|
|
|
|
post_install() {
|
2020-04-29 16:38:08 +00:00
|
|
|
rm ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py
|
2019-12-20 17:54:50 +00:00
|
|
|
vlicense LICENSE
|
|
|
|
}
|