void-packages/srcpkgs/python-irc/template
2017-11-26 15:14:58 -05:00

27 lines
836 B
Bash

# Template file for 'python-irc'
pkgname=python-irc
version=16.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
https://raw.githubusercontent.com/jaraco/skeleton/skeleton/LICENSE"
checksum="f1cb6310441891c2cdd5dc0983424e067ae666d4b24dd7de1af643075937b798
a55e2ffe9b44998e621d51d8c094bed09acc4b5236ee73d7df395a33ba3c18fd"
skip_extraction="LICENSE"
python3-irc_package() {
pycompile_module="irc"
short_desc="${short_desc/Python2/Python3}"
depends="python3-six"
pkg_install() {
vmove usr/lib/python3*
}
}