python-proselint: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 19:56:30 +07:00
parent fee99c28ac
commit 5864332bc2
3 changed files with 22 additions and 38 deletions

View file

@ -1,37 +0,0 @@
# Template file for 'python-proselint'
pkgname=python-proselint
version=0.10.2
revision=2
archs=noarch
wrksrc="proselint-${version}"
build_style=python-module
pycompile_module="proselint"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-click python-future python-six"
short_desc="Linter for prose (Python2)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="BSD-3-Clause"
homepage="https://github.com/amperser/proselint"
changelog="https://raw.githubusercontent.com/amperser/proselint/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/p/proselint/proselint-${version}.tar.gz"
checksum=3a87eb393056d1bc77d898e4bcf8998f50e9ad84f7b9ff7cf2720509ac8ef904
alternatives="proselint:proselint:/usr/bin/proselint2"
post_install() {
vlicense LICENSE.md
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
}
python3-proselint_package() {
archs=noarch
depends="python3-setuptools python3-click python3-future python3-six"
pycompile_module="proselint"
short_desc="${short_desc/Python2/Python3}"
alternatives="proselint:proselint:/usr/bin/proselint3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE.md
}
}

View file

@ -1 +0,0 @@
python-proselint

View file

@ -0,0 +1,22 @@
# Template file for 'python3-proselint'
pkgname=python3-proselint
version=0.10.2
revision=3
wrksrc="proselint-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-click python3-future python3-six"
short_desc="Linter for prose (Python3)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="BSD-3-Clause"
homepage="https://github.com/amperser/proselint"
changelog="https://raw.githubusercontent.com/amperser/proselint/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/p/proselint/proselint-${version}.tar.gz"
checksum=3a87eb393056d1bc77d898e4bcf8998f50e9ad84f7b9ff7cf2720509ac8ef904
conflicts="python-proselint>=0"
post_install() {
vlicense LICENSE.md
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
}