void-packages/srcpkgs/python-irc/template

32 lines
754 B
Bash
Raw Normal View History

2017-11-26 20:07:41 +00:00
# Template file for 'python-irc'
pkgname=python-irc
2017-12-18 20:01:19 +00:00
version=16.2
revision=2
2017-11-26 20:07:41 +00:00
wrksrc=irc-${version}
build_style=python-module
pycompile_module="irc"
2017-11-26 20:14:58 +00:00
hostmakedepends="python-setuptools python3-setuptools"
2017-11-26 20:07:41 +00:00
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=cce90b6ed5e9bdbe9dfe1fbe6ff40752924a234656cad73744f4780086018e8b
noarch=yes
post_install() {
vlicense LICENSE
}
2017-11-26 20:07:41 +00:00
python3-irc_package() {
noarch=yes
2017-11-26 20:07:41 +00:00
pycompile_module="irc"
short_desc="${short_desc/Python2/Python3}"
depends="python3-six"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
2017-11-26 20:07:41 +00:00
}
}