From eb5bc6ac857b6831cc5b3f4fb506ffb3a209bd8b Mon Sep 17 00:00:00 2001 From: Daniel Santana Date: Sat, 10 Nov 2018 13:16:01 -0200 Subject: [PATCH] New package: python-rarfile-3.0 --- srcpkgs/python-rarfile/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-rarfile | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-rarfile/template create mode 120000 srcpkgs/python3-rarfile diff --git a/srcpkgs/python-rarfile/template b/srcpkgs/python-rarfile/template new file mode 100644 index 0000000000..b3c7919b73 --- /dev/null +++ b/srcpkgs/python-rarfile/template @@ -0,0 +1,31 @@ +# Template file for 'python-rarfile' +pkgname=python-rarfile +version=3.0 +revision=1 +noarch=yes +wrksrc="rarfile-${version}" +build_style=python-module +pycompile_module="rarfile" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="RAR archive reader for Python (Python2)" +maintainer="Daniel Santana " +license="ISC" +homepage="https://github.com/markokr/rarfile" +distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz" +checksum=e816409e3b36794507cbe0b678bed3e4703d7412c5f7f9201a510ed6fdc66c35 + +post_install() { + vlicense LICENSE +} + +python3-rarfile_package() { + noarch=yes + pycompile_module="rarfile" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-rarfile b/srcpkgs/python3-rarfile new file mode 120000 index 0000000000..e93143007a --- /dev/null +++ b/srcpkgs/python3-rarfile @@ -0,0 +1 @@ +python-rarfile \ No newline at end of file