From d1f184c4bcf30206359ac5fdb6714a06cddf4e58 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 23 Apr 2016 23:43:00 +0200 Subject: [PATCH] New package: python-imagesize-0.7.1 --- srcpkgs/python-imagesize/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3.4-imagesize | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-imagesize/template create mode 120000 srcpkgs/python3.4-imagesize diff --git a/srcpkgs/python-imagesize/template b/srcpkgs/python-imagesize/template new file mode 100644 index 0000000000..319bc2ce3a --- /dev/null +++ b/srcpkgs/python-imagesize/template @@ -0,0 +1,28 @@ +# Template file for 'python-imagesize' +pkgname=python-imagesize +version=0.7.1 +revision=1 +noarch=yes +wrksrc="imagesize-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="imagesize" +short_desc="Python2 library to get image size from png/jpeg/jpeg2000/gif file" +maintainer="Alessio Sergi " +homepage="https://github.com/shibukawa/imagesize_py" +license="MIT" +distfiles="https://pypi.python.org/packages/53/72/6c6f1e787d9cab2cc733cf042f125abec07209a58308831c9f292504e826/imagesize-${version}.tar.gz" +checksum=0ab2c62b87987e3252f89d30b7cedbec12a01af9274af9ffa48108f2c13c6062 + +python3.4-imagesize_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="imagesize" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-imagesize b/srcpkgs/python3.4-imagesize new file mode 120000 index 0000000000..ee3a0552da --- /dev/null +++ b/srcpkgs/python3.4-imagesize @@ -0,0 +1 @@ +python-imagesize \ No newline at end of file