From 25e2bab42837de06e1329a1f8774f0c42f238177 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 14 Apr 2017 16:11:51 +0200 Subject: [PATCH] python-webencodings: update to 0.5.1 --- srcpkgs/python-webencodings/template | 26 ++++++++++++++++++++++++++ srcpkgs/python3-webencodings | 1 + 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/python-webencodings/template create mode 120000 srcpkgs/python3-webencodings diff --git a/srcpkgs/python-webencodings/template b/srcpkgs/python-webencodings/template new file mode 100644 index 00000000000..6784eb5e46f --- /dev/null +++ b/srcpkgs/python-webencodings/template @@ -0,0 +1,26 @@ +# Template file for 'python-webencodings' +pkgname=python-webencodings +version=0.5.1 +revision=1 +noarch=yes +wrksrc="webencodings-${version}" +build_style=python-module +pycompile_module="webencodings" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Python2 implementation of the WHATWG Encoding standard" +maintainer="Alessio Sergi " +homepage="https://github.com/gsnedders/python-webencodings" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/w/webencodings/webencodings-${version}.tar.gz" +checksum=b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923 + +python3-webencodings_package() { + noarch=yes + depends="python3" + pycompile_module="webencodings" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-webencodings b/srcpkgs/python3-webencodings new file mode 120000 index 00000000000..b6398d6f113 --- /dev/null +++ b/srcpkgs/python3-webencodings @@ -0,0 +1 @@ +python-webencodings \ No newline at end of file