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