New package: python-codespell-1.14.0
This commit is contained in:
33
srcpkgs/python-codespell/template
Normal file
33
srcpkgs/python-codespell/template
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Template file for 'python-codespell'
|
||||||
|
pkgname=python-codespell
|
||||||
|
version=1.14.0
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc=codespell-${version}
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="codespell_lib"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Checks code for common spelling mistakes (Python2)"
|
||||||
|
maintainer="Nathan <ndowens04@gmail.com>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://github.com/codespell-project/codespell"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=29ac8e5bca56583eb128d492508ed16f0c209b36bb86bfef0f7ddf787b7c2b77
|
||||||
|
alternatives="python-codespell:codespell:/usr/bin/codespell2"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-codespell_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="codespell_lib"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="python-codespell:codespell:/usr/bin/codespell3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/python3*"
|
||||||
|
vmove usr/bin/codespell3
|
||||||
|
}
|
||||||
|
}
|
||||||
1
srcpkgs/python3-codespell
Symbolic link
1
srcpkgs/python3-codespell
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
python-codespell
|
||||||
Reference in New Issue
Block a user