From 0aa25cf93a483ef6eb2f1166f90f53d65779003d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 4 Sep 2015 22:00:00 +0200 Subject: [PATCH] New package: python-gmpy2-2.0.7 --- srcpkgs/python-gmpy2/template | 23 +++++++++++++++++++++++ srcpkgs/python3.4-gmpy2 | 1 + 2 files changed, 24 insertions(+) create mode 100644 srcpkgs/python-gmpy2/template create mode 120000 srcpkgs/python3.4-gmpy2 diff --git a/srcpkgs/python-gmpy2/template b/srcpkgs/python-gmpy2/template new file mode 100644 index 00000000000..4cb632983d4 --- /dev/null +++ b/srcpkgs/python-gmpy2/template @@ -0,0 +1,23 @@ +# Template file for 'python-gmpy2' +pkgname=python-gmpy2 +version=2.0.7 +revision=1 +wrksrc="gmpy2-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="unzip python-setuptools python3.4-setuptools + gmp-devel mpfr-devel libmpc-devel" +makedepends="python-devel python3.4-devel gmp-devel mpfr-devel libmpc-devel" +short_desc="Python2 interface to GMP, MPFR and MPC libraries" +maintainer="Alessio Sergi " +homepage="https://github.com/aleaxit/gmpy" +license="LGPL-3" +distfiles="${PYPI_SITE}/g/gmpy2/gmpy2-${version}.zip" +checksum=7ee694b8a4c3854f27890676aa8a509a2e3f8dbdd0916fa94cbed612420b9c86 + +python3.4-gmpy2_package() { + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-gmpy2 b/srcpkgs/python3.4-gmpy2 new file mode 120000 index 00000000000..6c57f0a1681 --- /dev/null +++ b/srcpkgs/python3.4-gmpy2 @@ -0,0 +1 @@ +python-gmpy2 \ No newline at end of file