python-pyflakes: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:38:36 +07:00
parent 48dc3defb8
commit a7def2c2a3
3 changed files with 19 additions and 33 deletions

View file

@ -1,32 +0,0 @@
# Template file for 'python-pyflakes'
pkgname=python-pyflakes
version=2.2.0
revision=1
archs=noarch
wrksrc="pyflakes-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Passive checker of Python programs (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/PyCQA/pyflakes"
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
checksum=35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2"
post_install() {
vlicense LICENSE
}
python3-pyflakes_package() {
archs=noarch
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-pyflakes

View file

@ -0,0 +1,19 @@
# Template file for 'python3-pyflakes'
pkgname=python3-pyflakes
version=2.2.0
revision=2
wrksrc="pyflakes-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Passive checker of Python programs (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/PyCQA/pyflakes"
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
checksum=35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8
conflicts="python-pyflakes>=0"
post_install() {
vlicense LICENSE
}