python-yamllint: update to 1.8.1

This commit is contained in:
Sir_Boops 2017-07-06 10:26:19 -06:00
parent 3aa0ef511c
commit 99c9b6039a
3 changed files with 29 additions and 4 deletions

View file

@ -0,0 +1,24 @@
# Template file for 'python-pathspec'
pkgname=python-pathspec
version=0.5.3
revision=1
wrksrc="pathspec-${version}"
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="A Python2 utility library for pattern matching of file paths"
maintainer="Sir_Boops <admin@boops.me>"
license="MPL-2"
homepage="https://pypi.python.org/pypi/pathspec"
distfiles="${PYPI_SITE}/p/pathspec/pathspec-${version}.tar.gz"
checksum=54478a66a360f4ebe4499c9235e4206fca5dec837b8e272d1ce37e0a626cc64d
python3-pathspec_package() {
noarch=yes
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View file

@ -1,24 +1,24 @@
# Template file for 'python-yamllint' # Template file for 'python-yamllint'
pkgname=python-yamllint pkgname=python-yamllint
version=1.7.0 version=1.8.1
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="yamllint-${version}" wrksrc="yamllint-${version}"
build_style=python-module build_style=python-module
pycompile_module="yamllint" pycompile_module="yamllint"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-yaml" depends="python-setuptools python-yaml python-pathspec"
short_desc="Python2 linter for YAML files" short_desc="Python2 linter for YAML files"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>" maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
homepage="https://github.com/adrienverge/yamllint" homepage="https://github.com/adrienverge/yamllint"
license="GPL-3" license="GPL-3"
distfiles="${homepage}/archive/v${version}.tar.gz" distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=72be218707d9cbb6ff5f6fe9d748938ee6a2b378dade08db65943736f301a77a checksum=39a2254f127ac7b8c20fd9c2ef67f35ac7d125744b90613297fd938ee1fdce21
alternatives="yamllint:yamllint:/usr/bin/yamllint2" alternatives="yamllint:yamllint:/usr/bin/yamllint2"
python3-yamllint_package() { python3-yamllint_package() {
noarch=yes noarch=yes
depends="python3-setuptools python3-yaml" depends="python3-setuptools python3-yaml python3-pathspec"
pycompile_module="yamllint" pycompile_module="yamllint"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
alternatives="yamllint:yamllint:/usr/bin/yamllint3" alternatives="yamllint:yamllint:/usr/bin/yamllint3"

1
srcpkgs/python3-pathspec Symbolic link
View file

@ -0,0 +1 @@
python-pathspec