python-click: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-30 22:19:35 +07:00
parent 7a2ab7e3b3
commit b6b43b7312
4 changed files with 18 additions and 28 deletions

View file

@ -1,27 +0,0 @@
# Template file for 'python-click'
pkgname=python-click
version=7.1.2
revision=2
wrksrc="click-${version}"
build_style="python-module"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 package for creating beautiful command line interfaces"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="BSD-3-Clause"
homepage="http://click.pocoo.org/"
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
post_install() {
vlicense LICENSE.rst
}
python3-click_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst
}
}

View file

@ -1 +0,0 @@
python-click

View file

@ -0,0 +1,18 @@
# Template file for 'python3-click'
pkgname=python3-click
version=7.1.2
revision=3
wrksrc="click-${version}"
build_style="python3-module"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 package for creating beautiful command line interfaces"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="BSD-3-Clause"
homepage="http://click.pocoo.org/"
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
post_install() {
vlicense LICENSE.rst
}