python-WTForms: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:33:49 +07:00
parent 5430556a8d
commit db369ba449
3 changed files with 19 additions and 33 deletions

View File

@ -1,32 +0,0 @@
# Template file for 'python-WTForms'
pkgname=python-WTForms
version=2.2.1
revision=2
archs=noarch
wrksrc="WTForms-${version}"
build_style=python-module
pycompile_module="wtforms"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Forms validation and rendering library for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://wtforms.simplecodes.com/"
#changelog="https://raw.githubusercontent.com/wtforms/wtforms/master/CHANGES.rst"
distfiles="${PYPI_SITE}/W/WTForms/WTForms-${version}.tar.gz"
checksum=0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61
post_install() {
vlicense LICENSE.rst LICENSE
}
python3-WTForms_package() {
archs=noarch
depends="python3"
pycompile_module="wtforms"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst LICENSE
}
}

View File

@ -1 +0,0 @@
python-WTForms

View File

@ -0,0 +1,19 @@
# Template file for 'python3-WTForms'
pkgname=python3-WTForms
version=2.2.1
revision=3
wrksrc="WTForms-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Forms validation and rendering library for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://wtforms.simplecodes.com/"
#changelog="https://raw.githubusercontent.com/wtforms/wtforms/master/CHANGES.rst"
distfiles="${PYPI_SITE}/W/WTForms/WTForms-${version}.tar.gz"
checksum=0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61
post_install() {
vlicense LICENSE.rst LICENSE
}