diff --git a/srcpkgs/python-backcall/template b/srcpkgs/python-backcall/template new file mode 100644 index 00000000000..97f9f5fac1b --- /dev/null +++ b/srcpkgs/python-backcall/template @@ -0,0 +1,26 @@ +# Template file for 'python-backcall' +pkgname=python-backcall +version=0.1.0 +revision=1 +noarch=yes +wrksrc="backcall-${version}" +build_style=python-module +pycompile_module="backcall" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Python2 module to write backwards compatible callback APIs" +maintainer="Alessio Sergi " +homepage="https://github.com/takluyver/backcall" +license="BSD-3-Clause" +distfiles="${PYPI_SITE}/b/backcall/backcall-${version}.tar.gz" +checksum=38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4 + +python3-backcall_package() { + noarch=yes + depends="python3" + pycompile_module="backcall" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-backcall b/srcpkgs/python3-backcall new file mode 120000 index 00000000000..011083fc736 --- /dev/null +++ b/srcpkgs/python3-backcall @@ -0,0 +1 @@ +python-backcall \ No newline at end of file