python-codespell: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:03:51 +07:00
parent 75b567e72a
commit 035265c1b5
3 changed files with 15 additions and 30 deletions

View file

@ -1,29 +0,0 @@
# Template file for 'python-codespell'
pkgname=python-codespell
version=1.16.0
revision=2
archs=noarch
wrksrc="codespell-${version}"
build_style=python-module
pycompile_module="codespell_lib"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
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=53d22aefa1daf3365ca4625877271d23d143c0a92c16e55daf5cd14b6494b8f4
alternatives="python-codespell:codespell:/usr/bin/codespell2"
python3-codespell_package() {
archs=noarch
depends="python3-setuptools"
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
}
}

View file

@ -1 +0,0 @@
python-codespell

View file

@ -0,0 +1,15 @@
# Template file for 'python3-codespell'
pkgname=python3-codespell
version=1.16.0
revision=3
wrksrc="codespell-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Checks code for common spelling mistakes (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/codespell-project/codespell"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=53d22aefa1daf3365ca4625877271d23d143c0a92c16e55daf5cd14b6494b8f4
conflicts="python-codespell>=0"