diff --git a/srcpkgs/python-sphinxcontrib-websupport/template b/srcpkgs/python-sphinxcontrib-websupport/template new file mode 100644 index 00000000000..131903193b3 --- /dev/null +++ b/srcpkgs/python-sphinxcontrib-websupport/template @@ -0,0 +1,31 @@ +# Template file for 'python-sphinxcontrib-websupport' +pkgname=python-sphinxcontrib-websupport +version=1.0.1 +revision=1 +noarch=yes +wrksrc="sphinxcontrib-websupport-${version}" +build_style=python-module +pycompile_module="sphinxcontrib/websupport" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-sphinxcontrib" +short_desc="Sphinx API for Web Apps (Python2)" +maintainer="Alessio Sergi " +homepage="http://sphinx-doc.org/" +license="2-clause-BSD" +distfiles="${PYPI_SITE}/s/sphinxcontrib-websupport/sphinxcontrib-websupport-${version}.tar.gz" +checksum=7a85961326aa3a400cd4ad3c816d70ed6f7c740acd7ce5d78cd0a67825072eb9 + +post_install() { + vlicense LICENSE +} + +python3-sphinxcontrib-websupport_package() { + noarch=yes + depends="python3-sphinxcontrib" + pycompile_module="sphinxcontrib/websupport" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-sphinxcontrib-websupport b/srcpkgs/python3-sphinxcontrib-websupport new file mode 120000 index 00000000000..3b1a0fe202f --- /dev/null +++ b/srcpkgs/python3-sphinxcontrib-websupport @@ -0,0 +1 @@ +python-sphinxcontrib-websupport \ No newline at end of file