24 lines
854 B
Bash
24 lines
854 B
Bash
# Template file for 'python3-proselint'
|
|
pkgname=python3-proselint
|
|
version=0.12.0
|
|
revision=1
|
|
wrksrc="proselint-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-click python3-future python3-six"
|
|
checkdepends="$depends python3-pytest"
|
|
short_desc="Linter for prose (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/amperser/proselint"
|
|
changelog="https://raw.githubusercontent.com/amperser/proselint/master/CHANGELOG.md"
|
|
distfiles="${PYPI_SITE}/p/proselint/proselint-${version}.tar.gz"
|
|
checksum=2a98d9c14382d94ed9122a6c0b0657a814cd5c892c77d9477309fc99f86592e6
|
|
conflicts="python-proselint>=0"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
# remove tests directory polluting site-packages
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
|
|
}
|