mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python-codespell: fix up a few points in the package.
This commit is contained in:
parent
9218e18814
commit
355a5b9bd7
1 changed files with 4 additions and 8 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'python-codespell'
|
# Template file for 'python-codespell'
|
||||||
pkgname=python-codespell
|
pkgname=python-codespell
|
||||||
version=1.14.0
|
version=1.14.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc=codespell-${version}
|
wrksrc="codespell-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="codespell_lib"
|
pycompile_module="codespell_lib"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python-setuptools"
|
||||||
short_desc="Checks code for common spelling mistakes (Python2)"
|
short_desc="Checks code for common spelling mistakes (Python2)"
|
||||||
maintainer="Nathan <ndowens04@gmail.com>"
|
maintainer="Nathan <ndowens04@gmail.com>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
|
@ -16,13 +16,9 @@ distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=29ac8e5bca56583eb128d492508ed16f0c209b36bb86bfef0f7ddf787b7c2b77
|
checksum=29ac8e5bca56583eb128d492508ed16f0c209b36bb86bfef0f7ddf787b7c2b77
|
||||||
alternatives="python-codespell:codespell:/usr/bin/codespell2"
|
alternatives="python-codespell:codespell:/usr/bin/codespell2"
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense COPYING
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-codespell_package() {
|
python3-codespell_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3"
|
depends="python3-setuptools"
|
||||||
pycompile_module="codespell_lib"
|
pycompile_module="codespell_lib"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
alternatives="python-codespell:codespell:/usr/bin/codespell3"
|
alternatives="python-codespell:codespell:/usr/bin/codespell3"
|
||||||
|
|
Loading…
Add table
Reference in a new issue