From 4945250c9dc4ee74b952d2bf016244e2220e6792 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 30 Sep 2017 12:42:42 +0200 Subject: [PATCH] New package: python-sphinxcontrib-websupport-1.0.1 --- .../python-sphinxcontrib-websupport/template | 31 +++++++++++++++++++ srcpkgs/python3-sphinxcontrib-websupport | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-sphinxcontrib-websupport/template create mode 120000 srcpkgs/python3-sphinxcontrib-websupport diff --git a/srcpkgs/python-sphinxcontrib-websupport/template b/srcpkgs/python-sphinxcontrib-websupport/template new file mode 100644 index 0000000000..131903193b --- /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 0000000000..3b1a0fe202 --- /dev/null +++ b/srcpkgs/python3-sphinxcontrib-websupport @@ -0,0 +1 @@ +python-sphinxcontrib-websupport \ No newline at end of file