32 lines
756 B
Bash
32 lines
756 B
Bash
# Template file for 'python-irc'
|
|
pkgname=python-irc
|
|
version=16.2.1
|
|
revision=1
|
|
wrksrc=irc-${version}
|
|
build_style=python-module
|
|
pycompile_module="irc"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six"
|
|
short_desc="Full-featured Python IRC library for Python2"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://github.com/jaraco/irc"
|
|
distfiles="${PYPI_SITE}/i/irc/irc-${version}.tar.gz"
|
|
checksum=c030a5df6cf505177b0481d9b93ffc63a02a3cfdacb3c96bbb70a8e5a89e1290
|
|
noarch=yes
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-irc_package() {
|
|
noarch=yes
|
|
pycompile_module="irc"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
depends="python3-six"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|