diff --git a/srcpkgs/python-irc/template b/srcpkgs/python-irc/template new file mode 100644 index 00000000000..d0202826468 --- /dev/null +++ b/srcpkgs/python-irc/template @@ -0,0 +1,28 @@ +# 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-devel python3-devel" +makedepends="python-setuptools python3-setuptools" +depends="python-six" +short_desc="Full-featured Python IRC library for Python2" +maintainer="Toyam Cox " +license="MIT" +homepage="https://github.com/jaraco/irc" +distfiles="${PYPI_SITE}/i/irc/irc-${version}.tar.gz + https://github.com/jaraco/skeleton/blob/skeleton/LICENSE" +checksum="f1cb6310441891c2cdd5dc0983424e067ae666d4b24dd7de1af643075937b798 + e4f2a9888b47347fe16cd7a1637d5c96a8a54750a33f2748eaeb395051fb51b9" +skip_extraction="LICENSE" + +python3-irc_package() { + pycompile_module="irc" + short_desc="${short_desc/Python2/Python3}" + depends="python3-six" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-irc b/srcpkgs/python3-irc new file mode 120000 index 00000000000..1cef2b21bb3 --- /dev/null +++ b/srcpkgs/python3-irc @@ -0,0 +1 @@ +python-irc \ No newline at end of file